/* ── DispatchPad Theme ── */
:root {
  --bg: #f5f0e8;
  --bg-alt: #ede8df;
  --ink: #0d1b2a;
  --ink-muted: #3d4f61;
  --accent: #c9621a;
  --accent-light: #f0e4d6;
  --border: #d4cec3;
}

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

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

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

/* Navigation */
nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Hero */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1080px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 42ch;
}

/* Dispatch queue card */
.dispatch-queue {
  background: var(--ink);
  border-radius: 12px;
  padding: 1.75rem;
  color: #fff;
}
.queue-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8899aa;
  margin-bottom: 1.25rem;
}
.queue-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.queue-item:last-child { border-bottom: none; }
.queue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d5066;
  flex-shrink: 0;
}
.queue-dot.active {
  background: #e07b39;
  box-shadow: 0 0 6px rgba(224,123,57,0.6);
}
.queue-step {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.queue-status {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8899aa;
}
.queue-item:first-child .queue-status { color: #e07b39; }

/* Section base */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.section-body {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.7;
  margin-top: 1rem;
}

/* What it does */
.what-it-does {
  padding: 5rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 0.375rem;
  line-height: 1.5;
}

/* How it works */
.how-it-works {
  padding: 5rem 2rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step-card {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.step-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3.5rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1.25rem;
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
}
.step-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step-body {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Manifesto */
.manifesto {
  background: var(--ink);
  padding: 5rem 2rem;
}
.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  font-style: italic;
}
.manifesto-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 62ch;
}
.manifesto-body + .manifesto-body {
  margin-top: 1rem;
}

/* Closing */
.closing {
  padding: 6rem 2rem;
  text-align: center;
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-left: 0.75rem;
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero {
    padding: 3rem 1.5rem 3rem;
  }
  .stats-row,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .what-it-does,
  .how-it-works,
  .manifesto {
    padding: 3rem 1.5rem;
  }
  .closing {
    padding: 4rem 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}