/* === TOKENS === */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-alt: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #f59e0b;
  --accent-dim: #92400e;
  --nav-height: 64px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === NAV === */
.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,17,23,0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  color: var(--accent);
  font-size: 20px;
}

.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 40px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: center;
}

.hero-stat-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  border: 1px solid var(--accent);
  background: var(--surface);
  border-radius: 4px;
  position: relative;
}

.hero-stat::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  opacity: 0.2;
  transform: translate(6px, 6px);
  border-radius: 4px;
}

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

.hero-copy-col {
  padding-left: 40px;
}

.hero-headline {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* === SECTIONS SHARED === */
section {
  padding: 100px 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  margin-bottom: 56px;
  max-width: 600px;
  letter-spacing: -0.02em;
}

/* === FEATURES === */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 1000px;
}

.feature-card {
  background: var(--surface-alt);
  padding: 40px 36px;
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.feature-card:hover::after {
  height: 100%;
}

.feature-icon {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--bg);
}

.steps-row {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
}

.step {
  flex: 1;
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.step-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  font-size: 24px;
  color: var(--border);
  padding: 0 20px;
  flex-shrink: 0;
}

/* === OUTCOMES === */
.outcomes {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.outcomes-heading {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text);
  max-width: 500px;
  margin-bottom: 56px;
}

.outcomes-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.outcome {
  display: flex;
  flex-direction: column;
}

.outcome-stat {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.outcome-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 180px;
}

.outcomes-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  max-width: 400px;
}

/* === CLOSING === */
.closing {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.closing h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* === FOOTER === */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 28px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero-copy-col {
    padding-left: 0;
  }

  .hero-stat {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    flex-direction: column;
  }

  .step-connector {
    padding: 16px 0;
    text-align: center;
  }

  .outcomes-grid {
    gap: 32px;
  }

  section {
    padding: 72px 24px;
  }

  .nav {
    padding: 0 24px;
  }

  .hero {
    padding: 72px 24px;
  }

  .features {
    padding: 72px 24px;
  }

  .how-it-works {
    padding: 72px 24px;
  }

  .outcomes {
    padding: 72px 24px;
  }

  .closing {
    padding: 72px 24px;
  }

  .footer {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 48px;
  }

  .outcome-stat {
    font-size: 44px;
  }

  .hero-headline {
    font-size: 32px;
  }
}