/* ==========================================================================
   Siftni website: one stylesheet, no build step, no external requests.
   Colour tokens mirror the apps (vtc/lib/Core/const/colors.dart). Headings use
   Barlow Semi Condensed, self-hosted in assets/fonts (SIL OFL, see OFL.txt).

    1 Tokens and fonts   2 Base   3 Header   4 Buttons and store badges
    5 Layout and bands   6 Hero   7 Ride types   8 Route steps
    9 Feature tiles   10 Driver   11 Phone mockups   12 FAQ   13 Get the app
   14 Footer   15 Legal pages   16 404   17 Motion   18 Print
   ========================================================================== */

/* 1. Tokens and fonts ------------------------------------------------------ */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-latin-600-normal.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 Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-latin-700-normal.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;
}

:root {
  --navy-900: #001624;   /* app primary: hero, header, footer, navy bands */
  --navy-700: #142735;   /* app background: deep bands */
  --navy-600: #1a2b3d;   /* app card */
  --navy-500: #2e4057;   /* app accent: borders */
  --amber: #ffc000;      /* app secondary: CTAs, accents, the ride-types band */
  --amber-hover: #ffd23f;
  --muted: #b0bec5;      /* muted text on navy */
  --text: #eef3f6;       /* body text on navy */
  --success: #4caf50;    /* app success colour (status chips) */

  --ink: #0b1b27;        /* body text on paper */
  --ink-muted: #46586a;
  --paper: #f4f7fa;
  --paper-line: #d9e2ea;

  /* Surface tokens. A band (section 5) overrides them for its content. */
  --fg: var(--text);
  --fg-muted: var(--muted);
  --line: var(--navy-500);
  --focus: var(--amber);

  --radius: 16px;
  --radius-lg: 22px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Barlow Semi Condensed", var(--font);
  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.25rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4rem); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--navy-900); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--amber);
  color: var(--navy-900);
  font-weight: 700;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* Safety net: section 17 only animates under prefers-reduced-motion: no-preference.
   For everyone else this also makes transitions instant and stops any loop. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3. Header ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--text);
  background: rgba(0, 22, 36, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
/* Hairline under the header. Where scroll timelines exist it fades in once the page scrolls (17). */
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(46, 64, 87, 0.85);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.brand img { width: 2.25rem; height: 2.25rem; }

.nav { display: none; gap: 0.25rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0.85rem 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
@media (min-width: 52rem) { .nav { display: flex; } }

/* 4. Buttons and store badges ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy-900); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-ghost { border-color: var(--navy-500); color: var(--text); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { min-height: 2.5rem; padding: 0.4rem 1.1rem; font-size: 1.02rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.text-link .icon { width: 1.15rem; height: 1.15rem; color: var(--amber); transition: transform 0.2s var(--ease-out); }
.text-link:hover { color: var(--amber); }
.text-link:hover .icon { transform: translateX(4px); }

/* Store badges. `.is-soon` is the placeholder state: swap the <span> for an
   <a class="store" href="..."> once a store URL exists (see README). */
.store-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 8.75rem;
  padding: 0.5rem 1rem 0.55rem;
  border: 1px solid var(--amber);
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.store small { color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.store strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; }
a.store:hover { background: var(--amber); color: var(--navy-900); }
a.store:hover small { color: inherit; }
.store.is-soon { border-color: var(--navy-500); background: rgba(0, 22, 36, 0.75); color: #cfd8dd; cursor: default; }

/* 5. Layout and bands ------------------------------------------------------- */
/* Each section is a full-width band. Navy by default; --deep, --amber and
   --paper change the surface and the tokens text, lines and focus use on it. */
.band { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--navy-900); color: var(--fg); }
.band--deep { background: var(--navy-700); }
.band--amber {
  --fg: var(--navy-900);
  --fg-muted: rgba(0, 22, 36, 0.8);
  --line: rgba(0, 22, 36, 0.22);
  --focus: var(--navy-900);
  background: var(--amber);
}
.band--amber ::selection { background: var(--navy-900); color: var(--amber); }
.band--paper {
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --line: var(--paper-line);
  --focus: var(--navy-900);
  background: var(--paper);
}

.band-head { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.band-head p { max-width: 30rem; color: var(--fg-muted); font-size: 1.15rem; }
@media (min-width: 52rem) {
  .band-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .band-head p { justify-self: end; padding-bottom: 0.4rem; }
  .band-head--center { grid-template-columns: none; }
}
.band-head--center { justify-items: center; text-align: center; }
.band-head--center p { justify-self: center; padding-bottom: 0; }

.split { display: grid; gap: clamp(3rem, 7vw, 5rem); align-items: center; }
.split-media { display: flex; justify-content: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .split--reverse .split-media { order: -1; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--navy-900);
}
/* Street map backdrop (assets/img/streets.svg), faded out under the text. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/streets.svg") 62% 100% / 64rem auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 78%);
  mask-image: linear-gradient(180deg, transparent 30%, #000 78%);
}
@media (min-width: 56rem) {
  .hero::before {
    background-position: right top;
    background-size: cover;
    -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 66%);
    mask-image: linear-gradient(100deg, transparent 20%, #000 66%);
  }
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 7vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}
@media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }

.hero h1 {
  font-size: clamp(3rem, 1.4rem + 5.8vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.hl { position: relative; display: inline-block; color: var(--amber); white-space: nowrap; }
/* Dashed route under "one pin away.", the lane marking of the driver logo. */
.hl-route {
  position: absolute;
  left: 0;
  bottom: -0.16em;
  width: 100%;
  height: 0.2em;
  overflow: visible;
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 9;
  opacity: 0.75;
}

.lede {
  max-width: 33rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.28rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.hero-note span { margin-inline: 0.55rem; color: var(--amber); font-weight: 700; }
.hero-media { display: flex; justify-content: center; }

/* 7. Ride types (amber band) --------------------------------------------------- */
.ride-types { display: grid; }
.ride { padding-block: 2rem; border-top: 1.5px solid var(--line); }
.ride-art {
  width: 4.5rem;
  height: 4.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease-out);
}
.ride:hover .ride-art { transform: translateX(6px); }
.ride:nth-child(2):hover .ride-art { transform: scale(1.07); }
.ride:nth-child(3):hover .ride-art { transform: translateY(-5px) rotate(-4deg); }
.ride-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem; margin-top: 1.5rem; }
.ride h3 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); }
.ride-tag {
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ride p { max-width: 24rem; margin-top: 0.8rem; color: var(--fg-muted); }
@media (min-width: 52rem) {
  .ride-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ride { padding: 0.5rem 2.25rem; border-top: 0; border-left: 1.5px solid var(--line); }
  .ride:first-child { padding-left: 0; border-left: 0; }
  .ride:last-child { padding-right: 0; }
}

/* 8. Route steps ("How it works") --------------------------------------------- */
/* The three steps sit on a road with a dashed centre line, marked like the map
   in the app: pickup ring, driver, destination pin. Vertical on small screens. */
.route { position: relative; display: grid; gap: 2.75rem; }
.route::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 1.5rem;
  width: 10px;
  margin-left: -5px;
  border-radius: 5px;
  background: linear-gradient(var(--amber) 50%, transparent 0) center top / 2px 16px repeat-y, var(--navy-600);
  transform-origin: top;
}
.route-step { position: relative; padding-left: 4.25rem; }
.route-step h3 { font-size: 1.65rem; }
.route-step p { margin-top: 0.55rem; color: var(--muted); }

.marker { position: absolute; top: 0.85rem; left: 1.5rem; display: grid; place-items: center; translate: -50% -50%; }
.marker--pickup { width: 1.6rem; height: 1.6rem; border: 0.32rem solid #fff; border-radius: 50%; background: var(--navy-900); }
.marker--driver { width: 3rem; height: 3rem; border: 3px solid var(--amber); border-radius: 50%; background: var(--navy-900); color: var(--amber); }
.marker--driver .icon { width: 1.45rem; height: 1.45rem; }
.marker--drop { translate: -50% -92%; }
.marker--drop svg { width: 2.4rem; height: 3.35rem; }

@media (min-width: 52rem) {
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; text-align: center; }
  .route::before {
    top: 2.25rem;
    bottom: auto;
    left: calc((100% - 5rem) / 6);
    right: calc((100% - 5rem) / 6);
    width: auto;
    height: 10px;
    margin: -5px 0 0;
    background: linear-gradient(90deg, var(--amber) 50%, transparent 0) left center / 16px 2px repeat-x, var(--navy-600);
    transform-origin: left;
  }
  .route-step { padding: 5.25rem 0 0; }
  .marker { top: 2.25rem; left: 50%; }
  .route-step p { max-width: 21rem; margin-inline: auto; }
}

/* 9. Feature tiles (paper band) ---------------------------------------------- */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 40rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; }
}
@media (min-width: 64rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 27, 39, 0.05);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(11, 27, 39, 0.45); }

/* A small, decorative piece of the app at the top of each tile (aria-hidden). */
.tile-ui {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-height: 12.5rem;
  margin: 0.55rem 0.55rem 0;
  padding: 1.1rem;
  overflow: hidden;
  overflow: clip;
  border-radius: 16px;
  background: var(--navy-700);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.35;
}
.tile-copy { padding: 1.15rem 1.35rem 1.45rem; }
.tile-copy h3 { font-size: 1.45rem; }
.tile-copy p { margin-top: 0.4rem; color: var(--ink-muted); }

.tile--map .tile-ui { padding: 0; }
.tile--map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-chip {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--navy-900);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  font-weight: 700;
}
.ui-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--success); }

.ui-label { color: var(--muted); font-size: 0.8rem; }
.ui-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.ui-trip { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); }
.ui-to { color: var(--amber); }

.ui-stars { display: flex; gap: 0.35rem; }
.ui-stars svg { width: 2rem; height: 2rem; fill: var(--amber); stroke: var(--amber); stroke-width: 1.5; stroke-linejoin: round; }
.ui-input { padding: 0.6rem 0.8rem; border: 1px solid var(--navy-500); border-radius: 10px; color: rgba(176, 190, 197, 0.75); }

.ui-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ui-chips span { padding: 0.28rem 0.6rem; border: 1px solid var(--navy-500); border-radius: 999px; color: var(--muted); font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.ui-chips .is-on { border-color: var(--amber); background: var(--amber); color: var(--navy-900); }
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--navy-600);
  font-weight: 600;
}
.ui-status { padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.ui-status--done { background: rgba(76, 175, 80, 0.16); color: #86d98a; }
.ui-status--off { background: rgba(229, 62, 62, 0.16); color: #ff9b9b; }
.ui-note { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.65rem 0.75rem; border-radius: 12px; background: var(--navy-600); }
.ui-note .icon { width: 1.1rem; height: 1.1rem; color: var(--amber); }

.tile--wallet .tile-ui { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.ui-balance { display: flex; flex-direction: column; gap: 0.35rem; }

/* 10. Driver ------------------------------------------------------------------ */
.drive { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.drive-media { position: relative; }
/* The driver logo (a road shaped like an S), huge and faint behind the phone. */
.drive-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(40rem, 150%);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: url("../img/siftni-driver-mark.svg") center / contain no-repeat;
  opacity: 0.07;
}
.app-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}
.app-label .app-mark { width: 3rem; height: 3rem; }
.split-copy h2 { margin-top: 1.1rem; }
.split-lede { max-width: 34rem; margin-top: 1.1rem; color: var(--muted); font-size: 1.15rem; }
.specs { display: grid; gap: 1.5rem 2.25rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.specs li { padding-top: 1rem; border-top: 1px solid var(--navy-500); }
.specs h3 { font-size: 1.3rem; }
.specs p { margin-top: 0.35rem; color: var(--muted); font-size: 0.98rem; }
.split-link { margin-top: 2rem; }

/* 11. Phone mockups (decorative, aria-hidden; sized from --w) ------------------ */
.phone {
  --w: min(15rem, 70vw);
  position: relative;
  flex: none;
  width: var(--w);
  aspect-ratio: 9 / 18.6;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.14);
  background: linear-gradient(155deg, #2b445b, #0b1d2a 62%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 40px 70px -25px rgba(0, 0, 0, 0.8),
    0 0 100px -24px rgba(255, 192, 0, 0.18);
  font-size: calc(var(--w) / 21);
  line-height: 1.3;
  color: var(--text);
}
@media (min-width: 56rem) { .phone { --w: 16.5rem; } }
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  overflow: clip;
  border-radius: calc(var(--w) * 0.115);
  background: var(--navy-700);
}
.phone-notch {
  position: absolute;
  z-index: 4;
  top: 0.7em;
  left: 50%;
  width: 26%;
  height: 1.4em;
  border-radius: 1em;
  background: #000;
  transform: translateX(-50%);
}
.phone-map { position: relative; flex: 1 1 0; min-height: 0; }
.phone-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.phone-sheet {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8em;
  margin-top: -1.4em;
  padding: 1.1em 1.1em 1.2em;
  border-radius: 1.5em 1.5em 0 0;
  background: var(--navy-600);
  box-shadow: 0 -0.8em 2em rgba(0, 0, 0, 0.35);
}
.ph-row { display: flex; align-items: flex-start; gap: 0.8em; }
.ph-row small { display: block; color: var(--muted); font-size: 0.86em; }
.ph-row b { display: block; font-weight: 700; }
.ph-dot {
  flex: none;
  width: 1em;
  height: 1em;
  margin-top: 0.3em;
  border: 0.22em solid #fff;
  border-radius: 50%;
  background: var(--navy-900);
}
.ph-dot--drop { border-color: var(--amber); background: var(--amber); }
.ph-chips { display: flex; gap: 0.5em; }
.ph-chips span {
  flex: 1;
  padding: 0.55em 0;
  border: 1px solid var(--navy-500);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}
.ph-chips .is-on { border-color: var(--amber); background: var(--amber); color: var(--navy-900); }
.ph-fare { display: flex; align-items: baseline; justify-content: space-between; color: var(--muted); }
.ph-fare strong { color: var(--text); font-family: var(--font-display); font-size: 1.6em; }
.ph-btn {
  position: relative;
  padding: 0.9em 0;
  border-radius: 1em;
  background: var(--amber);
  color: var(--navy-900);
  font-size: 1.1em;
  font-weight: 800;
  text-align: center;
}
.ph-btn--accept::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--amber); opacity: 0; }
.ph-pill {
  position: absolute;
  z-index: 3;
  top: 3.1em;
  left: 50%;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  background: var(--navy-900);
  box-shadow: 0 0.4em 1.2em rgba(0, 0, 0, 0.4);
  font-size: 0.95em;
  font-weight: 700;
  white-space: nowrap;
  translate: -50% 0;
}
.ph-pill::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.6em; border-radius: 50%; background: var(--amber); }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-tag { padding: 0.3em 0.9em; border-radius: 999px; background: rgba(255, 192, 0, 0.16); color: var(--amber); font-weight: 700; }
.ph-price { font-family: var(--font-display); font-size: 1.8em; }
.ph-pass { display: flex; align-items: center; gap: 0.8em; padding-top: 0.2em; }
.ph-pass small { display: block; color: var(--muted); font-size: 0.86em; }
.ph-pass b { display: block; font-weight: 700; }
.ph-avatar { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--navy-500); font-weight: 800; }

/* 12. FAQ ------------------------------------------------------------------- */
.faq-layout { display: grid; gap: 2.5rem 4.5rem; }
@media (min-width: 56rem) {
  .faq-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq-aside p { max-width: 24rem; margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; }
.faq-aside a {
  color: var(--text);
  overflow-wrap: anywhere;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.faq { border-top: 1px solid var(--navy-500); }
.faq details { border-bottom: 1px solid var(--navy-500); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1.15rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber); }
.faq summary .icon { color: var(--amber); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { max-width: 42rem; padding: 0 0.25rem 1.5rem; color: var(--muted); }
.faq .answer a { color: var(--text); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 13. Get the app and the closed test ---------------------------------------- */
.get-app { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.get-app::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/streets.svg") right 65% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
}
.get-app-grid { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 56rem) { .get-app-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.get-app-copy p { max-width: 28rem; margin-top: 1.1rem; color: var(--muted); font-size: 1.15rem; }
.app {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--navy-500);
}
.app:last-child { border-bottom: 1px solid var(--navy-500); }
.app .store-row { grid-column: 1 / -1; }
@media (min-width: 40rem) {
  .app { grid-template-columns: auto minmax(0, 1fr) auto; }
  .app .store-row { grid-column: auto; }
}
.app-mark { width: 3.5rem; height: 3.5rem; }
.app h3 { font-size: 1.55rem; }
.app p { color: var(--muted); font-size: 0.95rem; }

/* Closed test (paper band): the three steps beside the how-to video. */
.test-grid { display: grid; gap: 3rem 4rem; align-items: start; }
@media (min-width: 60rem) { .test-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; } }
.test-lede { max-width: 34rem; margin-top: 1.1rem; color: var(--fg-muted); font-size: 1.15rem; }
.test-steps { display: grid; gap: 1.6rem; margin-top: 2.25rem; counter-reset: step; }
.test-steps li { position: relative; padding-left: 3.5rem; counter-increment: step; }
.test-steps li::before {
  content: counter(step);
  position: absolute;
  top: -0.15rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.test-steps h2, .test-steps h3 { font-size: 1.4rem; }
.test-steps p { margin-top: 0.35rem; color: var(--fg-muted); }
.test-steps a:not(.store), .test-note a { color: var(--fg); font-weight: 700; text-underline-offset: 0.2em; }
.test-steps .store-row { margin-top: 0.9rem; }
.test-note { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0; background: #fff; }
.test-video { margin: 0; }
.test-video video { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: 0 24px 60px rgba(0, 22, 36, 0.22); }
.test-video figcaption { margin-top: 0.8rem; color: var(--fg-muted); font-size: 0.95rem; }
.test-video figcaption a { color: var(--fg); font-weight: 700; text-underline-offset: 0.2em; }

/* "Before you install" page (join-test/): the video in the navy hero, the steps on paper.
   The Google Play buttons of the home page's download band lead here. */
.join-hero-grid { display: grid; gap: 2rem 3.5rem; align-items: center; }
@media (min-width: 60rem) { .join-hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.join-hero .test-video figcaption { color: var(--muted); }
.join-wrap {
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --line: var(--paper-line);
  --focus: var(--navy-900);
  max-width: calc(46rem + 2 * var(--gutter));
  padding-block: 3rem 4.5rem;
}
.join-wrap .test-steps { margin-top: 0; gap: 2.25rem; }
.join-wrap .test-steps h2 { font-size: 1.6rem; }
.join-wrap .test-steps .btn { margin-top: 0.9rem; }
.join-wrap .callout { margin-top: 2.75rem; }
.join-wrap .callout ul { margin-top: 0.7rem; padding-left: 1.3rem; list-style: disc; }
.join-wrap .callout li + li { margin-top: 0.4rem; }
.get-app-copy a { color: var(--amber); font-weight: 700; text-underline-offset: 0.2em; }

/* 14. Footer ------------------------------------------------------------------ */
.site-footer { padding-block: 3.5rem 2rem; border-top: 1px solid var(--navy-500); background: var(--navy-900); color: var(--text); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { max-width: 20rem; margin-top: 1rem; color: var(--muted); font-size: 0.97rem; }
.footer-col h2 { color: var(--text); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 0.15rem; margin-top: 0.8rem; }
.footer-col a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 2px no-repeat;
  transition: color 0.15s, background-size 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--text); background-size: 100% 2px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(46, 64, 87, 0.7); color: var(--muted); font-size: 0.9rem; }

/* 15. Legal pages (privacy, delete account) --------------------------------- */
.page-legal { background: var(--paper); color: var(--ink); }
.page-legal .site-header { background: var(--navy-900); } /* the translucent header would turn grey over paper */
.page-legal .legal-wrap { --focus: var(--navy-900); }

.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  background: var(--navy-900);
  color: var(--text);
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/streets.svg") right top / cover no-repeat;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
}
.legal-hero h1 { margin-top: 0.9rem; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.2rem); }
.legal-lead { max-width: 40rem; margin-top: 1rem; color: var(--muted); font-size: 1.15rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }
.legal-meta strong { color: var(--text); }

.legal-wrap { display: grid; gap: 2rem; padding-block: 2.5rem 4.5rem; }
@media (min-width: 62rem) {
  .legal-wrap { grid-template-columns: 14.5rem minmax(0, 44rem); gap: 3.5rem; justify-content: center; }
  .toc { position: sticky; top: 5.5rem; align-self: start; }
}

.legal-wrap.legal-wrap--single { grid-template-columns: minmax(0, 44rem); justify-content: center; }

.toc h2 { color: var(--ink-muted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.toc ol { margin-top: 0.75rem; columns: 2; column-gap: 1.5rem; font-size: 0.93rem; counter-reset: toc; }
.toc li { break-inside: avoid; counter-increment: toc; }
.toc a {
  display: block;
  padding: 0.28rem 0;
  color: var(--ink);
  text-decoration: none;
}
.toc a::before { content: counter(toc) ". "; color: var(--ink-muted); }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 62rem) { .toc ol { columns: 1; } }

.prose { min-width: 0; }
.prose h2 { margin-top: 2.9rem; font-size: 1.9rem; scroll-margin-top: 5.5rem; }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7rem; font-size: 1.35rem; }
.prose p, .prose ul, .prose ol, .prose dl, .prose .table-wrap, .prose .callout { margin-top: 1rem; }
.prose ul { padding-left: 1.3rem; list-style: disc; }
.prose ol.numbered { padding-left: 1.3rem; list-style: decimal; }
.prose li + li { margin-top: 0.45rem; }
.prose li::marker { color: var(--ink-muted); }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
}
.prose a:hover { background: rgba(255, 192, 0, 0.35); }

.callout {
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--paper-line);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  background: #fff;
}
.callout > :first-child { margin-top: 0; }
.callout h2, .callout h3 { margin-top: 0; font-size: 1.3rem; }
.callout ul { margin-top: 0.7rem; }

/* Delete account: one block of in-app steps per app, side by side when there is room. */
.app-steps { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 46rem) { .app-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.app-steps-card { padding: 1.15rem 1.3rem 1.3rem; border: 1px solid var(--paper-line); border-radius: 14px; background: #fff; }
.app-steps-head { display: flex; align-items: center; gap: 0.8rem; }
.app-steps-head img { flex: none; width: 2.5rem; height: 2.5rem; }
.app-steps-head h3 { margin-top: 0; font-size: 1.35rem; }
.app-steps-head p { margin-top: 0.1rem; color: var(--ink-muted); font-size: 0.9rem; }
.app-steps-card ol.numbered { margin-top: 0.9rem; font-size: 0.98rem; }
.app-steps-card strong { white-space: nowrap; } /* keep each button label on one line */

.data-list { overflow: hidden; border: 1px solid var(--paper-line); border-radius: 14px; background: #fff; }
.data-list > div { display: grid; gap: 0.3rem 1.5rem; padding: 1rem 1.25rem; border-top: 1px solid var(--paper-line); }
.data-list > div:first-child { border-top: 0; }
.data-list dt { font-weight: 700; }
.data-list dd { margin: 0; }
.data-list dd small { display: block; margin-top: 0.25rem; color: var(--ink-muted); font-size: 0.9rem; }
@media (min-width: 40rem) { .data-list > div { grid-template-columns: 11.5rem 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--paper-line); border-radius: 14px; background: #fff; }
.table-wrap table { width: 100%; min-width: 31rem; border-collapse: collapse; font-size: 0.96rem; }
.table-wrap th, .table-wrap td { padding: 0.8rem 1rem; border-top: 1px solid var(--paper-line); text-align: left; vertical-align: top; }
.table-wrap thead th { border-top: 0; background: #eef3f7; color: var(--ink-muted); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.table-wrap tbody th { font-weight: 700; }

/* Narrow screens: one block per row instead of a sideways-scrolling table. */
@media (max-width: 40rem) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { padding: 0.95rem 1.1rem; border-top: 1px solid var(--paper-line); }
  .table-wrap tbody tr:first-child { border-top: 0; }
  .table-wrap th, .table-wrap td { padding: 0; border: 0; }
  .table-wrap tbody th { font-size: 1.02rem; }
  .table-wrap td { margin-top: 0.55rem; }
  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    color: var(--ink-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

.note { color: var(--ink-muted); font-size: 0.95rem; }

/* 16. 404 -------------------------------------------------------------------- */
.notfound { display: grid; min-height: 68vh; place-items: center; padding-block: 4rem; text-align: center; }
.notfound .code { color: var(--amber); font-family: var(--font-display); font-size: clamp(5.5rem, 24vw, 10rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.notfound h1 { margin-top: 0.5rem; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.notfound p { max-width: 28rem; margin: 1rem auto 2rem; color: var(--muted); }

/* 17. Motion -------------------------------------------------------------------
   CSS only: the site has no JavaScript. Every animation is inside
   prefers-reduced-motion: no-preference, so people who ask for less motion get
   the finished picture. Scroll-linked effects are also inside @supports, so
   browsers without scroll timelines show the content as it is. Keyframes move
   transform, translate, scale, opacity, clip-path and stroke-dashoffset only.
   Elements that scroll-linked effects sit in use overflow: clip, not hidden:
   hidden would make the box a scroll container and stall view() timelines. */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
  }

  /* Hero: the copy rises in, the headline route draws, the phone settles. */
  .hero-copy > * { animation: rise 0.8s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.07s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.21s; }
  .hl-route { animation: wipe 0.9s var(--ease-out) 0.75s both; }
  .hero-media .phone { animation: rise-phone 1s var(--ease-out) 0.15s both; }

  /* Hero phone: the route draws, the pin drops and the sheet slides up, then the
     driver drives the route on a loop. Without motion the car stays at 186,138. */
  .hero .phone-sheet { animation: sheet-up 0.8s var(--ease-out) 0.45s both; }
  .hero .route-line { stroke-dasharray: 310 400; animation: draw 1.3s var(--ease-in-out) 0.7s both; }
  .hero .map-pin { animation: pin-drop 0.7s var(--ease-spring) 1.85s both; }
  .map-car--hero { animation: car-hero 9s linear 2.4s infinite both; }
  .map-car--tile { animation: car-tile 8s linear infinite both; }

  /* Driver mockup: the request dot blinks, the accept button sends out a ring. */
  .ph-pill::before { animation: blink 1.6s ease-in-out infinite; }
  .ph-btn--accept::after { animation: ring 2.4s var(--ease-out) infinite; }

  /* FAQ: answers fade in; the panel grows where ::details-content exists. */
  .faq details[open] .answer { animation: fade-down 0.35s var(--ease-out) both; }
  @supports selector(::details-content) {
    .faq details::details-content {
      block-size: 0;
      overflow-y: clip;
      transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; }
  }

  @supports (animation-timeline: view()) {
    /* Blocks rise in as they scroll into view; siblings on one row are staggered. */
    .band-head, .ride, .route-step, .tile, .specs li, .faq-aside, .faq details, .get-app-copy, .app, .test-copy, .test-video {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
    .ride:nth-child(2), .route-step:nth-child(2), .tile:nth-child(2), .tile:nth-child(5), .specs li:nth-child(even) {
      animation-range: entry 10% cover 32%;
    }
    .ride:nth-child(3), .route-step:nth-child(3), .tile:nth-child(3), .tile:nth-child(6) {
      animation-range: entry 20% cover 36%;
    }

    /* How it works: the road draws, the markers arrive one after another. */
    .route::before { animation: grow-y linear both; animation-timeline: view(); animation-range: cover 10% cover 55%; }
    .marker { animation: pop linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .route-step:nth-child(2) .marker { animation-range: cover 10% cover 32%; }
    .route-step:nth-child(3) .marker { animation-range: cover 18% cover 38%; }
    @media (min-width: 52rem) {
      .route::before { animation-name: grow-x; animation-range: entry 60% cover 45%; }
    }

    /* Driver mockup: the route draws and the request pops in as the phone arrives. */
    .drive .route-line { stroke-dasharray: 310 400; animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .ph-pill { animation: pop linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }

    /* Rating tile: the stars fill one after another. */
    .ui-stars svg { animation: star linear both; animation-timeline: view(); animation-range: entry 100% cover 30%; }
    .ui-stars svg:nth-child(2) { animation-range: cover 12% cover 33%; }
    .ui-stars svg:nth-child(3) { animation-range: cover 15% cover 36%; }
    .ui-stars svg:nth-child(4) { animation-range: cover 18% cover 39%; }
    .ui-stars svg:nth-child(5) { animation-range: cover 21% cover 42%; }

    /* Header hairline: appears once the page has scrolled a little. */
    .site-header::after { animation: fade-in linear both; animation-timeline: scroll(root); animation-range: 0px 80px; }
  }
}

@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes rise-phone { from { opacity: 0; translate: 0 28px; scale: 0.97; } }
@keyframes wipe {
  from { clip-path: inset(-50% 100% -50% 0); }
  to { clip-path: inset(-50% -2% -50% 0); }
}
@keyframes sheet-up { from { opacity: 0; translate: 0 45%; } }
@keyframes draw { from { stroke-dashoffset: 311; } to { stroke-dashoffset: 0; } }
@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-22px); }
  40% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
/* Constant speed along M74 214V180H186V92H262 (310 units), as offsets from 186,138. */
@keyframes car-hero {
  0% { opacity: 0; transform: translate(-112px, 76px); }
  4% { opacity: 1; }
  8.8% { transform: translate(-112px, 42px); }
  37.7% { transform: translate(0, 42px); }
  60.4% { transform: translate(0, -46px); }
  80% { transform: translate(76px, -46px); }
  92% { opacity: 1; transform: translate(76px, -46px); }
  100% { opacity: 0; transform: translate(76px, -46px); }
}
/* Constant speed along M36 180H186V134H262 (272 units), as offsets from 120,180. */
@keyframes car-tile {
  0% { opacity: 0; transform: translate(-84px, 0); }
  5% { opacity: 1; }
  44.1% { transform: translate(66px, 0); }
  57.6% { transform: translate(66px, -46px); }
  80% { transform: translate(142px, -46px); }
  92% { opacity: 1; transform: translate(142px, -46px); }
  100% { opacity: 0; transform: translate(142px, -46px); }
}
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes ring {
  0% { opacity: 0.8; scale: 1; }
  70%, 100% { opacity: 0; scale: 1.06 1.5; }
}
@keyframes fade-down { from { opacity: 0; translate: 0 -6px; } }
@keyframes reveal { from { opacity: 0; translate: 0 26px; } }
@keyframes grow-x { from { scale: 0 1; } }
@keyframes grow-y { from { scale: 1 0; } }
@keyframes pop { from { opacity: 0; scale: 0.3; } }
@keyframes star { from { opacity: 0.2; scale: 0.55; } }
@keyframes fade-in { from { opacity: 0; } }

/* 18. Print (the privacy policy is often printed or saved as PDF) --------------- */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header, .site-footer, .toc, .skip-link, .legal-hero .eyebrow, .legal-hero::before { display: none !important; }
  body, .page-legal { background: #fff; color: #000; }
  .legal-hero { padding: 0 0 1rem; background: none; color: #000; }
  .legal-lead, .legal-meta, .legal-meta strong { color: #000; }
  .legal-wrap { display: block; padding-block: 0; }
  .prose a { text-decoration: underline; }
  .prose a[href^="http"]::after, .prose a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .callout, .data-list, .table-wrap, .app-steps-card { break-inside: avoid; }
  .prose h2, .prose h3 { break-after: avoid; }
}
