:root {
  --bg-dark: #0f0f14;
  --bg-section: #16161d;
  --bg-card: #1e1e28;
  --fg: #e8e8ed;
  --fg-muted: #8b8b9e;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.accent { color: var(--accent); }
.accent-text { color: var(--accent); font-weight: 600; }

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 24px;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- PROBLEM ---- */
.problem {
  padding: 120px 24px;
  background: var(--bg-section);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.problem-label,
.how-label,
.verticals-label,
.math-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.problem h2,
.how h2,
.verticals h2,
.math h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 48px;
  max-width: 700px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.7;
}

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

/* ---- HOW IT WORKS ---- */
.how {
  padding: 120px 24px;
  background: var(--bg-dark);
}

.how-inner {
  max-width: 720px;
  margin: 0 auto;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
  opacity: 0.4;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

.step-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin-left: 29px;
  opacity: 0.3;
}

/* ---- VERTICALS ---- */
.verticals {
  padding: 120px 24px;
  background: var(--bg-section);
}

.verticals-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vertical-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color 0.2s;
}

.vertical-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.vertical-emoji {
  font-size: 28px;
  margin-bottom: 16px;
}

.vertical-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.vertical-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---- MATH ---- */
.math {
  padding: 120px 24px;
  background: var(--bg-dark);
}

.math-inner {
  max-width: 700px;
  margin: 0 auto;
}

.math-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.math-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.math-row:last-child {
  border-bottom: none;
}

.math-header {
  background: var(--bg-card);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.math-note {
  color: var(--fg-muted);
  font-size: 15px;
  text-align: center;
}

/* ---- CLOSING ---- */
.closing {
  padding: 140px 24px;
  background: var(--bg-section);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 24px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  .verticals-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .hero-stats {
    flex-direction: column;
  }
  
  .step {
    gap: 16px;
  }
  
  .step-number {
    font-size: 24px;
    min-width: 40px;
  }
  
  .math-row {
    padding: 14px 16px;
    font-size: 14px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}