/* Self-hosted Google Fonts (latin subset) — no cross-origin request on the critical path. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/BarlowCondensed-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/BarlowCondensed-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/Inter-400-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* EWT Booking — dark, glossy, app-like. Brand: logo yellow #FFDE59 (CTAs, black text on yellow), orange #FF7C00 accents. */
:root {
  --bg: #070707; --surface: #101010; --surface-2: #171717; --surface-3: #1f1f1f;
  --glass: rgba(255, 255, 255, 0.045); --glass-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.08); --line-strong: rgba(255, 255, 255, 0.18);
  --text: #F7F7F5; --muted: #A9A9A4; --dim: #8A8A85; --ink: #0A0A0A;
  --brand: #FFDE59; --brand-hover: #FFE98A; --brand-press: #FFC83D; --brand-soft: rgba(255, 222, 89, 0.12); --brand-ring: rgba(255, 222, 89, 0.45); --brand-glow: rgba(255, 222, 89, 0.22);
  --accent: #FF7C00; --accent-soft: rgba(255, 124, 0, 0.14);
  --success: #3DD68C; --success-soft: rgba(61, 214, 140, 0.14);
  --warning: #FF9A3C; --warning-soft: rgba(255, 124, 0, 0.14);
  --danger: #FF6B5C;
  --r: 20px; --r-sm: 14px; --r-xs: 10px; --r-pill: 999px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45); --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 18px; --max: 760px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t: 180ms;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: calc(110px + env(safe-area-inset-bottom));
}
/* ambient glow behind everything (fixed pseudo-element: no jank on mobile) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 12% -8%, rgba(255, 222, 89, 0.11), transparent 62%), radial-gradient(760px 520px at 105% 18%, rgba(255, 124, 0, 0.08), transparent 60%), var(--bg); }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(7, 7, 7, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand call" "sub call"; align-items: center; column-gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.logo { grid-area: brand; display: block; width: fit-content; }
.logo img { height: 44px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); }
.header-sub { grid-area: sub; margin: 4px 0 0 2px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; letter-spacing: 0.01em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); flex: none; }
/* The hours line ("Olivette · Open 7 days, 7:30 AM–7:30 PM", worded by the server from the hours in effect) stays on ONE
   line beside the two buttons at every phone width: AM / PM show from 640px only ("7:30–7:30" on a phone), and when the
   wording is longer than the old "Open 7 days, 8–5" (.is-long, set by the server) the town steps aside where the buttons
   leave no room for both — under 360px, and from 421 to 479px where they carry their words. */
.header-sub .ampm { display: none; }
@media (min-width: 640px) { .header-sub .ampm { display: inline; } }
@media (max-width: 359px), (min-width: 421px) and (max-width: 479px) { .header-hours.is-long .header-city { display: none; } }
/* Call + Text (index.html). Up to 420px: two round 44px icon buttons, named by their aria-labels. 421–639px: icon + the
   word. From 640px the Call pill also shows the number. The number stays in the markup at every width — it is only hidden
   here — because Google's call tracking finds it as text and re-points the tel: link around it (public/ads.js). */
.header-actions { grid-area: call; display: flex; align-items: center; gap: 8px; }
.header-actions .pill svg { flex: none; }
.header-actions .pill-num { display: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid transparent; background: linear-gradient(180deg, var(--brand-hover), var(--brand)); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 6px 20px rgba(255, 222, 89, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease); -webkit-tap-highlight-color: transparent; }
.pill:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 222, 89, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
/* Pressed = a deeper yellow, pushed in — the pill's own answer to a tap. The browser's grey tap highlight is off (above):
   on a phone it stayed painted over the yellow while the dialer or the messages app took over, and the button looked
   disabled. Nothing else in this file may dim a .pill (no opacity, no grey, no :disabled look): test/contact-buttons.test.js. */
.pill:active { transform: scale(0.97); filter: none; background: linear-gradient(180deg, var(--brand), var(--brand-press)); box-shadow: 0 2px 10px rgba(255, 222, 89, 0.16), inset 0 2px 5px rgba(0, 0, 0, 0.16); }
.pill-call svg, .pill-text svg { color: var(--ink); }
@media (max-width: 420px) { .header-actions .pill-label { display: none; } .header-actions .pill { width: 44px; padding: 0; justify-content: center; } .header-actions .pill svg { width: 18px; height: 18px; } .geo-page .pill-call { padding: 0 13px; } .logo img { height: 38px; } }
@media (min-width: 640px) { .header-actions .pill-num { display: inline; } .logo img { height: 54px; } .header-row { padding-top: 14px; padding-bottom: 14px; } }

/* ---------- trust ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding-top: 10px; padding-bottom: 10px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; font-size: 12px; color: var(--muted); }
.trust-list::-webkit-scrollbar { display: none; }
/* desktop: centred with the page (its margin: 0 used to cancel .wrap's auto margins, pinning it to the left edge) and as wide
   as the step-1 hero; the pills wrap to a second row instead of being cut off at the strip's edge (2026-11-19) */
@media (min-width: 640px) { .trust-list { margin: 0 auto; max-width: 1040px; flex-wrap: wrap; justify-content: center; overflow: visible; } }
.trust-list li { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line); white-space: nowrap; }
.trust-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 8px var(--brand); }
.trust-list strong { color: var(--text); }

/* ---------- progress ---------- */
.rail { margin: 22px 0 8px; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rail li { display: flex; flex-direction: column; gap: 8px; font-size: 10px; color: var(--dim); position: relative; }
.rail li::before { content: ""; height: 4px; border-radius: var(--r-pill); background: var(--glass-2); transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.rail li.is-done::before { background: var(--brand); opacity: 0.55; }
.rail li.is-current::before { background: var(--brand); box-shadow: 0 0 14px var(--brand-glow); }
.rail-dot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rail li.is-current { color: var(--text); }
.rail li.is-done { color: var(--muted); cursor: pointer; }
.rail-label { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
/* Ad landing door (/offer → <body data-variant="offer">, src/server.js DOORS): its first screen is the ad's promise and the
   car cards — no progress rail, no "Step 1 of 5" and no idle price bar until a car is picked. Pure CSS, no script: the
   rail is out while the first step is the one showing (the others carry `hidden`), from the first paint on. A browser
   without :has() (before 2022) shows the rail as the main page does. From the film step on: the normal page. */
body[data-variant="offer"]:has(#step-1:not([hidden])) .rail { display: none; }
body[data-variant="offer"] #step-1 > .eyebrow { display: none; }
body[data-variant="offer"] .sticky-bar.is-idle { display: none; }

/* ---------- banners / toasts ---------- */
.test-banner { margin: 16px 0 0; padding: 10px 14px; border-radius: var(--r-xs); background: var(--warning-soft); border: 1px solid rgba(255, 154, 60, 0.35); color: var(--warning); font-size: 13px; }
.test-banner strong { letter-spacing: 0.08em; }
.toast { position: fixed; left: 50%; bottom: calc(122px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: rgba(31, 31, 31, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-strong); color: var(--text); padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; max-width: calc(100% - 32px); z-index: 50; box-shadow: var(--shadow); }
.toast.is-error { border-color: var(--danger); }

/* ---------- steps ---------- */
.step { padding: 20px 0 28px; }
.step.is-entering { animation: step-in 380ms var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.done-hero .eyebrow { justify-content: center; }
.step-title:focus { outline: none; }
.step-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; font-size: clamp(42px, 11vw, 66px); line-height: 0.92; margin: 0 0 12px; color: #fff; }
.step-lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 56ch; }
.step-lead strong { color: var(--text); }

/* ---------- step 1: car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .car-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.car-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 184px; padding: 12px 12px 14px; text-align: left; color: var(--text); background: linear-gradient(180deg, var(--glass-2), var(--glass)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: border-color var(--t) var(--ease), transform 220ms var(--spring), box-shadow var(--t) var(--ease), background var(--t) var(--ease); -webkit-tap-highlight-color: transparent; } /* no grey tap flash: the card answers a tap with its own pressed / selected look */
.car-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.car-card:active { transform: scale(0.98); }
.car-card.is-selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 14px 34px var(--brand-glow); background: linear-gradient(180deg, rgba(255, 222, 89, 0.12), rgba(255, 222, 89, 0.04)); }
.car-card.is-selected::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.car-card svg { width: 100%; height: 92px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); }
.car-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.car-blurb { font-size: 12px; color: var(--muted); line-height: 1.35; }
.car-price { margin-top: auto; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; color: #fff; }
.car-price small { font-family: var(--body); font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.car-card.is-other { border-style: dashed; justify-content: center; align-items: flex-start; background: transparent; box-shadow: none; }
.car-card.is-other .car-price { font-size: 20px; color: var(--accent); }
.car-card.is-other ul { margin: 0; padding-left: 16px; font-size: 12px; color: var(--muted); }
.car-card.is-other ul a { color: var(--text); text-decoration-color: var(--line-strong); }

/* ---------- step 2: visualizer ---------- */
.viz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }
.cmp { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: radial-gradient(85% 75% at 50% 58%, #ffffff 0%, #ededeb 100%); --pos: 50%; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-after { position: absolute; inset: 0; }
.cmp-patch { transition: opacity 180ms var(--ease); }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 18px rgba(0, 0, 0, 0.25); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(180deg, var(--brand-hover), var(--brand)); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: -0.05em; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.7); }
.cmp-tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; pointer-events: none; }
.cmp-tag-before { left: 12px; }
.cmp-tag-after { right: 12px; background: var(--brand); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.cmp:focus-within { outline: 3px solid var(--brand-ring); outline-offset: -3px; }
.cmp-views { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.cmp-views button { min-height: 32px; padding: 0 13px; border-radius: var(--r-pill); border: 0; background: transparent; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.cmp-views button[aria-pressed="true"] { background: var(--brand); color: var(--ink); }

.viz-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); flex-wrap: wrap; background: var(--glass); }
.legal { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: var(--r-pill); }
.legal.is-ok { color: var(--success); background: var(--success-soft); }
.legal.is-warn { color: var(--warning); background: var(--warning-soft); font-weight: 500; }
.viz-readout { font-size: 12px; color: var(--muted); }

fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.chips.chips-4 { grid-template-columns: repeat(4, 1fr); }
.shade-hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.chip { display: flex; flex-direction: column; align-items: center; gap: 7px; min-height: 76px; padding: 10px 4px 9px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); font-weight: 600; font-size: 14px; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform 220ms var(--spring), box-shadow var(--t) var(--ease); }
.chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.chip:active { transform: scale(0.95); }
.chip[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand), 0 8px 24px var(--brand-glow); }
.chip .swatch { width: 30px; height: 30px; border-radius: 50%; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, 0.22); position: relative; overflow: hidden; box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.12), 0 4px 10px rgba(0, 0, 0, 0.4); }
.chip .swatch::before { content: ""; position: absolute; inset: 0; background: #d9e6f2; opacity: var(--vlt); }
.chip .swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent 48%); }
.chip .chip-tag { font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.chip[aria-checked="true"] .chip-tag { color: var(--text); }

/* In-flow "Pick a time" under the shade chips (step 2): phones only — see the phone block at the end of this file. Tablet and
   desktop keep the sticky / floating bar as their one continue button. */
.step-cta { display: none; }
.addon-group { margin-top: 4px; }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; text-align: left; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); color: var(--text); transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.addon:hover { border-color: var(--line-strong); }
.addon[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.addon .box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); font-weight: 700; font-size: 13px; transition: background var(--t) var(--ease), border-color var(--t) var(--ease); }
.addon[aria-pressed="true"] .box { background: var(--brand); border-color: var(--brand); }
.addon .box::after { content: "✓"; opacity: 0; }
.addon[aria-pressed="true"] .box::after { opacity: 1; }
.addon-text { flex: 1; min-width: 0; }
.addon-name { font-weight: 600; font-size: 15px; }
.addon-blurb { font-size: 12px; color: var(--muted); }
.addon-price { font-family: var(--display); font-weight: 700; font-size: 22px; white-space: nowrap; }
.addon-price small { font-family: var(--body); font-size: 11px; color: var(--muted); font-weight: 500; }

/* ---------- step 3: calendar + slots ---------- */
.next-avail { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; margin-bottom: 14px; text-align: left; border-radius: var(--r-sm); border: 1px solid rgba(61, 214, 140, 0.45); background: linear-gradient(180deg, rgba(61, 214, 140, 0.16), rgba(61, 214, 140, 0.08)); color: var(--text); font-weight: 600; transition: transform 220ms var(--spring), border-color var(--t) var(--ease); }
.next-avail:hover { border-color: var(--success); transform: translateY(-1px); }
.next-avail:active { transform: scale(0.98); }
.next-avail .bolt { color: var(--success); font-size: 20px; }
.next-avail small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.cal { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 14px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 22px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background var(--t) var(--ease), border-color var(--t) var(--ease); }
.icon-btn:hover:not(:disabled) { background: var(--glass-2); border-color: var(--line-strong); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: var(--dim); letter-spacing: 0.08em; margin-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day { aspect-ratio: 1; min-height: 40px; border-radius: 12px; border: 1px solid transparent; background: transparent; font-weight: 500; font-size: 15px; color: var(--dim); position: relative; display: grid; place-items: center; transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform 220ms var(--spring); }
.day.is-avail { color: var(--text); background: var(--glass); border-color: var(--line); }
.day.is-avail::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.day.is-avail:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.day.is-avail:active { transform: scale(0.94); }
.day.is-selected { background: var(--brand); border-color: var(--brand); color: var(--ink); box-shadow: 0 8px 20px var(--brand-glow); }
.day.is-selected::after { background: var(--ink); }
.day.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.day.is-closed, .day.is-past, .day.is-full { cursor: default; }
.day.is-full { text-decoration: line-through; }
.cal.is-loading .day { color: transparent; background: var(--glass); border-color: var(--line); animation: shimmer 1.2s ease-in-out infinite; }
.cal.is-loading .day::after { display: none; }
@keyframes shimmer { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.slots h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
@media (min-width: 520px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot { min-height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--glass); color: var(--text); font-weight: 600; font-size: 15px; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform 220ms var(--spring), box-shadow var(--t) var(--ease); }
.slot:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.slot:active { transform: scale(0.96); }
.slot[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--ink); box-shadow: 0 8px 20px var(--brand-glow); }
.slot.skeleton { background: var(--glass); border-color: var(--line); animation: shimmer 1.2s ease-in-out infinite; }
.slots-empty { padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); color: var(--muted); font-size: 14px; text-align: center; }
.slots-hint { font-size: 13px; color: var(--muted); margin: -6px 0 14px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.field > span em { font-style: normal; font-weight: 400; color: var(--dim); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border-radius: var(--r-xs); border: 1px solid var(--line-strong); background: var(--glass); color: var(--text); font-size: 16px; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--glass-2); box-shadow: 0 0 0 3px var(--brand-ring); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-valid input { border-color: var(--success); }
.err { display: none; color: var(--danger); font-size: 12px; font-weight: 500; }
.field.is-invalid .err { display: block; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: var(--text); font-weight: 400; font-size: 14px; line-height: 1.4; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--brand); }
.check .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { display: grid; } /* Cloudflare Turnstile (interaction-only): stays empty unless the visitor must tick a box */
.turnstile:empty { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform 220ms var(--spring), box-shadow var(--t) var(--ease), filter var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(180deg, var(--brand-hover), var(--brand)); color: var(--ink); box-shadow: 0 8px 24px rgba(255, 222, 89, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 222, 89, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ghost { background: var(--glass); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--glass-2); }
.btn-block { width: 100%; }
.btn.is-busy { position: relative; color: transparent; }
.btn.is-busy::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(11, 11, 12, 0.3); border-top-color: var(--ink); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sticky bar ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(14, 14, 14, 0.82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-top: 1px solid var(--line-strong); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45); }
@media (min-width: 800px) { .sticky-bar { left: 50%; right: auto; bottom: 16px; width: var(--max); transform: translateX(-50%); border: 1px solid var(--line-strong); border-radius: var(--r); padding-bottom: 12px; } }
.sticky-total { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sticky-total strong { font-family: var(--display); font-weight: 800; font-size: 30px; color: #fff; }
.sticky-total span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar .btn { flex: none; min-width: 150px; }

/* ---------- step 5: summary + pay ---------- */
.summary { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span:first-child { color: var(--muted); }
.summary-row.is-total { font-weight: 600; font-size: 15px; }
.summary-row.is-deposit { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--brand); }
.summary-row .edit { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; margin-left: 8px; }
.hold-timer { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.hold-timer strong { color: var(--warning); font-variant-numeric: tabular-nums; }
.pay-wallets { display: grid; gap: 10px; }
.apple-pay-btn { width: 100%; height: 54px; border-radius: var(--r-pill); border: 0; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; font-weight: 600; font-size: 18px; }
.apple-pay-btn::before { content: ""; width: 18px; height: 22px; background: #000; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 170'><path d='M150.4 130.3c-2.5 5.7-5.4 10.9-8.8 15.7-4.6 6.5-8.4 11-11.3 13.6-4.5 4.1-9.3 6.2-14.5 6.4-3.7 0-8.2-1.1-13.4-3.2-5.2-2.1-10-3.2-14.4-3.2-4.6 0-9.5 1.1-14.9 3.2-5.3 2.2-9.6 3.3-12.9 3.4-5 .2-9.8-2-14.5-6.5-3.2-2.8-7.1-7.5-11.8-14.1-5-7.1-9.2-15.3-12.4-24.7C7.9 110.8 6.2 100.9 6.2 91.3c0-11 2.4-20.5 7.1-28.4 3.7-6.4 8.7-11.4 14.9-15.1 6.2-3.7 12.9-5.6 20.1-5.7 3.9 0 9.1 1.2 15.5 3.6 6.4 2.4 10.5 3.6 12.3 3.6 1.4 0 6-1.4 13.8-4.2 7.4-2.6 13.6-3.7 18.7-3.3 13.8 1.1 24.2 6.6 31.1 16.4-12.4 7.5-18.5 18-18.4 31.5.1 10.5 3.9 19.2 11.4 26.1 3.4 3.2 7.2 5.7 11.4 7.5-.9 2.6-1.9 5.2-2.9 7.6zM119.1 7.2c0 8.2-3 15.9-9 23-7.2 8.5-15.9 13.4-25.4 12.6-.1-1-.2-2-.2-3.1 0-7.9 3.4-16.3 9.5-23.2 3-3.5 6.9-6.4 11.6-8.7 4.7-2.3 9.1-3.5 13.3-3.8.1 1.1.2 2.1.2 3.2z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 170'><path d='M150.4 130.3c-2.5 5.7-5.4 10.9-8.8 15.7-4.6 6.5-8.4 11-11.3 13.6-4.5 4.1-9.3 6.2-14.5 6.4-3.7 0-8.2-1.1-13.4-3.2-5.2-2.1-10-3.2-14.4-3.2-4.6 0-9.5 1.1-14.9 3.2-5.3 2.2-9.6 3.3-12.9 3.4-5 .2-9.8-2-14.5-6.5-3.2-2.8-7.1-7.5-11.8-14.1-5-7.1-9.2-15.3-12.4-24.7C7.9 110.8 6.2 100.9 6.2 91.3c0-11 2.4-20.5 7.1-28.4 3.7-6.4 8.7-11.4 14.9-15.1 6.2-3.7 12.9-5.6 20.1-5.7 3.9 0 9.1 1.2 15.5 3.6 6.4 2.4 10.5 3.6 12.3 3.6 1.4 0 6-1.4 13.8-4.2 7.4-2.6 13.6-3.7 18.7-3.3 13.8 1.1 24.2 6.6 31.1 16.4-12.4 7.5-18.5 18-18.4 31.5.1 10.5 3.9 19.2 11.4 26.1 3.4 3.2 7.2 5.7 11.4 7.5-.9 2.6-1.9 5.2-2.9 7.6zM119.1 7.2c0 8.2-3 15.9-9 23-7.2 8.5-15.9 13.4-25.4 12.6-.1-1-.2-2-.2-3.1 0-7.9 3.4-16.3 9.5-23.2 3-3.5 6.9-6.4 11.6-8.7 4.7-2.3 9.1-3.5 13.3-3.8.1 1.1.2 2.1.2 3.2z'/></svg>") center / contain no-repeat; }
.apple-pay-btn:active { opacity: 0.85; }
#btn-googlepay > button { width: 100% !important; }
.pay-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card-form { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-sm); }
.pay-error { margin: 0; padding: 10px 12px; border-radius: var(--r-xs); background: rgba(255, 107, 92, 0.12); border: 1px solid rgba(255, 107, 92, 0.5); color: var(--danger); font-size: 14px; }
.fineprint { margin: 0; font-size: 12px; color: var(--dim); text-align: center; }

/* ---------- social proof (step 5) ---------- */
.proof { margin: 0 0 14px; }
.proof-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.proof-head strong { color: var(--text); font-size: 15px; }
.proof-head a { color: var(--muted); }
.proof-stars { color: var(--brand); letter-spacing: 0.08em; font-size: 14px; text-shadow: 0 0 10px var(--brand-glow); }
.proof-list { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.proof-list::-webkit-scrollbar { display: none; }
.proof-item { flex: 0 0 min(78%, 300px); scroll-snap-align: start; margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.proof-item p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); }
.proof-item footer { font-size: 12px; color: var(--muted); }
@media (min-width: 640px) { .proof-list { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); } .proof-item { flex: none; } .proof-early .proof-list { grid-template-columns: repeat(2, 1fr); } }
.proof-early { margin-top: 18px; }

/* ---------- step 6 ---------- */
.done-hero { text-align: center; padding: 10px 0 6px; }
.done-check { width: 76px; height: 76px; margin: 0 auto 16px; filter: drop-shadow(0 0 18px rgba(61, 214, 140, 0.45)); }
.done-check svg { width: 100%; height: 100%; fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 700ms var(--ease) forwards; }
.done-check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 400ms var(--ease) 500ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-hero .step-title span { color: var(--brand); }
.done-grid { display: grid; gap: 10px; margin-top: 16px; }
.done-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-sm); }
.done-card h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand); }
.done-card p, .done-card li { margin: 0; font-size: 14px; color: var(--muted); }
.done-card a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.done-card ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.done-card strong { color: var(--text); }
.done-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.done-note { font-size: 12px; color: var(--dim); text-align: center; margin: 4px 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 28px; padding: 24px 0 30px; font-size: 13px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }
.site-footer strong { color: var(--text); }
.site-footer a[href^="tel:"], .site-footer a[href^="sms:"] { white-space: nowrap; } /* the number and "Text us" never break mid-way on a narrow phone */

/* ---------- geo gate page ---------- */
.geo-body { padding-bottom: 0; }
.geo-page { max-width: 560px; margin: 0 auto; padding: 48px var(--gutter) 64px; display: grid; gap: 14px; justify-items: start; }
.geo-page .logo img { height: 56px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); }
.geo-page .step-title { font-size: clamp(38px, 9vw, 56px); }
.geo-continue a { color: var(--muted); font-size: 14px; }
.geo-page .fineprint { text-align: left; margin-top: 18px; }

/* ---------- motion & misc ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (min-width: 640px) { .step-title { font-size: 68px; } .rail { margin-top: 28px; } .step { padding-top: 24px; } }


/* ===================== v3 — premium studio pass (overrides) ===================== */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
body::before { background: radial-gradient(1100px 600px at 18% -12%, rgba(255, 222, 89, 0.16), transparent 60%), radial-gradient(900px 600px at 108% 22%, rgba(255, 124, 0, 0.10), transparent 60%), radial-gradient(700px 500px at 50% 110%, rgba(255, 255, 255, 0.04), transparent 60%), var(--bg); }

/* hero */
.hero { display: grid; gap: 18px; padding: 10px 0 8px; margin-bottom: 26px; align-items: center; }
.hero-kicker { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-kicker span { display: inline-flex; align-items: center; gap: 8px; }
.hero-kicker span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.hero-title { margin: 10px 0 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(44px, 12vw, 64px); line-height: 0.9; background: linear-gradient(180deg, #ffffff 50%, #b9b9b4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title span { background: linear-gradient(180deg, #FFF1A8, #FFDE59 60%, #FFB400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 0 0 18px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.hero-cta { min-height: 56px; padding: 0 28px; font-size: 17px; }
.hero-art { position: relative; margin: 0 -6px; padding-bottom: 14%; }
.hero-art::before { content: ""; position: absolute; left: 6%; right: 6%; top: 8%; bottom: 24%; background: radial-gradient(60% 55% at 50% 55%, rgba(255, 222, 89, 0.34), rgba(255, 124, 0, 0.10) 55%, transparent 72%); filter: blur(28px); }
.hero-art::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 23%; height: 8%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.75), transparent 70%); filter: blur(10px); }
.hero-car { position: relative; width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
.hero-reflection { position: absolute; left: 0; top: 100%; margin-top: -14%; transform: scaleY(-1); opacity: 0.32; filter: blur(2px); -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 58%); mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 58%); pointer-events: none; }
@media (min-width: 720px) { .hero { grid-template-columns: 1fr 1.1fr; gap: 36px; padding: 26px 0 14px; width: min(100vw - 2 * var(--gutter), 1040px); margin-left: 50%; transform: translateX(-50%); } .hero-title { font-size: clamp(50px, 5vw, 62px); } .hero-sub { font-size: 17px; } }
#car-grid { scroll-margin-top: 120px; }

/* titles */
.step-title { background: linear-gradient(180deg, #ffffff 52%, #c2c2bd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.done-hero .step-title span { background: linear-gradient(180deg, #FFF1A8, #FFDE59 60%, #FFB400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow::before { background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* progress */
.rail li.is-current::before { background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand)); background-size: 200% 100%; animation: shimmer-x 2.4s linear infinite; }
@keyframes shimmer-x { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* cards */
.car-card { overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.car-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.09) 48%, transparent 60%); transform: translateX(-130%); transition: transform 0.75s var(--ease); pointer-events: none; }
.car-card:hover::before { transform: translateX(130%); }
.car-card svg { height: 116px; margin: -4px 0 -10px; filter: none; }
.car-card.is-selected { border-color: transparent; background: linear-gradient(180deg, rgba(255, 222, 89, 0.12), rgba(255, 222, 89, 0.03)) padding-box, linear-gradient(135deg, #FFDE59, #FF7C00 55%, #FFDE59) border-box; box-shadow: 0 16px 40px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.car-card.is-other { border-style: solid; background: var(--glass); }
.car-grid .car-card { animation: rise 0.55s var(--ease) both; }
.car-grid .car-card:nth-child(2) { animation-delay: 0.05s; } .car-grid .car-card:nth-child(3) { animation-delay: 0.1s; } .car-grid .car-card:nth-child(4) { animation-delay: 0.15s; } .car-grid .car-card:nth-child(5) { animation-delay: 0.2s; } .car-grid .car-card:nth-child(6) { animation-delay: 0.25s; } .car-grid .car-card:nth-child(7) { animation-delay: 0.3s; } .car-grid .car-card:nth-child(8) { animation-delay: 0.35s; } .car-grid .car-card:nth-child(9) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.car-price { background: linear-gradient(180deg, #fff, #d6d6d1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.car-price small { -webkit-text-fill-color: var(--muted); }

/* visualizer */
.viz-card { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)) border-box; }
.cmp { background: radial-gradient(75% 65% at 50% 38%, #ffffff 0%, #f3f3f1 55%, #e3e3df 100%); }
.cmp::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 7%; height: 10%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.32), transparent 70%); filter: blur(8px); }
.cmp-knob { animation: knob-hint 1.6s var(--ease) 2 0.6s; }
@keyframes knob-hint { 0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.7); } 50% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.7), 0 0 0 14px rgba(255, 222, 89, 0.28); } }
.chip[aria-checked="true"] { background: linear-gradient(180deg, rgba(255, 222, 89, 0.16), rgba(255, 222, 89, 0.05)); }

/* frames */
.summary, .card-form, .cal, .done-card { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)) border-box; }
.summary-row.is-deposit span:last-child { background: linear-gradient(180deg, #FFF1A8, #FFDE59 60%, #FFB400); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* reviews */
.proof-item { position: relative; padding-left: 40px; }
.proof-item::before { content: "\201C"; position: absolute; left: 12px; top: 22px; font-family: var(--display); font-size: 56px; line-height: 0; color: var(--brand); opacity: 0.9; }

/* sticky bar + primary button */
.sticky-bar::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0.9; }
.sticky-total strong { font-size: 32px; background: linear-gradient(180deg, #fff, #d6d6d1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-primary { background: linear-gradient(180deg, #FFF1A8 0%, #FFDE59 45%, #FFC83D 100%); box-shadow: 0 10px 30px rgba(255, 222, 89, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.12); }

/* footer */
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent); }

@media (prefers-reduced-motion: reduce) { .car-grid .car-card, .cmp-knob, .rail li.is-current::before { animation: none !important; } .car-card::before { display: none; } }

/* ---------- booking terms ---------- */
.terms-accept { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line); }
.terms-accept .check { font-size: 14px; }
.linklike { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.terms-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); width: 100%; max-height: 88vh; }
.terms-dialog::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); }
.terms-doc { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 20px 22px; max-height: 88vh; overflow: auto; }
.terms-doc header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.terms-doc h2 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 30px; }
.terms-doc h3 { margin: 18px 0 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.terms-doc p { margin: 0 0 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.terms-doc .terms-meta { font-size: 12px; color: var(--dim); }
.terms-doc footer { margin-top: 18px; font-size: 12px; color: var(--dim); }
.terms-doc footer a { color: var(--muted); }
.doc-page { max-width: 760px; margin: 0 auto; padding: 36px var(--gutter) 60px; }
.doc-page .terms-doc { max-height: none; }
.doc-page .logo img { height: 56px; width: auto; }

/* vehicle picker (year / make / model selects) */
.field select { width: 100%; min-height: 52px; padding: 13px 40px 13px 15px; border-radius: var(--r-xs); border: 1px solid var(--line-strong); background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9b9b9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text); font-size: 16px; -webkit-appearance: none; appearance: none; transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.field select:disabled { opacity: .5; cursor: not-allowed; }
.field select option { background: #141414; color: #fff; }
.field.is-invalid select { border-color: var(--danger); }
.vehicle-field > span { display: block; }
.vehicle-field .row-3 { grid-template-columns: 0.8fr 1.1fr 1.3fr; }
.vehicle-field .row-3 .field > span { font-size: 12px; }
@media (max-width: 420px) { .vehicle-field .row-3 { grid-template-columns: 1fr 1fr; } .vehicle-field .row-3 .field:last-child { grid-column: 1 / -1; } }

/* ---------- pay in full (2026-11-16, PAY_IN_FULL=on): the choice on the deposit step ----------
   Two stacked radio cards, the deposit first and selected; the selected card gets the film picker's yellow ring. One
   column at every width (the amounts and the perk line need the room on a 390px phone); 60px tap targets. Phone sizes
   first, a little more room from 640px. */
.pay-choice { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.pay-choice-title { padding: 0; margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pay-opt { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; min-height: 60px; padding: 11px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); cursor: pointer; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease); -webkit-tap-highlight-color: transparent; }
.pay-opt:hover { border-color: var(--line-strong); }
.pay-opt input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); }
.pay-opt.is-on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand), 0 8px 24px var(--brand-glow); }
.pay-opt:focus-within { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.pay-opt-body { display: grid; gap: 3px; min-width: 0; }
.pay-opt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pay-opt-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.pay-opt-amt { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1; color: #fff; white-space: nowrap; }
.pay-opt-perk { font-size: 14px; font-weight: 700; color: var(--brand); line-height: 1.35; }
.pay-opt-perk:empty { display: none; }
.pay-opt-perk s, .summary-row.is-perk s { color: var(--dim); font-weight: 500; margin-left: 4px; }
.pay-opt-sub { font-size: 13px; color: var(--muted); line-height: 1.4; }
.summary-row.is-perk strong { color: var(--success); }
@media (min-width: 640px) { .pay-choice { margin-bottom: 14px; gap: 10px; } .pay-opt { padding: 12px 14px; gap: 12px; } .pay-opt-amt { font-size: 24px; } }

/* ---------- film tiers (2026-11-12): "from" price on the car card, film picker on step 2, full price list ---------- */
.car-price .from { display: block; font-family: var(--body); font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 3px; }
.tier-group { margin: 0 0 18px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiers.is-single { grid-template-columns: 1fr; }
.tier { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 112px; padding: 12px 14px; text-align: left; color: var(--text); border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform 220ms var(--spring), box-shadow var(--t) var(--ease); -webkit-tap-highlight-color: transparent; } /* no grey tap flash, as on the car cards */
.tier:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.tier:active { transform: scale(0.98); }
.tier[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand), 0 8px 24px var(--brand-glow); }
.tier[aria-disabled="true"] { cursor: default; }
.tier[aria-disabled="true"]:hover { transform: none; border-color: var(--brand); }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tier-name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.tier-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--brand); border-radius: var(--r-pill); padding: 3px 8px; white-space: nowrap; }
.tier-film { font-size: 12px; color: var(--muted); line-height: 1.35; }
.tier-price { margin-top: auto; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; color: #fff; }
.tier-price small { font-family: var(--body); font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.tier-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
@media (max-width: 360px) { .tiers { grid-template-columns: 1fr; } }
.price-list { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); box-shadow: var(--shadow-sm); scroll-margin-top: 120px; }
.price-list summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price-list summary::-webkit-details-marker { display: none; }
.price-list summary .price-list-hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.price-list summary .price-list-hint::after { content: "+"; display: inline-block; margin-left: 10px; font-weight: 700; color: var(--text); }
.price-list[open] summary .price-list-hint::after { content: "–"; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 10px 16px; border-top: 1px solid var(--line); text-align: right; vertical-align: top; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.price-table tbody td { font-family: var(--display); font-size: 20px; font-weight: 700; color: #fff; }
.price-table tbody td:first-child { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--text); }
.price-table .pop { display: block; color: var(--brand); font-size: 9px; letter-spacing: 0.08em; margin-top: 2px; }
.price-table .price-sub { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.price-foot { margin: 0; padding: 12px 16px 14px; font-size: 12px; color: var(--muted); line-height: 1.45; border-top: 1px solid var(--line); }
@media (max-width: 420px) { .price-table th, .price-table td { padding: 9px 12px; } .price-table tbody td { font-size: 18px; } }

/* ---------- hero price line (2026-11-13): "Coupe from $229 carbon · $329 ceramic · plus tax", server-rendered from the catalog
   ({{heroPrice}} in index.html → renderHeroPrice() in src/server.js) so the lowest package price is on screen before the first scroll ---------- */
.hero-price { margin: 0 0 12px; font-size: 14px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-price strong { color: var(--text); font-weight: 600; }
.hero-art picture { display: block; } /* the <picture> wrapper (phones get a 1×1 source) must not add an inline line box under the photo */

/* ---------- both film prices on a car card (2026-11-15; src/server.js carPrice() ↔ public/app.js carPrice()) ----------
   A package sold in two films shows both prices side by side — carbon on the left, ceramic on the right with "Most
   popular" above its name — the way the film step lays its two film cards out, so the price that step opens on is one
   the card showed. The block is exactly as tall as the "from $229" block it replaces (41px on phones: tag 10 + name 11 +
   price 20), so the first row of cards sits where it sat; "+ tax" follows the last price once, as in the hero's price
   line. The two prices share one line down to 360px wide ("$269.99" beside "$429 + tax" is the widest pair); narrower
   than that the second price wraps under the first. Markup only the main page's cards and the doors that reuse them
   carry (/prices, /tesla, /windshield): a door that quotes one film keeps its single price. */
.car-films { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px; }
.car-films .car-price { margin-top: 0; font-size: 24px; }
.car-films .car-price small { margin-left: 3px; }
.car-films .car-price .from, .car-films .car-price .pop { margin: 0 0 2px; font-size: 10px; }
.car-films .car-price .pop { display: block; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; color: var(--brand); -webkit-text-fill-color: var(--brand); }
/* A chosen card is filled with the selection ring's yellow-to-orange (a look this change leaves alone): there the block's
   small lines — the film names, the mark, "+ tax" — are ink, like the ✓ in its corner, not grey and yellow on yellow. */
.car-card.is-selected .car-films .car-price small { color: var(--ink); -webkit-text-fill-color: var(--ink); }

/* ---------- "pick up where you left off" (2026-11-15; public/app.js restorePick) ----------
   One line at the top of the step a returning visitor resumes on — the film / shade step or the time step — naming the
   car, film and shades this browser remembered, with a Start over button (a 44px tap target). In the markup it is
   hidden; only the page script shows it. Class rules on that one block: nothing here reaches a step, the bar or the header. */
.resume-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 6px 6px 6px 14px; border-radius: var(--r-sm); border: 1px solid var(--brand-ring); background: var(--brand-soft); }
.resume-note-text { margin: 0; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.resume-note-text strong { color: var(--text); font-weight: 600; }
.resume-note-reset { flex: none; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--glass); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background var(--t) var(--ease); -webkit-tap-highlight-color: transparent; }
.resume-note-reset:hover { background: var(--glass-2); }
.resume-note-reset:active { transform: scale(0.97); }

/* ---------- search-intent doors (2026-11-15; src/server.js DOORS — /tesla, /windshield, /prices) ----------
   A door may lead the car grid with one thing: the car it opens on (.is-pick — a wide card across the grid, the photo
   beside the text, drawn as chosen) or the full price list, open; a heading of its own (.car-more) then sets the other
   cars apart, and the step's own heading stays in front of it all for screen readers and focus, out of sight (.is-sr).
   All of it is markup only those doors' pages carry (src/server.js), styled by class: no rule here can reach the main
   page, and none re-orders or names a step. */
.car-card.is-pick { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; min-height: 0; padding: 10px 12px; border-width: 2px; }
.car-card.is-pick svg { flex: none; width: 92px; height: 70px; margin: 0; }
/* chosen: a yellow ring around a dark card. The other cards' chosen look fills the card with the ring's gradient, which
   leaves the grey lines hard to read — fine for the moment a tap lasts, not for a card the first screen opens on. */
.car-card.is-pick.is-selected { background: linear-gradient(180deg, #2a2617, #17150e) padding-box, linear-gradient(135deg, #FFDE59, #FF7C00 55%, #FFDE59) border-box; box-shadow: 0 14px 36px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.car-pick-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.car-pick-text .car-name { padding-right: 26px; } /* clear of the ✓ in the corner */
.car-prices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 14px; margin-top: 3px; }
.car-pick-text .car-price { margin-top: 0; font-size: 24px; }
.car-more { grid-column: 1 / -1; margin: 12px 0 2px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.05; color: #fff; }
.step-title.is-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.car-grid > .price-list { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 640px) { .car-card.is-pick { gap: 22px; padding: 14px 18px; } .car-card.is-pick svg { width: 250px; height: 120px; } .car-pick-text { gap: 6px; } .car-pick-text .car-price { font-size: 30px; } .car-more { margin: 18px 0 4px; font-size: 30px; } }

/* ---------- lead capture (2026-11-15): "Text me this quote" on the film / shade step and "Text me the link to finish" on
   the deposit step. Both are in the page only while LEAD_CAPTURE is on (src/server.js renderQuoteText / renderTextLink).
   The quote block is optional and looks it: a quiet card, one field, one button — yellow only on a page that leads with
   it (.is-primary: the Meta door, where it sits right under the film prices). ---------- */
.quote-text { margin: 0 0 18px; padding: 14px 16px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.quote-text.is-primary { border-color: var(--brand-ring); background: linear-gradient(180deg, rgba(255, 222, 89, 0.09), rgba(255, 222, 89, 0.02)); }
.qt-title { margin: 0 0 2px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--text); }
.qt-lead { margin: 0 0 12px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.qt-form { display: grid; gap: 10px; }
.qt-form .btn { min-height: 52px; }
.qt-consent { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.qt-status, .text-link-status { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; }
.qt-status:focus, .text-link-status:focus { outline: none; }
.qt-status.is-ok, .text-link-status.is-ok { color: var(--success); }
.qt-status.is-error, .text-link-status.is-error { margin-top: 10px; color: var(--danger); font-weight: 500; }
.quote-text .btn-ghost.is-busy::after, .text-link.is-quiet .btn.is-busy::after { border-color: rgba(255, 255, 255, 0.25); border-top-color: var(--text); }
@media (min-width: 640px) { .qt-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .qt-form .btn-block { width: auto; white-space: nowrap; } }
/* Deposit step. With no Apple Pay / Google Pay button (the Facebook / Instagram in-app browsers) this is the first thing in
   the payment block and looks like the wallet buttons it stands in for: a white pill, then "or pay with card". With a
   wallet button on screen app.js moves it under the card form as a plain underlined button (.is-quiet). */
.text-link .btn { min-height: 54px; background: #fff; border-color: #fff; color: #000; }
.text-link-note { margin: 8px 0 0; font-size: 13px; line-height: 1.4; text-align: center; color: var(--muted); }
.text-link-status { margin-top: 8px; text-align: center; }
.text-link.is-quiet { margin-top: 12px; }
.text-link.is-quiet .btn { min-height: 44px; background: none; border-color: transparent; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link.is-quiet .text-link-note, .text-link.is-quiet .text-link-or { display: none; }

/* ===================== phone scale pass (2026-11-13) =====================
   Under 640px everything steps one notch down — display type, kicker, rail, chips, card padding, sticky bar — so the page
   reads as a phone page instead of a zoomed-in desktop one. Tablet/desktop (≥ 640px) are untouched; the existing 360/420
   rules keep winning where they apply. Body copy and every form control stay 16px (it is a form; iOS zooms inputs under
   16px). Tap targets stay ≥ 44px. The hero car photo is dropped on phones (not shrunk): with it the first screen has no
   price, no CTA destination and no vehicle card in view. */
@media (max-width: 639px) {
  :root { --gutter: 16px; --r: 16px; --r-sm: 12px; }
  body { padding-bottom: calc(108px + env(safe-area-inset-bottom)); } /* clears the sticky bar at its two-line tallest */
  .toast { bottom: calc(120px + env(safe-area-inset-bottom)); }

  /* header + trust strip */
  .header-row { padding-top: 10px; padding-bottom: 10px; }
  .trust-list { padding-top: 8px; padding-bottom: 8px; gap: 6px; }
  .trust-list li { padding: 5px 10px; }

  /* progress rail: slimmer bar, tighter stack */
  .rail { margin: 14px 0 4px; }
  .rail ol { gap: 5px; }
  .rail li { gap: 6px; }
  .rail li::before { height: 3px; }
  .test-banner { margin-top: 12px; }

  /* steps + display type */
  .step { padding: 14px 0 22px; }
  .eyebrow { margin-bottom: 4px; font-size: 11px; letter-spacing: 0.14em; }
  .step-title { font-size: clamp(30px, 8.5vw, 40px); line-height: 1; letter-spacing: 0; margin-bottom: 8px; }
  .step-lead { font-size: 14px; margin-bottom: 14px; }

  /* hero: copy only, price line under the headline */
  .hero { gap: 12px; padding: 4px 0 0; margin-bottom: 20px; }
  .hero-kicker { font-size: 10px; letter-spacing: 0.14em; gap: 4px 10px; }
  .hero-title { margin: 8px 0 8px; font-size: clamp(30px, 8.5vw, 40px); line-height: 1; letter-spacing: 0; }
  .hero-price { margin-bottom: 10px; font-size: 13px; }
  .hero-sub { margin-bottom: 16px; font-size: 15px; }
  .hero-cta { min-height: 52px; padding: 0 22px; font-size: 16px; }
  .hero-art, .hero-reflection { display: none; }
  #car-grid, .price-list { scroll-margin-top: 96px; }

  /* step 1: car cards */
  .car-grid { gap: 8px; }
  .car-card { min-height: 160px; padding: 10px 10px 12px; gap: 6px; }
  .car-card svg { height: 96px; margin: -4px 0 -8px; }
  .car-name { font-size: 14px; }
  .car-price { font-size: 27px; }
  .car-films .car-price { font-size: 20px; } /* two prices side by side: 20px each keeps "$269.99" and "$429 + tax" on one line at 360px */
  .car-films .car-price small { font-size: 9px; letter-spacing: 0.06em; }
  .car-films .car-price .from { margin-bottom: 1px; font-size: 10px; letter-spacing: 0.08em; }
  .car-films .car-price .pop { margin-bottom: 1px; font-size: 9px; letter-spacing: 0; }
  .car-card.is-other .car-price { font-size: 18px; }
  .price-list summary { padding: 12px 14px; }
  .price-foot { padding: 10px 14px 12px; }
  .proof-early { margin-top: 14px; }

  /* step 1: the vehicle cards on the first screen (2026-11-14). Before, a phone's first screen was all text — kicker,
     headline, price line, three lines of copy, a "Pick your car ↓" button that only scrolled — and the first card began
     ~620px down, under the fold of every phone and far under it inside the Facebook / Instagram in-app browser (its own
     bars leave ~500–700px). Now, under 640px: headline, price line, "Pick your car", the cards; the two explanatory lines
     follow the cards. The markup keeps the desktop order, so the hero's two wrappers dissolve here (display: contents) and
     the four leading pieces are pulled up with negative `order`; everything else keeps its source order behind them.
     Gone on phones: the scroll button (the cards it scrolled to are in view), the kicker (it repeated the header line and
     the chips above it) and the "Step 1 of 5" eyebrow (the progress rail right above says the same). */
  #step-1:not([hidden]) { display: flex; flex-direction: column; padding-top: 6px; }
  #step-1 .hero, #step-1 .hero-copy { display: contents; }
  #step-1 .hero-kicker, #step-1 .hero-cta, #step-1 > .eyebrow { display: none; }
  #step-1 .hero-title { order: -4; margin: 0 0 6px; }
  #step-1 .hero-price { order: -3; margin: 0 0 12px; }
  #step-1 > .step-title { order: -2; margin: 0 0 8px; font-size: 22px; }
  #step-1 > .car-grid { order: -1; }
  #step-1 .hero-sub { margin: 16px 0 0; font-size: 14px; }
  #step-1 > .step-lead { margin: 8px 0 0; }

  /* step 2: film tiers, visualizer, shade chips, add-ons */
  .tier-group { margin-bottom: 14px; }
  .tiers { gap: 8px; }
  .tier { min-height: 100px; padding: 10px 12px; gap: 5px; }
  .tier-name { font-size: 15px; }
  .tier-price { font-size: 26px; }
  .tier-note { margin-top: 8px; }
  .viz-card { margin-bottom: 14px; }
  .cmp-knob { width: 44px; height: 44px; }
  .viz-foot { padding: 8px 12px; gap: 8px; }
  .legal { font-size: 12px; padding: 5px 10px; }
  fieldset { margin-bottom: 14px; }
  legend { margin-bottom: 8px; }
  .chips { gap: 5px; }
  .chip { min-height: 66px; padding: 8px 3px 7px; gap: 5px; font-size: 13px; }
  .chip .swatch { width: 26px; height: 26px; }
  .shade-hint { margin-top: 8px; }
  .addons { gap: 6px; }
  .addon { min-height: 56px; padding: 8px 12px; gap: 10px; }
  .addon-name { font-size: 14px; }
  .addon-price { font-size: 20px; }
  /* in-flow continue under the shade chips; while it is on screen (app.js watchInline → .has-inline-cta) the sticky bar keeps
     the price and drops its own button (app.js pins the bar's height meanwhile) */
  .step-cta { display: block; margin: 4px 0 14px; }
  .step-cta .btn { min-height: 54px; font-size: 17px; }
  /* "Next opening: tomorrow at 8:00 AM" under the button (app.js showNextOpening). The box keeps its height when empty, so the add-ons never move. */
  .step-cta-note { margin: 8px 0 0; min-height: 20px; font-size: 14px; line-height: 20px; text-align: center; color: var(--muted); }
  .step-cta-note strong { color: var(--text); font-weight: 600; }
  .step-cta-note .bolt { color: var(--success); }
  .sticky-bar.has-inline-cta .btn { display: none; }

  /* step 3: calendar + slots */
  .next-avail { min-height: 56px; padding: 8px 14px; margin-bottom: 12px; }
  .cal { padding: 10px 8px 12px; margin-bottom: 14px; }
  .cal-title { font-size: 20px; }
  .cal-grid { gap: 3px; }
  .day { min-height: 44px; aspect-ratio: auto; } /* 44px tap height; width follows the 7 columns (44px at 375, 42px at 360) */
  .slot-grid { gap: 6px; margin-bottom: 12px; }

  /* step 4: form spacing only — inputs, selects and labels unchanged */
  .form { gap: 12px; }
  .field { gap: 5px; }

  /* buttons + sticky bar */
  .btn { min-height: 52px; padding: 0 20px; }
  .sticky-bar { gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
  .sticky-bar::before { left: 16px; right: 16px; }
  .sticky-total strong { font-size: 26px; }
  .sticky-total span { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.2; } /* "Ceramic · plus tax · $25 deposit holds your time" wraps to two lines instead of truncating */
  .sticky-bar .btn { min-width: 132px; min-height: 48px; }
  /* step 1 before a car is picked (app.js updateSticky → .is-idle): the bar had no price to show and a Continue button that
     could not be pressed — on a phone it covered the bottom ~70px of the first screen. It comes back with the first pick. */
  .sticky-bar.is-idle { display: none; }

  /* step 5: summary, terms, card form */
  .summary { padding: 4px 14px; margin-bottom: 10px; }
  .summary-row { padding: 9px 0; }
  .summary-row.is-deposit { font-size: 22px; }
  .hold-timer { margin-bottom: 12px; }
  .terms-accept { padding: 10px 12px; margin-bottom: 12px; }
  .card-form { padding: 14px; }
  .pay-or { margin: 12px 0; }
  .terms-doc { padding: 16px; }
  .terms-doc h2 { font-size: 26px; }

  /* lead capture: the quote block and the deposit step's text-me-the-link button */
  .quote-text { margin-bottom: 14px; padding: 12px 14px 14px; }
  .qt-lead { margin-bottom: 10px; }
  .text-link .btn { min-height: 52px; }

  /* step 6 + footer */
  .done-check { width: 64px; height: 64px; margin-bottom: 12px; }
  .done-grid { gap: 8px; margin-top: 12px; }
  .done-card { padding: 14px; }
  .site-footer { margin-top: 22px; padding: 20px 0 26px; }
}

/* Affirm "Pay over time" (2026-11-19, AFFIRM=on): while it is picked its block stands in for the wallets, the card form
   and the text-me-this-page box. Nothing here matches while Affirm is off (the block and the class are never there). */
.pay.is-affirm > :not(#affirm-pay) { display: none !important; }
.affirm-pay { display: grid; gap: 10px; }
.affirm-btn { background: #4a4af4; border-color: #4a4af4; }
.affirm-btn:hover:not(:disabled) { background: #3b3bd6; border-color: #3b3bd6; }
.pay-opt .affirm-as-low-as { display: block; margin-top: 2px; }

/* PPF online (/ppf, 2026-11-19, PPF_ONLINE=on): one page — vehicle, coverage, extras, price, drop-off day, details. Reuses
   the deposit step's radio cards (.pay-opt) and summary rows; only what is new is here. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ppf-main { padding-bottom: 48px; }
.ppf-hero { padding: 22px 0 8px; }
.ppf-hero .step-title span { display: block; color: var(--brand); }
.ppf-block { margin-top: 26px; }
.ppf-h { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 12px; }
.ppf-h em { font-style: normal; font-weight: 400; opacity: .7; }
.ppf-choice { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.ppf-note { font-size: .92rem; opacity: .85; margin: 10px 0 0; }
.ppf-pop { font-size: .72rem; font-weight: 600; color: var(--brand); margin-left: 6px; text-transform: uppercase; letter-spacing: .04em; }
.ppf-addons { display: grid; gap: 8px; }
.ppf-addon small { opacity: .75; }
.ppf-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ppf-day { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); color: inherit; font: inherit; cursor: pointer; }
.ppf-day small { opacity: .75; font-size: .8rem; }
.ppf-day.is-on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.ppf-back { margin-top: 28px; font-size: .92rem; }
.ppf-more { place-content: center; text-align: center; font-weight: 600; }
/* /ppf polish (2026-11-19): the step numbers show (the main page's .rail-dot is screen-reader-only), "Show N more days"
   takes its own row, day cards are wide enough for "ready Sat, Nov 21, 2:00 PM", and the sticky header never covers a
   heading you jump to. Desktop (>= 960px): a wider page with the price card pinned in a right-hand column. Breakpoints are
   container queries on body.ppf-page (its width = the viewport's) because the phone block must stay the last media block. */
body.ppf-page { container-type: inline-size; }
.ppf-h .rail-dot { position: static; width: 26px; height: 26px; flex: none; overflow: visible; clip: auto; display: inline-grid; place-items: center; border-radius: 50%; background: var(--brand); color: #070707; font-size: 13px; font-weight: 800; line-height: 1; }
.ppf-block { scroll-margin-top: 104px; }
@container (min-width: 640px) { .ppf-days { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); } .ppf-day small { white-space: nowrap; } }
.ppf-more { grid-column: 1 / -1; padding: 12px; white-space: nowrap; }
@container (min-width: 960px) {
  body.ppf-page .site-header .wrap, body.ppf-page .site-footer .wrap, body.ppf-page .ppf-main { max-width: 1160px; }
  .ppf-main { display: grid; grid-template-columns: minmax(0, 1fr) clamp(330px, 30vw, 380px); column-gap: 40px; align-items: start; }
  .ppf-main > * { grid-column: 1; }
  .ppf-main > .test-banner { grid-column: 1 / -1; grid-row: 1; }
  .ppf-main > .ppf-hero { grid-column: 1 / -1; grid-row: 2; }
  .ppf-main > .ppf-price { grid-column: 2; grid-row: 3 / span 6; position: sticky; top: 104px; }
  .ppf-price .summary-row.is-total { flex-wrap: wrap; }
  .ppf-price .summary-row.is-deposit { font-size: 22px; }
}
@container (min-width: 1200px) { .ppf-addons { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 10px; } }

/* PPF clickable car (2026-11-19, "click on the car and select what you want"): a top-down drawing, front at the top;
   each part is a <g data-panel> that lights up when covered; glass is not tappable; partial front's front strip is
   drawn on top while that package is picked. The chips under it name every part with its price (and are the easy way to
   reach the small ones: door cups, door edges, rear bumper top). */
.ppf-coverage-lead { margin: 0 0 12px; }
.ppf-car-wrap { display: grid; gap: 14px; margin-top: 16px; }
.ppf-car-box { display: grid; justify-items: center; gap: 6px; padding: 14px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); }
.ppf-car { width: min(100%, 260px); height: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ppf-car .pnl path { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .38); stroke-width: 1; cursor: pointer; transition: fill .15s ease, stroke .15s ease; }
.ppf-car .pnl:hover path, .ppf-car .pnl:focus-visible path { fill: rgba(255, 255, 255, .16); }
.ppf-car .pnl.is-on path { fill: var(--brand); fill-opacity: .55; stroke: var(--brand); }
.ppf-car .pnl:focus { outline: none; }
.ppf-car .pnl:focus-visible path { stroke-width: 2; }
.ppf-car .glass { fill: rgba(120, 160, 200, .14); stroke: rgba(255, 255, 255, .2); stroke-width: 1; pointer-events: none; }
.ppf-car .partial-strip path { fill: var(--brand); fill-opacity: .55; stroke: var(--brand); stroke-dasharray: 3 2; pointer-events: none; }
.ppf-car-front { fill: rgba(255, 255, 255, .55); font-size: 9px; letter-spacing: .14em; font-weight: 600; }
.ppf-car-hint { margin: 0; font-size: .86rem; opacity: .8; text-align: center; }
.ppf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ppf-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: inherit; font: inherit; font-size: .86rem; cursor: pointer; }
.ppf-chip small { opacity: .7; font-size: .78rem; }
.ppf-chip.is-on { border-color: var(--brand); background: rgba(255, 210, 63, .14); }
@container (min-width: 640px) { .ppf-car-wrap { grid-template-columns: minmax(220px, 280px) 1fr; align-items: start; } .ppf-chips { align-content: start; } }
