:root {
  --bg: #faf8f5;
  --bg-alt: #f2efe9;
  --surface: #ffffff;
  --fg: #1a2744;
  --fg-2: #4a5568;
  --fg-3: #8a95a3;
  --accent: #0ea5e9;
  --accent-dim: rgba(14, 165, 233, 0.12);
  --critical: #dc2626;
  --critical-bg: #fef2f2;
  --recovery: #059669;
  --recovery-bg: #ecfdf5;
  --muted-bg: #f8f7f5;
  --border: #e5e0d8;
  --radius: 10px;
  --radius-lg: 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

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

body { min-height: 100vh; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,248,245,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--fg); letter-spacing: -0.3px; }
.nav-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fg-3); font-weight: 500; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--recovery); display: inline-block; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* HERO */
.hero { max-width: 1100px; margin: 0 auto; padding: 80px 24px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 18px; }
.hero-headline { font-family: 'Sora', sans-serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.8px; color: var(--fg); margin-bottom: 20px; }
.hero-sub { font-size: 16px; color: var(--fg-2); line-height: 1.7; margin-bottom: 36px; max-width: 460px; }
.hero-metric-row { display: flex; align-items: center; gap: 0; }
.hero-metric { padding: 0 24px 0 0; }
.hero-metric:first-child { padding-left: 0; }
.hero-metric-value { display: block; font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: var(--fg); letter-spacing: -0.5px; }
.hero-metric-label { display: block; font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.hero-metric-divider { width: 1px; height: 36px; background: var(--border); margin-right: 24px; flex-shrink: 0; }

/* Waveform */
.waveform-container { background: #0f1f3d; border-radius: 14px; padding: 18px 20px 10px; margin-bottom: 14px; position: relative; overflow: hidden; }
.waveform-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.waveform-svg { width: 100%; height: 90px; display: block; }
.wave-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 1.5; }
.wave-accent { fill: none; stroke: #0ea5e9; stroke-width: 2; }
.waveform-scan-line { position: absolute; top: 38px; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(14,165,233,0.3), transparent); animation: scan 2.5s linear infinite; pointer-events: none; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Alert Feed */
.alert-feed { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.alert-row { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.alert-row:last-child { border-bottom: none; }
.alert-row--critical { background: var(--critical-bg); }
.alert-row--recovery { background: var(--recovery-bg); }
.alert-row--suppressed { background: var(--muted-bg); }
.alert-pulse-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--critical); }
.alert-pulse-dot--muted { background: var(--fg-3); opacity: 0.5; }
.alert-pulse-dot--recovery { background: var(--recovery); }
.alert-text { flex: 1; color: var(--fg); font-weight: 500; }
.alert-time { font-size: 11px; color: var(--fg-3); flex-shrink: 0; font-family: 'Sora', monospace; }

/* AI Reasoning */
.ai-reasoning { background: var(--accent-dim); border: 1px solid rgba(14,165,233,0.2); border-radius: 10px; padding: 12px 16px; margin-top: 14px; }
.reasoning-header { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 6px; }
.reasoning-text { font-size: 13px; color: var(--fg-2); line-height: 1.5; }

/* FEATURES */
.features { background: var(--bg-alt); border-top: 1px solid var(--border); }
.features-inner { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--accent); margin-bottom: 14px; }
.features-headline { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: var(--fg); letter-spacing: -0.5px; line-height: 1.2; max-width: 520px; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.feature-icon { margin-bottom: 18px; }
.feature-title { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; color: var(--fg); margin-bottom: 10px; letter-spacing: -0.2px; }
.feature-desc { font-size: 14.5px; color: var(--fg-2); line-height: 1.65; }

/* OUTCOMES */
.outcomes { background: var(--fg); color: #fff; }
.outcomes-inner { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.outcomes-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 48px; margin-bottom: 48px; }
.outcome-stat { padding: 0 32px 0 0; border-right: 1px solid rgba(255,255,255,0.1); }
.outcome-stat:first-child { padding-left: 0; }
.outcome-stat:last-child { border-right: none; padding-right: 0; }
.outcome-number { display: block; font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 8px; }
.outcome-desc { display: block; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.quote-text { font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.7; font-style: italic; max-width: 680px; margin-bottom: 16px; }
.quote-cite { font-size: 13px; color: rgba(255,255,255,0.45); font-style: normal; }

/* DIFFERENTIATOR */
.differentiator { background: var(--bg); border-top: 1px solid var(--border); }
.diff-inner { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.diff-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--fg-3); margin-bottom: 14px; }
.diff-headline { font-family: 'Sora', sans-serif; font-size: clamp(20px, 2.5vw, 30px); font-weight: 700; color: var(--fg); letter-spacing: -0.4px; line-height: 1.3; max-width: 600px; margin-bottom: 48px; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.diff-col-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--fg-3); margin-bottom: 20px; }
.diff-list { list-style: none; }
.diff-list li { font-size: 15px; color: var(--fg-2); padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.diff-list li:last-child { border-bottom: none; }
.diff-list li::before { content: '—'; color: var(--fg-3); font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.diff-list em { font-style: normal; font-weight: 600; color: var(--fg); }
.diff-list--new li::before { color: var(--accent); }

/* CLOSING */
.closing { background: var(--bg-alt); border-top: 1px solid var(--border); }
.closing-inner { max-width: 680px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.closing-pulse-icon { margin-bottom: 32px; }
.closing-headline { font-family: 'Sora', sans-serif; font-size: clamp(22px, 3vw, 36px); font-weight: 800; color: var(--fg); letter-spacing: -0.6px; line-height: 1.2; margin-bottom: 20px; }
.closing-sub { font-size: 16px; color: var(--fg-2); line-height: 1.7; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--fg); }
.footer-tagline { font-size: 13px; color: var(--fg-3); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px 40px; }
  .hero-sub { max-width: 100%; }
  .hero-metric-row { flex-wrap: wrap; gap: 16px; }
  .hero-metric-divider { display: none; }
  .hero-metric { padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .outcome-stat { border-right: none; padding: 0; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .closing-inner { padding: 64px 20px; }
}
@media (max-width: 480px) {
  .outcomes-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}