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

:root {
  --bg:        #0c1117;
  --surface:   #111a2e;
  --surface2:  #162033;
  --border:    rgba(255,255,255,0.07);
  --gold:      #d4a843;
  --gold-dim:  rgba(212,168,67,0.15);
  --text:      #e8e4dc;
  --text-muted: #7e8590;
  --text-faint: #4a5060;
  --error:     #e05c5c;
  --ok:        #5cb87a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius: 4px;
  --max-w: 1100px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(24px, 5vw, 64px);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vh, 120px) clamp(24px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-accent {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(212,168,67,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(17,26,46,0.9) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Stats ───────────────────────────────────────────────── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px clamp(24px, 5vw, 64px);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 180px;
  padding: 0 40px;
}

.stat:first-child { padding-left: 0; }

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 200px;
}

/* ── How It Works ────────────────────────────────────────── */
.how {
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 64px);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

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

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 24px;
}

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

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Edge ───────────────────────────────────────────────── */
.edge {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 64px);
}

.edge-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.edge-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.edge-metrics {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.edge-sub {
  font-size: 0.88rem;
  color: var(--text-faint);
  font-style: italic;
  margin-top: 4px;
}

.map-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.map-states {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.state {
  padding: 20px 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.state:not(:last-child) { border-bottom: none; }

.state-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.state-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Manifesto ───────────────────────────────────────────── */
.manifesto {
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 64px);
  background: var(--bg);
}

.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  line-height: 1.45;
  margin-bottom: 32px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.manifesto-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Closing ─────────────────────────────────────────────── */
.closing {
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 64px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 40px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.footer-slug {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat { padding: 0; }

  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child) { border-bottom: none; }

  .edge-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .edge-metrics { flex-direction: column; gap: 24px; }
}