:root {
  --bg: #060d1a;
  --bg-card: #0d1a2e;
  --bg-card-hover: #121f36;
  --fg: #e8edf5;
  --fg-muted: #7a8ba3;
  --accent: #d4a843;
  --accent-dim: rgba(212, 168, 67, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 40px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; }
.nav-logo { font-family: var(--font-display); font-size: 1.25rem; color: var(--fg); letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.8rem; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 40px 80px; position: relative; overflow: hidden; }
.hero-bg-texture {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(212,168,67,0.04) 0%, transparent 70%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: var(--accent-dim); border: 1px solid rgba(212,168,67,0.25);
  color: var(--accent); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 40px; margin-bottom: 32px;
}
.hero-headline {
  font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 28px; color: var(--fg);
}
.hero-sub {
  font-size: 1.15rem; color: var(--fg-muted); max-width: 560px; line-height: 1.7;
  margin-bottom: 56px; font-weight: 300;
}
.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 2.25rem; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { font-size: 0.8rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Sections shared */
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px; }
.section-headline { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 56px; }

/* How it works */
.howitworks { padding: 100px 40px; background: var(--bg-card); border-top: 1px solid var(--border); }
.pipeline { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.pipe-step { flex: 1; min-width: 200px; padding: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.pipe-connector { display: flex; align-items: center; padding: 0 12px; padding-top: 44px; }
.pipe-icon { margin-bottom: 20px; }
.pipe-step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 12px; }
.pipe-step p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; font-weight: 300; }

/* Agent section */
.agent { padding: 100px 40px; }
.agent-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.agent-copy h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 24px; }
.agent-copy p { color: var(--fg-muted); font-weight: 300; line-height: 1.7; margin-bottom: 16px; font-size: 0.95rem; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { background: var(--accent-dim); border: 1px solid rgba(212,168,67,0.2); color: var(--accent); font-size: 0.75rem; padding: 5px 12px; border-radius: 20px; }

/* Agent card */
.agent-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.agent-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 0.85rem; color: var(--fg-muted); }
.agent-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,0.5); }
.agent-dot.active { background: #34d399; }
.agent-log { display: flex; flex-direction: column; gap: 14px; }
.log-entry { display: flex; flex-direction: column; gap: 2px; }
.log-time { font-size: 0.7rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.log-action { font-size: 0.85rem; color: var(--fg); }

/* Outcomes */
.outcomes { padding: 100px 40px; background: var(--bg-card); border-top: 1px solid var(--border); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.outcome { padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.outcome-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); display: block; margin-bottom: 12px; letter-spacing: -0.02em; }
.outcome p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; font-weight: 300; }

/* Closing */
.closing { padding: 100px 40px; text-align: center; }
.closing h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; }
.closing p { color: var(--fg-muted); font-size: 1rem; font-weight: 300; max-width: 540px; margin: 0 auto; }

/* Footer */
.footer { padding: 60px 40px; border-top: 1px solid var(--border); text-align: center; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }
.footer-desc { color: var(--fg-muted); font-size: 0.85rem; font-weight: 300; margin-bottom: 28px; }
.footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.footer-links span { font-size: 0.8rem; color: var(--fg-muted); }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 32px; }
  .pipeline { flex-direction: column; }
  .pipe-connector { display: none; }
  .agent-inner { grid-template-columns: 1fr; gap: 40px; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .howitworks, .agent, .outcomes, .closing { padding: 60px 20px; }
  .footer { padding: 40px 20px; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .outcomes-grid { grid-template-columns: 1fr; }
}