/* Vice Focus site. Tokens first; everything else reads from them. */

@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/tektur-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/tektur-latin-ext.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/assets/fonts/golos-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/assets/fonts/golos-latin-ext.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --asphalt: #140a1f;
  --bay: #1d1030;
  --rig: #3b2a52;
  --ink: #fbeefe;
  --ink-2: #b9a3c9;
  --neon: #ff3c8e;
  --tube: #29e6ff;
  --sodium: #ff8a3d;

  --day: #f2edf7;
  --day-ink: #1a0f26;
  --day-ink-2: #574766;
  --day-line: rgba(26, 15, 38, 0.14);
  --day-neon: #e01f73;
  --day-link: #0a6f86;

  --street: #7cf7d4;
  --rare: #4cc9ff;
  --epic: #c86bff;
  --legendary: #ffb547;

  --display: 'Tektur', 'Arial Narrow', sans-serif;
  --body: 'Golos Text', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --s-14: 0.875rem;
  --s-16: 1rem;
  --s-20: 1.25rem;
  --s-28: 1.75rem;
  --s-44: 2.75rem;
  --s-72: 4.5rem;

  --r-button: 999px;
  --r-panel: 20px;
  --r-small: 10px;

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--ink);
  font: 400 var(--s-16) / 1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 82%;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); letter-spacing: -0.01em; }
/* The French headline is about 40% longer than the English one. */
:lang(fr) h1 { font-size: clamp(2.25rem, 3.7vw, 3.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, var(--s-44)); max-width: 18em; }
h3 { font-size: var(--s-20); font-weight: 600; font-stretch: 90%; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.link { color: var(--tube); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--tube); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }
.lede { font-size: var(--s-20); line-height: 1.5; color: var(--ink-2); max-width: 34em; }

.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--asphalt); border-radius: var(--r-small); z-index: 20; }
.skip:focus { top: 12px; }

/* ── Tones: dark and light sections alternate ─────────────── */

.tone-light {
  background: var(--day);
  color: var(--day-ink);
  color-scheme: light;
  --ink: var(--day-ink);
  --ink-2: var(--day-ink-2);
  --tube: var(--day-link);
  --neon: var(--day-neon);
}
.tone-dark { background: var(--asphalt); }
main > section { padding: 112px 0; }
main > section.hero { padding: 56px 0 96px; }

/* ── The recognizable move: a neon tube under part of a heading, switched on when it shows up ── */

.neon { position: relative; white-space: nowrap; }
.neon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.09em;
  min-height: 3px;
  border-radius: 99px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 24px color-mix(in srgb, var(--neon) 55%, transparent);
}
.tone-light .neon::after { box-shadow: 0 0 8px color-mix(in srgb, var(--neon) 45%, transparent); }
html.motion .neon::after { opacity: 0.15; box-shadow: none; }
html.motion .is-lit .neon::after,
html.motion h1 .neon::after { animation: tube-on 900ms steps(1, end) forwards; }
@keyframes tube-on {
  0% { opacity: 0.15; box-shadow: none; }
  12% { opacity: 1; box-shadow: 0 0 10px var(--neon), 0 0 24px color-mix(in srgb, var(--neon) 55%, transparent); }
  20% { opacity: 0.2; box-shadow: none; }
  34% { opacity: 1; box-shadow: 0 0 10px var(--neon), 0 0 24px color-mix(in srgb, var(--neon) 55%, transparent); }
  42% { opacity: 0.35; box-shadow: none; }
  100% { opacity: 1; box-shadow: 0 0 10px var(--neon), 0 0 24px color-mix(in srgb, var(--neon) 55%, transparent); }
}

/* Blocks ease in once when they scroll into view (only with JS and motion allowed). */
html.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
html.motion .reveal.is-in { opacity: 1; transform: none; }

/* ── Header (sticky) ──────────────────────────────────────── */

.top { position: sticky; top: 0; z-index: 10; background: var(--asphalt); border-bottom: 1px solid rgba(251, 238, 254, 0.08); }
.top-inner { width: min(1180px, 100%); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; }

/* The only gradient on the site: the sunset in the wordmark. */
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: var(--s-28);
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(100deg, #ff3c8e 0%, var(--sodium) 60%, var(--legendary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--tube); box-shadow: 0 0 8px var(--tube); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.langs { display: flex; gap: 4px; }
.top .langs { margin-left: 0; }
.langs a { font-family: var(--display); font-size: var(--s-14); font-weight: 600; text-decoration: none; color: var(--ink-2); padding: 4px 8px; border-radius: 6px; border: 1px solid transparent; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { color: var(--ink); border-color: rgba(251, 238, 254, 0.16); }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px;
  border: 2px solid currentColor; border-radius: var(--r-button); background: transparent;
  font: 600 var(--s-16) / 1.2 var(--display); font-stretch: 92%;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 80ms ease;
}
/* A neon tube: unlit at rest, lights up on hover, presses in and dims on click. */
.btn-neon { color: #ff3c8e; background: rgba(255, 60, 142, 0.08); box-shadow: 0 0 14px rgba(255, 60, 142, 0.18); }
.btn-neon:hover { background: #ff3c8e; color: var(--asphalt); box-shadow: 0 0 0 4px rgba(255, 60, 142, 0.16), 0 0 32px rgba(255, 60, 142, 0.6); }
.btn-neon:active { transform: translateY(2px); box-shadow: 0 0 6px rgba(255, 60, 142, 0.3); }
.btn-neon.is-soon { color: var(--ink-2); background: transparent; border-style: dashed; box-shadow: none; cursor: default; }
.btn-ghost { color: var(--tube); }
.btn-ghost:hover { background: color-mix(in srgb, var(--tube) 12%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--tube) 30%, transparent); }
.btn-ghost:active { transform: translateY(2px); box-shadow: none; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: var(--s-14); border-width: 1.5px; }
.btn[disabled] { opacity: 0.4; cursor: default; pointer-events: none; }

.install { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.install-center { align-items: center; text-align: center; }
.install-note { font-size: var(--s-14); color: var(--ink-2); }
[data-when='live'] { display: none; }
html[data-cws='live'] [data-when='live'] { display: inline-flex; }
html[data-cws='live'] [data-when='soon'] { display: none; }
.btn-share, .install-note.touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .install [data-when], .install-note.desk { display: none !important; }
  .btn-share { display: inline-flex; }
  .install-note.touch { display: block; }
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-copy .lede { margin-top: 24px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(251, 238, 254, 0.12); color: var(--ink-2); font-size: var(--s-14); }
.facts li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--tube); box-shadow: 0 0 6px var(--tube); vertical-align: 2px; }

/* ── Live demo ────────────────────────────────────────────── */

.demo { margin: 0; padding: 18px 20px 16px; background: var(--bay); border: 1px solid rgba(41, 230, 255, 0.18); border-radius: var(--r-panel); display: grid; gap: 12px; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; }
.chip {
  font: 600 var(--s-16) var(--display); color: var(--ink-2); background: transparent;
  border: 1.5px solid rgba(251, 238, 254, 0.16); border-radius: var(--r-small); padding: 6px 12px; cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.chip span { font-family: var(--body); font-weight: 400; font-size: 0.75rem; }
.chip[aria-pressed='true'] { color: var(--ink); border-color: #ff3c8e; box-shadow: 0 0 12px rgba(255, 60, 142, 0.3); }
.chip:hover { color: var(--ink); }
.chip[disabled] { cursor: default; }
.clock { color: var(--ink-2); font-size: var(--s-14); }
.clock b { font-size: var(--s-28); color: var(--ink); font-weight: 600; }

.demo-bay { position: relative; }
.demo-art { display: block; width: 100%; height: auto; overflow: visible; }
.demo-car { display: none; }
.demo-car.is-active { display: inline; }
.rig { fill: var(--rig); }
.blueprint path { fill: rgba(41, 230, 255, 0.04); stroke: rgba(41, 230, 255, 0.55); stroke-width: 0.7; stroke-dasharray: 3 2.2; stroke-linejoin: round; }
.blueprint path[fill='none'] { fill: none; }
.built { filter: drop-shadow(0 0 5px rgba(255, 60, 142, 0.45)); }
.scanner { stroke: #fff; stroke-width: 1.2; stroke-opacity: 0; }
.demo.is-running .scanner { stroke-opacity: 0.85; }

.demo-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: var(--s-14); color: var(--ink-2); }
.demo-count b { color: var(--ink); font-size: var(--s-20); }
.stages { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; font-family: var(--display); font-size: 0.8125rem; font-stretch: 85%; font-weight: 600; }
.stages li { padding-top: 8px; border-top: 3px solid rgba(251, 238, 254, 0.1); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms ease, border-color 200ms ease; }
.stages li.is-on { border-top-color: #ff3c8e; color: var(--ink); }
html:not(.js) .stages li { border-top-color: #ff3c8e; color: var(--ink); }

.demo-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-foot .stars { margin-right: auto; }
.stars { display: flex; gap: 4px; }
.stars svg { width: 22px; height: 22px; fill: rgba(251, 238, 254, 0.14); transition: fill 150ms ease; }
.stars svg.is-on { fill: var(--sodium); filter: drop-shadow(0 0 5px rgba(255, 138, 61, 0.8)); }
.demo-status { min-height: 1.6em; font-size: var(--s-14); color: var(--ink-2); }
.demo-status.is-alert { color: var(--sodium); }
.demo-status.is-win { color: var(--street); }
.demo-note { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-2); }
html:not(.js) .demo-foot, html:not(.js) .chips { display: none; }

.busted { position: absolute; inset: -6px; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center; background: rgba(20, 10, 31, 0.92); border-radius: var(--r-small); font-size: var(--s-14); color: var(--ink-2); }
.busted[hidden] { display: none; }
.busted-title { font-family: var(--display); font-size: var(--s-44); font-weight: 800; font-stretch: 80%; line-height: 1; color: var(--sodium); text-shadow: 0 0 18px rgba(255, 138, 61, 0.6); }

/* ── Who it's for ─────────────────────────────────────────── */

.roles, .benefits { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--ink); }
.roles li, .benefits li { padding: 20px 22px 0 0; display: grid; gap: 8px; align-content: start; }
.roles li + li, .benefits li + li { padding-left: 22px; border-left: 1px solid var(--day-line); }
.roles p, .benefits p { color: var(--ink-2); max-width: 30em; }
.example { font-family: var(--mono); font-size: 0.75rem; color: var(--ink); }
.benefits { margin-top: 56px; border-top-color: var(--neon); }

/* ── How it works ─────────────────────────────────────────── */

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid rgba(251, 238, 254, 0.14); }
.steps li { counter-increment: step; display: grid; gap: 12px; align-content: start; padding: 24px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid rgba(251, 238, 254, 0.1); }
.steps h3::before { content: counter(step) '. '; color: var(--tube); }
.steps p { color: var(--ink-2); }
.illo { height: 72px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.illo-chips span { font: 600 var(--s-20) var(--display); padding: 8px 14px; border: 1.5px solid rgba(251, 238, 254, 0.16); border-radius: var(--r-small); color: var(--ink-2); }
.illo-chips .press { color: var(--ink); border-color: #ff3c8e; box-shadow: 0 0 12px rgba(255, 60, 142, 0.3); }
html.motion .is-in .illo-chips .press { animation: key-press 2.4s ease-in-out infinite; }
@keyframes key-press { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(3px); box-shadow: none; } }
.illo-hud { align-self: start; margin-top: 18px; height: auto; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(12, 6, 20, 0.88); border: 1px solid rgba(255, 60, 142, 0.45); box-shadow: 0 0 18px rgba(255, 60, 142, 0.2); font: 700 13px system-ui, sans-serif; width: max-content; }
.illo-hud .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3c8e; box-shadow: 0 0 8px #ff3c8e; }
html.motion .illo-hud .dot { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.illo-hud .hud-label { color: #b9a3c9; font-weight: 600; font-size: 11px; }
.illo-hud .stars svg { width: 13px; height: 13px; fill: var(--sodium); }
.illo-hud .stars i { display: contents; }
.illo-hud .stars i svg { fill: rgba(255, 255, 255, 0.18); }
.illo-tile { gap: 12px; }
.illo-tile svg { width: 120px; height: auto; }
.tile-chip { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--street); background: rgba(124, 247, 212, 0.12); }
.wanted-rule { display: flex; gap: 14px; align-items: flex-start; margin-top: 56px; padding: 20px 22px; border: 1px solid rgba(255, 138, 61, 0.35); border-radius: var(--r-small); max-width: 52em; }
.wanted-rule svg { flex: none; width: 24px; height: 24px; fill: var(--sodium); margin-top: 1px; }

/* ── Feature tour: the screenshot stays, the text scrolls ─── */

.tour-hint { margin-top: 12px; color: var(--ink-2); }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; margin-top: 40px; }
.tour-frame { position: sticky; top: 96px; align-self: start; display: grid; }
.tour-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms; display: flex; justify-content: center; }
.tour-slide.is-active { opacity: 1; visibility: visible; }
.tour-items { list-style: none; counter-reset: none; }
.tour-items li { min-height: 62vh; padding: 28px 0; border-top: 1px solid var(--day-line); display: grid; gap: 10px; align-content: start; transition: opacity 200ms ease; }
.tour-items li:first-child { border-top: 2px solid var(--ink); }
html.js .tour-items li:not(.is-active) { opacity: 0.45; }
.tour-items p { color: var(--ink-2); max-width: 34em; }
.shot { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; }
.shot img { display: block; max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 1px 2px rgba(26, 15, 38, 0.18), 0 18px 40px -18px rgba(26, 15, 38, 0.45); }
.tour-big img { max-height: 70vh; width: auto; }
.tour-inline { display: none; margin-top: 8px; }

.zoom { padding: 0; border: 0; background: transparent; max-width: min(1240px, 94vw); max-height: 94vh; }
.zoom::backdrop { background: rgba(10, 5, 16, 0.86); }
.zoom img { display: block; max-width: 100%; max-height: calc(94vh - 64px); width: auto; height: auto; border-radius: 12px; }
.zoom .btn { margin: 12px auto 0; display: flex; background: var(--asphalt); }

/* ── Garage ───────────────────────────────────────────────── */

.garage .lede { margin-top: 16px; }
.tier { margin-top: 28px; border-top: 1px solid rgba(251, 238, 254, 0.12); }
.tier summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; padding: 18px 0; }
.tier summary::-webkit-details-marker { display: none; }
.tier summary::after { content: '+'; margin-left: auto; color: var(--tube); font-size: var(--s-28); line-height: 0.8; transition: transform 200ms ease; }
.tier[open] summary::after { transform: rotate(45deg); }
.tier-name { font-family: var(--display); font-weight: 700; font-stretch: 85%; font-size: var(--s-28); }
.tier-facts { color: var(--ink-2); }
.tier-common .tier-name { color: var(--street); }
.tier-rare .tier-name { color: var(--rare); }
.tier-epic .tier-name { color: var(--epic); }
.tier-legendary .tier-name { color: var(--legendary); }
.cars { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 18px; padding: 4px 0 28px; }
.cars li { display: grid; gap: 2px; }
.cars svg { width: 100%; height: auto; aspect-ratio: 240 / 100; margin-bottom: 6px; }
.car-name { font-size: var(--s-14); font-weight: 600; line-height: 1.3; }
.car-brand { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.3; }
.tier::details-content, .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 250ms ease, content-visibility 250ms allow-discrete; }
.tier[open]::details-content, .faq details[open]::details-content { block-size: auto; }

/* ── Limits: three numbers ────────────────────────────────── */

.numbers { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--ink); }
.numbers li { padding: 24px 24px 0 0; display: grid; gap: 6px; align-content: start; }
.numbers li + li { padding-left: 24px; border-left: 1px solid var(--day-line); }
.numbers b { font-family: var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; font-size: clamp(3rem, 6.5vw, 5rem); font-weight: 700; line-height: 1; }
.numbers span { color: var(--ink-2); max-width: 18em; }
.limits-text { margin-top: 40px; display: grid; gap: 14px; max-width: 46em; }
.small-print { padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: var(--s-14); }
.small-print li::marker { color: var(--neon); }

/* ── Privacy diagram ──────────────────────────────────────── */

.points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 40px; }
.points li { padding: 16px 0 16px 28px; border-top: 1px solid rgba(251, 238, 254, 0.12); position: relative; }
.points li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--tube); box-shadow: 0 0 6px var(--tube); }
.flow { margin: 48px 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 0.5fr) minmax(0, 1fr); align-items: center; gap: 0; }
.flow-box { padding: 22px 24px; border: 1px solid rgba(41, 230, 255, 0.25); border-radius: var(--r-panel); background: var(--bay); display: grid; gap: 10px; align-self: stretch; }
.flow-box ul { padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink-2); font-size: var(--s-14); }
.flow-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(41, 230, 255, 0.6) 0 8px, transparent 8px 14px); }
.flow-dot { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--tube); box-shadow: 0 0 10px var(--tube); }
html.motion .flow.is-in .flow-dot { animation: travel 2.6s ease-in-out infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.flow figcaption { grid-column: 1 / -1; text-align: center; margin-top: 14px; font-size: var(--s-14); color: var(--ink-2); }

/* ── FAQ ──────────────────────────────────────────────────── */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--day-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--display); font-weight: 600; font-stretch: 92%; font-size: var(--s-20); }
.faq summary:hover { color: var(--neon); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--neon); font-size: var(--s-28); line-height: 0.8; transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* ── Closer ───────────────────────────────────────────────── */

.closer-inner { display: grid; justify-items: center; gap: 8px; text-align: center; }
.closer h2 { margin-bottom: 24px; }
.closer-car { width: min(460px, 86%); height: auto; filter: drop-shadow(0 0 18px rgba(255, 60, 142, 0.4)); }

/* ── Footer ───────────────────────────────────────────────── */

.foot { border-top: 1px solid rgba(251, 238, 254, 0.1); }
.foot-inner { width: min(1180px, 100%); margin: 0 auto; padding: 40px 24px 48px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px 32px; align-items: center; font-size: var(--s-14); color: var(--ink-2); }
.foot .wordmark { font-size: var(--s-20); }
.foot-disclaimer { max-width: 44em; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ── Legal pages ──────────────────────────────────────────── */

.legal { max-width: 800px; padding-top: 48px; padding-bottom: 112px; }
.legal h1 { font-size: clamp(2.25rem, 4vw, var(--s-44)); }
.legal .updated { color: var(--ink-2); margin-top: 12px; }
.legal section { margin-top: 40px; }
.legal h2 { font-size: var(--s-20); font-weight: 600; font-stretch: 90%; margin-bottom: 12px; }
.legal section p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 10px; }
.legal li::marker { color: var(--tube); }
.legal .draft { margin-top: 28px; padding: 14px 18px; border-left: 3px solid var(--sodium); background: rgba(255, 138, 61, 0.08); border-radius: 0 var(--r-small) var(--r-small) 0; }

/* ── Smaller screens ──────────────────────────────────────── */

@media (max-width: 1040px) {
  .nav { display: none; }
  .top .langs { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .roles, .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles li:nth-child(3), .benefits li:nth-child(3) { padding-left: 0; border-left: 0; }
  .roles li:nth-child(n + 3), .benefits li:nth-child(n + 3) { margin-top: 24px; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour-frame { display: none; }
  .tour-inline { display: block; }
  html.js .tour-items li:not(.is-active) { opacity: 1; }
  .tour-items li { min-height: 0; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .wrap, .top-inner, .foot-inner { padding-left: 16px; padding-right: 16px; }
  .top-inner { padding-top: 12px; padding-bottom: 12px; }
  .wordmark { font-size: var(--s-20); }
  .lede { font-size: 1.0625rem; }
  main > section { padding: 72px 0; }
  main > section.hero { padding: 32px 0 64px; }
  .roles, .benefits, .steps, .numbers, .points { grid-template-columns: minmax(0, 1fr); }
  .roles li, .benefits li, .steps li, .numbers li { padding: 18px 0 0; border-left: 0 !important; margin-top: 0 !important; }
  .roles li + li, .benefits li + li, .steps li + li, .numbers li + li { padding-left: 0; border-top: 1px solid var(--day-line); margin-top: 18px !important; }
  .steps li + li { border-top-color: rgba(251, 238, 254, 0.1); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-line { height: 48px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(41, 230, 255, 0.6) 0 8px, transparent 8px 14px); }
  .flow-dot { left: -4px !important; top: 0; }
  @keyframes travel { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .demo { padding: 14px; }
  .stages { font-size: 0.6875rem; gap: 4px; }
  .clock b { font-size: var(--s-20); }
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
