:root {
  --bg: #0b1120;
  --bg-elevated: #111827;
  --bg-card: #1a2332;
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-warm: #d97706;
  --border: rgba(148, 163, 184, 0.1);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 8% 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 80% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 70%),
              var(--bg);
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 6px 16px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 800px;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
  display: inline;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

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

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

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

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

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

/* ---- GRID / PROBLEM ---- */
.grid-section {
  padding: 120px 8%;
  border-top: 1px solid var(--border);
}

.grid-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.grid-header h2,
.states-section h2,
.features-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

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

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s;
}

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

.pain-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.pain-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- STATES ---- */
.states-section {
  padding: 120px 8%;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.states-content {
  max-width: 600px;
}

.states-desc {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 20px;
}

.state-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 14px 28px;
  letter-spacing: 0.08em;
  transition: background 0.3s, border-color 0.3s;
}

.pill:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.4);
}

/* ---- FEATURES ---- */
.features-section {
  padding: 120px 8%;
  border-top: 1px solid var(--border);
}

.features-section > h2 {
  margin-bottom: 64px;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

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

.feature-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  padding-top: 4px;
}

.feature-detail {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- CLOSING ---- */
.closing-section {
  padding: 140px 8%;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 50% at 50% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
}

.closing-inner {
  max-width: 720px;
}

.closing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 24px;
}

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

/* ---- FOOTER ---- */
.site-footer {
  padding: 40px 8%;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg-dim);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .hero {
    padding: 80px 6% 60px;
    min-height: 80vh;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .grid-section,
  .states-section,
  .features-section,
  .closing-section {
    padding: 80px 6%;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pain-card {
    padding: 28px 24px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .state-pills {
    gap: 8px;
  }

  .pill {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}