:root {
  --bg: #0d1b2a;
  --bg-alt: #152235;
  --fg: #f0f4f8;
  --fg-muted: #8ba3c0;
  --accent: #e8a838;
  --accent-dim: #c48a1a;
  --border: rgba(240, 244, 248, 0.1);
  --card-bg: #1a2e45;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(232, 168, 56, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}

/* HERO */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-headline em {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
}

/* Agent card */
.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-size: 13px;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #4ade80;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.agent-log { display: flex; flex-direction: column; gap: 12px; }
.log-entry { display: flex; gap: 12px; align-items: baseline; }
.log-entry.log-sent .log-text { color: var(--accent); }
.log-time { color: var(--fg-muted); min-width: 52px; font-size: 11px; }
.log-text { color: var(--fg); }

/* WHAT IT DOES */
.what-it-does {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.section-label {
  max-width: 1100px;
  margin: 0 auto 48px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.do-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.do-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.do-item:last-child { border-bottom: none; }
.do-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 40px;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
}
.do-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.do-body p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 580px;
}

/* DIFFERENCE */
.difference {
  padding: 96px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}
.diff-divider {
  background: var(--border);
}
.diff-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.before-label { color: var(--fg-muted); }
.after-label { color: var(--accent); }
.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.diff-list li {
  font-size: 15px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.diff-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.diff-after .diff-list li::before { background: var(--accent); }

/* OUTCOMES */
.outcomes {
  background: var(--accent);
  padding: 64px 32px;
}
.outcomes-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.outcome-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 52px;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 8px;
}
.outcome-label {
  font-size: 14px;
  color: var(--bg);
  opacity: 0.7;
  font-weight: 500;
}

/* CLOSING */
.closing {
  background: var(--bg);
  padding: 96px 32px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.closing-statement {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.closing-statement p {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 0;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 16px;
  color: var(--fg);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 24px 56px;
  }
  .hero-sub { max-width: 100%; }
  .what-it-does, .difference, .closing { padding: 64px 24px; }
  .do-item { grid-template-columns: 1fr; gap: 8px; }
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-divider { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}