/* PravaGo landing. Tokens mirror avtodrive-client/src/theme/tokens.ts (light):
   signal-yellow brand with ink (never white) on it, a text-safe amber accent,
   white cards on a cool grey canvas, and physical "slab" press buttons.
   success/danger are reserved for answer correctness, as in the app. */

@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-900.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --canvas: #F2F4F7;
  --surface: #FFFFFF;
  --subtle: #E9ECF1;
  --ink: #0F1319;
  --text-2: #4A5260;
  --text-3: #5F6775;
  --line: #E2E5EB;
  --line-strong: #7E8798;
  --slab: #C9CFD8;

  --brand: #FFC800;
  --brand-deep: #E0A800;
  --brand-ink: #3D2B00;
  --accent: #7A5200;

  --success: #116B33;
  --success-soft: #E6F4EA;
  --success-slab: #0B4F25;
  --danger: #B21F15;
  --danger-soft: #FDEBE9;
  --danger-slab: #82160F;

  --radius-card: 22px;
  --radius-btn: 16px;
  --press: 4px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.36, .64, 1);
  --fast: 120ms;
  --base: 220ms;

  --gutter: clamp(16px, 4vw, 40px);
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* A gentle, barely-overshooting spring (≈ bounce 0.15). */
    --ease-spring: linear(0, .062 4.2%, .242 9%, .502 15.3%, .758 22.6%, .929 30.4%, 1.019 38.7%, 1.045 46.9%, 1.037 55.3%, 1.015 66.4%, 1.001 80%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; }
kbd { font: inherit; }
[hidden] { display: none !important; }

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

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 50;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* Text that changes with the language fades through the swap instead of
   popping, so the switch reads as "same page, other language". */
[data-i18n], .store-text, .demo-question, .opt > span, .demo-after-inner, .demo-result { transition: opacity var(--fast) ease; }
.is-swapping :is([data-i18n], .store-text, .demo-question, .opt > span, .demo-feedback, .demo-result) { opacity: 0; }

/* ——— header ——— */

.top { padding-block: 18px; padding-top: max(18px, env(safe-area-inset-top)); }
.top-row { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; border-radius: 10px; }
.brand-word { font-weight: 900; font-size: 23px; letter-spacing: -.02em; }
.brand-word span { color: #329C3F; }

.lang {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 4px; border-radius: 14px; background: var(--subtle);
}
.lang button {
  position: relative; z-index: 1;
  min-width: 52px; height: 36px; padding: 0 10px;
  border: 0; border-radius: 10px; background: none; cursor: pointer;
  font-weight: 800; font-size: 15px; color: var(--text-2);
  transition: color var(--base) var(--ease-out);
}
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang button:hover { color: var(--ink); }
.lang-thumb {
  position: absolute; z-index: 0; top: 4px; left: 4px; bottom: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 10px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 19, 25, .08), 0 2px 8px -2px rgba(15, 19, 25, .12);
  transform: translateX(calc(var(--lang-index, 0) * 100%));
  transition: transform 320ms var(--ease-spring);
}

.top-cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 14px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform var(--fast) var(--ease-out), background-color var(--fast);
}
.top-cta:hover { background: #262C36; }
.top-cta:active { transform: scale(.97); }
.top-cta-short { display: none; }

/* ——— hero ——— */

.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
  padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px);
}
.hero-copy { max-width: 34rem; padding-top: clamp(0px, 4vw, 56px); }
h1 {
  font-weight: 900; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.028em;
  text-wrap: balance;
}
.lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 32em; text-wrap: pretty; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 16px;
  background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 var(--press) 0 #000;
  transition: transform var(--fast) var(--ease-out), box-shadow var(--fast) var(--ease-out), background-color var(--fast);
}
.store:hover { background: #1D232C; }
.store:active { transform: translateY(var(--press)); box-shadow: 0 0 0 #000; }
.store-glyph { width: 24px; height: 24px; flex: none; }
.store-text { display: grid; line-height: 1.1; text-align: left; }
.store-text small { font-size: 12px; font-weight: 700; opacity: .78; }
.store-text strong { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.store-other { margin-top: 14px; font-size: 15px; }
.store-other a { color: var(--accent); font-weight: 800; text-underline-offset: 3px; }

.qr { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.qr img { width: 88px; height: 88px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qr p { font-size: 14px; line-height: 1.45; color: var(--text-3); max-width: 22em; }

/* ——— demo question ——— */

.demo {
  position: relative;
  background: var(--surface); border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(15, 19, 25, .05), 0 24px 48px -24px rgba(15, 19, 25, .22);
  padding: 18px 18px 20px;
  animation: demo-in 620ms var(--ease-spring) 80ms both;
}
@keyframes demo-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }

.demo-head { display: flex; align-items: center; gap: 14px; padding: 2px 4px 14px; }
.demo-label { font-size: 14px; font-weight: 800; color: var(--text-2); margin-right: auto; }
.demo-steps { display: flex; gap: 6px; }
.demo-steps li { position: relative; width: 28px; height: 6px; border-radius: 3px; background: var(--subtle); overflow: hidden; }
.demo-steps li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--line-strong);
  transform: scaleX(0); transform-origin: left center; transition: transform 360ms var(--ease-out);
}
.demo-steps li.is-current::after { transform: scaleX(.35); background: var(--brand-deep); }
.demo-steps li.is-right::after { transform: none; background: var(--success); }
.demo-steps li.is-wrong::after { transform: none; background: var(--danger); }
.demo-count { font-size: 14px; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; white-space: nowrap; }

.demo-stage { transition: opacity 160ms ease, transform 160ms var(--ease-out); }
.demo-stage.is-leaving { opacity: 0; transform: translateX(-20px); }
.demo-stage.is-entering { opacity: 0; transform: translateX(20px); transition: none; }

.demo-figure {
  aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: var(--subtle) linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: shimmer 1.4s linear infinite;
}
.demo-figure.is-loaded { animation: none; background: var(--subtle); }
@keyframes shimmer { to { background-position: -150% 0; } }
.demo-figure img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 280ms ease; }
.demo-figure.is-loaded img { opacity: 1; }

.demo-question { margin: 18px 4px 14px; font-size: clamp(18px, 1.7vw, 21px); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }

.demo-options { display: grid; gap: 10px; }
.opt {
  --opt-bg: var(--surface); --opt-line: var(--line); --opt-slab: var(--slab); --opt-ink: var(--ink);
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px;
  padding: 10px 14px; text-align: left; cursor: pointer;
  border: 2px solid var(--opt-line); border-radius: var(--radius-btn);
  background: var(--opt-bg); color: var(--opt-ink);
  font-size: 16px; font-weight: 700; line-height: 1.3;
  box-shadow: 0 var(--press) 0 var(--opt-slab);
  transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out),
              background-color var(--base) ease, border-color var(--base) ease, opacity var(--base) ease;
}
.opt kbd {
  display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px;
  background: var(--subtle); color: var(--text-2); font-size: 14px; font-weight: 900;
  transition: background-color var(--base) ease, color var(--base) ease;
}
.opt > span { flex: 1; }
.opt:hover:not(:disabled) { --opt-line: #CBD1DA; background: #FAFBFC; }
.opt:active:not(:disabled) { transform: translateY(var(--press)); box-shadow: 0 0 0 var(--opt-slab); }
.opt:disabled { cursor: default; }
.opt-mark { flex: none; width: 24px; height: 24px; transform: scale(.4); opacity: 0; transition: transform 380ms var(--ease-spring), opacity 160ms ease; }
.opt.is-right { --opt-bg: var(--success-soft); --opt-line: var(--success); --opt-slab: var(--success-slab); --opt-ink: var(--success); }
.opt.is-wrong { --opt-bg: var(--danger-soft); --opt-line: var(--danger); --opt-slab: var(--danger-slab); --opt-ink: var(--danger); }
.opt.is-right kbd { background: var(--success); color: #fff; }
.opt.is-wrong kbd { background: var(--danger); color: #fff; }
.opt.is-right .opt-mark, .opt.is-wrong .opt-mark { transform: none; opacity: 1; }
.opt.is-dim { opacity: .5; }
.opt.is-wrong { animation: shake 380ms var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* The hint and the "next" row share one slot, so answering swaps them in
   place: the card never changes height and nothing around it shifts. */
.demo-foot { display: grid; align-items: center; min-height: 72px; padding: 14px 4px 0; }
.demo-foot > * { grid-area: 1 / 1; }
.demo-hint { font-size: 14px; color: var(--text-3); transition: opacity 160ms ease; }
.demo-hint kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; margin: 0 1px; border-radius: 6px; background: var(--subtle); font-size: 12px; font-weight: 900; color: var(--text-2); vertical-align: 1px; }
.demo-after { visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms; }
.demo-after-inner { display: flex; align-items: center; gap: 16px; }
.demo.is-answered .demo-after { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms ease 60ms, transform 320ms var(--ease-spring) 60ms, visibility 0s; }
.demo.is-answered .demo-hint { opacity: 0; visibility: hidden; }
.demo-feedback { margin-right: auto; font-weight: 800; font-size: 16px; line-height: 1.35; }
.demo-feedback.is-right { color: var(--success); }
.demo-feedback.is-wrong { color: var(--danger); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: var(--radius-btn); cursor: pointer;
  font-size: 16px; font-weight: 900; text-decoration: none;
  transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out), background-color var(--fast);
}
.btn-brand { background: var(--brand); color: var(--brand-ink); box-shadow: 0 var(--press) 0 var(--brand-deep); }
.btn-brand:hover { background: #FFD21F; }
.btn-brand:active { transform: translateY(var(--press)); box-shadow: 0 0 0 var(--brand-deep); }
.btn-quiet { background: var(--subtle); color: var(--ink); box-shadow: 0 var(--press) 0 var(--slab); }
.btn-quiet:active { transform: translateY(var(--press)); box-shadow: 0 0 0 var(--slab); }

/* The result replaces the question inside the same card. */
.demo-result { padding: 22px 4px 4px; }
.demo-score { display: flex; align-items: baseline; gap: 10px; }
.demo-score strong { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.demo-score span { font-size: 22px; font-weight: 900; color: var(--text-3); }
.demo-result h3 { margin-top: 10px; font-size: 22px; font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
.demo-result h3:focus { outline: none; }
.demo-result p { margin-top: 8px; color: var(--text-2); max-width: 36em; }
.demo-result .stores { margin-top: 22px; }
.demo-result .btn-quiet { margin-top: 14px; min-height: 44px; font-size: 15px; }

/* ——— how it prepares you ——— */

.how { padding-bottom: clamp(64px, 9vw, 120px); }
.how h2, .get h2 { font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
.road {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
  margin-top: 44px; padding-top: 58px;
}
/* The lane marking the stops sit on. */
.road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--slab) 0 22px, transparent 22px 36px);
}
.road li { position: relative; }
.road-stop {
  position: absolute; top: -58px; left: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--brand); color: var(--brand-ink); font-weight: 900; font-size: 18px;
  box-shadow: 0 0 0 5px var(--canvas), 0 3px 0 5px var(--canvas), 0 3px 0 0 var(--brand-deep);
}
.road h3 { font-size: 19px; font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
.road p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }

/* ——— download band ——— */

.get { background: var(--brand); color: var(--brand-ink); scroll-margin-top: 24px; }
.get:focus { outline: none; }
.get-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(48px, 7vw, 88px); }
.get h2 { color: var(--brand-ink); }
.get-copy p { margin-top: 12px; font-size: 18px; font-weight: 700; }
.get .store { box-shadow: 0 var(--press) 0 #000; }
.get-qr { display: grid; justify-items: center; gap: 10px; flex: none; }
.get-qr img { width: 148px; height: 148px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 4px 0 var(--brand-deep); }
.get-qr p { font-size: 14px; font-weight: 800; }

/* ——— footer ——— */

.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-block: 28px; padding-bottom: max(28px, env(safe-area-inset-bottom));
  font-size: 14px; color: var(--text-3);
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.foot-links a { color: var(--ink); font-weight: 800; text-decoration: none; border-radius: 6px; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ——— pravago.ai/get (the "scan with your phone" fallback) ——— */

.scan {
  display: grid; justify-items: center; align-content: center; text-align: center;
  min-height: calc(100vh - 88px); min-height: calc(100svh - 88px);
  padding-top: 8px; padding-bottom: max(48px, env(safe-area-inset-bottom));
}
.scan-card {
  width: min(420px, 100%); padding: 28px 28px 32px;
  background: var(--surface); border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(15, 19, 25, .05), 0 24px 48px -24px rgba(15, 19, 25, .22);
  animation: demo-in 620ms var(--ease-spring) 60ms both;
}
.scan-qr {
  position: relative; width: 236px; margin-inline: auto; padding: 8px;
  border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.scan-qr img { width: 220px; height: 220px; }
/* One sweep of a scanner line says "point a camera here", then it stops. */
.scan-qr::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 3px; border-radius: 2px;
  background: var(--brand); box-shadow: 0 0 14px 4px rgba(255, 200, 0, .45);
  opacity: 0; animation: scan-sweep 1.8s var(--ease-out) 700ms 2 both;
}
@keyframes scan-sweep {
  0% { transform: translateY(8px); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(228px); opacity: 0; }
}
.scan h1 { margin-top: 24px; font-size: clamp(28px, 4.2vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.scan-card p { margin: 12px auto 0; max-width: 30ch; color: var(--text-2); text-wrap: pretty; }
.scan-or { margin-top: 36px; font-size: 15px; font-weight: 800; color: var(--text-3); }
.scan .stores { justify-content: center; margin-top: 14px; }
.scan-home { margin-top: 26px; color: var(--accent); font-weight: 800; text-underline-offset: 3px; border-radius: 6px; }

/* ——— mobile store dock ——— */

.dock { display: none; }

/* ——— platform smart defaults ——— */

/* On a phone, lead with that phone's store; the other stays one tap away. */
[data-platform="ios"] .hero .store[data-store="android"],
[data-platform="android"] .hero .store[data-store="ios"] { display: none; }
[data-platform="ios"] .qr, [data-platform="android"] .qr,
[data-platform="ios"] .get-qr, [data-platform="android"] .get-qr { display: none; }

/* ——— layout breakpoints ——— */

@media (max-width: 1100px) {
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 72px; }
  .road::before { display: none; }
  .road li { padding-top: 0; }
}

@media (max-width: 959px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 40rem; }
  .qr { display: none; }
  .get-qr { display: none; }
}

@media (max-width: 719px) {
  body { font-size: 16px; }
  .top { padding-block: 12px; padding-top: max(12px, env(safe-area-inset-top)); }
  .top-row { gap: 10px; }
  .brand img { width: 30px; height: 30px; }
  .brand-word { font-size: 20px; }
  .lang button { min-width: 44px; height: 34px; font-size: 14px; padding: 0 6px; }
  .top-cta { height: 42px; padding: 0 14px; font-size: 14px; }
  .top-cta-long { display: none; }
  .top-cta-short { display: inline; }

  .hero { padding-top: 12px; gap: 32px; }
  h1 { font-size: clamp(34px, 10.4vw, 44px); }
  .lead { margin-top: 16px; }
  .stores { margin-top: 24px; }
  .hero .store { flex: 1 1 100%; justify-content: center; height: 58px; }

  .demo { margin-inline: calc(var(--gutter) * -0.5); padding: 14px 12px 16px; border-radius: 20px; }
  .demo-head { gap: 10px; padding-bottom: 12px; }
  .demo-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .demo-steps li { width: 18px; }
  .demo-figure { border-radius: 12px; }
  .opt { min-height: 56px; }
  .opt kbd { display: none; }
  .demo-foot { min-height: 108px; }
  .demo-hint { align-self: start; padding-top: 2px; }
  .demo-after-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .demo-after-inner .btn { width: 100%; }
  .demo-hint kbd, .demo-hint .hint-keys { display: none; }

  /* Stacked lane: the stops run down the left edge. */
  .road { grid-template-columns: 1fr; row-gap: 30px; margin-top: 32px; padding-top: 0; }
  .road::before {
    display: block; left: 19px; right: auto; top: 8px; bottom: 8px; width: 6px; height: auto;
    background: repeating-linear-gradient(180deg, var(--slab) 0 18px, transparent 18px 30px);
  }
  .road li { padding-left: 64px; min-height: 42px; }
  .road-stop { top: 0; left: 0; }

  .get-row { flex-direction: column; align-items: stretch; }
  .get .store { flex: 1 1 100%; justify-content: center; }

  .foot { flex-direction: column; align-items: flex-start; padding-bottom: calc(28px + 84px + env(safe-area-inset-bottom)); }

  .dock {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: rgba(242, 244, 247, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); visibility: hidden;
    transition: transform 300ms var(--ease-out), visibility 0s linear 300ms;
  }
  .dock.is-shown { transform: none; visibility: visible; transition: transform 340ms var(--ease-spring), visibility 0s; }
  .store-wide { display: flex; width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .brand-word { display: none; }
  .lang button { min-width: 40px; }
}

@media (hover: none) {
  .opt:hover:not(:disabled) { --opt-line: var(--line); background: var(--opt-bg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; }
  .demo-stage, .demo-stage.is-leaving, .demo-stage.is-entering { transform: none; }
  .opt, .store, .btn, .top-cta, .lang-thumb, .dock, .demo-steps li::after, .opt-mark { transition-duration: 1ms !important; }
  .opt:active:not(:disabled), .store:active, .btn:active { transform: none; }
  .scan-qr::after { display: none; }
  .demo-figure { animation: none; }
}
