/* Varordakan Tester — website v2. Visual language: the road-sign system in daylight.
   Built for weak phones: no blur/backdrop filters, transform/opacity-only motion,
   decorative motion disabled in `.lite` and under reduced motion. */

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.966 0.006 255);
  --surface-2: oklch(0.93 0.01 255);
  --line: oklch(0.86 0.012 255);
  --ink: oklch(0.2 0.02 262);
  --muted: oklch(0.45 0.02 262);
  --blue: oklch(0.47 0.165 258);
  --blue-deep: oklch(0.36 0.13 260);
  --blue-tint: oklch(0.94 0.035 258);
  --red: oklch(0.55 0.205 27);
  --red-tint: oklch(0.95 0.035 27);
  --yellow: oklch(0.86 0.165 88);
  --green: oklch(0.56 0.15 152);
  --green-tint: oklch(0.95 0.04 152);
  --asphalt: oklch(0.31 0.012 262);
  --asphalt-edge: oklch(0.38 0.012 262);
  --marking: oklch(0.98 0 0);

  --font: 'Noto Sans', 'Noto Sans Armenian', system-ui, sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.2rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.7rem + 4vw, 5rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-road: 0;
  --z-content: 1;
  --z-header: 20;
  --z-toast: 30;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.05; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.display {
  font-weight: 850;
  font-stretch: 68%;
  letter-spacing: -0.01em;
}

.section { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.section--tint { background: var(--surface); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 1rem + 3vw, 3rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 0.9rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

.below-fold { content-visibility: auto; contain-intrinsic-size: auto 900px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: var(--z-toast); padding: 0.6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 1rem; }

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__inner { display: flex; align-items: center; gap: 0.75rem; min-height: 60px; }

.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-weight: 800; font-stretch: 72%; font-size: 1.05rem; letter-spacing: 0.01em; white-space: nowrap; }

.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); }
.lang button {
  min-width: 44px;
  min-height: 36px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--muted);
}
.lang button[aria-pressed='true'] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px oklch(0.2 0.02 262 / 0.15); }

.header .header__cta { display: none; }

/* Buttons and store badges */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: oklch(1 0 0);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { background: var(--surface); }

.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0.45rem 1.15rem 0.45rem 0.9rem;
  border-radius: 12px;
  background: var(--ink);
  color: oklch(1 0 0);
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.store:hover { background: oklch(0.12 0.02 262); }
.store:active { transform: scale(0.97); }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store small { display: block; font-size: 0.68rem; letter-spacing: 0.04em; line-height: 1.2; opacity: 0.85; }
.store b { display: block; font-size: 1.08rem; line-height: 1.2; font-weight: 700; }

/* Hero */

.hero { padding-block: clamp(1.75rem, 1rem + 3vw, 4rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }

.plate {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: var(--step--1);
  font-weight: 650;
  line-height: 1.35;
}
.plate::before { content: ''; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.hero h1 { margin-top: 1.1rem; font-size: var(--step-4); }
.hero h1 .accent { display: block; color: var(--blue); }
.hero__lead { margin-top: 1.1rem; max-width: 38rem; font-size: var(--step-0); line-height: 1.55; color: var(--muted); }
.hero .stores { margin-top: 1.6rem; }

/* Give-way puzzle */

.puzzle {
  position: relative;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.puzzle__head { padding: 1rem 1.1rem 0.4rem; }
.puzzle__label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.puzzle__title { margin-top: 0.2rem; font-size: var(--step-2); }
.puzzle__task { margin-top: 0.35rem; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }

.puzzle__scene { position: relative; aspect-ratio: 1; max-height: 70vh; margin-inline: auto; }
.puzzle__scene svg { width: 100%; height: 100%; }

.puzzle__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s var(--ease); touch-action: pan-y; cursor: grab; }
.puzzle__scene.is-3d .puzzle__canvas { opacity: 1; }
.puzzle__scene.is-3d > svg { opacity: 0; pointer-events: none; }
.puzzle__scene:focus-within.is-3d { outline: 3px solid var(--yellow); outline-offset: -3px; }
.puzzle__drag { position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 1; display: none; padding: 0.25rem 0.6rem; border-radius: 999px; background: oklch(0.2 0.02 262 / 0.7); color: oklch(1 0 0); font-size: 0.75rem; font-weight: 700; pointer-events: none; }
.puzzle__scene.is-3d .puzzle__drag { display: block; }

.car { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform 1.1s cubic-bezier(0.55, 0, 0.45, 1); }
.car:focus { outline: none; }
.car:focus-visible .car__body { stroke: var(--yellow); stroke-width: 4; }
.car__halo { fill: none; stroke: oklch(1 0 0); stroke-width: 3; stroke-dasharray: 5 5; opacity: 0.9; animation: halo 1.4s linear infinite; }
.car.is-gone .car__halo, .car.is-done .car__halo { display: none; }
.car.is-wrong { animation: shake 0.42s var(--ease); }
@keyframes halo { to { stroke-dashoffset: -20; } }
@keyframes shake {
  20% { translate: -5px 0; }
  40% { translate: 5px 0; }
  60% { translate: -3px 0; }
  80% { translate: 3px 0; }
}

.puzzle__status {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 4.6rem;
  margin: 0 0.75rem 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--bg);
  font-size: var(--step--1);
  line-height: 1.45;
}
.puzzle__status[data-tone='bad'] { background: var(--red-tint); }
.puzzle__status[data-tone='good'] { background: var(--green-tint); }
.puzzle__status .dot { width: 0.7rem; height: 0.7rem; margin-top: 0.35rem; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.puzzle__status[data-tone='bad'] .dot { background: var(--red); }
.puzzle__status[data-tone='good'] .dot { background: var(--green); }
.puzzle__reset { margin-left: auto; padding: 0.2rem 0.6rem; border: 0; border-radius: 8px; background: var(--surface-2); font-weight: 700; font-size: 0.82rem; white-space: nowrap; }

/* Direction-sign stats board */

.board {
  position: relative;
  padding: clamp(1.1rem, 0.8rem + 1.5vw, 1.8rem);
  border-radius: 18px;
  background: var(--blue);
  color: oklch(1 0 0);
  box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 8px oklch(1 0 0);
}
.board__title { font-weight: 800; font-stretch: 75%; font-size: var(--step-1); padding-bottom: 0.8rem; border-bottom: 2px solid oklch(1 0 0 / 0.5); }
.board__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 clamp(1rem, 3vw, 2.5rem); }
.board__row { display: flex; align-items: center; gap: 0.8rem; padding-block: 0.8rem; border-bottom: 1px solid oklch(1 0 0 / 0.22); }
.board__row svg { width: 26px; height: 26px; flex-shrink: 0; }
.board__num { font-weight: 850; font-stretch: 70%; font-size: var(--step-2); line-height: 1; min-width: 4.2ch; }
.board__label { font-size: var(--step--1); line-height: 1.3; }

/* Practice ticket */

.ticket {
  max-width: 44rem;
  margin-inline: auto;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px oklch(0.3 0.08 258 / 0.35);
  overflow: hidden;
}
.ticket__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; background: var(--ink); color: oklch(1 0 0); }
.ticket__name { font-weight: 800; font-stretch: 75%; font-size: 1.05rem; }
.ticket__dots { display: flex; gap: 6px; }
.ticket__dots span { width: 22px; height: 6px; border-radius: 3px; background: oklch(1 0 0 / 0.25); }
.ticket__dots span[data-state='current'] { background: oklch(1 0 0); }
.ticket__dots span[data-state='good'] { background: var(--green); }
.ticket__dots span[data-state='bad'] { background: var(--red); }

.ticket__media { aspect-ratio: 2 / 1; background: var(--surface); }
.ticket__media img { width: 100%; height: 100%; object-fit: contain; }
.ticket__body { padding: 1.1rem 1.1rem 1.25rem; }
.ticket__q { font-size: var(--step-1); font-weight: 700; line-height: 1.35; }
.ticket__options { display: grid; gap: 0.55rem; margin-top: 1rem; }

.option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  text-align: left;
  line-height: 1.4;
  transition: border-color 0.15s, background-color 0.15s;
}
.option:hover:not(:disabled) { border-color: var(--blue); }
.option b { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 7px; background: var(--surface-2); font-size: 0.85rem; flex-shrink: 0; }
.option:disabled { cursor: default; }
.option[data-state='good'] { border-color: var(--green); background: var(--green-tint); }
.option[data-state='good'] b { background: var(--green); color: oklch(1 0 0); }
.option[data-state='bad'] { border-color: var(--red); background: var(--red-tint); }
.option[data-state='bad'] b { background: var(--red); color: oklch(1 0 0); }

.why { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; background: var(--blue-tint); font-size: var(--step--1); line-height: 1.55; }
.why__label { display: block; font-weight: 800; color: var(--blue-deep); margin-bottom: 0.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.chip { padding: 0.15rem 0.55rem; border-radius: 6px; background: var(--bg); border: 1px solid oklch(0.47 0.165 258 / 0.35); font-weight: 700; font-size: 0.78rem; color: var(--blue-deep); }

.ticket__foot { display: flex; justify-content: flex-end; margin-top: 1rem; }
.ticket__result { padding: 1.6rem 1.2rem 1.8rem; text-align: center; }
.ticket__score { font-size: var(--step-4); }
.ticket__result p { margin: 0.6rem auto 0; max-width: 30rem; color: var(--muted); }
.ticket__result .stores { justify-content: center; margin-top: 1.4rem; }
.ticket__result .btn--ghost { margin-top: 1rem; }

/* The route: features along a road */

.route { position: relative; }
.route__road {
  position: absolute;
  z-index: var(--z-road);
  top: 0;
  bottom: 0;
  left: 12px;
  width: 36px;
  border-radius: 9px;
  background: var(--asphalt);
  box-shadow: inset 3px 0 0 var(--asphalt-edge), inset -3px 0 0 var(--asphalt-edge);
}
.route__road::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: repeating-linear-gradient(to bottom, var(--marking) 0 22px, transparent 22px 44px);
}

.route__car {
  position: sticky;
  top: 45vh;
  z-index: 2;
  width: 26px;
  height: 46px;
  margin-left: 17px;
  margin-bottom: -46px;
  pointer-events: none;
}

.stops { position: relative; z-index: var(--z-content); display: grid; gap: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }

.stop { position: relative; display: grid; gap: 1.5rem; padding-left: 62px; }
.stop__sign {
  position: absolute;
  left: 0;
  top: -6px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
}
.stop__sign img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 2px oklch(0.2 0.02 262 / 0.25)); }
.stop__code { display: inline-block; margin-bottom: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 5px; background: var(--surface-2); font-size: 0.75rem; font-weight: 800; color: var(--muted); }
.stop h3 { font-size: var(--step-2); }
.stop__body { margin-top: 0.8rem; color: var(--muted); font-size: var(--step-0); max-width: 36rem; }
.stop__list { margin-top: 1rem; display: grid; gap: 0.55rem; max-width: 36rem; }
.stop__list li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.stop__list li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 0.8rem; height: 0.8rem; border-radius: 3px; background: var(--yellow); transform: rotate(45deg) scale(0.8); outline: 2px solid var(--ink); outline-offset: -2px; }

.phones { display: flex; gap: 0.9rem; align-items: flex-end; }
.phone {
  flex: 0 1 220px;
  min-width: 0;
  padding: 7px;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 20px 40px -26px oklch(0.2 0.05 262 / 0.6);
}
.phone > img, .phone > video, .phone > .placeholder { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 24px; background: var(--surface-2); }
.phone--small { flex-basis: 170px; }

.placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.4rem;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  background: repeating-linear-gradient(-45deg, var(--surface-2) 0 12px, var(--surface) 12px 24px) !important;
}
.placeholder b { color: var(--ink); font-size: 0.85rem; }

.video-toggle { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 24px; overflow: hidden; }
.video-toggle video { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; }
.video-toggle__icon { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 0.2s; }
.video-toggle__icon span { width: 58px; height: 58px; border-radius: 50%; background: oklch(1 0 0 / 0.92); display: grid; place-items: center; }
.video-toggle__icon svg { width: 22px; height: 22px; margin-left: 3px; color: var(--ink); }
.video-toggle.is-playing .video-toggle__icon { opacity: 0; }

.ai {
  max-width: 26rem;
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.ai__q, .ai__a { padding: 0.7rem 0.9rem; border-radius: 16px; line-height: 1.45; font-size: var(--step--1); }
.ai__q { justify-self: end; max-width: 85%; background: var(--blue); color: oklch(1 0 0); border-bottom-right-radius: 5px; }
.ai__a { max-width: 92%; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ai__a .chip { display: inline-block; margin-top: 0.5rem; }

.finish {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.finish__flag {
  width: 80px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  background: conic-gradient(var(--ink) 25%, var(--bg) 0 50%, var(--ink) 0 75%, var(--bg) 0) 0 0 / 20px 20px;
  border: 2px solid var(--ink);
}
.finish p { font-weight: 800; font-stretch: 75%; font-size: var(--step-2); line-height: 1.1; }

/* Sign card game */

.signcard {
  max-width: 26rem;
  padding: 1.1rem;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -26px oklch(0.3 0.08 258 / 0.4);
}
.signcard__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 800; color: var(--muted); }
.signcard__img { display: grid; place-items: center; height: 150px; margin-block: 0.6rem 0.9rem; }
.signcard__img img { width: 128px; height: 128px; object-fit: contain; }
.signcard__options { display: grid; gap: 0.5rem; }
.signcard__options .option { min-height: 48px; padding: 0.6rem 0.8rem; font-size: var(--step--1); }

/* Why-us legend */

.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.legend__item { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding-block: 1.4rem; border-top: 3px dashed var(--line); }
.legend__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: oklch(1 0 0); }
.legend__icon svg { width: 28px; height: 28px; }
.legend__item h3 { font-size: var(--step-1); line-height: 1.2; }
.legend__item p { margin-top: 0.35rem; color: var(--muted); font-size: var(--step--1); line-height: 1.55; }

/* Free vs Premium */

.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.plan { padding: clamp(1.3rem, 1rem + 1.5vw, 2rem); border-radius: 20px; }
.plan--free { background: var(--blue); color: oklch(1 0 0); box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 8px oklch(1 0 0); }
.plan--premium { background: var(--bg); border: 3px solid var(--ink); }
.plan__tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 6px; font-weight: 800; font-size: 0.8rem; }
.plan--free .plan__tag { background: oklch(1 0 0); color: var(--blue-deep); }
.plan--premium .plan__tag { background: var(--yellow); color: var(--ink); }
.plan h3 { margin-top: 0.9rem; font-size: var(--step-3); }
.plan ul { margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.plan li { display: flex; gap: 0.6rem; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; margin-top: 0.15rem; flex-shrink: 0; }
.plan--free li svg { color: var(--yellow); }
.plan--premium li svg { color: var(--green); }
.plan__note { margin-top: 1.1rem; font-size: var(--step--1); opacity: 0.85; }

/* Guides strip */

.guides { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-top: 2rem; }
.guide {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color 0.2s;
}
.guide:hover { border-color: var(--blue); }
.guide img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.guide svg { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; color: var(--blue); }

/* FAQ */

.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding-block: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); max-width: 46rem; }

.sourcing { margin-top: 2.5rem; max-width: 52rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--surface); font-size: var(--step--1); color: var(--muted); line-height: 1.6; }

/* Final call to action */

.go { background: var(--ink); color: oklch(1 0 0); }
.go__grid { display: grid; gap: 2.5rem; align-items: center; }
.go h2 { font-size: var(--step-4); }
.go p { margin-top: 0.9rem; font-size: var(--step-1); color: oklch(0.85 0.01 262); }
.go .stores { margin-top: 1.6rem; }
.go .store { background: oklch(1 0 0); color: var(--ink); }
.go .store:hover { background: oklch(0.92 0.01 262); }

.lights { display: flex; align-items: center; gap: 1.5rem; justify-content: center; }
.light {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 26px;
  background: oklch(0.14 0.01 262);
  border: 3px solid oklch(0.32 0.01 262);
}
.light span { width: 64px; height: 64px; border-radius: 50%; background: oklch(0.26 0.01 262); transition: background-color 0.35s, box-shadow 0.35s; }
.light[data-phase='red'] span:nth-child(1),
.light[data-phase='amber'] span:nth-child(1) { background: var(--red); box-shadow: 0 0 22px oklch(0.55 0.205 27 / 0.6); }
.light[data-phase='amber'] span:nth-child(2) { background: var(--yellow); box-shadow: 0 0 22px oklch(0.86 0.165 88 / 0.6); }
.light[data-phase='green'] span:nth-child(3) { background: var(--green); box-shadow: 0 0 26px oklch(0.56 0.15 152 / 0.7); }
.mascot { width: 160px; height: 160px; }
.mascot canvas { width: 100%; height: 100%; }

/* Footer */

.footer { padding-block: 2.5rem 2rem; background: oklch(0.14 0.01 262); color: oklch(0.82 0.01 262); font-size: var(--step--1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.footer a { color: oklch(1 0 0); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__fine { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid oklch(0.3 0.01 262); line-height: 1.6; max-width: 60rem; }

/* Reveal: content is visible by default; JS marks only below-the-fold blocks as pending. */

.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }

/* Larger screens */

@media (min-width: 760px) {
  .header .header__cta { display: inline-flex; }
  .hero__lead { font-size: var(--step-1); }
  .stop { padding-left: 110px; }
  .stop h3 { font-size: var(--step-3); }
  .stop__sign { width: 80px; height: 80px; }
  .stop__sign img { width: 60px; height: 60px; }
  .route__road { left: 26px; width: 44px; }
  .route__car { margin-left: 35px; }
}

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .go__grid { grid-template-columns: 1.3fr 0.7fr; }

  .route__road { left: 50%; margin-left: -22px; }
  .route__car { margin-left: calc(50% - 13px); }
  .stop { grid-template-columns: 1fr 1fr; gap: 0 140px; padding-left: 0; align-items: center; }
  .stop__sign { left: 50%; top: 50%; margin: -40px 0 0 -40px; }
  .stop:nth-child(even) .stop__text { order: 2; }
  .stop:nth-child(even) .stop__visual { order: 1; justify-content: flex-end; display: flex; }
  .stop:nth-child(odd) .stop__visual { display: flex; }
  .finish { justify-content: center; }
}

/* Lite mode (weak devices, Save-Data) and reduced motion: drop decorative motion. */

.lite .car__halo, .lite .route__car { animation: none; }
.lite .route__car { display: none; }
.lite .reveal { transition: none; }

@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; }
  .route__car { display: none; }
}

.footer__socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: oklch(0.24 0.01 262); }
.footer__socials svg { width: 20px; height: 20px; }
