/* ═══════════════════════════════════════════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --paper:        #f3f2f2;
  --surface:      #eae9e9;
  --ink:          #201e1d;
  --ink-2:        #2d2b2b;
  --cyan:         #0088b0;
  --cyan-600:     #006786;
  --cyan-100:     #e9f8ff;
  --magenta:      #d6006c;
  --magenta-100:  #ffdee6;
  --yellow:       #edbb00;
  --divider:      color-mix(in srgb, #201e1d 16%, transparent);
  --muted:        color-mix(in srgb, #201e1d 55%, transparent);
  --serif: "Source Serif 4", ui-serif, Georgia, Cambria, serif;
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top);
}
@media (min-width: 720px)  { body { font-size: 17px; } }
@media (min-width: 1024px) { body { font-size: 18px; } }

img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* Section spacing tuned for mobile-first */
section { padding: 80px 0; position: relative; }
@media (min-width: 720px)  { section { padding: 100px 0; } }
@media (min-width: 1024px) { section { padding: 140px 0; } }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPE
   ═══════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.02em;
}
.kicker {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; display: inline-block;
}
.kicker.magenta { color: var(--magenta); }
.kicker.yellow { color: var(--yellow); }

/* ═══════════════════════════════════════════════════════════════════════════
   CMYK PLATE HEADLINE: signature move, tuned for mobile
   ═══════════════════════════════════════════════════════════════════════════ */
.cmyk-head { position: relative; display: inline-block; }
.cmyk-head .paper {
  color: var(--paper);
  text-shadow:
    0.03em 0.02em 0 var(--paper),
    -0.025em -0.02em 0 var(--paper);
}
.cmyk-head .plate {
  position: absolute; inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none; user-select: none;
}
.cmyk-head .plate-c { color: var(--cyan);    translate: 0.022em 0.015em; }
.cmyk-head .plate-m { color: var(--magenta); translate: -0.018em -0.014em; }
.cmyk-head .plate-y { color: var(--yellow);  translate: 0.01em -0.016em; }

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 100; pointer-events: none;
  background: transparent;
}
.scroll-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 100%);
  transform-origin: left;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  padding: 0 16px 0 20px;
  display: flex; align-items: center; gap: 20px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out-quart);
  padding-top: env(safe-area-inset-top);
  height: calc(var(--nav-h) + env(safe-area-inset-top));
}
.nav.scrolled { border-bottom-color: var(--divider); }
@media (min-width: 720px)  { .nav { padding-left: 32px; padding-right: 20px; } }
@media (min-width: 1024px) { .nav { padding-left: 40px; padding-right: 32px; } }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  transition: opacity 0.2s;
}
.nav-logo:active { opacity: 0.6; }
.nav-logo-mark {
  width: 32px; height: 32px; background: var(--ink);
  display: grid; place-items: center; position: relative;
  transition: transform 0.4s var(--ease-out-back);
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-4deg); }
.nav-logo-mark::before {
  content: "K"; font-family: var(--serif); font-weight: 700;
  font-size: 22px; color: var(--cyan); line-height: 1;
  transform: translateY(-1px);
}
.nav-logo-mark::after {
  content: ""; position: absolute; right: 4px; bottom: 5px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--magenta);
  animation: markDot 2.4s ease-in-out infinite;
}
@keyframes markDot {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.3); }
}
.nav-logo-text { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }

.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  display: none; align-items: center; gap: 6px;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: var(--cyan); }
.nav-cta:active { transform: scale(0.96); }

.nav-toggle {
  margin-left: auto; padding: 8px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
}
.nav-toggle-icon { position: relative; width: 22px; height: 14px; }
.nav-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out-quart), opacity 0.2s;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 6px; }
.nav-toggle-icon span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--paper);
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 40px) 24px calc(env(safe-area-inset-bottom) + 40px);
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-quart);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 32px; color: var(--ink); text-decoration: none;
  font-weight: 600; padding: 18px 0;
  border-bottom: 1px solid var(--divider);
  letter-spacing: -0.02em;
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.4s var(--ease-out-quart), transform 0.4s var(--ease-out-quart);
}
.mobile-menu.open a { opacity: 1; transform: translateX(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.30s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu-cta {
  margin-top: 32px; padding: 20px 28px;
  background: var(--ink); color: var(--paper) !important;
  text-align: center; border: 0 !important;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out-quart) 0.4s, transform 0.4s var(--ease-out-quart) 0.4s;
}
.mobile-menu.open .mobile-menu-cta { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING WAITLIST CTA: appears on scroll (mobile especially)
   ═══════════════════════════════════════════════════════════════════════════ */
.floating-cta {
  position: fixed; bottom: 20px; right: 20px; z-index: 45;
  background: var(--ink); color: var(--paper);
  padding: 14px 22px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(32, 30, 29, 0.35);
  opacity: 0; transform: translateY(20px) scale(0.9);
  transition: opacity 0.4s var(--ease-out-quart), transform 0.4s var(--ease-out-back);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.floating-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-cta:active { transform: scale(0.94); }
.floating-cta-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--magenta);
  animation: markDot 2s ease-in-out infinite;
}
@media (min-width: 900px) { .floating-cta { display: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; min-height: 100dvh;
  padding-top: calc(var(--nav-h) + 40px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink); padding: 5px 10px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; background: var(--magenta); border-radius: 50%;
  animation: markDot 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(44px, 12vw, 148px);
  line-height: 0.92; letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero h1 .line { display: block; }
.hero-sub {
  font-size: clamp(17px, 4.5vw, 26px);
  max-width: 640px;
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 32px;
}
.hero-sub em { font-style: italic; color: var(--magenta); }
.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 24px;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--cyan); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-arrow { transition: transform 0.2s var(--ease-out-quart); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hero facts strip: always 3 columns, tighter on mobile */
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 20px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--divider);
}
@media (min-width: 720px) { .hero-facts { gap: 20px; padding: 24px 0; } }
.hero-fact { display: flex; flex-direction: column; gap: 4px; }
.hero-fact-num {
  font-size: clamp(22px, 5.5vw, 44px);
  font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-fact-num .cyan { color: var(--cyan); }
.hero-fact-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  line-height: 1.2;
}
@media (min-width: 720px) { .hero-fact-label { font-size: 11px; letter-spacing: 0.12em; } }

/* Hero decorative kerb strip: parallax */
.kerb-strip {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); z-index: 0;
  height: 180px; opacity: 0.05; pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    var(--cyan) 0 40px, transparent 40px 60px,
    var(--yellow) 60px 100px, transparent 100px 120px,
    var(--magenta) 120px 160px, transparent 160px 180px,
    var(--ink) 180px 220px, transparent 220px 240px
  );
  will-change: transform;
}

/* Scroll cue at bottom of hero */
.scroll-cue {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  animation: scrollCue 2.4s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}
.scroll-cue::after {
  content: ""; width: 1px; height: 20px; background: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROBLEM SECTION (dark)
   ═══════════════════════════════════════════════════════════════════════════ */
.problem {
  background: var(--ink); color: var(--paper);
  padding: 80px 0;
}
@media (min-width: 720px)  { .problem { padding: 100px 0; } }
@media (min-width: 1024px) { .problem { padding: 140px 0; } }

.problem .kicker { color: var(--magenta); }
.problem h2 {
  font-size: clamp(32px, 8vw, 72px);
  margin: 16px 0 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.problem h2 .strike {
  position: relative; color: color-mix(in srgb, var(--paper) 60%, transparent);
  display: inline-block;
}
.problem h2 .strike::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%;
  height: 5px; background: var(--magenta); transform: rotate(-1deg) scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out-quart) 0.4s;
}
.problem h2.animate .strike::after { transform: rotate(-1deg) scaleX(1); }
.problem h2 .real {
  display: block; color: var(--cyan);
}
.problem-columns {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  margin-top: 48px;
}
@media (min-width: 900px) {
  .problem-columns { grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
}
.problem-copy p {
  font-size: 18px; line-height: 1.55;
  color: color-mix(in srgb, var(--paper) 82%, transparent);
  margin-bottom: 18px;
}
@media (min-width: 720px) { .problem-copy p { font-size: 20px; } }
.problem-copy p + p { text-indent: 1.5em; }
.problem-copy strong { color: var(--paper); font-weight: 600; }

/* Interactive timeline demo */
.timeline-demo {
  background: color-mix(in srgb, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
  padding: 24px;
  position: relative;
  touch-action: pan-y;
  user-select: none;
}
@media (min-width: 720px) { .timeline-demo { padding: 28px; } }
.timeline-demo-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  margin-bottom: 16px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.timeline-demo-title::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); animation: markDot 1.5s ease-in-out infinite;
}
.timeline-demo-address {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  margin-bottom: 4px; letter-spacing: -0.01em;
}
.timeline-demo-cpz {
  font-size: 13px;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  margin-bottom: 24px; font-style: italic;
}

.timeline-track {
  position: relative; height: 56px;
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  overflow: visible;
  cursor: grab;
}
.timeline-track:active { cursor: grabbing; }

.timeline-block {
  position: absolute; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
  pointer-events: none;
}
@media (min-width: 400px) { .timeline-block { font-size: 11px; } }
.timeline-demo.play .timeline-block { opacity: 1; transform: translateY(0); }
.timeline-demo.play .timeline-block:nth-child(1) { transition-delay: 0.1s; }
.timeline-demo.play .timeline-block:nth-child(2) { transition-delay: 0.25s; }
.timeline-demo.play .timeline-block:nth-child(3) { transition-delay: 0.4s; }
.timeline-block.paid    { background: var(--yellow); }
.timeline-block.permit  { background: var(--magenta); color: var(--paper); }
.timeline-block.free    { background: var(--cyan); color: var(--paper); }

/* The cursor: draggable on touch */
.timeline-cursor {
  position: absolute; top: -10px; bottom: -10px; width: 3px;
  background: var(--paper);
  left: 0%;
  transition: left 3.2s cubic-bezier(0.5, 0, 0.5, 1);
  z-index: 3;
  pointer-events: none;
}
.timeline-demo.play .timeline-cursor { left: 65%; }
.timeline-demo.dragging .timeline-cursor { transition: none; }
.timeline-cursor::before {
  content: ""; position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px; background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.timeline-cursor-label {
  position: absolute; top: -38px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--paper); background: var(--ink);
  padding: 4px 8px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent);
}

.timeline-hint {
  position: absolute; top: 100%; margin-top: 12px;
  left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
  font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.timeline-hint::before, .timeline-hint::after {
  content: "←"; font-family: sans-serif;
}
.timeline-hint::after { content: "→"; }
@media (min-width: 900px) { .timeline-hint { display: none; } }

.timeline-axis {
  display: flex; justify-content: space-between; margin-top: 32px;
  font-size: 10px; color: color-mix(in srgb, var(--paper) 55%, transparent);
  letter-spacing: 0.08em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* Verdict card: updates dynamically based on cursor position */
.timeline-verdict {
  margin-top: 28px; padding: 18px; border: 1px solid;
  display: flex; align-items: start; gap: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.timeline-verdict[data-status="paid"] {
  border-color: var(--yellow);
  background: color-mix(in srgb, var(--yellow) 15%, transparent);
}
.timeline-verdict[data-status="paid"] .timeline-verdict-icon {
  background: var(--yellow); color: var(--ink);
}
.timeline-verdict[data-status="permit"] {
  border-color: var(--magenta);
  background: color-mix(in srgb, var(--magenta) 15%, transparent);
}
.timeline-verdict[data-status="permit"] .timeline-verdict-icon {
  background: var(--magenta); color: var(--paper);
}
.timeline-verdict[data-status="free"] {
  border-color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 15%, transparent);
}
.timeline-verdict[data-status="free"] .timeline-verdict-icon {
  background: var(--cyan); color: var(--paper);
}

.timeline-verdict-icon {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  border-radius: 50%;
  transition: background 0.3s;
}
.timeline-verdict-body strong {
  display: block; font-weight: 700; margin-bottom: 4px;
  color: var(--paper); font-size: 15px;
}
.timeline-verdict-body span {
  font-size: 13px; color: color-mix(in srgb, var(--paper) 80%, transparent);
  font-style: italic; line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════════════ */
.section-header {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 48px;
}
@media (min-width: 720px) { .section-header { margin-bottom: 60px; } }
.section-header h2 {
  font-size: clamp(30px, 6vw, 56px);
  max-width: 800px; font-weight: 700;
  letter-spacing: -0.025em;
}
.section-header p {
  font-size: 17px; color: var(--muted); max-width: 640px;
  line-height: 1.5;
}
@media (min-width: 720px) { .section-header p { font-size: 19px; } }

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES: snap-carousel on mobile, grid on desktop
   ═══════════════════════════════════════════════════════════════════════════ */
.features-wrap { position: relative; }
.features {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  padding: 0 20px 20px;
  margin: 0 -20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-top: 3px solid var(--ink);
  padding-top: 24px;
}
.features::-webkit-scrollbar { display: none; }

.feature {
  flex: 0 0 82%; max-width: 340px;
  scroll-snap-align: center;
  padding: 24px 24px 32px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper);
  border-left: 1px solid var(--divider);
  border-right: 1px solid var(--divider);
  border-bottom: 3px solid var(--ink);
  position: relative;
  transition: transform 0.3s;
}
.feature:active { transform: scale(0.98); }
@media (min-width: 720px)  {
  .feature { flex: 0 0 60%; max-width: 380px; }
}
@media (min-width: 1024px) {
  .features {
    display: grid; grid-template-columns: repeat(3, 1fr);
    overflow: visible; gap: 0;
    padding: 0; margin: 0;
    border-bottom: 3px solid var(--ink);
  }
  .feature {
    flex: initial; max-width: none;
    padding: 48px 40px 48px 0;
    border-left: 0; border-right: 0; border-bottom: 0;
  }
  .feature + .feature { padding-left: 40px; border-left: 1px solid var(--divider); }
}
.feature-num {
  font-family: var(--serif); font-weight: 700;
  font-size: 48px; line-height: 1; color: var(--cyan);
  letter-spacing: -0.03em;
}
@media (min-width: 720px) { .feature-num { font-size: 56px; } }
.feature h3 {
  font-size: 22px; font-weight: 700; margin-top: 4px;
  letter-spacing: -0.015em;
}
@media (min-width: 720px) { .feature h3 { font-size: 24px; } }
.feature p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.feature-detail {
  margin-top: 12px; padding-top: 14px;
  border-top: 1px dashed var(--divider);
  font-size: 12px; color: var(--muted); font-style: italic;
}

/* Carousel dots */
.carousel-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 20px;
}
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--divider); padding: 0;
  border: 0; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dots button[aria-current="true"] {
  background: var(--ink); transform: scale(1.2);
}
@media (min-width: 1024px) { .carousel-dots { display: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   MAP SHOWCASE: mobile-friendly (no phone-in-phone frame on mobile)
   ═══════════════════════════════════════════════════════════════════════════ */
.map-section { background: var(--surface); }
.map-showcase {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .map-showcase { grid-template-columns: 1fr 1.05fr; gap: 60px; }
}
.map-copy h2 {
  font-size: clamp(28px, 6vw, 52px);
  margin-bottom: 20px; font-weight: 700;
  letter-spacing: -0.025em;
}
.map-copy p {
  font-size: 16px; color: var(--ink-2); margin-bottom: 16px;
  line-height: 1.55;
}
@media (min-width: 720px) { .map-copy p { font-size: 18px; } }

.legend-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px;
}
.legend-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
@media (min-width: 720px) { .legend-item { font-size: 15px; } }
.legend-swatch { width: 24px; height: 8px; flex: none; }
.legend-swatch.free       { background: var(--cyan); }
.legend-swatch.soon       { background: var(--magenta); }
.legend-swatch.paid       { background: var(--yellow); }
.legend-swatch.forbidden  { background: var(--ink); }
.legend-swatch.unknown    {
  background: repeating-linear-gradient(45deg,
    #9CA3AF 0 4px, #d1d5db 4px 8px);
}

/* App preview: a "screenshot card" on mobile (no phone frame),
   an iPhone frame on desktop */
.preview {
  position: relative;
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(32, 30, 29, 0.06),
    0 12px 32px rgba(32, 30, 29, 0.12);
  overflow: hidden;
  max-width: 380px; margin: 0 auto;
  border: 1px solid var(--divider);
}
@media (min-width: 900px) {
  .preview {
    background: var(--ink);
    border-radius: 32px; padding: 8px;
    border: 0;
    box-shadow:
      0 1px 2px rgba(32, 30, 29, 0.14),
      0 24px 48px rgba(32, 30, 29, 0.18);
  }
}
.preview-inner {
  position: relative;
  background: var(--paper);
}
@media (min-width: 900px) {
  .preview-inner { border-radius: 26px; overflow: hidden; }
}
.preview-status {
  display: none;
}
@media (min-width: 900px) {
  .preview-status {
    display: flex; align-items: center; justify-content: space-between;
    height: 32px; padding: 0 24px;
    font-size: 11px; font-weight: 600;
  }
}
.preview-search {
  margin: 12px; padding: 12px 14px;
  background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); font-style: italic;
}
.preview-search-icon {
  width: 14px; height: 14px;
  border: 1.5px solid currentColor; border-radius: 50%;
  position: relative; flex: none;
}
.preview-search-icon::after {
  content: ""; position: absolute; bottom: -4px; right: -4px;
  width: 6px; height: 1.5px; background: currentColor;
  transform: rotate(45deg);
}
.preview-chips {
  display: flex; gap: 6px; padding: 0 12px 12px;
  overflow-x: auto; scrollbar-width: none;
}
.preview-chips::-webkit-scrollbar { display: none; }
.preview-chip {
  padding: 6px 11px; font-size: 11px; font-weight: 600;
  background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  white-space: nowrap;
}
.preview-chip.active { background: var(--ink); color: var(--paper); }

.preview-map {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #e8e5df 0%, #dfd9cf 100%);
  overflow: hidden;
}
.preview-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, transparent 39%, #cfc7b8 39%, #cfc7b8 41%, transparent 41%),
    linear-gradient(0deg, transparent 65%, #cfc7b8 65%, #cfc7b8 67%, transparent 67%),
    linear-gradient(90deg, transparent 70%, #cfc7b8 70%, #cfc7b8 72%, transparent 72%),
    linear-gradient(0deg, transparent 30%, #cfc7b8 30%, #cfc7b8 32%, transparent 32%);
  opacity: 0.7;
}
.preview-segment {
  position: absolute; height: 5px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
  transform: scaleX(0); transform-origin: left center;
}
.preview-map.play .preview-segment {
  animation: drawSeg 0.6s var(--ease-out-quart) forwards;
}
@keyframes drawSeg { to { transform: scaleX(1); } }
.preview-segment.s1 { left: 12%; top: 22%; width: 30%; background: var(--cyan);    animation-delay: 0.2s; }
.preview-segment.s2 { left: 45%; top: 22%; width: 20%; background: var(--yellow);  animation-delay: 0.35s; }
.preview-segment.s3 { left: 12%; top: 40%; width: 40%; background: var(--cyan);    animation-delay: 0.5s; }
.preview-segment.s4 { left: 55%; top: 52%; width: 18%; background: var(--magenta); animation-delay: 0.65s; }
.preview-segment.s5 { left: 22%; top: 68%; width: 25%; background: var(--cyan);    animation-delay: 0.8s; }
.preview-segment.s6 { left: 60%; top: 78%; width: 22%; background: var(--ink);     animation-delay: 0.95s; }
.preview-segment.s7 { left: 25%; top: 82%; width: 30%; background: var(--cyan);    animation-delay: 1.1s; }
.preview-pin {
  position: absolute; left: 50%; top: 45%;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--magenta); border: 3px solid var(--paper);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
}
.preview-map.play .preview-pin {
  animation: pinDrop 0.6s var(--ease-out-back) 1.3s forwards;
}
@keyframes pinDrop {
  0%   { transform: translate(-50%, -160%); opacity: 0; }
  60%  { transform: translate(-50%, -95%); opacity: 1; }
  100% { transform: translate(-50%, -100%); opacity: 1; }
}
.preview-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--magenta);
}

.preview-sheet {
  padding: 12px 16px 20px;
  background: var(--paper);
}
.preview-sheet-handle {
  width: 36px; height: 4px; background: var(--divider);
  border-radius: 2px; margin: 0 auto 12px;
}
.preview-sheet-title {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.preview-sheet-title strong { font-size: 15px; font-weight: 700; }
.preview-sheet-title span { font-size: 10px; color: var(--muted); font-style: italic; }
.preview-row {
  display: grid; grid-template-columns: 4px 1fr auto; gap: 12px;
  padding: 10px 0; align-items: center;
  border-top: 1px solid var(--divider);
  transition: background 0.2s;
}
.preview-row:active { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.preview-row-bar { width: 3px; height: 32px; }
.preview-row-bar.free { background: var(--cyan); }
.preview-row-bar.soon { background: var(--magenta); }
.preview-row-bar.paid { background: var(--yellow); }
.preview-row-name { font-size: 13px; font-weight: 700; line-height: 1.1; }
.preview-row-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.preview-row-arrow { color: var(--muted); font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════════════════
   RULE ENGINE
   ═══════════════════════════════════════════════════════════════════════════ */
.engine {
  border-top: 3px solid var(--ink);
}
.engine-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 900px) {
  .engine-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.engine-card {
  border: 1px solid var(--divider);
  padding: 28px 24px;
  position: relative;
  background: var(--paper);
}
@media (min-width: 720px) { .engine-card { padding: 32px; } }
.engine-card-num {
  position: absolute; top: -18px; left: 20px;
  background: var(--paper); padding: 0 12px;
  font-size: 38px; font-weight: 700;
  color: var(--cyan); font-family: var(--serif);
  line-height: 1;
}
.engine-card h3 {
  font-size: 22px; margin: 4px 0 14px; font-weight: 700;
  letter-spacing: -0.015em;
}
.engine-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
.engine-card p:last-child { margin-bottom: 0; }

/* Provenance panel */
.provenance {
  margin-top: 48px; padding: 28px 24px;
  background: var(--surface);
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 720px) { .provenance { padding: 32px; } }
@media (min-width: 900px) { .provenance { grid-template-columns: 1fr auto; align-items: center; } }
.provenance-body strong { display: block; font-weight: 700; margin-bottom: 6px; font-size: 16px; }
.provenance-body p { color: var(--ink-2); font-size: 14px; margin-bottom: 4px; }
.provenance-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.prov-tag {
  padding: 6px 12px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--ink);
}
.prov-tag.cyan { background: var(--cyan-100); color: var(--cyan-600); border-color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════════════
   COVERAGE: snap carousel on mobile
   ═══════════════════════════════════════════════════════════════════════════ */
.coverage {
  background: var(--ink); color: var(--paper);
}
.coverage .kicker { color: var(--yellow); }
.coverage h2 {
  font-size: clamp(30px, 6vw, 56px);
  max-width: 800px; margin: 16px 0 40px; font-weight: 700;
  letter-spacing: -0.025em;
}

.boroughs-wrap { position: relative; margin: 0 -20px; }
.boroughs {
  display: flex; gap: 1px;
  padding: 0 20px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  scrollbar-width: none;
  background: color-mix(in srgb, var(--paper) 15%, transparent);
  border-top: 3px solid var(--paper);
  border-bottom: 3px solid var(--paper);
}
.boroughs::-webkit-scrollbar { display: none; }

.borough {
  flex: 0 0 68%; max-width: 240px;
  scroll-snap-align: start;
  background: var(--ink); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 140px;
}
@media (min-width: 720px) { .borough { flex: 0 0 40%; } }
@media (min-width: 1024px) {
  .boroughs {
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 0; margin: 0;
    overflow: visible;
  }
  .borough { flex: initial; max-width: none; padding: 24px 20px; }
}

.borough-status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.borough-status.live    { color: var(--cyan); }
.borough-status.q1      { color: var(--yellow); }
.borough-status.q2      { color: var(--magenta); }
.borough-status.future  { color: color-mix(in srgb, var(--paper) 50%, transparent); }
.borough-name {
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
}
.borough-meta {
  font-size: 12px; color: color-mix(in srgb, var(--paper) 60%, transparent);
  font-style: italic; margin-top: auto; padding-top: 8px;
}
.borough-link { font-size: 12px; font-weight: 600; color: var(--cyan); }

.coverage .carousel-dots button { background: color-mix(in srgb, var(--paper) 25%, transparent); }
.coverage .carousel-dots button[aria-current="true"] { background: var(--paper); }

/* ═══════════════════════════════════════════════════════════════════════════
   SIGNUP
   ═══════════════════════════════════════════════════════════════════════════ */
.signup { text-align: center; }
.signup h2 {
  font-size: clamp(36px, 9vw, 80px);
  max-width: 900px; margin: 0 auto 20px;
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.02;
}
.signup > .container > p {
  font-size: 17px; color: var(--muted);
  max-width: 560px; margin: 0 auto 32px;
}
@media (min-width: 720px) { .signup > .container > p { font-size: 19px; } }

.signup-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto;
  flex-wrap: wrap;
}
.signup-input {
  flex: 1 1 240px;
  padding: 15px 18px;
  background: var(--surface); border: 1px solid var(--divider);
  font-size: 16px; color: var(--ink); min-width: 0;
  min-height: 50px;
  transition: border-color 0.2s;
}
.signup-input:focus { outline: none; border-color: var(--cyan); }
.signup-btn {
  padding: 15px 26px; background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 600; font-size: 16px;
  transition: background 0.2s, transform 0.1s;
  min-height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.signup-btn:hover { background: var(--cyan); }
.signup-btn:active { transform: scale(0.96); }
.signup-note {
  margin-top: 18px; font-size: 12px; color: var(--muted);
  font-style: italic;
}
.signup-ok {
  display: none; margin: 20px auto 0; padding: 14px 20px;
  background: color-mix(in srgb, var(--cyan) 15%, transparent);
  border: 1px solid var(--cyan); color: var(--cyan-600);
  max-width: 480px; font-size: 14px; font-weight: 500;
}
.signup-ok.show { display: block; animation: revealUp 0.5s var(--ease-out-back); }
@keyframes revealUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink); color: var(--paper);
  padding: 48px 0 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand p {
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  font-size: 14px; margin-top: 16px; max-width: 320px;
  font-style: italic; line-height: 1.5;
}
.footer-brand .nav-logo-text { color: var(--paper); }
.footer-brand .nav-logo-mark { background: var(--paper); }
.footer-brand .nav-logo-mark::before { color: var(--cyan); }
.footer-col-title {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  margin-bottom: 14px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--paper); text-decoration: none; font-size: 14px;
  display: inline-block; padding: 2px 0;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px; color: color-mix(in srgb, var(--paper) 55%, transparent);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.reveal-left {
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}
.reveal-left.in { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .kerb-strip, .scroll-cue, .floating-cta { display: none; }
}

/* ═══ Added 2026-09-21: brief, beta, FAQ, waitlist states, legal pages ═══ */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--magenta); font-size: 15px; margin-top: 12px; font-weight: 600; }
.form-error[hidden] { display: none; }
.signup-btn:disabled { opacity: 0.6; cursor: wait; }
.signup-note a { color: inherit; }

.brief { background: var(--surface); padding: 56px 0; }
@media (min-width: 720px) { .brief { padding: 72px 0; } }
.brief h2 { font-size: clamp(26px, 5vw, 40px); margin: 12px 0 28px; letter-spacing: -0.02em; }
.brief-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.brief-list > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--divider); }
@media (min-width: 720px) { .brief-list > div { grid-template-columns: 220px 1fr; gap: 24px; } }
.brief-list dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-600); font-weight: 600; padding-top: 4px; }
.brief-list dd { font-size: 17px; line-height: 1.5; max-width: 760px; }

.beta { background: var(--paper); }
.beta h2 { font-size: clamp(32px, 6.5vw, 64px); margin: 14px 0 16px; letter-spacing: -0.025em; }
.beta-lead { font-size: 18px; max-width: 640px; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.beta-steps { list-style: none; counter-reset: s; margin: 32px 0; display: grid; gap: 12px; max-width: 760px; }
.beta-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; background: #fff; border: 1px solid var(--divider); font-size: 17px; }
.beta-steps li::before { content: counter(s); position: absolute; left: 20px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.beta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.beta-note { margin-top: 20px; font-size: 15px; color: color-mix(in srgb, var(--ink) 70%, transparent); max-width: 640px; }

.faq { background: var(--surface); }
.faq h2 { font-size: clamp(30px, 6vw, 52px); margin: 14px 0 28px; letter-spacing: -0.025em; }
.faq-list { max-width: 820px; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--divider); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; position: relative; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 400; color: var(--cyan-600); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 0 20px; max-width: 720px; font-size: 17px; }

/* legal and info pages */
.legal-page { padding: calc(var(--nav-h) + 48px) 0 72px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(34px, 7vw, 56px); margin: 12px 0 8px; letter-spacing: -0.025em; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal-page h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -0.015em; }
.legal-page p, .legal-page li { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin: 0 0 12px; }
.legal-page .callout { border-left: 4px solid var(--magenta); background: var(--surface); padding: 14px 18px; margin: 20px 0; }
.legal-page .path-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.legal-page .path-list li { padding: 16px 18px; background: #fff; border: 1px solid var(--divider); }
.legal-crumbs { font-size: 14px; color: var(--muted); }
.legal-crumbs a { color: inherit; }
.nav-legal .nav-links { display: flex; }
.company-line { font-size: 13px; opacity: 0.75; margin-top: 8px; }
.nav-legal .nav-links, .nav-legal .nav-toggle { display: none; }
.nav-legal .nav-cta { display: inline-flex; margin-left: auto; }
