:root {
  --bg: #090909;
  --surface: #111111;
  --surface-2: #181818;
  --border: #242424;
  --fg: #f0ece4;
  --fg-2: #8a8680;
  --fg-3: #4a4844;
  --accent: #d4a843;
  --accent-dim: rgba(212, 168, 67, 0.15);
  --accent-2: #e8c46a;
  --ok: #4caf72;
  --warn: #d4862c;
  --danger: #c94444;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --max-w: 1140px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
}

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(9,9,9,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.tagline {
  font-size: 0.78rem;
  color: var(--fg-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(212,168,67,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212,168,67,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 80px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--fg-2);
}

/* ── ANOMALY CARD ── */
.anomaly-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212,168,67,0.05);
}
.anomaly-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.anomaly-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}
.anomaly-badge {
  font-size: 0.7rem;
  background: rgba(201,68,68,0.15);
  color: var(--danger);
  border: 1px solid rgba(201,68,68,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}
.anomaly-list {
  display: flex;
  flex-direction: column;
}
.anomaly-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.anomaly-row:last-child { border-bottom: none; }
.anomaly-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.anomaly-high .anomaly-icon { background: rgba(201,68,68,0.15); color: var(--danger); }
.anomaly-medium .anomaly-icon { background: rgba(212,134,44,0.15); color: var(--warn); }
.anomaly-ok .anomaly-icon { background: rgba(76,175,114,0.1); color: var(--ok); }
.anomaly-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.anomaly-type {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg);
}
.anomaly-detail {
  font-size: 0.72rem;
  color: var(--fg-2);
}
.anomaly-amount {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.anomaly-flag { color: var(--danger); }
.anomaly-warn { color: var(--warn); }
.anomaly-ok-text { color: var(--ok); }
.anomaly-footer {
  padding: 0.75rem 1.25rem;
  background: var(--surface-2);
  font-size: 0.7rem;
  color: var(--fg-3);
  border-top: 1px solid var(--border);
}

/* ── SHARED SECTION STYLES ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 3rem;
  max-width: 640px;
}

/* ── PROBLEM ── */
.problem {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.problem-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
  position: sticky;
  top: 6rem;
}
.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.problem-stat {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.problem-stat:first-child { border-top: 1px solid var(--border); }
.problem-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.problem-stat p {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.65;
}
.problem-stat p em { font-style: normal; color: var(--fg); }

/* ── FEATURES ── */
.features {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-dim);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.howitworks {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.steps {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.step {
  flex: 1;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.65;
}
.step-arrow {
  color: var(--fg-3);
  flex-shrink: 0;
}

/* ── OUTCOMES ── */
.outcomes {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.outcome {
  background: var(--surface);
  padding: 2rem 1.75rem;
}
.outcome-value {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.outcome p {
  font-size: 0.82rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ── CLOSING ── */
.closing {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing p {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg-2);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-3);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .problem-headline { position: static; }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    flex-direction: column;
    gap: 1rem;
  }
  .step-arrow { transform: rotate(90deg); }
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { padding: 7rem 0 4rem; }
  .site-header .tagline { display: none; }
  .footer-copy { display: none; }
}
@media (max-width: 480px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .anomaly-row { grid-template-columns: 1.5rem 1fr auto; }
  .anomaly-amount { font-size: 0.78rem; }
}