:root {
  --bg: #0f1117;
  --bg-alt: #161922;
  --bg-card: #1c1f2a;
  --fg: #f0f0f5;
  --fg-muted: #8b8fa3;
  --accent: #f59e0b;
  --accent-dim: #b47408;
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  padding: 100px 24px 80px;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 460px;
}

/* Agent card visual */
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-family: 'IBM Plex Sans', monospace;
  font-size: 13px;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.agent-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.action-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-muted);
}
.action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.action-icon.find { background: rgba(245,158,11,0.12); color: var(--accent); }
.action-icon.research { background: rgba(129,140,163,0.15); color: #8892a4; }
.action-icon.write { background: rgba(99,102,241,0.15); color: #818cf8; }
.action-icon.send { background: rgba(16,185,129,0.15); color: #34d399; }
.agent-reply {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.reply-badge {
  display: inline-block;
  background: rgba(52,211,153,0.12);
  color: #34d399;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.agent-reply p {
  font-style: italic;
  color: var(--fg-muted);
  font-size: 12px;
}

/* ── STATS ── */
.stats-row {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-value {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ── FEATURES ── */
.features { padding: 100px 24px; }
.features-inner { max-width: 1140px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 600px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245,158,11,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── PROCESS ── */
.process { padding: 100px 24px; background: var(--bg-alt); }
.process-inner { max-width: 1140px; margin: 0 auto; }
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}
.step-num {
  display: block;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(245,158,11,0.2);
  margin-bottom: 16px;
}
.step h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.step p { color: var(--fg-muted); font-size: 14px; line-height: 1.6; }
.step-arrow {
  padding: 0 24px;
  color: var(--fg-muted);
  flex-shrink: 0;
}

/* ── OUTCOMES ── */
.outcomes { padding: 100px 24px; }
.outcomes-inner { max-width: 1140px; margin: 0 auto; }
.comparison-table {
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
}
.compare-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.compare-header span { padding: 16px 24px; }
.compare-row {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(255,255,255,0.02); }
.compare-label { padding: 20px 24px; font-size: 14px; color: var(--fg-muted); }
.compare-old { padding: 20px 24px; font-size: 14px; color: var(--fg-muted); text-decoration: line-through; opacity: 0.5; }
.compare-new { padding: 20px 24px; font-size: 14px; font-weight: 600; color: #34d399; }

/* ── CLOSING ── */
.closing {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245,158,11,0.04) 100%);
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.closing-headline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.footer-brand p { font-size: 13px; color: var(--fg-muted); }
.footer-copy { font-size: 13px; color: var(--fg-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 20px 32px; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 16px 0; }
  .compare-header span, .compare-row span { padding: 16px 16px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .closing { padding: 80px 24px; }
}
@media (max-width: 480px) {
  .hero { padding: 64px 20px 48px; }
  .stats-inner { grid-template-columns: 1fr; }
  .hero-headline { font-size: 32px; }
  .section-title { font-size: 28px; }
  .closing-headline { font-size: 28px; }
}