/* ── Variables ─────────────────────────────────── */
:root {
  --bg:       #080C10;
  --surface:  #0F1419;
  --border:   #1C2530;
  --cyan:     #00C8F0;
  --cyan-dim: rgba(0, 200, 240, 0.08);
  --text:     #E8EDF3;
  --muted:    #6B7A8A;
  --mono-font: 'IBM Plex Mono', 'Courier New', monospace;
  --body-font: 'Space Grotesk', system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

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

/* ── Typography ────────────────────────────────── */
h1, h2, h3 { font-family: var(--body-font); font-weight: 700; line-height: 1.15; }

/* ── Nav ────────────────────────────────────────── */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.nav-logo {
  font-family: var(--mono-font);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.nav-tag {
  font-family: var(--mono-font);
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 7rem 2rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-response {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 640px;
}
.response-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #0B1117;
}
.response-method {
  font-family: var(--mono-font);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}
.response-endpoint {
  font-family: var(--mono-font);
  font-size: 0.75rem;
  color: var(--muted);
}
.response-code {
  font-family: var(--mono-font);
  font-size: 0.8rem;
  line-height: 1.7;
  padding: 1.2rem 1.25rem;
  color: #A8B5C6;
  overflow-x: auto;
  white-space: pre;
}
.json-key   { color: #7DD3FC; }
.json-str   { color: #86EFAC; }

/* ── Section tag ────────────────────────────────── */
.section-tag {
  display: block;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

/* ── How It Works ───────────────────────────────── */
.how-it-works {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.how-header {
  margin-bottom: 3.5rem;
}
.how-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  letter-spacing: -0.02em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.step {
  padding: 2rem 2.5rem 2rem 0;
  border-right: 1px solid var(--border);
}
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono-font);
  font-size: 2rem;
  font-weight: 500;
  color: var(--border);
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.step-code {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--cyan);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 5px;
  white-space: pre;
}

/* ── Coverage ───────────────────────────────────── */
.coverage {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.coverage-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.coverage-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.coverage-header p {
  color: var(--muted);
  max-width: 500px;
}
.state-groups {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.state-group { }
.group-label {
  font-family: var(--mono-font);
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.6rem;
}
.state-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.state-tag {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}
.state-tag.open {
  border-color: rgba(0, 200, 240, 0.25);
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* ── Manifesto ──────────────────────────────────── */
.manifesto {
  padding: 6rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto blockquote {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 1.5rem 0 2rem;
  letter-spacing: -0.02em;
}
.manifesto p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.manifesto-pricing {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.price-block { }
.price-amount {
  font-family: var(--mono-font);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--cyan);
}
.price-label {
  font-family: var(--mono-font);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.price-vs {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.vs-note {
  color: var(--text);
  font-weight: 600;
}

/* ── Closing ────────────────────────────────────── */
.closing {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.closing > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.closing-stat {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--mono-font);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.closing-statement {
  font-family: var(--mono-font);
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 0;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--mono-font);
  font-weight: 500;
  color: var(--text);
}
.footer-tag {
  font-family: var(--mono-font);
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero-title { font-size: 2.2rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 2rem; }
  .step:last-child { border-bottom: none; }
  .closing-stat { flex-direction: column; gap: 1.5rem; }
  .manifesto-pricing { flex-direction: column; gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { margin-left: 0; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .how-it-works, .coverage, .closing { padding: 3.5rem 1rem; }
  .manifesto { padding: 4rem 1rem; }
}