/* Routava — routava.app. The app's identity (apps/mobile/src/theme.ts): motorway-sign green for the brand and the calm state,
   one amber-orange for the one thing that matters (a missing vignette), grey for what cannot be known; Barlow Semi Condensed
   for headings and plates, Barlow for text. Self-hosted fonts (SIL OFL, assets/fonts/OFL.txt): nothing loads from elsewhere. */

@font-face { font-family: "Barlow"; src: url("fonts/Barlow_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/BarlowSemiCondensed_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/BarlowSemiCondensed_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0f1d17;
  --text: #3a4a43;
  --muted: #5f6f68;
  --faint: #8a968f;
  --line: #d9e2dd;
  --line-soft: #e8eeea;
  --bg: #ffffff;
  --ground: #f1f4f2;
  --soft: #f5f8f6;

  --green: #0f6e4f;
  --green-hover: #0b5a40;
  --green-sky: #17936a;
  --green-deep: #083d2c;
  --green-soft: #e3f2ea;
  --mint: #7fd8ae;
  --amber: #b8400f;
  --amber-bright: #e8641f;
  --amber-night: #ffa04d;
  --amber-soft: #fdeae0;
  --grey-soft: #eef1ef;

  --night: #06201a;
  --night-2: #0b2c23;
  --night-line: #1d4236;
  --night-text: #a9c4b8;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 23, 0.05), 0 1px 3px rgba(15, 29, 23, 0.07);
  --shadow: 0 12px 28px -10px rgba(15, 29, 23, 0.18), 0 4px 10px -4px rgba(15, 29, 23, 0.08);
  --shadow-lg: 0 32px 64px -20px rgba(15, 29, 23, 0.28), 0 10px 22px -10px rgba(15, 29, 23, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --head: "Barlow Semi Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --body: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green-sky); outline-offset: 3px; border-radius: 6px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 17px/1 var(--body);
  padding: 15px 22px; border-radius: 12px; text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 110, 79, 0.6); }
.btn-primary:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 10px; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line-soft); background: rgba(255, 255, 255, 0.86); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 10px -4px rgba(15, 110, 79, 0.6); }
.brand-word { font: 700 25px/1 var(--head); color: var(--ink); letter-spacing: -0.2px; }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a, .link-quiet { font-size: 16px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav a:hover, .link-quiet:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; padding: 140px 0 96px; overflow: hidden; }
.hero-road {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(23, 147, 106, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(127, 216, 174, 0.18), transparent 70%),
    linear-gradient(180deg, #f6faf8 0%, #fff 70%);
}
.hero-road::after {
  /* a road to the horizon, faint: the mark's own perspective */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1400px; height: 420px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 420'%3E%3Cpath d='M0 420 690 0h20L1400 420Z' fill='%230f6e4f' fill-opacity='.035'/%3E%3Cpath d='M700 12v26M700 70v40M700 150v58M700 250v80M700 370v50' stroke='%230f6e4f' stroke-opacity='.12' stroke-width='6'/%3E%3C/svg%3E") center bottom / contain no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 15px; font-weight: 600; color: var(--green);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-sky); box-shadow: 0 0 0 4px rgba(23, 147, 106, 0.18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(23, 147, 106, 0.06); } }
.hero h1 { font-size: clamp(54px, 8.4vw, 112px); line-height: 0.92; letter-spacing: -2px; margin: 26px 0 26px; }
.hero h1 .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .si { display: inline-block; }
.hero h1 .accent { color: var(--green-sky); }
.lead { font-size: 21px; line-height: 1.5; color: var(--text); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 16px; font-weight: 500; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { width: 18px; height: 18px; color: var(--green-sky); stroke-width: 2.6; }

.motion [data-intro] { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease-out) forwards; animation-delay: var(--delay, 0ms); }
.motion .hero h1 .si { transform: translateY(105%); animation: word 0.95s var(--ease-out) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes word { to { transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green-sky); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* Plates ------------------------------------------------------------------ */
.plate {
  display: inline-flex; align-items: stretch; border-radius: 6px; overflow: hidden; background: #fff;
  border: 1.5px solid #1b2b24; font-family: var(--head); color: #111; line-height: 1;
}
.plate-eu { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; background: #1d4fb3; color: #fff; font-weight: 600; }
.plate b { display: flex; align-items: center; font-weight: 700; letter-spacing: 0.08em; }
.plate-sm { font-size: 13px; }
.plate-sm .plate-eu { width: 15px; font-size: 7px; padding: 2px 0; }
.plate-sm .plate-eu svg { width: 9px; height: 9px; }
.plate-sm b { padding: 3px 7px; }
.plate-lg { font-size: 30px; border-width: 2px; border-radius: 8px; }
.plate-lg .plate-eu { width: 30px; font-size: 13px; padding: 4px 0; gap: 3px; }
.plate-lg .plate-eu svg { width: 20px; height: 20px; }
.plate-lg b { padding: 8px 16px; min-width: 200px; }
.caret { width: 2px; align-self: center; height: 26px; margin-right: 14px; margin-left: -10px; background: var(--green-sky); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* The phone --------------------------------------------------------------- */
.showcase { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.phone {
  position: relative; width: 310px; height: 640px; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a302d, #0c100e 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3d4541;
}
.ph-screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden; padding: 14px 16px 18px;
  background: var(--ground); display: flex; flex-direction: column; gap: 12px;
}
.ph-status { display: flex; align-items: center; justify-content: space-between; font: 600 14px/1 var(--body); color: var(--ink); padding: 4px 10px 0; }
.ph-island { width: 92px; height: 26px; border-radius: 14px; background: #000; }
.ph-sys { display: flex; gap: 3px; align-items: flex-end; }
.ph-sys b { width: 4px; background: var(--ink); border-radius: 1px; }
.ph-sys b:nth-child(1) { height: 5px; } .ph-sys b:nth-child(2) { height: 8px; } .ph-sys b:nth-child(3) { height: 11px; }
.ph-head { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ph-title { font: 700 30px/1 var(--head); color: var(--ink); }
.ph-tile {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.ph-flag { font-size: 26px; line-height: 1; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--green-soft); }
.ph-tile-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ph-tile-text b { font: 700 18px/1.1 var(--head); color: var(--ink); }
.ph-tile-text small { font-size: 13px; color: var(--muted); }
.ph-tile-ic { color: var(--green); stroke-width: 2.6; }
.ph-next { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 14px 16px 16px; box-shadow: var(--shadow-sm); transition: border-color 0.4s, box-shadow 0.4s; }
.ph-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ph-country { font: 700 22px/1.2 var(--head); color: var(--ink); margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.ph-dist { font: 700 64px/1 var(--head); color: var(--ink); letter-spacing: -1.5px; margin: 6px 0 10px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; transition: color 0.4s; }
.ph-dist span { font-size: 24px; letter-spacing: 0; color: var(--muted); }
.ph-road { position: relative; height: 26px; }
.ph-road-line { position: absolute; left: 0; right: 0; top: 9px; height: 8px; border-radius: 4px; background: var(--grey-soft); }
.ph-road-line::after { content: ""; position: absolute; left: 6px; right: 6px; top: 3.5px; border-top: 1.5px dashed #b8c4be; }
.ph-border { position: absolute; right: 22%; top: 0; bottom: 0; width: 2px; background: var(--amber); border-radius: 1px; }
.ph-border span { position: absolute; top: -14px; font: 600 9px/1 var(--body); color: var(--muted); }
.ph-border span:first-child { right: 6px; } .ph-border span:last-child { left: 6px; }
.ph-car { position: absolute; top: 5px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(15, 110, 79, 0.25); transform: translateX(var(--x, 0px)); }
.ph-verdict {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); transition: background 0.45s var(--ease), border-color 0.45s, transform 0.45s var(--spring);
}
.ph-verdict-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); flex: none; transition: background 0.45s, color 0.45s; }
.ph-verdict-ic .i { width: 18px; height: 18px; }
.ph-verdict-text { display: flex; flex-direction: column; }
.ph-verdict-text b { font: 700 17px/1.15 var(--head); color: var(--ink); transition: color 0.45s; }
.ph-verdict-text small { font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; transition: color 0.45s; }
.ph-exit {
  display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.ph-exit .i { color: var(--amber); }
.ph-exit span { display: flex; flex-direction: column; }
.ph-exit b { font: 700 15px/1.15 var(--head); color: var(--ink); }
.ph-exit small { font-size: 12.5px; color: var(--muted); }
.near .ph-next { border-color: rgba(184, 64, 15, 0.45); box-shadow: 0 0 0 4px rgba(184, 64, 15, 0.08); }
.near .ph-dist { color: var(--amber); }
.near .ph-verdict { background: var(--amber); border-color: var(--amber); transform: scale(1.02); }
.near .ph-verdict-ic { background: rgba(255, 255, 255, 0.18); color: #fff; }
.near .ph-verdict-text b, .near .ph-verdict-text small { color: #fff; }
.near .ph-exit { opacity: 1; transform: none; }

/* Floats ------------------------------------------------------------------ */
.float {
  position: absolute; display: flex; gap: 12px; align-items: center; z-index: 2;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg);
}
.float-app { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: none; }
.float-app svg { width: 100%; height: 100%; }
.float-text { display: flex; flex-direction: column; min-width: 0; }
.float-top { display: flex; justify-content: space-between; gap: 18px; font-size: 12px; color: var(--muted); }
.float-top b { font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.float-title { font: 700 17px/1.2 var(--head); color: var(--ink); }
.float-sub { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.float-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex: none; }
.float-note { top: 26px; right: -48px; width: 300px; }
.float-voice { bottom: 26px; left: -40px; }
.motion .float-note, .motion .float-voice { opacity: 0; transform: translateY(-14px) scale(0.96); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--spring); }
.motion .float-voice { transform: translateY(14px) scale(0.96); }
.motion .showcase.near .float-note, .motion .showcase.near .float-voice { opacity: 1; transform: none; }
.motion .showcase.near .float-voice { transition-delay: 0.5s; }

/* The watch --------------------------------------------------------------- */
.watch {
  position: relative; width: 168px; height: 200px; border-radius: 52px; padding: 10px;
  background: linear-gradient(150deg, #3a3f3c, #121614 65%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #4a514d;
}
.watch::after { content: ""; position: absolute; right: -6px; top: 58px; width: 7px; height: 30px; border-radius: 3px; background: #2a2f2c; }
.watch-screen { height: 100%; border-radius: 42px; background: #000; padding: 20px 12px 12px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.w-car { font: 600 10px/1 var(--body); letter-spacing: 0.06em; color: #8f9a95; text-align: center; margin-bottom: 2px; }
.w-tile { border-radius: 14px; padding: 7px 10px; display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: center; }
.w-tile span { grid-row: span 2; font-size: 18px; }
.w-tile b { font: 700 14px/1.1 var(--head); color: #fff; }
.w-tile small { font-size: 11px; line-height: 1.2; }
.w-tile.ok { background: rgba(127, 216, 174, 0.18); } .w-tile.ok small { color: var(--mint); }
.w-tile.warn { background: rgba(255, 160, 77, 0.26); } .w-tile.warn small { color: var(--amber-night); }
.hero-watch { position: absolute; right: 2px; bottom: 6px; transform: rotate(4deg) scale(0.9); z-index: 3; }

/* Numbers ----------------------------------------------------------------- */
.numbers { border-block: 1px solid var(--line-soft); background: #fff; }
.numbers-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 34px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line-soft); }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { font: 700 48px/1 var(--head); color: var(--ink); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.num span { font-size: 16px; color: var(--muted); }

/* Sections ---------------------------------------------------------------- */
.section { padding: 120px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -1px; }
.section-lead { font-size: 20px; color: var(--muted); margin-top: 18px; }
.section-lead a { color: var(--green); font-weight: 600; }

.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--delay, 0ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* How it works: steps on the left, one visual that follows them on the right */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 28px; border-left: 2px solid var(--line-soft); transition: border-color 0.4s; }
.step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 8vh; }
.step-n { font: 700 16px/1 var(--head); color: var(--faint); letter-spacing: 0.08em; transition: color 0.4s; }
.step h3 { font-size: 40px; line-height: 1.05; margin: 12px 0 14px; color: var(--faint); transition: color 0.4s; }
.step p { font-size: 19px; color: var(--faint); max-width: 30em; transition: color 0.4s; }
.step.on { border-left-color: var(--green); }
.step.on .step-n { color: var(--green); }
.step.on h3 { color: var(--ink); }
.step.on p { color: var(--text); }
.story-visual { position: sticky; top: 110px; height: 600px; }
.sv-card {
  position: absolute; inset: 0; margin: auto; width: 100%; max-width: 460px; height: fit-content; max-height: 100%;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 28px;
  opacity: 0; transform: translateY(24px) scale(0.97); pointer-events: none;
  transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
}
.story-visual[data-step="1"] .sv-1, .story-visual[data-step="2"] .sv-2, .story-visual[data-step="3"] .sv-3, .story-visual[data-step="4"] .sv-4 { opacity: 1; transform: none; pointer-events: auto; }
.sv-title { font: 700 26px/1 var(--head); color: var(--ink); margin-bottom: 22px; }
.sv-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.sv-field > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sv-select { padding: 13px 16px; border-radius: 12px; background: var(--ground); font-weight: 600; color: var(--ink); }
.sv-hint { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: 16px; opacity: 0; transition: opacity 0.4s; }
.sv-hint .i { width: 18px; height: 18px; stroke-width: 2.6; }
.typed .sv-hint { opacity: 1; }
.sv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.sv-list li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 11px; background: var(--ground); }
.sv-list li span { font-size: 20px; }
.sv-list li b { font: 600 17px/1 var(--head); color: var(--ink); }
.sv-list li em { font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.sv-list li.ok em { color: var(--green); background: var(--green-soft); }
.sv-list li.warn em { color: var(--amber); background: var(--amber-soft); }
.sv-list li.na em { color: var(--muted); background: #fff; border: 1px dashed var(--faint); }
.sv-list li.wait em { color: var(--faint); background: #fff; }
.sv-list li.wait em::before { content: "Checking…"; }
.sv-list li.wait em > * { display: none; }
.sv-map { width: 100%; border-radius: 16px; background: var(--ground); }
.sv-land.a { fill: #e3eee8; } .sv-land.b { fill: #f6ebe5; }
.sv-borderline { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 9 4 1 4; stroke-linecap: round; }
.sv-zone { fill: rgba(184, 64, 15, 0.08); stroke: rgba(184, 64, 15, 0.35); stroke-width: 1.5; stroke-dasharray: 4 4; }
.sv-route { fill: none; stroke: #9fb3a9; stroke-width: 5; stroke-linecap: round; }
.sv-dot { fill: var(--green); stroke: #fff; stroke-width: 3; }
.sv-cc { font: 700 18px var(--head); fill: var(--faint); }
.sv-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: opacity 0.35s, background 0.35s; }
.chip .i { width: 18px; height: 18px; }
.chip-off { background: var(--green-soft); color: var(--green); }
/* the state not in force is grey, not faded: faded words fell below a readable contrast */
.chip-on { background: var(--ground); color: var(--muted); }
.in-zone .chip-off { background: var(--ground); color: var(--muted); }
.in-zone .chip-on { background: var(--amber-soft); color: var(--amber); }
.in-zone .sv-zone { fill: rgba(184, 64, 15, 0.16); }
.sv-4 { padding: 0; overflow: hidden; background: linear-gradient(160deg, #1d3b30, #0b1a14 60%, #2b1a10); border: 0; }
.sv-lock { padding: 34px 22px 30px; min-height: 420px; display: flex; flex-direction: column; gap: 16px; }
.sv-time { font: 600 76px/1 var(--head); color: rgba(255, 255, 255, 0.92); text-align: center; letter-spacing: -1px; margin-bottom: 22px; }
.sv-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px); }
.sv-banner > span:last-child { display: flex; flex-direction: column; }
.sv-banner b { font: 700 18px/1.2 var(--head); color: var(--ink); }
.sv-banner small { font-size: 14px; color: var(--text); line-height: 1.35; }
.sv-voice { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 16px; font-weight: 500; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); }
.sv-voice .i { color: var(--mint); }
.motion .sv-4 .sv-banner, .motion .sv-4 .sv-voice { opacity: 0; transform: translateY(-12px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--spring); }
.motion [data-step="4"] .sv-4 .sv-banner { opacity: 1; transform: none; transition-delay: 0.35s; }
.motion [data-step="4"] .sv-4 .sv-voice { opacity: 1; transform: none; transition-delay: 0.9s; }

/* Screens ----------------------------------------------------------------- */
.screen-tabs { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 40px; width: fit-content; max-width: 100%; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow-x: auto; }
.screen-tabs button {
  position: relative; overflow: hidden; border: 0; background: transparent; cursor: pointer; white-space: nowrap; flex: none;
  font: 600 16px/1 var(--body); color: var(--muted); padding: 12px 18px; border-radius: 11px; transition: color 0.2s, background 0.2s;
}
.screen-tabs button[aria-selected="true"] { background: var(--ground); color: var(--ink); }
.screen-tabs button i { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; }
.screen-tabs button[aria-selected="true"] i { animation: tabfill var(--tab-ms, 6000ms) linear forwards; }
.screens.paused .screen-tabs button i { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }
.panel { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.panel[hidden] { display: none; }
.car-scroll { width: 100%; display: flex; justify-content: center; }
.motion .panel:not([hidden]) > * { animation: rise 0.7s var(--ease-out) both; }
.motion .panel:not([hidden]) > .panel-note { animation-delay: 0.12s; }
.panel-row { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; }
.panel-note { max-width: 640px; text-align: center; color: var(--muted); font-size: 18px; }
.panel-note b { color: var(--ink); }

/* The car's screen, after the real CarPlay captures (iOS 26, 1920 by 720) */
.car-display {
  width: 100%; max-width: 980px; aspect-ratio: 8 / 3; border-radius: 30px; padding: 14px; display: flex; gap: 14px;
  background: radial-gradient(120% 140% at 70% 30%, #3e3b5c 0%, #262438 45%, #1a1a26 100%);
  box-shadow: var(--shadow-lg), 0 0 0 10px #101214, 0 0 0 11px #2b2f2d;
  color: #fff; font-family: -apple-system, "SF Pro Text", var(--body);
  container-type: inline-size; overflow: hidden;
}
.cp-dock { width: 7.5%; min-width: 46px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; }
.cp-time { font-size: clamp(11px, 1.6cqw, 17px); font-weight: 600; margin-bottom: 8px; }
.cp-app { width: 60%; aspect-ratio: 1; border-radius: 22%; }
.cp-app.maps { background: linear-gradient(135deg, #7ddc8b, #47a7f5); }
.cp-app.music { background: linear-gradient(135deg, #ff5f6d, #ff2d55); }
.cp-app.rv { overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); }
.cp-app.rv svg { width: 100%; height: 100%; }
.cp-main { flex: 1; display: flex; flex-direction: column; gap: 1.8cqw; padding: 0.4cqw 4cqw 0 2cqw; min-width: 0; }
.cp-tabs { align-self: center; display: flex; gap: 0.4cqw; padding: 0.5cqw; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.12); font-size: clamp(10px, 1.9cqw, 19px); font-weight: 500; }
.cp-tabs span { padding: 0.8cqw 1.8cqw; border-radius: 999px; color: rgba(255, 255, 255, 0.9); }
.cp-tabs .on { background: rgba(0, 0, 0, 0.45); }
.cp-header { display: flex; gap: 2.2cqw; align-items: center; }
.cp-thumb { width: 14cqw; aspect-ratio: 1; border-radius: 2cqw; display: grid; place-items: center; font-size: 6cqw; background: linear-gradient(160deg, rgba(127, 216, 174, 0.28), rgba(15, 110, 79, 0.18)); border: 1px solid rgba(255, 255, 255, 0.14); }
.cp-head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4cqw; }
.cp-head-text b { font-size: 3.1cqw; font-weight: 600; }
.cp-head-text small { font-size: 2cqw; color: rgba(255, 255, 255, 0.62); }
.cp-head-text em { font-style: normal; font-size: 2cqw; }
.cp-car { margin-top: 0.8cqw; padding: 0.9cqw 3.2cqw; border-radius: 999px; background: #fff; color: #23232d; font-size: 2.3cqw; font-weight: 600; }
.cp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; }
.cp-card { display: flex; align-items: center; gap: 1.4cqw; padding: 1cqw 1.6cqw 1cqw 1cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, 0.1); min-width: 0; }
.cp-card > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cp-card b { font-size: 2.1cqw; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-card small { font-size: 1.6cqw; color: rgba(255, 255, 255, 0.6); }
.cp-card .i { width: 2.2cqw; height: 2.2cqw; color: rgba(255, 255, 255, 0.55); }
.cp-flag { position: relative; width: 5cqw; aspect-ratio: 1; border-radius: 1.1cqw; display: grid; place-items: center; font-size: 2.6cqw; background: rgba(255, 255, 255, 0.12); flex: none; }
.cp-card.warn .cp-flag, .aa-row.warn .cp-flag { background: rgba(232, 100, 31, 0.6); }
.cp-flag i { position: absolute; right: -0.3cqw; bottom: -0.3cqw; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--amber-bright); border: 1.5px solid #fff; }
.cp-flag i::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.3cqw; font-weight: 800; font-style: normal; color: #fff; }
.cp-row { display: flex; gap: 2cqw; align-items: center; }
.cp-row > span:last-child { display: flex; flex-direction: column; }
.cp-row b { font-size: 2.6cqw; font-weight: 500; }
.cp-row small { font-size: 1.9cqw; color: rgba(255, 255, 255, 0.62); }
.cp-bell { width: 7cqw; aspect-ratio: 1; border-radius: 1.6cqw; display: grid; place-items: center; background: linear-gradient(160deg, #2a9a6e, #0f6e4f); }
.cp-bell .i { width: 3cqw; height: 3cqw; color: #fff; }

.car-display.aa { background: #101418; box-shadow: var(--shadow-lg), 0 0 0 10px #0c0d0e, 0 0 0 11px #2b2f2d; font-family: var(--body); }
.aa-rail { width: 8%; min-width: 46px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.aa-main { flex: 1; display: flex; flex-direction: column; gap: 2cqw; padding: 1cqw 2cqw; min-width: 0; }
.aa-tabs { display: flex; gap: 3cqw; font-size: 2.1cqw; font-weight: 600; color: rgba(255, 255, 255, 0.6); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.aa-tabs span { padding: 1cqw 0; }
.aa-tabs .on { color: #8ab4f8; box-shadow: inset 0 -3px 0 #8ab4f8; }
.aa-pane { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2cqw; min-height: 0; }
.aa-rows { display: flex; flex-direction: column; gap: 1cqw; }
.aa-row { display: flex; gap: 1.6cqw; align-items: center; padding: 1.3cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, 0.06); }
.aa-row > span:last-child { display: flex; flex-direction: column; }
.aa-row b { font-size: 2.2cqw; font-weight: 600; }
.aa-row small { font-size: 1.7cqw; color: rgba(255, 255, 255, 0.6); }
.aa-big { border-radius: 2cqw; background: linear-gradient(160deg, rgba(127, 216, 174, 0.25), rgba(15, 110, 79, 0.2)); display: grid; place-items: center; font-size: 12cqw; }

.watch-lg { width: 210px; height: 250px; border-radius: 62px; }
.watch-lg .watch-screen { border-radius: 52px; padding: 26px 16px 16px; gap: 8px; }
.watch-lg .w-car { font-size: 11px; }
.watch-lg .w-tile b { font-size: 16px; } .watch-lg .w-tile small { font-size: 12.5px; } .watch-lg .w-tile span { font-size: 22px; }
.watch-alert .watch-screen { align-items: center; justify-content: center; text-align: center; gap: 8px; background: radial-gradient(circle at 50% 30%, #4a2410, #000 70%); }
.wa-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-night); color: #1a0d00; }
.wa-ic .i { width: 28px; height: 28px; stroke-width: 2.4; }
.watch-alert b { font: 700 20px/1.1 var(--head); color: #fff; }
.watch-alert small { font-size: 13px; color: var(--amber-night); }

.widget { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line-soft); }
.widget-s { width: 170px; height: 170px; display: flex; flex-direction: column; }
.widget-m { width: 360px; height: 170px; }
.wg-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.wg-flag { font-size: 28px; margin-top: 8px; }
.wg-big { font: 700 34px/1 var(--head); color: var(--amber); margin-top: auto; }
.wg-sub { font-size: 13px; color: var(--muted); }
.widget-m ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.widget-m li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; }
.widget-m li span { font-size: 20px; }
.widget-m li b { font: 600 18px/1 var(--head); color: var(--ink); }
.widget-m li em { font-style: normal; font: 700 18px/1 var(--head); color: var(--green); }
.widget-m li:first-child em { color: var(--amber); }

/* Countries --------------------------------------------------------------- */
.countries-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.legend { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 16px; font-weight: 500; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 5px; }
.lg.ok { background: #bfe3cf; border: 1.5px solid var(--green); }
.lg.warn { background: #f7c9ad; border: 1.5px solid var(--amber); }
.lg.na { background: #fff; border: 1.5px dashed var(--faint); }
.lg.pt { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.map-summary { margin-top: 22px; font-size: 17px; color: var(--muted); }
.map-summary b { color: var(--green); } .map-summary b.w { color: var(--amber); } .map-summary b.n { color: var(--muted); }
.map { position: relative; }
.map-svg { width: 100%; height: auto; overflow: visible; }
.cty { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; fill: var(--grey-soft); transition: fill 0.6s var(--ease), opacity 0.6s; }
.cty[data-status="ok"] { fill: #cfe9db; }
.cty[data-status="warn"] { fill: #f9d6c1; }
.cty[data-status="na"] { fill: #f3f5f4; stroke: #b7c2bc; stroke-dasharray: 3 3; }
.cty:hover { filter: brightness(0.96); }
.pt { fill: rgba(15, 29, 23, 0.32); }
.pt-m { fill: var(--green); stroke: #fff; stroke-width: 1.2; }
.map-labels text { font: 700 17px var(--head); fill: rgba(15, 29, 23, 0.55); text-anchor: middle; dominant-baseline: middle; pointer-events: none; letter-spacing: 0.04em; }
.motion .map .cty { opacity: 0; }
.motion .map .pt { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.motion .map.in .cty { opacity: 1; }
.motion .map.in .pt { opacity: 1; transform: none; transition: opacity 0.4s, transform 0.5s var(--spring); transition-delay: calc(400ms + var(--i) * 28ms); }

/* Privacy (dark) ---------------------------------------------------------- */
.section-dark { background: radial-gradient(80% 60% at 50% 0%, #0f3a2c, var(--night) 70%); color: var(--night-text); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--mint); }
.section-dark .section-lead { color: var(--night-text); }
.flow { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 72px; max-width: 1040px; }
.flow-phone { flex: none; width: 300px; border-radius: 28px; padding: 22px; background: rgba(127, 216, 174, 0.07); border: 1.5px solid rgba(127, 216, 174, 0.4); box-shadow: 0 0 0 8px rgba(127, 216, 174, 0.05); }
.flow-label { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--head); color: #fff; }
.flow-label .i { color: var(--mint); }
.flow-keep { list-style: none; margin: 18px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flow-keep li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #dff3ea; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.flow-keep .i { width: 17px; height: 17px; color: var(--mint); }
.flow-stays { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mint); }
.flow-stays .i { width: 16px; height: 16px; }
.flow-wire { position: relative; flex: 1; min-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--night-line) 0 8px, transparent 8px 14px); }
.flow-wire.short { flex: 0.5; min-width: 60px; }
.flow-node { flex: none; padding: 18px 20px; border-radius: 20px; background: var(--night-2); border: 1px solid var(--night-line); }
.flow-small { font-size: 14px; margin-top: 6px; }
.packet { position: absolute; top: 50%; left: 0; transform: translate(0, -50%); white-space: nowrap; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; opacity: 0; }
.packet.out { background: #fff; color: var(--ink); }
.packet.out b { font-family: var(--head); letter-spacing: 0.06em; }
.packet.back { background: var(--amber-night); color: #1a0d00; }
.packet.out2 { width: 12px; height: 12px; padding: 0; background: #fff; }
.motion .flow.in .packet.out { animation: go-out 6s var(--ease) infinite; }
.motion .flow.in .packet.out2 { animation: go-out2 6s var(--ease) infinite; }
.motion .flow.in .packet.back { animation: go-back 6s var(--ease) infinite; }
@keyframes go-out { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 30% { left: calc(100% - 120px); opacity: 1; } 36%, 100% { left: calc(100% - 120px); opacity: 0; } }
@keyframes go-out2 { 0%, 34% { left: 0; opacity: 0; } 38% { opacity: 1; } 52% { left: calc(100% - 12px); opacity: 1; } 56%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes go-back { 0%, 58% { left: calc(100% - 150px); opacity: 0; } 62% { opacity: 1; } 90% { left: 0; opacity: 1; } 96%, 100% { left: 0; opacity: 0; } }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-dark { padding: 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--night-line); }
.cd-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(127, 216, 174, 0.12); color: var(--mint); margin-bottom: 18px; }
.card-dark h3 { font-size: 26px; line-height: 1.1; margin-bottom: 12px; }
.card-dark p { font-size: 17px; }

/* FAQ --------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 700 23px/1.25 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 40px 24px 0; color: var(--text); }

/* Get --------------------------------------------------------------------- */
.get { padding: 40px 0 120px; }
.get-inner {
  text-align: center; padding: 72px 32px; border-radius: 32px;
  background: radial-gradient(70% 90% at 50% 0%, #17936a, var(--green) 55%, var(--green-deep)); color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg);
}
.get-mark { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 26px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14); }
.get h2 { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -1px; }
.get-inner > p { max-width: 36em; margin: 18px auto 0; font-size: 19px; }
.get-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); text-align: left; }
.store-badge span { display: flex; flex-direction: column; font: 700 20px/1.05 var(--head); }
.store-badge small { font: 500 12px/1 var(--body); opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }
.get-beta { margin-top: 22px !important; font-size: 17px !important; }
.get-beta a { color: #fff; font-weight: 600; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line-soft); padding: 40px 0 48px; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 16px; }
.footer-nav a:hover { color: var(--ink); }
.footer-note { margin-left: auto; font-size: 14px; color: var(--muted); }
.footer-note a { color: var(--muted); }

/* Smaller screens ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .showcase { margin-top: 20px; }
  /* no sticky picture over the text here: main.js puts each picture under its own step */
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-visual { display: none; }
  .step, .step:first-child { min-height: 0; justify-content: flex-start; padding: 28px 0 40px 20px; }
  .step h3, .step p { color: inherit; }
  .step h3 { color: var(--ink); } .step p { color: var(--text); } .step-n { color: var(--green); }
  .step .sv-card { position: relative; inset: auto; margin: 26px 0 0; width: 100%; max-width: 460px; height: auto; max-height: none; opacity: 1; transform: none; pointer-events: auto; }
  .countries-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-wire { width: 2px; height: 80px; flex: none; min-width: 0; background: repeating-linear-gradient(180deg, var(--night-line) 0 8px, transparent 8px 14px); }
  .flow-wire.short { height: 50px; flex: none; min-width: 0; }
  .packet { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .header-actions .link-quiet { display: none; }
  .hero h1 { letter-spacing: -1px; }
  .lead { font-size: 19px; }
  .float-note { right: 0; top: 10px; width: 260px; }
  .float-voice { left: 0; bottom: 80px; }
  .hero-watch { right: -10px; bottom: -6px; transform: rotate(4deg) scale(0.72); }
  .phone { transform: scale(0.92); transform-origin: top center; margin-bottom: -50px; }
  .numbers-inner { grid-template-columns: 1fr 1fr; }
  .num { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line-soft); }
  .num:nth-child(-n + 2) { border-top: 0; }
  .num:first-child { padding-left: 16px; }
  .num b { font-size: 38px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .sv-card { padding: 20px; }
  .plate-lg { font-size: 24px; } .plate-lg b { min-width: 0; }
  .screen-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .screen-tabs button { font-size: 15px; padding: 12px 10px; }
  .panel:has(.car-display) { align-items: stretch; }
  .car-scroll { overflow-x: auto; padding: 14px 14px 22px; margin: -14px -16px 0; scroll-snap-type: x mandatory; }
  .car-display { min-width: 640px; scroll-snap-align: start; }
  .sv-2 { padding: 16px; } .sv-2 .sv-title { margin-bottom: 12px; font-size: 22px; }
  .sv-list li { padding: 4px 10px; } .sv-list li b { font-size: 15px; } .sv-list li em { font-size: 12px; padding: 3px 8px; }
  .widget-m { width: 100%; max-width: 360px; }
  .flow-phone { width: 100%; }
  .footer-note { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Legal pages (privacy.html, terms.html, support.html and their Slovak versions) ====================== */
.legal { padding: 120px 0 96px; }
.legal-body { max-width: 760px; }
.legal-body h1 { font: 700 clamp(40px, 6vw, 60px)/1 var(--head); letter-spacing: -1px; color: var(--ink); margin: 14px 0 12px; }
.legal-meta { color: var(--faint); font-size: 15px; }
.legal-lang { margin-top: 10px; font-size: 15px; }
.legal-lang a, .legal-body a { color: var(--green); font-weight: 600; }
.legal-body h2 { font: 700 28px/1.15 var(--head); color: var(--ink); margin: 48px 0 12px; }
.legal-body h3 { font: 700 20px/1.2 var(--head); color: var(--ink); margin: 28px 0 8px; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.6; color: var(--text); }
.legal-body p { margin: 10px 0; }
.legal-body ul { margin: 10px 0 10px 1.2em; padding: 0; }
.legal-body li { margin: 6px 0; }
.legal-summary { background: var(--green-soft); border-radius: 18px; padding: 20px 24px; margin: 28px 0 8px; }
.legal-summary p, .legal-summary li { color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 700; color: var(--ink); background: var(--grey-soft); }
.legal-scroll { overflow-x: auto; }
.legal-foot { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Vignette guides (/vignettes/…, /sk/dialnicne-znamky/…, written by tools/build.ts) and the language switch */
.lang-switch { font-weight: 600; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--green); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.guide .lead { font-size: 20px; line-height: 1.55; color: var(--ink); margin: 6px 0 4px; }
.guide-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 8px; }
.guide-facts div { background: var(--green-soft); border-radius: 16px; padding: 14px 16px; }
.guide-facts dt { font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.guide-facts dd { margin: 4px 0 0; font: 700 19px/1.25 var(--head); color: var(--ink); }
.guide-facts dd a { color: var(--green); }
.guide-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.guide-table thead th { font-weight: 700; color: var(--ink); background: var(--grey-soft); white-space: nowrap; }
.guide-table tbody th { font-weight: 600; white-space: nowrap; }
.guide-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.legal-body .faq { margin-top: 4px; }
.legal-body .faq summary { font-size: 20px; padding: 18px 36px 18px 0; }
.legal-body .faq details p { padding-right: 0; }
.guide-cta { display: flex; gap: 22px; align-items: flex-start; margin: 52px 0 8px; padding: 26px 28px; border-radius: 22px; background: var(--green-deep); color: #fff; }
.guide-cta .get-mark { flex: none; width: 56px; height: 56px; margin: 0; border-radius: 14px; }
.guide-cta p { color: rgba(255, 255, 255, 0.86); }
.guide-cta .guide-cta-title { font: 700 26px/1.15 var(--head); color: #fff; margin-top: 0; }
.guide-cta .btn { margin: 6px 8px 0 0; }
/* .legal-body a would paint the buttons' words green on green */
.guide-cta .btn-primary { color: var(--green-deep) !important; background: #fff; box-shadow: none; }
.guide-cta .btn-ghost { color: #fff !important; background: transparent; border-color: rgba(255, 255, 255, 0.55); }
.guide-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 14px 0 0 !important; }
.guide-links li { margin: 0; }
.guide-links a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink) !important; font-weight: 600; }
.guide-links a:hover { border-color: var(--green); background: var(--green-soft); }
.guide-strip { margin-top: 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.guide-strip a { color: var(--green); font-weight: 600; }
@media (max-width: 720px) {
  .guide-cta { flex-direction: column; padding: 22px; }
  .guide-facts { grid-template-columns: minmax(0, 1fr); }
  /* the other links hide on a phone; the language stays */
  .header-actions .link-quiet.lang-switch { display: inline-block; font-size: 14px; }
}
