/*
 * Sharing Is Parking – landing page.
 * Tokens mirror sharing-is-parking-app/src/theme/tokens.ts so the site and the app read as one product.
 * Layout: a split hero (copy + live phone mock of the map screen), then alternating full-width bands
 * that each answer one question a driver or host has.
 */
:root {
  --bg: #F7F8FC;
  --surface: #FFFFFF;
  --surface-muted: #EEF1F7;
  --surface-floating: rgba(255, 255, 255, 0.92);
  --border: #D5DBE8;
  --text: #0B1220;
  --text-2: #2B3A5A;
  --muted: #596983;
  --primary: #174FD6;
  --primary-solid: #1F5EFF;
  --primary-solid-2: #1E4FE0;
  --primary-soft: #E3EBFF;
  --on-primary: #FFFFFF;
  --mint: #18C29C;
  --mint-soft: #DDF7F0;
  --mint-text: #086951;
  --amber: #FFB020;
  --amber-soft: #FFF1D6;
  --amber-text: #805000;
  --rose: #F04C64;
  --rose-soft: #FFE1E6;
  --rose-text: #B42340;
  --ink: #0B1220;
  --shadow-card: 0 8px 24px rgba(11, 18, 32, 0.10);
  --shadow-floating: 0 12px 32px rgba(11, 18, 32, 0.18);
  --shadow-phone: 0 40px 80px -20px rgba(11, 18, 32, 0.35), 0 12px 32px rgba(11, 18, 32, 0.12);
  --glow-a: rgba(47, 107, 255, 0.16);
  --glow-b: rgba(24, 194, 156, 0.14);
  --bay-line: rgba(11, 18, 32, 0.08);
  /* The map stays light in every theme, exactly like the app's tiles. */
  --map-land: #EDF0F6;
  --map-block: #E0E5EF;
  --map-road: #FFFFFF;
  --map-water: #C8D8FF;
  --map-park: #CDEFE4;

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-rounded: 'SF Pro Rounded', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220;
    --surface: #111A2E;
    --surface-muted: #1B2640;
    --surface-floating: rgba(17, 26, 46, 0.92);
    --border: #2B3A5A;
    --text: #F7F8FC;
    --text-2: #D5DBE8;
    --muted: #9AA6BF;
    --primary: #7FA4FF;
    --primary-soft: rgba(92, 139, 255, 0.18);
    --mint-soft: rgba(24, 194, 156, 0.18);
    --mint-text: #65E5C4;
    --amber-soft: rgba(255, 176, 32, 0.18);
    --amber-text: #FFD080;
    --rose-soft: rgba(240, 76, 100, 0.18);
    --rose-text: #FF9CAC;
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-floating: 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-phone: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px #2B3A5A;
    --glow-a: rgba(47, 107, 255, 0.22);
    --glow-b: rgba(24, 194, 156, 0.12);
    --bay-line: rgba(247, 248, 252, 0.07);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0B1220;
  --surface: #111A2E;
  --surface-muted: #1B2640;
  --surface-floating: rgba(17, 26, 46, 0.92);
  --border: #2B3A5A;
  --text: #F7F8FC;
  --text-2: #D5DBE8;
  --muted: #9AA6BF;
  --primary: #7FA4FF;
  --primary-soft: rgba(92, 139, 255, 0.18);
  --mint-soft: rgba(24, 194, 156, 0.18);
  --mint-text: #65E5C4;
  --amber-soft: rgba(255, 176, 32, 0.18);
  --amber-text: #FFD080;
  --rose-soft: rgba(240, 76, 100, 0.18);
  --rose-text: #FF9CAC;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-floating: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-phone: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px #2B3A5A;
  --glow-a: rgba(47, 107, 255, 0.22);
  --glow-b: rgba(24, 194, 156, 0.12);
  --bay-line: rgba(247, 248, 252, 0.07);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--primary-solid); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; color: var(--text); }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
}
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.section-head p { font-size: 18px; color: var(--text-2); max-width: 62ch; }

/* ------------------------------------------------------------------ wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.03em; font-size: 18px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand .w-blue { color: var(--primary-solid); }
.brand .w-mint { color: var(--mint); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface-floating);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--r-pill); }
.nav-links a:hover { background: var(--surface-muted); text-decoration: none; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.seg {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill);
  background: var(--surface-muted); border: 1px solid var(--border);
}
.seg button {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--text-2);
  border: 0; background: transparent; padding: 6px 10px; border-radius: var(--r-pill); cursor: pointer; min-width: 36px;
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(11, 18, 32, .12); }
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ buttons (app Button) */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--r-md);
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  border: 0; cursor: pointer; transition: transform .15s ease, opacity .15s ease, box-shadow .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { color: var(--on-primary); background: linear-gradient(135deg, var(--primary-solid), var(--primary-solid-2)); box-shadow: 0 10px 24px -8px rgba(31, 94, 255, .6); }
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(31, 94, 255, .75); }
.btn-secondary { color: var(--text); background: var(--surface-muted); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px 10px 14px; min-height: 62px;
  border-radius: var(--r-md); background: var(--ink); color: #fff; border: 1px solid transparent;
  position: relative; cursor: default;
}
:root[data-theme="dark"] .store { border-color: #2B3A5A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store { border-color: #2B3A5A; } }
.store:hover { text-decoration: none; }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; letter-spacing: .02em; line-height: 1.2; }
.store strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.store .soon {
  position: absolute; top: -10px; right: 10px; background: var(--amber); color: #0B1220;
  font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: var(--r-pill); letter-spacing: .02em;
  box-shadow: 0 4px 10px rgba(11, 18, 32, .2);
}

/* ------------------------------------------------------------------ chips (app Chip) */
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 11px;
  border-radius: var(--r-pill); background: var(--surface-muted); color: var(--text-2);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; }
.chip.primary { background: var(--primary-soft); color: var(--primary); }
.chip.success { background: var(--mint-soft); color: var(--mint-text); }
.chip.accent { background: var(--amber-soft); color: var(--amber-text); }
.chip.selected { background: var(--primary-solid); color: var(--on-primary); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, var(--glow-a), transparent 70%),
    radial-gradient(35% 45% at 95% 75%, var(--glow-b), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.0; }
.hero h1 .l2 { display: block; background: linear-gradient(90deg, var(--primary-solid), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 36em; }
.brand-inline { font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.brand-inline .w-blue { color: var(--primary-solid); }
.brand-inline .w-mint { color: var(--mint); }
.pilot {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-card);
}
.pilot .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); }
.pilot .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(24, 194, 156, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(24, 194, 156, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(24, 194, 156, 0); } }
.hero-host { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 15px; }
.hero-host a { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.hero-host a svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hero-host a:hover svg { transform: translateX(3px); }

/* Parking-bay road markings along the bottom edge of the hero. */
.bays {
  position: relative; margin-top: clamp(40px, 6vw, 72px); height: 64px;
  background:
    repeating-linear-gradient(90deg, var(--bay-line) 0 3px, transparent 3px 120px);
  border-top: 3px solid var(--bay-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* ------------------------------------------------------------------ phone mock */
.phone-stage { position: relative; display: grid; place-items: center; min-width: 0; }
.phone {
  position: relative; width: min(340px, 100%); aspect-ratio: 9 / 18.6; max-width: 100%;
  border-radius: 48px; padding: 11px; background: #0B1220; box-shadow: var(--shadow-phone);
  transform: rotate(-2deg);
  animation: phone-in 1s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes phone-in { from { transform: translateY(40px) rotate(2deg); opacity: 0; } to { transform: rotate(-2deg); opacity: 1; } }
.screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--map-land);
  isolation: isolate;
}
.screen .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; background: #0B1220; border-radius: 20px; z-index: 5; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-svg .land { fill: var(--map-land); }
.map-svg .block { fill: var(--map-block); }
.map-svg .park { fill: var(--map-park); }
.map-svg .water { fill: none; stroke: var(--map-water); }
.map-svg .road { fill: none; stroke: var(--map-road); stroke-linecap: round; }
.map-svg .radius { fill: rgba(47, 107, 255, .10); stroke: rgba(47, 107, 255, .45); stroke-width: 1.5; stroke-dasharray: 4 4; }
.map-svg .me { fill: #1F5EFF; stroke: #fff; stroke-width: 3; }
.map-svg .me-halo { fill: rgba(31, 94, 255, .18); animation: halo 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.m-header {
  position: absolute; top: 46px; left: 12px; right: 12px; z-index: 3;
  display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px;
  background: var(--surface-floating); border-radius: var(--r-md); box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.m-header img { width: 28px; height: 28px; }
.m-header .t { font-weight: 800; font-size: 14px; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.m-header .s { font-size: 11px; color: var(--muted); font-weight: 600; }
.m-header .menu { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-muted); color: var(--text); }
.m-header .menu svg { width: 16px; height: 16px; }
.m-filters { position: absolute; top: 102px; left: 12px; right: 0; z-index: 3; display: flex; gap: 6px; overflow: hidden; }
.m-filters .chip { box-shadow: var(--shadow-card); background: var(--surface-floating); font-size: 11.5px; min-height: 26px; padding: 4px 9px; }
.m-filters .chip.selected { background: var(--primary-solid); color: #fff; }

.pin {
  position: absolute; z-index: 2; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; cursor: pointer; border: 0; background: none; padding: 0; font: inherit;
  animation: pin-drop .55s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 90ms + 450ms);
}
@keyframes pin-drop { from { transform: translate(-50%, -160%) scale(.6); opacity: 0; } to { transform: translate(-50%, -100%) scale(1); opacity: 1; } }
.pin .b {
  display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--text); font-weight: 800; font-size: 11.5px; box-shadow: var(--shadow-card);
  transition: background .25s ease, color .25s ease, transform .25s ease; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.pin .b i { font-style: normal; background: var(--primary); color: var(--on-primary); border-radius: var(--r-pill); min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; display: grid; place-items: center; }
.pin .tail { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--surface); transition: border-color .25s ease; }
.pin.active { z-index: 3; }
.pin.active .b { background: var(--text); color: var(--surface); transform: scale(1.12); }
.pin.active .tail { border-top-color: var(--text); }
.cluster {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 13px;
  border: 3px solid var(--surface); box-shadow: var(--shadow-card);
  animation: pop .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 90ms + 450ms);
}
.cluster.lg { width: 48px; height: 48px; font-size: 14px; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }

.m-card {
  position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 4;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 12px; display: grid; gap: 9px; box-shadow: var(--shadow-floating);
  animation: card-up .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 1.2s;
}
@keyframes card-up { from { transform: translateY(120%); } to { transform: none; } }
.m-card.swap .m-card-body { animation: swap .45s ease both; }
@keyframes swap { 0% { opacity: .0; transform: translateX(14px); } 100% { opacity: 1; transform: none; } }
.m-card-body { display: grid; gap: 9px; }
.m-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.m-title { font-weight: 700; font-size: 14px; line-height: 1.25; color: var(--text); }
.m-addr { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.m-addr svg { width: 11px; height: 11px; flex-shrink: 0; }
.m-price { text-align: right; white-space: nowrap; }
.m-price b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-price span { font-size: 11px; color: var(--muted); margin-left: 3px; }
.m-trust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.m-trust .chip { font-size: 11px; min-height: 24px; padding: 3px 8px; }
.m-trust .star { display: inline-flex; align-items: center; gap: 3px; }
.m-trust .star svg { width: 12px; height: 12px; color: var(--amber); }
.m-feat { display: flex; gap: 6px; min-height: 24px; }
.m-feat span { width: 24px; height: 24px; border-radius: 7px; background: var(--surface-muted); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); }
.m-feat svg { width: 13px; height: 13px; }
.m-book { min-height: 36px; font-size: 13px; border-radius: 12px; padding: 6px 12px; width: 100%; }
.m-book svg { width: 15px; height: 15px; }

.float-card {
  position: absolute; z-index: 6; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-floating); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-2);
}
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card b { display: block; color: var(--text); font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.float-card.fc-1 { top: 44%; left: -12%; }
.float-card.fc-1 .ico { background: var(--mint-soft); color: var(--mint-text); }
.float-card.fc-2 { bottom: 30%; right: -8%; }
.float-card.fc-2 .ico { background: var(--amber-soft); color: var(--amber-text); }
@keyframes float-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.float-card { animation-name: float-in, bob; animation-duration: .8s, 6s; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; animation-timing-function: cubic-bezier(.2, .8, .2, 1), ease-in-out; animation-delay: var(--d, 1.6s), calc(var(--d, 1.6s) + .8s); }
.float-card.fc-2 { --d: 1.9s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ------------------------------------------------------------------ audience / steps */
.aud-tabs { margin-bottom: 32px; }
.aud-tabs.seg button { font-size: 15px; padding: 10px 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; min-width: 0;
}
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: var(--primary); background: var(--primary-soft); font-variant-numeric: tabular-nums;
}
.steps[data-aud="host"] .step .num { color: var(--mint-text); background: var(--mint-soft); }
.step h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.step p { color: var(--text-2); font-size: 15.5px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 45px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 4px, transparent 4px 8px);
}
.steps.animate .step { animation: step-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.steps.animate .step:nth-child(2) { animation-delay: .07s; }
.steps.animate .step:nth-child(3) { animation-delay: .14s; }
@keyframes step-in { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ feature bento */
.band { background: var(--surface); border-block: 1px solid var(--border); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tile h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tile p { color: var(--text-2); font-size: 15px; }
.tile .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.tile .ico svg { width: 22px; height: 22px; }
.tile .ico.mint { background: var(--mint-soft); color: var(--mint-text); }
.tile .ico.amber { background: var(--amber-soft); color: var(--amber-text); }
.tile .ico.rose { background: var(--rose-soft); color: var(--rose-text); }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.tile .demo { margin-top: 6px; }

/* hourly price chart */
.price-chart { display: grid; gap: 6px; }
.price-chart .bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end; gap: 3px; height: 96px; }
.price-chart .bars span { display: block; border-radius: 4px 4px 2px 2px; background: var(--primary-soft); transition: background .2s ease, transform .2s ease; transform-origin: bottom; }
.price-chart .bars span.peak { background: var(--primary-solid); }
.price-chart .bars span.mid { background: var(--primary); opacity: .55; }
.tile:hover .price-chart .bars span { animation: grow .5s ease both; animation-delay: calc(var(--h) * 18ms); }
@keyframes grow { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.price-chart .axis { display: grid; grid-template-columns: repeat(4, 1fr) auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-chart .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); font-weight: 600; }
.price-chart .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* vehicle fit */
.fit { display: grid; gap: 10px; }
.fit-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.fit-row .lbl { color: var(--muted); font-weight: 600; }
.fit-row .bar { height: 12px; border-radius: var(--r-pill); background: var(--surface-muted); position: relative; overflow: hidden; }
.fit-row .bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--primary-solid); }
.fit-row .bar.spot span { background: var(--mint); }
.fit-row .v { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); font-size: 12.5px; }

/* access code */
.code-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; }
.code-card .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.code-digits { display: flex; gap: 8px; }
.code-digits span {
  width: 42px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-muted); font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--text);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.code-card.revealed .code-digits span { background: var(--mint-soft); color: var(--mint-text); transform: translateY(-2px); }
.code-card .hint { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.code-card .hint svg { width: 14px; height: 14px; }

/* arrival clock */
.clock { display: flex; align-items: center; gap: 16px; }
.clock svg { width: 76px; height: 76px; flex-shrink: 0; }
.clock .track { fill: none; stroke: var(--surface-muted); stroke-width: 8; }
.clock .arc { fill: none; stroke: var(--rose); stroke-width: 8; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear, stroke .3s ease; }
.clock .arc.done { stroke: var(--mint); }
.clock text { fill: var(--text); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; font-family: var(--font-sans); }
.clock .cap { display: grid; gap: 2px; font-size: 13px; color: var(--text-2); }
.clock .cap b { color: var(--text); font-size: 14px; }

/* rating ring (mirrors the app's blue arc around avatars) */
.review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.review-row .person { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.review-row .who b, .review-row .who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile { container-type: inline-size; }
@container (max-width: 440px) {
  .review-row { grid-template-columns: 1fr; }
  .review-row .arrow { justify-self: center; transform: rotate(90deg); }
}
.ring { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .t { fill: none; stroke: var(--surface-muted); stroke-width: 4; }
.ring .a { fill: none; stroke: var(--primary-solid); stroke-width: 4; stroke-linecap: round; }
.ring .av { position: absolute; inset: 7px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 16px; }
.ring.mint .a { stroke: var(--mint); }
.ring.mint .av { background: var(--mint-soft); color: var(--mint-text); }
.review-row .who { display: grid; gap: 1px; font-size: 13px; color: var(--muted); }
.review-row .who b { color: var(--text); font-size: 14.5px; }
.review-row .arrow { color: var(--muted); display: grid; place-items: center; }
.review-row .arrow svg { width: 22px; height: 22px; }

.tile-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------ earnings */
.earn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.earn-copy { display: grid; gap: 18px; min-width: 0; }
.earn-copy h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.earn-copy p { font-size: 18px; color: var(--text-2); }
.earn-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.earn-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.earn-copy li svg { width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; margin-top: 2px; }
.host-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--amber-soft); color: var(--text-2); font-size: 14.5px; }
.host-note svg { width: 18px; height: 18px; color: var(--amber-text); flex-shrink: 0; margin-top: 2px; }
.calc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; box-shadow: var(--shadow-card); min-width: 0;
}
.calc-field { display: grid; gap: 10px; }
.calc-field .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-field label { font-weight: 700; font-size: 15px; }
.calc-field output { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--primary); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--r-pill); cursor: pointer;
  background: linear-gradient(90deg, var(--primary-solid) 0 var(--p, 50%), var(--surface-muted) var(--p, 50%) 100%);
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary-solid); box-shadow: 0 2px 8px rgba(11, 18, 32, .25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--primary-solid); box-shadow: 0 2px 8px rgba(11, 18, 32, .25); }
.calc-out {
  border-radius: var(--r-lg); padding: 20px; display: grid; gap: 4px;
  background: linear-gradient(135deg, var(--primary-solid), #1E4FE0 55%, #129E80);
  color: #fff;
}
.calc-out .k { font-size: 13px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.calc-out .v { font-size: clamp(36px, 5vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-out .y { font-size: 14px; opacity: .9; font-variant-numeric: tabular-nums; }
.calc-note { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------ trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.trust-item svg { width: 24px; height: 24px; color: var(--primary); }
.trust-item h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.trust-item p { font-size: 14.5px; color: var(--text-2); }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 10px; min-width: 0; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 20px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--primary); }
.faq details p { color: var(--text-2); padding-bottom: 18px; max-width: 62ch; }

/* ------------------------------------------------------------------ final cta */
.final {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  background: #0B1220; color: #F7F8FC; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center;
}
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(31, 94, 255, .45), transparent 70%),
    radial-gradient(40% 70% at 85% 100%, rgba(24, 194, 156, .35), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 3px, transparent 3px 96px);
}
.final > * { position: relative; }
.final h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.final p { color: #D5DBE8; font-size: 18px; margin-top: 14px; max-width: 42ch; }
.final img { width: clamp(96px, 14vw, 150px); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); animation: bob 6s ease-in-out infinite; }
.final .store { background: #fff; color: #0B1220; }

/* ------------------------------------------------------------------ footer */
footer { padding-block: 40px 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--text-2); font-weight: 600; }

/* ------------------------------------------------------------------ responsive */
/* Waiting list (hero) */
.waitlist {
  display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); scroll-margin-top: 96px; position: relative;
}
.wl-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.wl-sub { margin: 0; color: var(--text-2); font-size: 15px; }
.wl-role { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-muted); justify-self: start; }
.wl-role label { position: relative; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.wl-role input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wl-role label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
.wl-role label:has(input:focus-visible) { outline: 3px solid var(--primary-solid); outline-offset: 2px; }
.wl-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.wl-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
.wl-field input {
  font: inherit; font-size: 16px; font-weight: 500; color: var(--text); width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg);
}
.wl-field input::placeholder { color: var(--muted); opacity: .7; }
.wl-field input:focus { outline: none; border-color: var(--primary-solid); box-shadow: 0 0 0 3px var(--primary-soft); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .btn[disabled] { opacity: .6; cursor: progress; }
.wl-msg { margin: 0; font-size: 15px; font-weight: 600; color: var(--text-2); }
.wl-msg:empty { display: none; }
.wl-msg[data-tone="ok"] { color: var(--mint-text); }
.wl-msg[data-tone="error"] { color: var(--rose-text); }
.wl-fine { margin: 0; font-size: 12px; color: var(--muted); }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.final .store-row { margin-top: 16px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 12px; }
  .float-card.fc-1 { left: 0; }
  .float-card.fc-2 { right: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .span-wide { grid-column: 1 / -1; }
  .earn, .faq { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final { grid-template-columns: 1fr; }
  .final img { display: none; }
}
@media (max-width: 720px) {
  .wl-fields { grid-template-columns: 1fr; }
  .wl-fields .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .bento, .trust-grid { grid-template-columns: 1fr; }
  .nav .cta-nav { display: none; }
  .float-card { display: none; }
  .phone { transform: none; animation-name: phone-in-flat; }
  @keyframes phone-in-flat { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 420px) {
  .brand .wm { display: none; }
  .store { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
