:root {
  --bg-deep: #0a0f0d;
  --bg-surface: #111916;
  --bg-card: #161f1b;
  --bg-elevated: #1c2722;
  --fg-primary: #e8ede9;
  --fg-secondary: #8a9b8f;
  --fg-muted: #5a6b5f;
  --accent: #3dffa3;
  --accent-dim: #2bcc80;
  --accent-glow: rgba(61, 255, 163, 0.08);
  --warn: #ffb547;
  --safe: #3dffa3;
  --suggest: #7bb8ff;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61, 255, 163, 0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-inner--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav a.logo {
  text-decoration: none;
  color: inherit;
}
.nav-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(61, 255, 163, 0.25);
  color: var(--fg-secondary);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta--active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}
.logo-mark {
  color: var(--accent);
  margin-right: 4px;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(61, 255, 163, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg-primary);
  margin-bottom: 28px;
}
.highlight {
  color: var(--accent);
}
.hero-lede {
  font-size: 19px;
  color: var(--fg-secondary);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 56px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 180px;
  line-height: 1.4;
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(138, 155, 143, 0.2);
}

/* Problem */
.problem {
  padding: 100px 0;
  background: var(--bg-surface);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.problem-label,
.how-label,
.difference-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 16px;
}
.problem-title,
.how-title,
.difference-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg-primary);
  margin-bottom: 48px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(138, 155, 143, 0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.problem-icon {
  font-size: 24px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 155, 143, 0.06);
  border-radius: var(--radius-sm);
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg-primary);
}
.problem-card p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.6;
}
.problem-punchline {
  font-size: 20px;
  color: var(--fg-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.problem-punchline strong {
  color: var(--fg-primary);
}

/* How it works */
.how {
  padding: 100px 0;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 64px;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(138, 155, 143, 0.08);
}
.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(61, 255, 163, 0.15);
  line-height: 1;
  min-width: 80px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg-primary);
}
.step-content p {
  font-size: 16px;
  color: var(--fg-secondary);
  max-width: 560px;
}

/* Output card */
.how-output {
  display: flex;
  justify-content: center;
}
.output-card {
  background: var(--bg-card);
  border: 1px solid rgba(61, 255, 163, 0.15);
  border-radius: var(--radius);
  padding: 40px 48px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.output-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.output-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 8px;
}
.output-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.output-context {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.output-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.output-action {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(138, 155, 143, 0.04);
  border-left: 3px solid transparent;
}
.output-action.safe {
  border-left-color: var(--safe);
  color: var(--safe);
}
.output-action.warn {
  border-left-color: var(--warn);
  color: var(--warn);
}
.output-action.suggest {
  border-left-color: var(--suggest);
  color: var(--suggest);
}

/* Difference */
.difference {
  padding: 100px 0;
  background: var(--bg-surface);
}
.difference-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.diff-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}
.diff-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg-primary);
}
.diff-item p {
  font-size: 16px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 120px 0;
  text-align: center;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin-bottom: 24px;
}
.closing-lede {
  font-size: 18px;
  color: var(--fg-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(138, 155, 143, 0.08);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg-primary);
}
.footer-meta span {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .diff-items {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-stat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hero-stat-divider {
    display: none;
  }
  .how-step {
    flex-direction: column;
    gap: 12px;
  }
  .step-number {
    font-size: 36px;
    min-width: auto;
  }
  .output-card {
    padding: 28px 24px;
  }
  .output-amount {
    font-size: 42px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .closing-title br {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }
  .problem,
  .how,
  .difference {
    padding: 64px 0;
  }
  .closing {
    padding: 80px 0;
  }
}