/* ============ Load Watcher — Dispatch Terminal v2 ============
   Asphalt, road-sign green, reflective yellow, paper tickets, split-flap board. Flat colour, no neon. */
:root {
  --bg: #0c0e0f;
  --panel: #131617;
  --line: #252a2b;
  --line-2: #373d3e;
  --paper: #ece6d6;
  --paper-2: #d9d2bf;
  --ink: #121414;
  --teal: #19d3b0;
  --teal-d: #0a8f79;
  --yellow: #ffd23f;
  --sign: #0b6b4d;
  --red: #d8412f;
  --text: #efece2;
  --mute: #8e9895;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px var(--gutter); background: rgba(12, 14, 15, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .08em; color: var(--teal); }
.brand b { color: var(--text); font-weight: 600; }
.brand-mark { width: 24px; height: 24px; }
.nav { display: flex; gap: 2px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .12em; }
.nav a { padding: 8px 12px; color: var(--mute); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a i { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--yellow); margin-right: 6px; vertical-align: 2px; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-bottom-color: var(--yellow); }
.header-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; }
.lang button { background: none; border: 0; padding: 6px 9px; color: var(--mute); letter-spacing: .06em; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--ink); font-weight: 700; }

/* ---------- odometer ---------- */
.odo { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; position: fixed; left: 18px; bottom: 18px; z-index: 55; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(12, 14, 15, .92); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: .08em; }
.odo.show { opacity: 1; transform: none; }
.odo-bar { position: relative; width: 84px; height: 2px; background: var(--line-2); }
.odo-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--yellow); }
.odo-bar i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; background: var(--yellow); }
.odo b { color: var(--yellow); font-size: 15px; font-weight: 700; letter-spacing: .04em; min-width: 4.4ch; text-align: right; }
.odo small { font-size: 10px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 0; border-radius: 4px; font-weight: 700; font-size: 15px; line-height: 1.1; white-space: nowrap; transition: transform .12s, box-shadow .12s, background .2s; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-xl { padding: 20px 36px; font-size: 19px; }
.btn-block { width: 100%; }
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.btn-stack small { font-family: var(--mono); font-size: 10.5px; font-weight: 500; opacity: .7; }
.btn-primary { color: var(--ink); background: var(--teal); box-shadow: 0 4px 0 var(--teal-d); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--teal-d); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--teal-d); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-ink { color: var(--paper); background: var(--ink); box-shadow: 0 4px 0 #000; }
.btn-ink:hover { transform: translateY(2px); box-shadow: 0 2px 0 #000; }
.link-btn { background: none; border: 0; padding: 0; color: var(--yellow); font-family: var(--mono); font-size: 12.5px; text-align: left; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-center { display: block; margin: 14px auto 0; text-align: center; }

/* ---------- common ---------- */
main { position: relative; }
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gutter) 0; }
.section-head { max-width: 900px; margin-bottom: clamp(30px, 5vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: blink 1.6s steps(2, jump-none) infinite; flex: none; display: inline-block; }
@keyframes blink { 50% { opacity: .2; } }

/* highway exit sign */

h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 6vw, 84px); line-height: .96; letter-spacing: 0; }
h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(24px, 3vw, 36px); letter-spacing: .02em; }
h4 { font-size: 17px; font-weight: 600; }
.lead { margin-top: 20px; color: var(--mute); font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 104px; }
.hero-in { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { margin-top: 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 8.2vw, 122px); line-height: 1; letter-spacing: 0; overflow-wrap: break-word; }
.hero h1 em { font-style: normal; display: inline-block; background: var(--teal); color: var(--ink); padding: .02em .12em 0; line-height: .96; margin-top: .06em; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.hero-copy { max-width: 560px; }
.hero-copy .lead { margin-top: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.note { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.stats { display: flex; gap: clamp(22px, 3vw, 46px); }
.stats > div { padding-left: 14px; border-left: 3px solid var(--yellow); }
.stats dt { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.stats dd { font-size: 13px; color: var(--mute); margin-top: 4px; }

/* road */
.road { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 520px; perspective-origin: 50% 12%;
  opacity: .75; -webkit-mask-image: linear-gradient(to bottom, transparent 22%, #000 60%); mask-image: linear-gradient(to bottom, transparent 22%, #000 60%); }
.road-plane { position: absolute; left: 50%; bottom: -8%; width: 130%; height: 120%; transform: translateX(-50%) rotateX(63deg); transform-origin: 50% 100%; background: #171a1b; border-left: 6px solid #2b3031; border-right: 6px solid #2b3031; }
.road-plane::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.4%; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, var(--yellow) 0 64px, transparent 64px 160px); background-position: 0 var(--off, 0px); opacity: .9; }
.road-plane::after { content: ""; position: absolute; inset: 0 8%; border-left: 3px solid rgba(255, 255, 255, .55); border-right: 3px solid rgba(255, 255, 255, .55); }
@keyframes drive { to { background-position: 0 160px; } }

/* split-flap board */
.flap-board { --cw: clamp(15px, 2.55vw, 33px); --ch: calc(var(--cw) * 1.5); --cg: 3px; margin-top: clamp(34px, 5vw, 64px); padding: clamp(12px, 2vw, 22px); background: #08090a; border: 2px solid #2a2f30; border-radius: 6px; box-shadow: 0 0 0 6px #121516, 0 30px 80px rgba(0, 0, 0, .6); }
.fb-cap, .fb-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.fb-cap { padding-bottom: 12px; }
.fb-foot { padding-top: 14px; }
.fb-foot b { color: var(--yellow); font-size: 14px; }
.fb-head, .fb-row { display: flex; justify-content: space-between; gap: clamp(8px, 1.6vw, 22px); }
.fb-head { padding-bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--mute); }
.fb-row { margin-top: calc(var(--cg) * 3); }
.fb-g { display: flex; gap: var(--cg); flex: none; }
.fb-h { width: calc(var(--n) * var(--cw) + (var(--n) - 1) * var(--cg)); flex: none; }
.cell { position: relative; display: inline-block; width: var(--cw); height: var(--ch); perspective: 260px; font-family: var(--mono); font-weight: 700; font-size: calc(var(--cw) * 1.08); color: #f3efe2; }
.cell .h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #1a1d1e; backface-visibility: hidden; }
.cell .h i { position: absolute; left: 0; right: 0; height: 200%; line-height: var(--ch); text-align: center; font-style: normal; }
.cell .t { top: 0; border-radius: 3px 3px 0 0; } .cell .t i { top: 0; }
.cell .b { bottom: 0; border-radius: 0 0 3px 3px; background: #141718; } .cell .b i { bottom: 0; }
.cell .ft { top: 0; z-index: 3; transform-origin: 50% 100%; border-radius: 3px 3px 0 0; } .cell .ft i { top: 0; }
.cell .fb { bottom: 0; z-index: 4; transform-origin: 50% 0; transform: rotateX(90deg); border-radius: 0 0 3px 3px; background: #141718; } .cell .fb i { bottom: 0; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #050606; z-index: 6; }
.fb-g.st-matched .cell { color: var(--yellow); }
.fb-g.st-calling .cell { color: #ff9f43; }
.fb-g.st-called .cell { color: var(--teal); }

/* ticker (LED sign) */
.ticker { position: relative; z-index: 2; margin-top: clamp(34px, 5vw, 60px); border-block: 1px solid var(--line); background: #08090a; overflow: hidden; }
.ticker-track { display: flex; gap: 56px; width: max-content; padding: 11px 0; font-family: var(--mono); font-size: 12px; color: #ff9f43; letter-spacing: .06em; animation: marquee 60s linear infinite; }
.ticker-track b { color: var(--yellow); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; padding: 2px 7px; border: 1px solid var(--line-2); color: var(--mute); }
.chip.ok { color: var(--teal); border-color: rgba(25, 211, 176, .4); } .chip.ok::before { content: "✓ "; }
.chip.bad { color: var(--red); border-color: rgba(216, 65, 47, .5); }
.chip.tag { color: var(--ink); background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--yellow) var(--p, 50%), var(--line-2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--yellow); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 20px; margin-top: -8px; background: var(--text); border: 2px solid var(--bg); border-radius: 2px; }
input[type="range"]::-moz-range-thumb { width: 8px; height: 16px; background: var(--text); border: 2px solid var(--bg); border-radius: 2px; }

/* ---------- features (spec sheet) ---------- */
.features { margin-top: clamp(56px, 8vw, 100px); }
.features h3 { margin-bottom: 22px; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.spec article { background: var(--bg); padding: 22px 22px 26px; display: grid; gap: 8px; align-content: start; min-height: 190px; transition: background .2s; }
.spec article:hover { background: var(--panel); }
.spec .wide { grid-column: span 2; }
.spec p { font-size: 14px; color: var(--mute); }
.fnum { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--yellow); }

/* ---------- flow ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps3 li { padding-top: 16px; border-top: 3px solid var(--text); display: grid; gap: 8px; }
.steps3 p { color: var(--mute); font-size: 15px; }
.stepn { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--yellow); }
.timeline { margin-top: clamp(40px, 6vw, 72px); padding: clamp(20px, 3vw, 36px); background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; }
.tl-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tl-clock { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); }
.tl-clock b { font-size: clamp(76px, 12vw, 160px); line-height: .9; font-weight: 700; color: var(--yellow); font-variant-numeric: tabular-nums; }
.tl-clock span { font-size: 28px; color: var(--mute); }
.tl-meta { flex: 1; display: flex; gap: 10px; align-items: center; color: var(--mute); }
.badge-ultra { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .14em; padding: 3px 10px; background: var(--teal); color: var(--ink); }
.tl-bar { position: relative; margin: 22px 0 28px; height: 14px; background: #08090a; border: 1px solid var(--line-2); overflow: hidden; }
.tl-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 14px, transparent 14px 28px); }
.tl-fill { position: relative; height: 100%; width: 0; background: var(--teal); }
.tl-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tl-steps li { position: relative; padding-top: 22px; opacity: .3; transition: opacity .3s; }
.tl-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border: 2px solid var(--line-2); background: var(--bg); transition: .3s; }
.tl-steps li.on { opacity: 1; }
.tl-steps li.on::before { background: var(--yellow); border-color: var(--yellow); }
.tl-steps time { font-family: var(--mono); font-size: 13px; color: var(--yellow); display: block; margin-bottom: 4px; }
.tl-steps p { font-size: 14px; }
.tl-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); max-width: 780px; }

/* ---------- tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); transform-style: preserve-3d; }
.tk-top { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; position: relative; }
.tk-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #6d6a5f; border-bottom: 1px solid rgba(18, 20, 20, .25); padding-bottom: 10px; }
.tk-name { font-family: var(--display); font-weight: 700; font-size: 60px; line-height: .9; letter-spacing: .01em; }
.tk-desc { font-size: 14px; color: #4a4b45; min-height: 42px; }
.tk-price { display: flex; align-items: baseline; gap: 4px; }
.tk-price sup { font-family: var(--display); font-size: 26px; font-weight: 600; position: relative; top: -20px; }
.tk-price b { font-family: var(--display); font-weight: 700; font-size: 84px; line-height: .9; }
.tk-price span { font-family: var(--mono); font-size: 12.5px; color: #5b5f5d; margin-left: 4px; }
.tk-price-text b { font-size: 50px; line-height: 1; padding: 12px 0 10px; text-transform: uppercase; }
.ticket-ultra .tk-top { padding-top: 38px; }
.stamp { position: absolute; top: 58px; right: 20px; transform: rotate(9deg); padding: 6px 12px; border: 3px solid var(--red); border-radius: 6px; color: var(--red); font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.05; mix-blend-mode: multiply; opacity: .88; max-width: 120px; }
.tk-list li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px dashed rgba(18, 20, 20, .28); font-size: 14.5px; font-weight: 500; }
.tk-list li:last-child { border-bottom: 0; }
.tk-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; background: var(--ink); }
.tk-list li.hot { font-weight: 700; }
.tk-list li.locked { display: flex; justify-content: space-between; gap: 8px; color: #7b7a70; }
.tk-list li.locked span { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.tk-list li.locked::before { background: none; border: 2px solid #9b9a8f; }
.tk-list li.locked em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; background: var(--ink); color: var(--teal); padding: 2px 6px; align-self: center; }
.tk-stub { position: relative; padding: 22px 26px 22px; border-top: 2px dashed rgba(18, 20, 20, .4); display: grid; gap: 10px; }
.tk-stub::before, .tk-stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; background: var(--bg); border-radius: 50%; }
.tk-stub::before { left: -11px; } .tk-stub::after { right: -11px; }
.barcode { height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px, var(--ink) 13px 17px, transparent 17px 19px); opacity: .85; margin-bottom: 4px; }
.ticket .link-btn { color: #3b3c37; }
.ticket-ultra { background: var(--teal); box-shadow: 0 0 0 3px var(--yellow), 0 30px 70px rgba(0, 0, 0, .55); transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .7s; }
.ticket-ultra .tk-meta { color: #0b5a4c; border-color: rgba(18, 20, 20, .3); }
.ticket-ultra .tk-desc, .ticket-ultra .tk-price span { color: #0c4b40; }
.ticket-ultra .tk-stub { border-top-color: rgba(18, 20, 20, .45); }
.ticket-ultra .tk-list li { border-color: rgba(18, 20, 20, .3); }
.ticket-ultra .link-btn { color: var(--ink); }
.tk-flag { position: absolute; top: -15px; left: 26px; z-index: 3; padding: 5px 14px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 0 rgba(0, 0, 0, .4); }
.cfg { border: 2px solid var(--ink); padding: 14px; display: grid; gap: 10px; }
.cfg-title { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.cfg-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.cfg-row em { font-style: normal; font-weight: 400; color: #5b5f5d; }
.stepper { display: flex; align-items: center; border: 2px solid var(--ink); }
.stepper button { width: 32px; height: 30px; background: none; border: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.stepper button:hover { background: var(--ink); color: var(--paper); }
.stepper output { min-width: 38px; text-align: center; font-family: var(--mono); font-weight: 700; }
.cfg-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 2px dashed rgba(18, 20, 20, .4); font-size: 13px; color: #4a4b45; }
.cfg-total b { font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--ink); }
.cfg-note { font-size: 11.5px; color: #5b5f5d; line-height: 1.45; }

.install { display: flex; justify-content: center; margin-top: clamp(44px, 6vw, 72px); }
.funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.funnel li { padding-top: 16px; border-top: 3px solid var(--text); display: grid; gap: 6px; }
.funnel p { font-size: 14px; color: var(--mute); }
.fine { margin-top: 26px; font-family: var(--mono); font-size: 12px; color: var(--mute); }

/* ---------- join ---------- */
.join { padding-bottom: clamp(70px, 9vw, 120px); }
.join-inner { position: relative; padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 64px) clamp(70px, 9vw, 120px); background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.join-inner h2 { max-width: 1000px; font-size: clamp(42px, 7.4vw, 108px); }
.join-inner .lead { margin: 22px 0 34px; }
.contacts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; font-family: var(--mono); font-size: 13px; color: var(--mute); }
.contacts a { color: var(--text); border-bottom: 1px dashed var(--line-2); }
.contacts a:hover { color: var(--yellow); }
.contacts:empty { display: none; }
@keyframes road { to { background-position: -100px 0; } }

.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter) 90px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--mute); }

/* ---------- dialog / toast ---------- */
.dialog { width: min(920px, calc(100vw - 32px)); max-height: 86vh; padding: 0; border: 2px solid var(--text); border-radius: 6px; background: var(--bg); color: var(--text); }
.dialog::backdrop { background: rgba(0, 0, 0, .8); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--bg); z-index: 2; }
.dialog-close { background: none; border: 1px solid var(--line-2); width: 34px; height: 34px; color: var(--mute); }
.dialog-close:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.dialog-body { padding: 6px 24px 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 34px; }
.dialog-body section h5 { margin: 22px 0 8px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.dialog-body li { padding: 7px 0 7px 22px; position: relative; font-size: 14px; border-bottom: 1px dashed var(--line-2); }
.dialog-body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; background: var(--teal); }
.dialog-body .ultra li::before { background: var(--yellow); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 100; padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 14px; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .tickets { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 36px; }
  .ticket-ultra { order: -1; margin-top: 10px; }
  .tk-desc { min-height: 0; }
}
@media (max-width: 720px) {
  .lang button { padding: 6px 7px; }
  .site-header .btn-sm { display: none; }
  .fb-g.hide-m, .fb-h.hide-m { display: none; }
  .steps3, .funnel, .dialog-body { grid-template-columns: 1fr; }
  .tl-steps { grid-template-columns: 1fr; gap: 0; }
  .tl-steps li { padding: 0 0 18px 26px; border-left: 2px solid var(--line-2); margin-left: 5px; }
  .tl-steps li::before { left: -8px; top: 2px; }
  .spec { grid-template-columns: 1fr; } .spec .wide { grid-column: auto; } .spec article { min-height: 0; }
  .btn-xl { padding: 17px 22px; font-size: 17px; width: 100%; }
  .stats { gap: 18px; width: 100%; }
  .odo { left: 10px; bottom: 10px; padding: 6px 9px; } .odo-bar { width: 44px; }
  .stamp { top: 54px; right: 14px; font-size: 14px; }
  .tk-name { font-size: 52px; } .tk-price b { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Cyrillic headlines are longer — keep the highlight on one line */
html[lang="ru"] .hero h1, html[lang="uk"] .hero h1 { font-size: clamp(40px, 6.1vw, 92px); }
html[lang="ru"] h2, html[lang="uk"] h2 { font-size: clamp(34px, 5.2vw, 72px); }


/* ================= v3: motion + sound ================= */
.snd { width: 36px; height: 34px; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); color: var(--mute); padding: 0; }
.snd svg { width: 18px; height: 18px; }
.snd .snd-on { display: none; }
.snd[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.snd[aria-pressed="true"] .snd-on { display: block; } .snd[aria-pressed="true"] .snd-off { display: none; }
.snd.hint { animation: sndhint 2s ease-in-out infinite; }
@keyframes sndhint { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .6); } 60% { box-shadow: 0 0 0 9px rgba(255, 210, 63, 0); } }

/* headline curtain + highlight wipe */
.hero h1.reveal { transform: translateY(28px); clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.hero h1.reveal.in { transform: none; clip-path: inset(-5% -2% -12% -2%); }
.hero h1 em { background: linear-gradient(var(--teal), var(--teal)) left center / 0% 100% no-repeat; transition: background-size .8s cubic-bezier(.7, 0, .2, 1) .55s; }
.hero h1.in em { background-size: 100% 100%; }
h2.reveal { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); transition-delay: var(--d, 0s); }
h2.reveal.in { clip-path: inset(-6% -2% -10% -2%); }

/* swinging exit signs */
.sign.reveal { transform-origin: 50% 0; transform: perspective(600px) rotateX(-85deg); opacity: 0; }
.sign.reveal.in { transform: none; opacity: 1; transition: transform 1s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }

/* board flashes */
.fb-row { border-radius: 3px; }
.fb-row.flash { animation: rowflash 1s ease-out; }
@keyframes rowflash { 0% { background: rgba(255, 210, 63, .28); box-shadow: 0 0 0 6px rgba(255, 210, 63, .28); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }
.fb-row.flash-ok { animation: rowflashok 1s ease-out; }
@keyframes rowflashok { 0% { background: rgba(25, 211, 176, .3); box-shadow: 0 0 0 6px rgba(25, 211, 176, .3); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }

/* truck on the road */
@keyframes spin { to { transform: rotate(360deg); } }

/* spec cells: paint-fill on hover */
.spec article { position: relative; isolation: isolate; overflow: hidden; }
.spec article::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .35s cubic-bezier(.7, 0, .2, 1); }
.spec article:hover { background: var(--bg); }
.spec article:hover::before { transform: scaleY(1); }
.spec article:hover h4, .spec article:hover .fnum, .spec article:hover .link-btn { color: var(--ink); }
.spec article:hover p { color: #3b3418; }

/* stamps slam onto the tickets */
.ticket .stamp { opacity: 0; transform: rotate(9deg) scale(3); }
.ticket.stamped .stamp { animation: slam .38s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.ticket.stamped .tk-top { animation: jolt .3s ease-out; }
@keyframes slam { 0% { opacity: 0; transform: rotate(16deg) scale(3); } 55% { opacity: .95; transform: rotate(8deg) scale(.92); } 100% { opacity: .88; transform: rotate(9deg) scale(1); } }
@keyframes jolt { 0% { transform: translateY(0); } 30% { transform: translateY(3px); } 60% { transform: translateY(-1px); } 100% { transform: translateY(0); } }
.ticket.reveal { transform: translateY(60px) rotate(-1.5deg); }
.ticket.reveal.in { transform: none; }
.ticket-ultra::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .38) 50%, transparent 58%) 160% 0 / 260% 100% no-repeat; animation: shine 5.5s ease-in-out 1.5s infinite; }
@keyframes shine { 0% { background-position: 160% 0; } 40%, 100% { background-position: -70% 0; } }

/* timeline finish */
.tl-steps li:last-child.on time::after { content: " ☎"; display: inline-block; animation: ring .9s ease-in-out 2; transform-origin: 50% 60%; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-16deg); } 20%, 40%, 60% { transform: rotate(16deg); } 70% { transform: rotate(0); } }
.timeline.done .tl-clock b { animation: flashy .6s steps(2, jump-none) 3; }
@keyframes flashy { 50% { color: var(--teal); } }

@media (max-width: 720px) { .snd { width: 32px; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1.reveal, h2.reveal { clip-path: none; transform: none; }
  .hero h1 em { background-size: 100% 100%; }
  .sign.reveal, .ticket.reveal { transform: none; opacity: 1; }
  .ticket .stamp { opacity: .88; transform: rotate(9deg); }
}

/* odometer: compact below wide screens so it never covers the copy */
.odo { pointer-events: none; }
@media (max-width: 1559px) { .odo .odo-c, .odo .odo-bar { display: none; } .odo { padding: 6px 10px; } }

/* ================= v4: trucker scene ================= */
.hero-road { --tw: clamp(330px, 47vw, 680px); position: relative; z-index: 3; height: calc(var(--tw) * .3 + 96px); margin-top: clamp(14px, 2.4vw, 34px); }
.hr-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #15181a; border-top: 4px solid #2b3031; }
.hr-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 110px); background-position: calc(var(--so, 0px) * -1) 0; opacity: .9; }
.hr-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 30px, transparent 30px 70px); background-position: calc(var(--so, 0px) * -1.4) 0; }
.hr-posts { position: absolute; left: 0; right: 0; bottom: 64px; height: 30px; background: repeating-linear-gradient(90deg, transparent 0 196px, #6c7476 196px 199px); background-position: calc(var(--po, 0px) * -1) 0; opacity: .8; }
.truck { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: var(--tw); margin-left: calc(var(--tw) / -2); cursor: pointer; will-change: transform; }
.truck svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }
.truck.honk { animation: honk .5s ease-out; }
@keyframes honk { 0%, 100% { translate: 0 0; } 15% { translate: 0 -5px; } 30% { translate: 3px 0; } 45% { translate: -3px 0; } 60% { translate: 2px 0; } }
.smoke { position: absolute; z-index: 4; left: 0; top: -210px; width: 100%; height: calc(100% + 210px); pointer-events: none; }

/* reflective tape divider (like the chevrons on a trailer) */
.tape { height: 16px; margin-top: clamp(70px, 9vw, 130px); background: repeating-linear-gradient(-45deg, #d8412f 0 16px, #ece6d6 16px 32px); border-block: 2px solid #0c0e0f; opacity: .92; }
.tape + .section { padding-top: clamp(56px, 8vw, 110px); }
/* steel plate above the footer */
.plate { height: 14px; background: conic-gradient(from 45deg at 50% 50%, #303637 0 25%, #1d2223 0 50%, #303637 0 75%, #1d2223 0) 0 0 / 12px 12px; border-top: 2px solid #3d4445; }
/* licence-plate style ticket numbers */
.cb { margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); }
.cb + .lead { margin-top: 10px; }

@media (max-width: 720px) { .hero-road { --tw: 92vw; height: calc(var(--tw) * .3 + 80px); } .hr-strip { height: 52px; } .hr-posts { bottom: 52px; } .truck { bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .wh { animation: none; } .smoke { display: none; } }

/* one road only: distant hills give depth behind the truck */
.hr-hills { position: absolute; left: 0; right: 0; bottom: 64px; height: 150px; opacity: .9;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='150' viewBox='0 0 900 150'><path d='M0 150V96l70-34 60 26 80-52 90 44 80-30 90 42 90-48 90 40 80-36 70 30V150z' fill='%23101415'/></svg>") repeat-x;
  background-size: 900px 150px; background-position: calc(var(--hp, 0px) * -1) 100%;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.flap-board { --cw: clamp(13px, 2.55vw, 33px); }
.hero { padding-bottom: 0; }


/* ================= v5 ================= */
.nav a { padding: 8px 14px; }

/* ---- highway exit signs ---- */
.sign { display: inline-block; position: relative; margin-bottom: 44px; font-family: var(--display); color: #fff; }
.sign::after { content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 26px; background: linear-gradient(90deg, transparent 14%, #4a5254 14% 16.5%, transparent 16.5% 83.5%, #4a5254 83.5% 86%, transparent 86%); -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.sign-tab { display: inline-flex; align-items: baseline; gap: 8px; margin-left: 16px; padding: 4px 14px 3px; background: var(--sign); border: 2px solid #fff; border-bottom: 0; border-radius: 7px 7px 0 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; position: relative; z-index: 1; margin-bottom: -2px; }
.sign-tab b { font-size: 17px; letter-spacing: 0; color: var(--yellow); }
.sign-board { position: relative; min-width: min(360px, 84vw); padding: 14px 22px 12px 18px; border-radius: 9px; background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 40%), var(--sign);
  box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff, 0 10px 30px rgba(0, 0, 0, .5); }
.sign-main { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
.sg-ico { width: 30px; height: 30px; flex: none; }
.sg-arrow { width: 30px; height: 30px; margin-left: auto; flex: none; }
.sign-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .35); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.sign-sub em { font-style: normal; color: var(--yellow); white-space: nowrap; }

/* ---- hero: copy left, truck right, road across ---- */
.hero-row { margin-top: clamp(18px, 2.4vw, 32px); }
.hero-copy { max-width: 560px; position: relative; z-index: 6; }
.hero-road { --tw: clamp(360px, 43vw, 640px); margin-top: calc(var(--tw) * -.3 - 24px); height: calc(var(--tw) * .3 + 104px); pointer-events: none; }
.truck { left: auto; right: clamp(12px, 7vw, 130px); margin-left: 0; pointer-events: auto; }
.hl-row { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-top: 34px; }
.hero-low .flap-board { margin-top: 30px; }
.game-sign { display: inline-block; position: relative; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--display); color: #fff; transition: transform .2s; }
.game-sign:hover { transform: translateY(-3px) rotate(-1deg); }
.gs-tab { display: inline-block; margin-left: 12px; padding: 3px 12px 2px; background: var(--sign); border: 2px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; position: relative; z-index: 1; margin-bottom: -2px; }
.gs-main { display: flex; align-items: center; gap: 14px; padding: 11px 18px 11px 16px; border-radius: 8px; background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 40%), var(--sign); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff, 0 10px 26px rgba(0, 0, 0, .5); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.gs-main svg { width: 22px; height: 22px; color: var(--yellow); }

/* ---- Pro tools bento ---- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 14px; }
.bc { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; transition: border-color .25s, background .25s; }
.bc:hover { border-color: var(--yellow); background: #161a1b; }
.bc-a { grid-column: 1 / span 2; grid-row: span 2; }
.bc-f, .bc-g { grid-column: span 2; }
.bc-head h4 { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; margin-bottom: 6px; }
.bc-head p { font-size: 14px; color: var(--mute); }
.bc .viz { margin-top: auto; }
.bc .link-btn { margin-top: 14px; }

.viz-match { display: grid; gap: 0; }
.mrow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); margin-top: -1px; font-family: var(--mono); font-size: 13.5px; color: var(--mute); }
.mrow em { font-style: normal; color: var(--text); }
.mrow b { padding: 1px 8px; background: var(--yellow); color: var(--ink); font-size: 10.5px; letter-spacing: .08em; opacity: 0; }
.bc.in .mrow { animation: mhl 7.2s ease-in-out infinite; } .bc.in .mrow b { animation: mtag 7.2s ease-in-out infinite; }
.r2, .r2 b { animation-delay: 1.2s !important; } .r3, .r3 b { animation-delay: 2.4s !important; } .r4, .r4 b { animation-delay: 3.6s !important; } .r5, .r5 b { animation-delay: 4.8s !important; } .r6, .r6 b { animation-delay: 6s !important; }
@keyframes mhl { 0%, 100% { background: transparent; border-color: var(--line); color: var(--mute); transform: none; } 4%, 14% { background: rgba(255, 210, 63, .12); border-color: var(--yellow); color: var(--text); transform: translateX(8px); } 20% { background: transparent; border-color: var(--line); color: var(--mute); transform: none; } }
@keyframes mtag { 0%, 100% { opacity: 0; } 4%, 14% { opacity: 1; } 20% { opacity: 0; } }

.viz-route { width: 100%; height: auto; }
.vr-line { stroke-dasharray: 100; stroke-dashoffset: 100; }
.bc.in .vr-line { animation: vrdraw 4.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes vrdraw { 0% { stroke-dashoffset: 100; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }

.viz-rpm .bar { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; margin-bottom: 16px; font-size: 12.5px; color: var(--mute); }
.viz-rpm .bar span { grid-column: 1; grid-row: 1; } .viz-rpm .bar b { grid-column: 2; grid-row: 1; font-family: var(--mono); color: var(--text); }
.viz-rpm .track { grid-column: 1 / -1; grid-row: 2; height: 12px; background: var(--line); overflow: hidden; }
.viz-rpm .track i { display: block; height: 100%; width: var(--w); background: var(--teal); transform-origin: left; transform: scaleX(0); }
.viz-rpm .bar2 .track i { background: var(--yellow); }
.bc.in .viz-rpm .track i { animation: grow 5s cubic-bezier(.6, 0, .2, 1) infinite; }
.bc.in .viz-rpm .bar2 .track i { animation-delay: .35s; }
@keyframes grow { 0% { transform: scaleX(0); } 24%, 86% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

.pl { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-family: var(--mono); font-size: 13.5px; color: var(--mute); }
.pl b { color: var(--text); font-weight: 500; }
.pl.total { border-bottom: 0; padding-top: 10px; color: var(--text); }
.pl.total b { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--teal); }
.pl { opacity: 0; }
.bc.in .pl { animation: plin 7s ease-out infinite; }
.l2 { animation-delay: .6s !important; } .l3 { animation-delay: 1.2s !important; } .l4 { animation-delay: 2.1s !important; }
@keyframes plin { 0% { opacity: 0; transform: translateX(-14px); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.ck { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; margin-bottom: 8px; border: 1px solid var(--line); font-size: 14px; }
.ck svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: square; }
.ck path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bc.in .ck { animation: ckrow 6s ease-in-out infinite; } .bc.in .ck path { animation: ckdraw 6s ease-in-out infinite; }
.c2, .c2 path { animation-delay: .6s !important; } .c3, .c3 path { animation-delay: 1.2s !important; }
@keyframes ckdraw { 0%, 6% { stroke-dashoffset: 1; } 20%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes ckrow { 0%, 6% { border-color: var(--line); } 20%, 88% { border-color: rgba(25, 211, 176, .55); } 100% { border-color: var(--line); } }

.fchips { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.fc { padding: 4px 12px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.fc i { font-style: normal; }
.bc.in .fc { animation: fcon 6s ease-in-out infinite; } .fc2 { animation-delay: 2s !important; } .fc3 { animation-delay: 4s !important; }
@keyframes fcon { 0%, 3% { background: transparent; color: var(--mute); border-color: var(--line-2); } 6%, 30% { background: var(--yellow); color: var(--ink); border-color: var(--yellow); } 34%, 100% { background: transparent; color: var(--mute); border-color: var(--line-2); } }
.fr { display: flex; justify-content: space-between; padding: 9px 14px; margin-bottom: 6px; border: 1px solid var(--line); font-size: 13.5px; max-height: 44px; overflow: hidden; }
.fr em { font-style: normal; color: var(--yellow); }
.bc.in .fr1 { animation: frpref 6s ease-in-out infinite; } .bc.in .fr2 { animation: frign 6s ease-in-out infinite; }
@keyframes frpref { 0%, 3% { border-color: var(--line); background: transparent; } 8%, 30% { border-color: var(--yellow); background: rgba(255, 210, 63, .1); } 36%, 100% { border-color: var(--line); background: transparent; } }
@keyframes frign { 0%, 34% { opacity: 1; max-height: 44px; margin-bottom: 6px; padding: 9px 14px; color: var(--text); } 40%, 46% { color: var(--red); text-decoration: line-through; border-color: var(--red); } 56%, 88% { opacity: 0; max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; } 100% { opacity: 1; max-height: 44px; margin-bottom: 6px; padding: 9px 14px; } }
.fr2 em { color: var(--red); }

.viz-comm { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 520px; }
.viz-comm span { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--mute); }
.viz-comm svg { width: 24px; height: 24px; }
.bc.in .viz-comm span { animation: cbtap 5s ease-in-out infinite; }
.cb2 { animation-delay: .8s !important; } .cb3 { animation-delay: 1.6s !important; } .cb4 { animation-delay: 2.4s !important; } .cb5 { animation-delay: 3.2s !important; } .cb6 { animation-delay: 4s !important; }
@keyframes cbtap { 0%, 100% { background: transparent; color: var(--mute); transform: none; border-color: var(--line-2); } 3% { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: scale(.9); } 7% { transform: scale(1.08); } 15% { background: var(--yellow); transform: none; } 20% { background: transparent; color: var(--mute); border-color: var(--line-2); } }

/* ---- step + funnel icons instead of numbers ---- */
.si { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--yellow); border-radius: 6px; color: var(--yellow); margin-bottom: 4px; }
.si svg { width: 26px; height: 26px; }

/* ---- tickets: action first, aligned rows ---- */
.tickets { align-items: stretch; }
.ticket-ultra { margin-top: -18px; }
.tk-top { gap: 12px; }
.tk-price { min-height: 92px; align-items: flex-end; }
.tk-price-text b { font-size: 40px; padding: 0 0 6px; line-height: 1; }
.tk-fine { margin-top: -4px; text-align: center; font-family: var(--mono); font-size: 11.5px; color: #5b5f5d; }
.ticket-ultra .tk-fine { color: #0c4b40; }
.tk-list { margin-top: 6px; }
.tk-stub { padding-top: 16px; padding-bottom: 16px; }
.stamp { top: 76px; right: 22px; }
@media (max-width: 1100px) { .ticket-ultra { order: 0; margin-top: 16px; } .bento { grid-template-columns: repeat(2, 1fr); } .bc-a { grid-column: span 2; grid-row: auto; } .bc-f, .bc-g { grid-column: span 2; } }
@media (max-width: 720px) { .bento { grid-template-columns: 1fr; } .bc-a, .bc-f, .bc-g { grid-column: auto; } .viz-comm { grid-template-columns: repeat(3, 1fr); } .hero-road { margin-top: 24px; --tw: 92vw; } .truck { right: 4vw; } .sign-main { font-size: 26px; } }

/* ---- JOIN: dusk highway ---- */
.join-inner { min-height: clamp(560px, 50vw, 720px); padding: 0; background: #080a0b; display: flex; align-items: center; }
.join-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.join-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 10, 11, .95) 0, rgba(8, 10, 11, .8) 40%, rgba(8, 10, 11, .05) 74%); }
.join-copy { position: relative; z-index: 2; padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 64px); max-width: 780px; }
.join-inner h2 { font-size: clamp(38px, 6.4vw, 92px); }
@media (max-width: 720px) { .join-inner::after { background: rgba(8, 10, 11, .78); } }

/* ---- mini-game ---- */
.game-dialog { width: min(440px, 100vw); max-height: 100vh; padding: 0; border: 2px solid var(--text); border-radius: 8px; background: #0a0d0e; color: var(--text); overflow: hidden; }
.game-dialog::backdrop { background: rgba(0, 0, 0, .86); }
.game-shell { display: flex; flex-direction: column; }
.game-top { display: flex; align-items: center; gap: 18px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: #0f1213; }
.g-stat { display: grid; gap: 0; } .g-stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); } .g-stat b { font-family: var(--display); font-size: 24px; line-height: 1.05; color: var(--yellow); }
.game-top .dialog-close { margin-left: auto; }
.game-stage { position: relative; background: #050707; }
#gameCv { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: calc(100vh - 70px); margin: 0 auto; touch-action: none; }
.game-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 26px; text-align: center; background: rgba(5, 7, 7, .82); }
.game-ov.hidden { display: none; }
.game-ov h3 { font-size: 40px; color: var(--yellow); line-height: 1; }
.game-ov p { color: #c8d1ce; font-size: 15px; max-width: 320px; }
.game-keys { font-family: var(--mono); font-size: 11.5px !important; color: var(--mute) !important; }
.game-res { font-family: var(--display); font-size: 30px !important; color: var(--text) !important; letter-spacing: .02em; }
.game-ov-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-in { z-index: 5; }
.hero-road { z-index: 3; }

.tk-price { position: relative; }
.stamp { top: auto; bottom: 6px; right: 0; }
.viz-match { flex: 1; display: grid; grid-template-rows: repeat(6, 1fr); margin-top: 8px; }
.mrow { font-size: 15px; }
.bc-a .bc-head h4 { font-size: 32px; }
.bc-a .bc-head p { font-size: 15.5px; max-width: 460px; }
.pl.total { flex-wrap: wrap; gap: 4px 12px; }
.pl.total b { white-space: nowrap; font-size: 26px; }

/* stamp sits above the price; no oversized pre-animation box (caused sideways scroll) */
.ticket .stamp { transform: rotate(9deg); }
.stamp { top: -12px; bottom: auto; right: 0; }
@media (max-width: 480px) {
  .site-header { gap: 8px; padding-inline: 12px; }
  .brand { font-size: 15px; letter-spacing: .04em; gap: 7px; }
  .brand-mark { width: 20px; height: 20px; }
  .header-right { gap: 8px; }
  .lang button { padding: 6px 7px; }
  .snd { width: 30px; height: 30px; }
}
html, body { overflow-x: clip; }

/* ===== v6: join scene on mobile ===== */
@media (max-width: 720px) {
  .join-inner { display: block; min-height: 0; }
  .join-scene { position: relative; display: block; inset: auto; width: 100%; height: clamp(230px, 66vw, 330px); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .join-inner::after { display: none; }
  .join-copy { padding-top: 8px; }
}
.join-inner::after { background: linear-gradient(90deg, rgba(8, 10, 11, .9) 0, rgba(8, 10, 11, .62) 36%, rgba(8, 10, 11, 0) 66%); }
.join-copy h2, .join-copy .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
@media (max-width: 720px) { .join-inner::after { display: none; } }

/* =====================================================================
   v6: burger menu, waybill hero, compact tickets, footer, cursor, game overlay
   ===================================================================== */

/* ---------- burger + mobile menu ---------- */
.burger { display: none; position: relative; width: 38px; height: 34px; padding: 0; background: none; border: 1px solid var(--line-2); cursor: pointer; }
.burger i { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .28s cubic-bezier(.7, 0, .2, 1), opacity .2s, top .28s; }
.burger i:nth-child(1) { top: 10px; } .burger i:nth-child(2) { top: 15px; background: var(--yellow); } .burger i:nth-child(3) { top: 20px; }
.burger[aria-expanded="true"] { border-color: var(--yellow); }
.burger[aria-expanded="true"] i:nth-child(1) { top: 15px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { top: 15px; transform: rotate(-45deg); }
/* Full-screen menu: a paper waybill on a dark desk. The overlay sits at z-index -1 inside
   the header's stacking context: above the header's own background, under the logo and the
   buttons. Fully opaque, so nothing on the page shows through. */
.mnav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; padding-top: var(--hh, 68px); background: #0a0c0d; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .42s cubic-bezier(.7, 0, .2, 1), visibility 0s .42s; }
.mnav.open { visibility: visible; clip-path: inset(0); transition: clip-path .42s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mnav::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 55% at 100% 100%, rgba(255, 150, 45, .10), transparent 62%), radial-gradient(80% 45% at 0 0, rgba(25, 211, 176, .06), transparent 60%); }
.mnav-in { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* the sheet */
.wbm { position: relative; max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); transform-origin: 50% 0; opacity: 0; transform: translateY(-36px) rotate(-2.4deg); transition: opacity .3s, transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.mnav.open .wbm { opacity: 1; transform: rotate(-.5deg); transition-delay: .1s; }
.wbm::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--yellow); border-radius: 6px 0 0 6px; }
.wbm-head { padding: 16px 18px 0 22px; }
.wbm-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.wbm-title b { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.wbm-no { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #5b5f5d; white-space: nowrap; }
.wbm-fields { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; padding: 9px 0 10px; border-bottom: 2px dashed rgba(18, 20, 20, .35); }
.wbm-fields div { display: grid; gap: 2px; min-width: 0; }
.wbm-fields small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #6c6f6a; }
.wbm-fields b { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.wbm-fields .live-dot { display: inline-block; vertical-align: 1px; }
.wbm-cols, .mnav-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; column-gap: 14px; align-items: center; }
.wbm-cols { padding: 9px 18px 6px 22px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #6c6f6a; }
.wbm-cols span:last-child { justify-self: end; white-space: nowrap; letter-spacing: .06em; }

/* route rows */
.mnav-list { list-style: none; margin: 0 18px 0 22px; padding: 0; border-top: 1px solid rgba(18, 20, 20, .55); }
.mnav-list li { position: relative; border-bottom: 1px dashed rgba(18, 20, 20, .3); opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.mnav.open .mnav-list li { opacity: 1; transform: none; transition-delay: calc(.28s + var(--i) * .06s); }
.mnav-list a { position: relative; min-height: clamp(62px, 8.6vh, 78px); min-height: clamp(62px, 8.6dvh, 78px); padding: 8px 0; box-sizing: border-box; color: var(--ink); }
.mn-n { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 5px; background: var(--sign); color: var(--yellow); font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1; box-shadow: inset 0 0 0 2px #fff; }
.mn-b { display: grid; gap: 4px; min-width: 0; }
.mn-t { justify-self: start; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 6.6vw, 30px); line-height: 1; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.mnav-list small { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: #5b5f5d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* "done" box: ticked for every stop already passed */
.mn-ck { justify-self: center; position: relative; width: 20px; height: 20px; border: 2px solid rgba(18, 20, 20, .55); border-radius: 3px; }
.mnav-list a.done .mn-ck::after { content: ""; position: absolute; left: 5px; top: 0; width: 6px; height: 12px; border: solid var(--sign); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.mnav-list a.done .mn-t { color: #6c6f6a; }
/* current stop: marker-pen highlight on the title and a rubber stamp */
.mnav-list a.active .mn-t { background: linear-gradient(transparent 52%, rgba(255, 210, 63, .9) 52% 92%, transparent 92%); padding-right: 4px; }
.mnav-list a.active .mn-n { background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(255, 210, 63, .45); }
.mnav-list a.active .mn-ck { opacity: 0; }
.mn-here { display: none; position: absolute; left: 48px; bottom: 9px; transform-origin: 0 50%; padding: 3px 8px 2px; border: 2.5px solid var(--red); border-radius: 5px; color: var(--red); font-family: var(--display); font-style: normal; font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; mix-blend-mode: multiply; pointer-events: none; transform: rotate(-3deg); }
.mnav-list a.active .mn-here { display: block; }
.mnav.open .mnav-list a.active .mn-here { animation: mnstamp .38s cubic-bezier(.2, 1.4, .4, 1) .72s both; }
@keyframes mnstamp { from { opacity: 0; transform: rotate(-3deg) scale(2.4); } to { opacity: .9; transform: rotate(-3deg) scale(1); } }
.mnav-list a.active small { visibility: hidden; }
.mnav-list a:active { background: rgba(18, 20, 20, .06); }

/* tear-off stub */
.wbm-stub { position: relative; display: grid; gap: 14px; margin-top: 14px; padding: 18px 18px 16px 22px; border-top: 2px dashed rgba(18, 20, 20, .4); }
.wbm-stub::before, .wbm-stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; background: #0a0c0d; border-radius: 50%; }
.wbm-stub::before { left: -11px; } .wbm-stub::after { right: -11px; }
.wbm-stub .barcode { height: 26px; margin: 0; }
.mnav-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mnav-foot .btn { padding: 11px 16px; font-size: 15px; }
.wbm .lang { border-color: var(--ink); }
.wbm .lang button { color: var(--ink); }
.wbm .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
/* tablets: the header already carries the language switch and the CTA */
@media (min-width: 721px) {
  .mnav-in { display: flex; flex-direction: column; justify-content: center; }
  .wbm { width: 100%; }
  .mnav-foot { display: none; }
  .mn-t { font-size: 34px; }
}
html.nav-open, html.nav-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav.open, .wbm, .mnav.open .wbm, .mnav-list li, .mnav.open .mnav-list li { transition: none; }
  .mnav.open .mnav-list a.active .mn-here { animation: none; opacity: .9; }
}
@media (max-width: 1100px) { .burger { display: block; } }
@media (min-width: 1101px) { .mnav { display: none; } }
@media (max-width: 720px) {
  .header-right > .lang { display: none; }
}

/* ---------- hero waybill ---------- */
.waybill { display: inline-flex; flex-wrap: wrap; position: relative; margin-bottom: 4px; border: 1px solid var(--line-2); background: rgba(236, 230, 214, .045); }
.waybill::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--yellow); }
.wb-cell { display: grid; gap: 3px; padding: 8px 16px; border-right: 1px dashed var(--line-2); }
.wb-cell:last-child { border-right: 0; }
.wb-doc { padding-left: 20px; }
.wb-cell small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--mute); text-transform: uppercase; }
.wb-cell b { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--text); white-space: nowrap; text-transform: uppercase; }
.wb-doc b { color: var(--yellow); }
.wb-cell .live-dot { display: inline-block; vertical-align: 1px; margin-right: 4px; }
@media (max-width: 720px) { .wb-hide { display: none; } .wb-cell { padding: 7px 12px; } .wb-cell b { font-size: 12px; } }

/* ---------- tickets: three in a row on tablets / phones ---------- */
.tk-key, .cfg-slot { display: none; }
@media (max-width: 1100px) and (min-width: 861px) {
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 14px; }
  .ticket-ultra { margin-top: 0; }
  .tk-top { padding: 18px 16px 18px; } .tk-stub { padding: 14px 16px; }
  .tk-name { font-size: 44px; } .tk-price b { font-size: 60px; } .tk-price-text b { font-size: 26px; }
  .tk-list li { font-size: 13px; } .stamp { font-size: 13px; }
}
@media (max-width: 860px) {
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; max-width: none; margin-inline: 0; }
  .ticket { border-radius: 4px; box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }
  .ticket-ultra { order: 0; margin-top: 0; box-shadow: 0 0 0 2px var(--yellow), 0 16px 34px rgba(0, 0, 0, .55); }
  .ticket.reveal { transform: translateY(34px); }
  .tk-top, .ticket-ultra .tk-top { padding: 16px 8px 10px; gap: 8px; }
  .tk-meta { font-size: 7px; letter-spacing: .1em; padding-bottom: 6px; justify-content: center; }
  .tk-name { font-size: 27px; text-align: center; }
  .tk-desc, .tk-list, .tk-fine, .tk-stub .barcode { display: none; }
  .tk-price { min-height: 0; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0; }
  .tk-price sup { font-size: 14px; top: -11px; }
  .tk-price b { font-size: 34px; }
  .tk-price span { width: 100%; text-align: center; margin: 3px 0 0; font-size: 9px; }
  .tk-price-text { min-height: 46px; align-items: center; }
  .tk-price-text b { font-size: 15px; line-height: 1.05; padding: 0; text-align: center; width: 100%; }
  .ticket .stamp, .stamp { position: static; order: 5; width: 100%; margin: 6px 0 0; padding: 2px 3px; font-size: 9px; border-width: 2px; border-radius: 3px; opacity: 1 !important; transform: rotate(-2deg) !important; animation: none !important; }
  .tk-top .btn-block { padding: 9px 4px; font-size: 11px; line-height: 1.15; white-space: normal; text-align: center; box-shadow: 0 3px 0 #000; }
  .tk-key { display: block; text-align: center; padding-top: 8px; border-top: 1px dashed rgba(18, 20, 20, .35); font-size: 11px; line-height: 1.3; font-weight: 700; }
  .tk-stub { padding: 8px 6px 10px; gap: 4px; }
  .tk-stub::before, .tk-stub::after { width: 12px; height: 12px; top: -7px; } .tk-stub::before { left: -6px; } .tk-stub::after { right: -6px; }
  .tk-stub .link-btn { font-size: 9.5px; text-align: center; line-height: 1.25; text-decoration: underline; text-underline-offset: 2px; }
  .tk-flag { left: 50%; transform: translateX(-50%); top: -10px; font-size: 9px; padding: 3px 7px; letter-spacing: .06em; white-space: nowrap; }
  .cfg-slot { display: block; margin-top: 16px; }
  .cfg-slot .cfg { background: var(--paper); color: var(--ink); border-radius: 6px; padding: 16px; }
}

/* ---------- footer ---------- */
.site-footer { display: block; max-width: none; padding: 0; border-top: 0; color: var(--mute); background: #0a0c0d; }
.ft-in { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter) 28px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.ft-plate { position: relative; display: grid; justify-items: center; padding: 6px 18px 7px; background: linear-gradient(#f5f1e3, #ddd7c3); color: var(--ink); border: 3px solid #121414; border-radius: 8px; box-shadow: 0 0 0 2px #cfc9b5, 0 10px 24px rgba(0, 0, 0, .5); cursor: pointer; transition: transform .2s; font-family: var(--display); }
.ft-plate::before, .ft-plate::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #8b8674; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); }
.ft-plate::before { left: 6px; } .ft-plate::after { right: 6px; }
.ft-plate:hover { transform: rotate(-2deg) translateY(-2px); }
.ft-plate:active { transform: scale(.96); }
.fp-top { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: #0b6b4d; font-weight: 700; }
.fp-top i { font-style: normal; color: #b0261c; }
.fp-num { font-size: 34px; font-weight: 700; letter-spacing: .1em; line-height: 1; color: #14357d; }
.fp-bot { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: #4a4b45; font-weight: 700; }
.ft-mid { display: grid; gap: 10px; justify-items: center; }
.ft-clocks { display: flex; border: 1px solid var(--line-2); background: #0e1112; }
.ft-clocks div { padding: 6px 14px; display: grid; gap: 1px; text-align: center; border-right: 1px dashed var(--line-2); }
.ft-clocks div:last-child { border-right: 0; }
.ft-clocks small { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--yellow); }
.ft-clocks b { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: .04em; }
.ft-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
.ft-top { position: relative; display: inline-block; font-family: var(--display); color: #fff; transition: transform .2s; }
.ft-top:hover { transform: translateY(-3px); }
.ft-top-tab { position: absolute; left: 12px; top: -15px; padding: 3px 10px 2px; background: #0b6b4d; border: 2px solid #fff; border-bottom: 0; border-radius: 5px 5px 0 0; font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.ft-top-main { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #0b6b4d; border: 2px solid #fff; border-radius: 6px; box-shadow: 0 0 0 2px #0b6b4d, 0 8px 18px rgba(0, 0, 0, .45); font-size: 19px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ft-top-main svg { width: 22px; height: 22px; animation: ftup 1.6s ease-in-out infinite; }
@keyframes ftup { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }
.ft-road { position: relative; height: 38px; overflow: hidden; background: #111415; border-top: 3px solid #2b3031; }
.ft-road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 34px, transparent 34px 80px); opacity: .85; }
.ft-truck { position: absolute; left: 0; bottom: 8px; width: 92px; height: auto; animation: ftdrive 34s linear infinite; }
@keyframes ftdrive { from { transform: translateX(-130px); } to { transform: translateX(calc(100vw + 30px)); } }
.ft-base { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 96px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
.ft-thanks { color: var(--teal); }
@media (max-width: 720px) {
  .ft-in { flex-direction: column; align-items: stretch; gap: 22px; padding-top: 28px; }
  .ft-plate, .ft-top { align-self: center; }
  .ft-mid { order: 2; } .ft-top { order: 3; margin-top: 8px; } .ft-plate { order: 1; }
  .ft-clocks div { padding: 6px 12px; } .ft-base { padding-bottom: 84px; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ft-truck { animation: none; left: 12%; } .ft-top-main svg { animation: none; } }

/* ---------- custom cursor: the brand crosshair ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 300; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .25s; color: var(--teal); }
.cur svg { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; transition: transform .25s cubic-bezier(.2, .8, .2, 1), color .2s; will-change: transform; filter: drop-shadow(0 0 5px rgba(25, 211, 176, .5)); }
.cur > i { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.cur-tag { position: absolute; left: 22px; top: 12px; padding: 2px 7px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateX(-6px); transition: .2s; white-space: nowrap; }
.cur.on { opacity: 1; }
.cur.hov svg { transform: scale(1.5); color: var(--yellow); }
.cur.hov .cur-tag.has { opacity: 1; transform: none; }
.cur.down svg { transform: scale(.72); }
.cur.hov.down svg { transform: scale(1.15); }
html.has-cur, html.has-cur * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* ---------- mini-game overlay (div, not <dialog>: Safari-safe) ---------- */
.game-dialog { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; width: auto; max-height: none; padding: 0; border: 0; border-radius: 0; background: rgba(0, 0, 0, .88); overflow: hidden; overscroll-behavior: contain; }
.game-dialog[hidden] { display: none; }
.game-shell { width: min(440px, 100vw); max-height: 100vh; max-height: 100dvh; border: 2px solid var(--text); border-radius: 8px; background: #0a0d0e; overflow: hidden; }
#gameCv { width: min(100%, calc((100vh - 66px) * 0.5625)); width: min(100%, calc((100dvh - 66px) * 0.5625)); max-height: none; }
@media (max-width: 720px) { .game-shell { width: 100vw; height: 100vh; height: 100dvh; border: 0; border-radius: 0; display: flex; flex-direction: column; } .game-stage { flex: 1; display: grid; place-items: center; min-height: 0; } }
html.game-open { overflow: hidden; }

/* ---------- v6b: mobile polish ---------- */
@media (max-width: 720px) {
  .sign { max-width: 100%; margin-bottom: 38px; }
  .sign-board { min-width: 0; max-width: 100%; padding: 11px 14px 10px 13px; }
  .sign-main { font-size: clamp(19px, 5.6vw, 26px); gap: 9px; letter-spacing: .04em; }
  .sg-ico, .sg-arrow { width: 22px; height: 22px; }
  .sign-sub { gap: 10px; font-size: 11px; letter-spacing: .06em; margin-top: 6px; padding-top: 6px; }
  .sign-tab { margin-left: 12px; padding: 3px 11px 2px; font-size: 10.5px; } .sign-tab b { font-size: 14px; }
  .join-copy .sign { margin-top: -26px; }
}
@media (max-width: 860px) {
  /* one rhythm for all three tickets so the rows line up */
  .tk-name { font-size: clamp(17px, 5.4vw, 27px); letter-spacing: -.01em; overflow-wrap: anywhere; }
  .tk-price { min-height: 96px; align-content: flex-start; }
  .tk-price-text { min-height: 96px; align-content: center; }
  .tk-top .btn-block { min-height: 42px; display: grid; place-items: center; }
  .tk-key { min-height: 44px; display: grid; align-content: center; }
  .tk-stub { min-height: 40px; align-content: center; }
}
@media (max-width: 860px) { .tk-name { min-height: 2.1em; display: grid; align-content: center; justify-content: center; } }
/* the global "svg { max-width:100% }" collapsed the cursor ring inside a 0-width box */
.cur { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cur svg { left: 0; top: 0; width: 40px; height: 40px; max-width: none; }
.cur > i { left: 50%; top: 50%; margin: -2.5px 0 0 -2.5px; }
.cur-tag { left: 42px; top: 32px; }
/* the free-month stamp must never sit on top of the description */
@media (max-width: 1100px) and (min-width: 861px) {
  .ticket .stamp, .stamp { position: static; order: 5; width: 100%; margin: 8px 0 0; font-size: 13px; padding: 4px 8px; transform: rotate(-2deg) !important; opacity: 1 !important; animation: none !important; }
  .tk-price { min-height: 118px; align-content: flex-start; flex-wrap: wrap; }
  .tk-price-text { min-height: 118px; align-content: center; }
}
@media (max-width: 520px) { .tk-name { font-size: clamp(13px, 4.5vw, 22px); } .tk-price b { font-size: clamp(24px, 8.4vw, 34px); } .tk-price-text b { font-size: clamp(12px, 3.9vw, 15px); } }
@media (max-width: 720px) {
  .tl-head { gap: 12px; }
  .tl-clock b { font-size: clamp(56px, 18vw, 86px); } .tl-clock span { font-size: 20px; }
  .tl-meta { flex: 1 1 100%; order: 3; gap: 8px; font-size: 14px; }
  #tlReplay { order: 2; margin-left: auto; }
  /* the odometer badge sat on top of the content on narrow screens */
  .odo { display: none; }
}
@media (min-width: 1101px) { .hero-road { margin-top: calc(var(--tw) * -.3 - 18px); } .hero-copy { padding-bottom: 6px; } .hero .note { position: relative; z-index: 6; } }
/* scroll anchoring was free to nudge the page while canvases repaint */
html, body { overflow-anchor: none; }
/* decorative CSS animations keep repainting even when scrolled away — park them */
.offv, .offv *, .offv *::before, .offv *::after { animation-play-state: paused !important; }

/* ---- Safari-friendly compositing: a full-screen blend layer and a blurred header
        both force a repaint of everything underneath on every animated frame ---- */
.grain { mix-blend-mode: normal; opacity: .045; }
.site-header { background: rgba(10, 12, 13, .95); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mnav { backdrop-filter: none; -webkit-backdrop-filter: none; }
html { overflow-x: clip; }
body { overflow-x: visible; }

/* ---- v6c: mobile refinements ---- */
@media (max-width: 720px) {
  .section { padding-top: clamp(62px, 9vw, 150px); }
  /* waybill: fill the strip instead of a ragged second row */
  .waybill { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .wb-cell { border-right: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); min-width: 0; }
  .wb-cell:nth-child(2n) { border-right: 0; }
  .wb-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .wb-cell b { font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  .wb-hide { display: grid; }
  .wb-cell:last-child { grid-column: 1 / -1; }
  /* the two hero buttons sat at different widths */
  .cta-row { display: grid; gap: 10px; }
  .cta-row .btn { width: 100%; }
}

/* ---- hero: sunset behind the truck so the silhouette reads ---- */
.hr-glow { position: absolute; right: 0; bottom: 40px; width: min(1250px, 100%); height: clamp(230px, 36vw, 440px); pointer-events: none;
  background:
    radial-gradient(64% 100% at 66% 100%, rgba(255, 146, 40, .5) 0, rgba(255, 116, 34, .22) 38%, rgba(255, 110, 40, .06) 62%, rgba(255, 110, 40, 0) 78%),
    radial-gradient(26% 62% at 62% 100%, rgba(255, 216, 145, .45) 0, rgba(255, 186, 96, 0) 70%); }
.hr-hills { opacity: 1; filter: brightness(.55); }
@media (max-width: 720px) { .hr-glow { bottom: 38px; right: 0; width: 100%; } }
.hr-strip { box-shadow: inset 0 22px 44px -22px rgba(255, 150, 45, .38); }

/* ===== hero truck: traced reference asset with independently spinning wheels ===== */
.truck { line-height: 0; }
.truck .tk-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); }
.tk-wh { position: absolute; top: 79.518%; width: 3.426%; line-height: 0; }
.tk-wh img { display: block; width: 100%; height: auto; transform: rotate(var(--wr, 0deg)); will-change: transform; }
.tk-src { position: absolute; width: 1px; height: 1px; }
@media (prefers-reduced-motion: reduce) { .tk-wh img { transform: none; } }

/* =====================================================================
   v7: the road runs as one ground plane — every layer moves at the same
   speed, on the compositor (translate3d) instead of repainting a
   background-position band on every frame.
   ===================================================================== */
.hr-strip > i, .hr-posts > i, .hr-hills > i {
  position: absolute; left: 0; top: 0; height: 100%; width: calc(100% + 260px);
  will-change: transform; backface-visibility: hidden;
}
.hr-strip::before, .hr-strip::after { content: none; }
.hr-strip { overflow: hidden; }
.hs-mid { background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 110px) left 50% / auto 4px no-repeat; opacity: .9;
  transform: translate3d(calc(var(--d1, 0px) * -1), 0, 0); }
.hr-posts { background: none; overflow: hidden; }
.hr-posts > i { background: repeating-linear-gradient(90deg, transparent 0 196px, #6c7476 196px 199px);
  transform: translate3d(calc(var(--d3, 0px) * -1), 0, 0); }
.hr-hills { background: none; overflow: hidden; }
.hr-hills > i { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='150' viewBox='0 0 900 150'><path d='M0 150V96l70-34 60 26 80-52 90 44 80-30 90 42 90-48 90 40 80-36 70 30V150z' fill='%23101415'/></svg>") repeat-x left bottom / 900px 150px;
  width: calc(100% + 920px); transform: translate3d(calc(var(--d4, 0px) * -1), 0, 0); }
/* the truck is its own layer so the drop shadow rasterises once */
.truck { will-change: transform; transform: translateZ(0); }
.tk-wh img { backface-visibility: hidden; }
/* the odometer fill is scaled, not re-laid-out, on every scroll event */
#odoFill { width: 100%; transform-origin: left center; transform: scaleX(0); will-change: transform; }

/* ============================================================
   v8 — client review round
   ============================================================ */

/* --- volume next to the speaker button --------------------- */
.snd-vol { display: flex; align-items: center; width: 0; overflow: hidden; opacity: 0; transition: width .25s, opacity .25s; }
.snd-vol.on { width: 62px; opacity: 1; }
.snd-vol input { width: 58px; height: 18px; margin: 0 2px; accent-color: var(--teal); background: none; cursor: pointer; }
@media (max-width: 860px) { .snd-vol.on { width: 46px; } .snd-vol input { width: 44px; } }

/* --- split-flap board: 8 columns, real city names ---------- */
.flap-board { --cw: clamp(11px, 1.55vw, 21px); --cg: 2px; }
.fb-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.fb-scroll > * { min-width: max-content; }
.fb-g.st-declined .cell { color: #8d9794; }
.fb-g.st-booked .cell { color: #19d3b0; }

/* --- ticker: the extension's own RPM colour coding --------- */
.ticker-track span { color: #7d8785; }
.ticker-track b { color: inherit; font-weight: 500; opacity: .8; }
.ticker-track em { font-style: normal; font-weight: 700; }
.ticker-track .tk-lo { color: #7d8785; }
.ticker-track .tk-mid { color: #5fb8ff; }
.ticker-track .tk-hi { color: #a78bfa; }

/* --- smart matching card: status follows the RPM ----------- */
.mrow b.tg-match { background: var(--yellow); color: var(--ink); }
.mrow b.tg-call { background: #ff9f43; color: var(--ink); }
.mrow b.tg-mail { background: var(--teal); color: var(--ink); }
.mrow b.tg-dec { background: #2b3132; color: #9aa4a1; }

/* --- broker filters: preferred on top, ignored at the bottom,
       duplicates collapsing into one row -------------------- */
.fr.fr-dup em.dup-i { color: #a78bfa; }
.bc.in .fr-dup-b { animation: frdup 6s ease-in-out infinite; }
.bc.in .fr-dup-a { animation: frdupa 6s ease-in-out infinite; }
@keyframes frdup {
  0%, 38% { opacity: 1; max-height: 44px; transform: none; }
  52%, 100% { opacity: 0; max-height: 0; transform: translateY(-10px); }
}
@keyframes frdupa {
  0%, 38% { box-shadow: none; }
  52%, 74% { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .55); }
  100% { box-shadow: none; }
}
.fr-dup { overflow: hidden; }

/* --- one-click tools: say what each click does ------------- */
.cc-msg { position: relative; height: 18px; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--teal); }
.cc-msg i { position: absolute; left: 0; top: 0; font-style: normal; opacity: 0; }
.bc.in .cc-msg i { animation: ccmsg 5s ease-in-out infinite; }
.cc-msg i:nth-child(2) { animation-delay: .8s !important; }
.cc-msg i:nth-child(3) { animation-delay: 1.6s !important; }
.cc-msg i:nth-child(4) { animation-delay: 2.4s !important; }
.cc-msg i:nth-child(5) { animation-delay: 3.2s !important; }
.cc-msg i:nth-child(6) { animation-delay: 4s !important; }
@keyframes ccmsg { 0% { opacity: 0; } 4% { opacity: 1; } 14% { opacity: 1; } 18%, 100% { opacity: 0; } }

/* --- company: volume discount breakdown -------------------- */
.cfg-lines { display: grid; gap: 4px; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; color: #5b5f5d; }
.cfg-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; }
.cfg-line em { font-style: normal; font-weight: 700; color: #9a9a90; }
.cfg-line em.on { color: #0b6b4d; }
.cfg-line b { font-weight: 700; color: var(--ink); min-width: 7ch; text-align: right; }
.cfg-total.cfg-save, .cfg-total.cfg-final { border-top: 0; padding-top: 4px; }
.cfg-total.cfg-save { display: none; color: #0b6b4d; }
.cfg-total.cfg-save b { font-size: 18px; color: #0b6b4d; }
.cfg-total.cfg-final { display: none; }
.cfg.has-disc .cfg-total.cfg-save, .cfg.has-disc .cfg-total.cfg-final { display: flex; }
.cfg.has-disc .cfg-total:not(.cfg-save):not(.cfg-final) b { font-size: 19px; color: #6c6f6a; text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* --- footer: a whole road, and less black under it --------- */
.ft-road { height: 58px; border-bottom: 3px solid #2b3031; }
.ft-road::after { bottom: 27px; height: 3px; }
.ft-road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 22px, transparent 22px 54px); }
.ft-truck { bottom: 30px; }
.ft-base { padding-bottom: 54px; }
.fp-num { font-size: clamp(21px, 2.6vw, 30px); letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 860px) { .ft-base { padding-bottom: 46px; } .ft-road { height: 48px; } .ft-road::after { bottom: 22px; } .ft-truck { bottom: 25px; width: 74px; } }
@media (prefers-reduced-motion: reduce) { .bc.in .fr-dup-b, .bc.in .fr-dup-a, .bc.in .cc-msg i { animation: none; } .cc-msg i:first-child { opacity: 1; } }

/* --- contact section --------------------------------------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 30px; max-width: 760px; }
.contacts li { display: grid; gap: 4px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); border-radius: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.contacts a { display: block; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text); border-bottom: 0; }
.contacts a:hover { color: var(--teal); }

/* The idle stamp was pre-scaled 3x; on the right-hand ticket that invisible box
   pushed the page 19px wide. The slam keyframes already start at scale(3). */
.ticket .stamp { transform: rotate(9deg) scale(1); }
/* The off-screen animation pause froze the stamp mid-slam at scale(3), and that
   frozen box widened the page. It is a 0.38s one-shot — let it finish. */
.offv .stamp, .offv .ticket .stamp { animation-play-state: running !important; }

/* hero: third line of the headline */
.hero h1 .h1-free { display: inline-block; margin-top: .08em; color: var(--yellow); }
/* duplicates really collapse: padding, border and gap go to zero with the height */
@keyframes frdup {
  0%, 38% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; transform: none; }
  52%, 88% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-width: 0; transform: translateY(-14px); }
  100% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; transform: none; }
}

/* feature dialog open: native pointer back, crosshair hidden (it can't sit above the top layer) */
html.has-cur.modal-open, html.has-cur.modal-open * { cursor: auto !important; }
html.has-cur.modal-open a, html.has-cur.modal-open button { cursor: pointer !important; }
html.modal-open .cur { opacity: 0 !important; }

/* "1 month free" - third line of the headline as a yellow plate, not a third giant line.
   At full size it pushed the buttons to the bottom of the screen and the truck off it. */
.hero h1 .h1-free {
  display: inline-block; margin-top: .3em; padding: .14em .42em .1em; font-size: .4em; line-height: 1;
  letter-spacing: .08em; color: var(--yellow); border: .075em solid var(--yellow); border-radius: .14em;
  box-shadow: 0 0 0 .06em rgba(255, 210, 63, .12), 0 0 1.2em rgba(255, 210, 63, .12);
}
/* as a block it no longer inherits the giant line box of the headline */
.hero h1 .h1-free { display: block; width: max-content; max-width: 100%; margin-top: .32em; }

/* ============================================================
   v9 — phones: usable, not just "fits"
   Every tap target ≥ 44px, no reading text under 11px.
   ============================================================ */
@media (pointer: coarse) {
  /* phones have hardware volume keys; a 18px slider can't be hit with a thumb */
  .snd-vol, .snd-vol.on { display: none; }
}
@media (max-width: 860px) {
  /* header controls */
  .snd { width: 44px; height: 44px; display: grid; place-items: center; }
  .burger { width: 44px; height: 44px; }
  .brand { padding-block: 10px; }
  .mnav-foot .btn { min-height: 48px; }
  .dialog-close { width: 44px; height: 44px; }

  /* text buttons get a finger-sized hit area without looking bigger */
  .link-btn { min-height: 44px; display: inline-flex; align-items: center; }
  .stepper button { width: 44px; height: 44px; font-size: 20px; }
  .stepper output { min-width: 2.2ch; text-align: center; }

  /* contact cards: the whole card is the link */
  .contacts li { position: relative; padding: 14px 16px; }
  .contacts a { font-size: 15px; }
  .contacts a::after { content: ""; position: absolute; inset: 0; }

  /* waybill labels were 9.5px */
  .wb-cell small { font-size: 10.5px; letter-spacing: .12em; }
  .wb-cell b { font-size: 12.5px; }

  /* stats under the headline: three equal columns that can't push past the edge */
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .stats > div { padding-left: 9px; min-width: 0; }
  .stats dt { font-size: clamp(22px, 7vw, 34px); white-space: nowrap; }
  .stats dd { font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }

  /* tickets stay three in a row, but readable and tappable */
  .tk-meta { display: none; }
  .tk-top, .ticket-ultra .tk-top { padding: 18px 7px 10px; }
  .tk-price span { font-size: 11px; }
  .ticket .stamp, .stamp { font-size: 10.5px; padding: 3px 3px 2px; letter-spacing: .04em; line-height: 1.1; }
  .tk-top .btn-block { min-height: 46px; padding: 8px 4px; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
  .tk-key { font-size: 12px; }
  .tk-stub .link-btn { font-size: 11.5px; min-height: 44px; }
  .tk-flag { font-size: 10px; }
  .cfg-line, .cfg-lines { font-size: 12.5px; }
  .cfg-note { font-size: 12.5px; }
  .cfg-row { font-size: 15px; min-height: 48px; }

  /* small caps labels that carry meaning */
  .sign-sub, .sign-sub em { font-size: 11.5px; }
  .fb-cap, .fb-foot { font-size: 11.5px; }
  .contacts li > span { font-size: 11px; }

  /* split-flap board scrolls sideways on phones - show that it does */
  .fb-scroll { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .fb-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 380px) {
  .tk-name { font-size: clamp(15px, 5vw, 20px); }
  .tk-top .btn-block { font-size: 11.5px; }
  .tk-stub .link-btn { font-size: 11px; }
}
@media (pointer: coarse) {
  .lang button { min-width: 40px; min-height: 40px; }
  .header-right .btn-sm { min-height: 40px; }
  .wb-cell small, .ticket .stamp, .tk-flag { font-size: 11px; }
}
.truck .tk-pic { display: block; }

/* ============================================================
   v10 — client final round
   ============================================================ */

/* --- hero truck: our name on the trailer ------------------- */
.tk-logo { position: absolute; left: 3%; top: 17%; width: 59%; height: 28%; display: flex; align-items: center; justify-content: center; gap: .34em;
  font-family: var(--display); font-weight: 700; font-size: calc(var(--tw) * .05); line-height: 1; letter-spacing: .12em; white-space: nowrap;
  color: var(--teal); pointer-events: none; }
.tk-logo svg { width: 1.05em; height: 1.05em; flex: none; }
.tk-logo b { color: #ece6d6; font-weight: 700; }

/* --- split-flap board: always fits its width, no sideways scroll.
       Cell size is worked out from the board's own width. ------- */
.flap-board { --gg: clamp(8px, 1.6vw, 22px); }
.fb-scroll { overflow: hidden; container-type: inline-size; }
.fb-scroll, .fb-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
.fb-head, .fb-row { gap: var(--gg); justify-content: flex-start; }
.fb-scroll > * { min-width: 0; }
/* 43 cells, 35 gaps inside groups, 7 between groups */
.flap-board { --cw: min(21px, (100cqw - 35 * var(--cg) - 7 * var(--gg) - 1px) / 43); }
@media (max-width: 720px) {
  /* phones: FROM, TO, RATE, STATUS - 29 cells, 25 inner gaps, 3 group gaps */
  .flap-board { --cg: 1px; --gg: 7px; --cw: min(15px, (100cqw - 25 * var(--cg) - 3 * var(--gg) - 1px) / 29); }
}
/* one colour per status (matches STATUS_COL in app.js) */
.fb-g.st-matched .cell { color: #ff9f43; }
.fb-g.st-calling .cell { color: #3ddc84; }
.fb-g.st-called .cell { color: #8d9794; }
.fb-g.st-declined .cell { color: #e0685a; }
.fb-g.st-booked .cell { color: #a78bfa; }

/* --- smart matching card: straight columns, same status colours ---- */
.bc-head h4 .badge-ultra { display: inline-block; margin-left: 6px; padding: 2px 8px; font-size: 12px; vertical-align: .3em; line-height: 1.3; }
.mrow { grid-template-columns: minmax(0, 1fr) auto 7.6em; }
.mrow span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow em { text-align: right; font-variant-numeric: tabular-nums; }
.mrow b { justify-self: stretch; text-align: center; white-space: nowrap; }
@keyframes mhl { 0%, 100% { background: transparent; border-color: var(--line); color: var(--mute); } 4%, 14% { background: rgba(255, 210, 63, .1); border-color: var(--yellow); color: var(--text); } 20% { background: transparent; border-color: var(--line); color: var(--mute); } }
.mrow b.tg-match { background: #ff9f43; color: var(--ink); }
.mrow b.tg-call { background: #3ddc84; color: var(--ink); }
.mrow b.tg-mail { background: var(--teal); color: var(--ink); }
.mrow b.tg-dec { background: rgba(224, 104, 90, .2); color: #f08a7e; }

/* --- broker filters: each chip removes only its own row, and the
       card keeps its height (the collapsing rows used to shrink it,
       which shook the whole page below in Safari) ---------------- */
.frows { height: var(--frows-h, 184px); overflow: hidden; }
.bc.in .fr1 { animation: none; }
.bc.in .fc2 { animation: fcign 7s ease-in-out infinite; animation-delay: 0s !important; }
.bc.in .fc3 { animation: fcdup 7s ease-in-out infinite; animation-delay: 0s !important; }
.bc.in .fr2 { animation: frign2 7s ease-in-out infinite; }
.bc.in .fr-dup-b { animation: frdup2 7s ease-in-out infinite; }
.bc.in .fr-dup-a { animation: frdupa2 7s ease-in-out infinite; }
@keyframes fcign { 0%, 6%, 90%, 100% { background: transparent; color: var(--mute); border-color: var(--line-2); } 9%, 86% { background: var(--yellow); color: var(--ink); border-color: var(--yellow); } }
@keyframes fcdup { 0%, 44%, 90%, 100% { background: transparent; color: var(--mute); border-color: var(--line-2); } 47%, 86% { background: var(--yellow); color: var(--ink); border-color: var(--yellow); } }
@keyframes frign2 {
  0%, 12% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; color: var(--text); text-decoration: none; border-color: var(--line); }
  16%, 23% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; color: var(--red); text-decoration: line-through; border-color: var(--red); }
  30%, 88% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-width: 0; color: var(--red); text-decoration: line-through; border-color: var(--red); }
  95%, 100% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; color: var(--text); text-decoration: none; border-color: var(--line); }
}
@keyframes frdup2 {
  0%, 50% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; transform: none; box-shadow: none; }
  53%, 58% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; transform: none; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6); }
  65%, 88% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-width: 0; transform: translateY(-14px); box-shadow: none; }
  95%, 100% { opacity: 1; max-height: 44px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 6px; border-width: 1px; transform: none; box-shadow: none; }
}
@keyframes frdupa2 { 0%, 50%, 70%, 100% { box-shadow: none; } 53%, 64% { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6); } }
@media (prefers-reduced-motion: reduce) { .bc.in .fc2, .bc.in .fc3, .bc.in .fr2, .bc.in .fr-dup-b, .bc.in .fr-dup-a { animation: none; } }

/* --- flow: the 5.0 clock keeps one width while it counts ---- */
.tl-clock b { display: inline-block; min-width: 2.6ch; }

/* --- contacts: five cards, every address fits with padding -- */
.contacts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); }
.contacts li { min-width: 0; }
.contacts a { white-space: nowrap; }
@media (max-width: 359px) { .contacts a { white-space: normal; overflow-wrap: anywhere; } }

/* --- footer road: no grey dashes, our truck in the near lane,
       oncoming traffic in the far one ---------------------------- */
.ft-road::before { content: none; }
.ft-truck { bottom: 4px; z-index: 2; }
.ft-onc { position: absolute; left: 0; bottom: 32px; height: auto; transform: translateX(-200px); }
.ft-car { width: 46px; } .ft-rig { width: 84px; bottom: 31px; }
.ft-onc-a { animation: ftcomeA 12s linear -0s infinite; }
.ft-onc-b { animation: ftcomeB 18s linear -5s infinite; }
.ft-onc-c { animation: ftcomeC 30s linear -9s infinite; }
@keyframes ftcomeA { 0% { transform: translateX(calc(100vw + 20px)); } 75%, 100% { transform: translateX(-200px); } }
@keyframes ftcomeB { 0% { transform: translateX(calc(100vw + 20px)); } 50%, 100% { transform: translateX(-200px); } }
@keyframes ftcomeC { 0% { transform: translateX(calc(100vw + 20px)); } 30%, 100% { transform: translateX(-200px); } }
@media (max-width: 860px) {
  .ft-truck { bottom: 3px; }
  .ft-onc { bottom: 26px; } .ft-car { width: 38px; } .ft-rig { width: 68px; bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) { .ft-onc { animation: none; } .ft-onc-a { transform: translateX(62vw); } .ft-onc-b, .ft-onc-c { display: none; } }

/* night highway: the bottom vignette lives here instead of being re-blitted on the canvas every frame */
.join-inner::after { background: linear-gradient(180deg, rgba(8, 10, 11, 0) 68%, rgba(8, 10, 11, .6)), linear-gradient(90deg, rgba(8, 10, 11, .9) 0, rgba(8, 10, 11, .62) 36%, rgba(8, 10, 11, 0) 66%); }

/* ✕ and ⧉ set in Onest made the browser fetch two extra Onest subsets (≈43 KB) just for
   these two glyphs. In the mono stack, like the filter chips next to them, nothing extra loads. */
.dialog-close, .fr em { font-family: var(--mono); }
/* the board's rows are built in idle time: reserve their height so nothing below moves when they appear */
.fb-rows { min-height: calc(6 * (var(--ch) + var(--cg) * 3)); }

/* =====================================================================
   v11 — tools cards arrive like the ULTRA FLOW sign: each card tilts up off
   the road, the title wipes in, the demo follows, a scan line runs the top edge
   ===================================================================== */
.bc.reveal { opacity: 0; transform: perspective(1400px) translateY(80px) rotateX(16deg) scale(.95); transform-origin: 50% 100%; transition: opacity .6s ease-out, transform 1.05s cubic-bezier(.2, .9, .25, 1.04), border-color .25s, background .25s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.bc.reveal.in { opacity: 1; transform: none; }
.bc.reveal::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--teal) 35%, var(--yellow) 65%, transparent); transform: translateX(-101%); pointer-events: none; }
.bc.reveal.in::after { animation: bcscan 1.1s cubic-bezier(.5, 0, .3, 1) calc(var(--d, 0s) + .35s) both; }
@keyframes bcscan { from { transform: translateX(-101%); } to { transform: translateX(101%); } }
.bc.reveal .bc-head h4 { clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.bc.reveal.in .bc-head h4 { clip-path: inset(-10% -4% -25% -2%); transition-delay: calc(var(--d, 0s) + .3s); }
.bc.reveal .bc-head p, .bc.reveal .viz, .bc.reveal .link-btn { opacity: 0; translate: 0 14px; transition: opacity .6s ease-out, translate .7s cubic-bezier(.2, .8, .2, 1); }
.bc.reveal.in .bc-head p { opacity: 1; translate: none; transition-delay: calc(var(--d, 0s) + .45s); }
.bc.reveal.in .viz, .bc.reveal.in .link-btn { opacity: 1; translate: none; transition-delay: calc(var(--d, 0s) + .6s); }
@media (prefers-reduced-motion: reduce) {
  .bc.reveal, .bc.reveal .bc-head h4, .bc.reveal .bc-head p, .bc.reveal .viz, .bc.reveal .link-btn { opacity: 1; transform: none; translate: none; clip-path: none; transition: none; }
  .bc.reveal::after { display: none; }
}

/* burger / close icon: centred in the box whatever the box size */
.burger i, .burger i:nth-child(1), .burger i:nth-child(2), .burger i:nth-child(3) { top: calc(50% - 1px); transition: transform .28s cubic-bezier(.7, 0, .2, 1), opacity .2s; }
.burger i:nth-child(1) { transform: translateY(-6px); }
.burger i:nth-child(3) { transform: translateY(6px); }
.burger[aria-expanded="true"] i:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

/* Company: monthly / yearly switch and the discount ladder */
.cfg-bill { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); }
.cfg-bill button { min-height: 34px; padding: 6px 8px; border: 0; background: none; color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.cfg-bill button + button { border-left: 2px solid var(--ink); }
.cfg-bill button em { font-style: normal; color: #0b6b4d; }
.cfg-bill button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cfg-bill button[aria-pressed="true"] em { color: var(--yellow); }
.cfg-ladder { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-family: var(--mono); font-size: 11px; color: #5b5f5d; }
.cfg-ladder span { white-space: nowrap; }
.cfg-ladder em { font-style: normal; font-weight: 700; color: #0b6b4d; }
@media (max-width: 860px) { .cfg-bill button { min-height: 44px; font-size: 12.5px; } .cfg-ladder { font-size: 12px; } }
/* a tools card snapping back to its start pose off-screen: no transition, so the reset is never seen */
.bc.bc-reset, .bc.bc-reset *, .bc.bc-reset::after { transition: none !important; animation: none !important; }
