/* Routiva — a gearbox shift pattern on a dark dashboard. Michroma for engraving and cluster, Red Hat Text for reading. */
:root {
  --dash: #1c1f23; --dash-hi: #262a30; --dash-lo: #131518; --well: #0d0f11;
  --ink: #e7e9eb; --ink-2: #a9b1b8; --ink-3: #8a929a;
  --alu-1: #eceeef; --alu-2: #c3c8cb; --alu-3: #959ba0; --alu-ink: #1f2326; --alu-ink-2: #4a5157;
  --knob: #0f1012; --engr: #f1f1ec;
  --amber: #ffb000; --amber-hi: #ffc640; --amber-dim: #3d3016; --amber-ink: #1a1405;
  --lcd: #e9f0f4; --lcd-2: #aab8c2; --lcd-3: #73818c; --glass: #0a0c0e;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-q: cubic-bezier(.25, 1, .5, 1);
  --disp: 'Michroma', 'Eurostile', 'Segoe UI', sans-serif; --text: 'Red Hat Text', 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--dash); color: var(--ink); font: 400 16px/1.55 var(--text); }
::selection { background: var(--amber); color: var(--amber-ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
button { font: inherit; color: inherit; }
img[data-logo] { display: block; height: 40px; width: auto; }

.dash { background:
  radial-gradient(1200px 600px at 70% -10%, rgba(255,255,255,.045), transparent 60%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), var(--dash); overflow-x: clip; }

/* ---------- visor (top strip) ---------- */
.visor { display: flex; align-items: center; gap: 24px; padding: 16px 32px; border-bottom: 1px solid rgba(255,255,255,.06); max-width: 1440px; margin: 0 auto; }
.visor-line { margin: 0; font: 400 11px/1.3 var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.visor-tel { margin-left: auto; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.visor-tel b { font: 400 13px/1 var(--disp); color: var(--ink); letter-spacing: .04em; margin-left: 4px; }
.visor-tel:hover b { color: var(--amber); }
.lang { display: flex; padding: 3px; border-radius: 7px; background: linear-gradient(180deg, #0d0f11, #1a1d21); box-shadow: inset 0 2px 4px rgba(0,0,0,.8), 0 0 0 1px #3a3f45; }
.lang button { padding: 9px 12px 8px; border: 0; border-radius: 0; cursor: pointer; background: transparent; font: 400 10px/1 var(--disp); letter-spacing: .14em; color: var(--ink-3); transition: color .3s var(--ease), background .3s var(--ease); }
.lang button + button { border-left: 1px solid #2c3036; }
.lang button[aria-checked="true"] { color: var(--amber); background: linear-gradient(180deg, #2a2e34, #1f2227); }

/* ---------- cockpit grid ---------- */
.cockpit { max-width: 1440px; margin: 0 auto; padding: 28px 32px 40px; display: grid; grid-template-columns: minmax(400px, 480px) minmax(0, 1fr); grid-template-areas: "console cluster" "request request"; gap: 28px 32px; align-items: start; }
.console { grid-area: console; min-width: 0; }
.cluster { grid-area: cluster; min-width: 0; }
.request { grid-area: request; min-width: 0; }

/* ---------- console: brushed aluminium ---------- */
.console { position: relative; padding: 26px 26px 0; border-radius: 26px 26px 18px 18px; color: var(--alu-ink); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(0,0,0,.08)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.035) 1px 2px, rgba(255,255,255,0) 2px 4px), var(--alu-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 0 0 1px #0b0c0e, 0 28px 50px -24px rgba(0,0,0,.9); }
.console-title { margin: 0 0 14px; font: 400 22px/1.18 var(--disp); letter-spacing: -.01em; color: var(--alu-ink); text-wrap: balance; }
.console-title small { display: block; margin-top: 8px; font: 500 14px/1.45 var(--text); letter-spacing: 0; color: var(--alu-ink-2); max-width: 40ch; }

.mode { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mode-k { font: 400 10px/1 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--alu-ink-2); margin-right: 4px; }
.mode-b { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 6px; cursor: pointer; border: 1px solid #6f767c;
  font: 400 10.5px/1 var(--disp); letter-spacing: .12em; text-transform: uppercase; color: var(--alu-ink);
  background: linear-gradient(180deg, #f4f5f6, #c9cdd0 60%, #b2b7bb); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #7b8186; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mode-b i { width: 8px; height: 8px; border-radius: 50%; background: #5d6268; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); transition: background .3s var(--ease); }
.mode-b[aria-checked="true"] { transform: translateY(2px); box-shadow: inset 0 1px 3px rgba(0,0,0,.25), 0 0 0 #7b8186; background: linear-gradient(180deg, #c9cdd0, #dfe2e4); }
.mode-b[aria-checked="true"] i { background: var(--amber); box-shadow: 0 0 0 2px rgba(255,176,0,.25); }

/* leather boot with stitching, the knob on it */
.boot { position: relative; width: min(100%, 376px); aspect-ratio: 1; margin: 0 auto; padding: 18px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #2a2c2f, #17181a 62%, #0e0f10); box-shadow: inset 0 6px 16px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px #6b7176; }
.boot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1.5px dashed #6c7177; opacity: .7; pointer-events: none; }
.knob { position: relative; width: 100%; height: 100%; border-radius: 50%; cursor: grab; touch-action: none; outline: none;
  background: radial-gradient(circle at 36% 28%, #34373c 0%, #17191c 38%, #0a0b0c 72%, #050506 100%);
  box-shadow: 0 18px 30px -10px rgba(0,0,0,.85), 0 3px 0 #000, inset 0 2px 1px rgba(255,255,255,.12), inset 0 -10px 24px rgba(0,0,0,.6); }
.knob:focus-visible { box-shadow: 0 0 0 3px var(--amber), 0 18px 30px -10px rgba(0,0,0,.85); }
.knob.dragging { cursor: grabbing; }
.knob svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.knob.rattle { animation: rattle .42s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes rattle { 10%, 90% { transform: translate(-1px, 0) rotate(-.4deg); } 20%, 80% { transform: translate(3px, 1px) rotate(.8deg); } 30%, 50%, 70% { transform: translate(-5px, -1px) rotate(-1.2deg); } 40%, 60% { transform: translate(5px, 1px) rotate(1.2deg); } }

/* svg parts */
.g-groove { fill: none; stroke: #040405; stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.g-groove-hi { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 36; stroke-linecap: round; stroke-linejoin: round; transform: translateY(1.5px); }
.g-line { fill: none; stroke: var(--engr); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .92; }
.g-num { font: 400 32px var(--disp); fill: var(--engr); text-anchor: middle; dominant-baseline: central; letter-spacing: 0; transition: fill .3s var(--ease); }
.g-num.on { fill: var(--amber); }
.g-hit { fill: transparent; cursor: pointer; }
.g-brand { font: 400 9px var(--disp); fill: rgba(241,241,236,.45); text-anchor: middle; letter-spacing: .4em; }
.g-puck-ring { fill: none; stroke: #2b2e33; stroke-width: 5; transition: stroke .3s var(--ease); }
.g-puck.on .g-puck-ring { stroke: var(--amber); }
.g-puck { transition: none; }
.g-puck.clunk .g-puck-body { animation: clunk .32s var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes clunk { 0% { transform: scale(1.12); } 100% { transform: scale(1); } }

.hint { min-height: 42px; margin: 10px auto 12px; max-width: 40ch; text-align: center; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--alu-ink-2); transition: color .3s var(--ease); }
.hint.warn { color: #8a2a00; font-weight: 700; }

/* pedals in the dark footwell */
.pedals { display: flex; align-items: flex-end; justify-content: center; gap: 22px; margin: 0 -26px; padding: 16px 26px 16px; background: linear-gradient(180deg, #121417, #0b0c0e); box-shadow: inset 0 10px 18px -8px rgba(0,0,0,.9); }
.pedal { display: flex; flex-direction: column; align-items: center; gap: 14px; border: 0; padding: 0; background: none; color: var(--ink-2); }
button.pedal { cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pad { display: block; width: 84px; height: 76px; border-radius: 10px 10px 14px 14px; transform: perspective(300px) rotateX(16deg); transform-origin: 50% 100%;
  background: repeating-linear-gradient(180deg, #2b2e33 0 7px, #16181b 7px 11px), #202327; box-shadow: 0 0 0 3px #4f555b, 0 0 0 4px #0a0b0c, 0 12px 0 -2px #050607, 0 18px 22px -6px rgba(0,0,0,.9);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.pedal.dummy { opacity: .55; }
.pedal.dummy .pad { width: 64px; height: 62px; }
.pedal.gas .pad { width: 42px; height: 84px; border-radius: 8px; }
.pedal-l { font: 400 10px/1 var(--disp); letter-spacing: .18em; text-transform: uppercase; }
.pedal-s { font-size: 12px; color: var(--ink-3); }
button.pedal .pedal-l { color: var(--ink); }
button.pedal[aria-pressed="true"] .pad { transform: perspective(300px) rotateX(34deg) translateY(10px); box-shadow: 0 0 0 3px var(--amber), 0 0 0 4px #0a0b0c, 0 4px 0 -2px #050607, 0 6px 10px -4px rgba(0,0,0,.9); }
button.pedal[aria-pressed="true"] .pedal-l { color: var(--amber); }
button.pedal.nudge .pad { animation: nudge .5s var(--ease); }
@keyframes nudge { 30% { box-shadow: 0 0 0 3px var(--amber), 0 0 0 4px #0a0b0c, 0 12px 0 -2px #050607, 0 18px 22px -6px rgba(0,0,0,.9); } }
html.auto .pedal.brake { display: none; }
html.auto button.pedal .pad { width: 116px; height: 64px; border-radius: 12px; }

/* ---------- instrument cluster ---------- */
.hood { padding: 16px 16px 12px; border-radius: 34px 34px 18px 18px; background: linear-gradient(180deg, #17191c, #101214); box-shadow: 0 0 0 1px #050607, inset 0 1px 0 rgba(255,255,255,.06), 0 30px 50px -26px rgba(0,0,0,.95); }
.screen { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 470px; border-radius: 22px 22px 10px 10px; color: var(--lcd); overflow: hidden;
  background: radial-gradient(130% 90% at 18% 0%, #1b2127 0%, #0d1013 60%, var(--glass) 100%); box-shadow: inset 0 0 0 1px rgba(233,240,244,.08), inset 0 18px 30px -18px rgba(0,0,0,.9); }
.gear { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 10px; border-right: 1px solid rgba(233,240,244,.09); }
.gear-k { font: 400 10px/1 var(--disp); letter-spacing: .3em; text-transform: uppercase; color: var(--lcd-3); }
.gear-d { font: 400 150px/1 var(--disp); color: var(--lcd); letter-spacing: -.04em; transition: opacity .25s var(--ease); }
.gear-d.ch { animation: gearIn .5s var(--ease); }
@keyframes gearIn { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: none; } }
.lamp-cl { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 7px; font: 400 9px/1 var(--disp); letter-spacing: .16em; text-transform: uppercase; color: #3a3f45; transition: color .2s var(--ease); }
.lamp-cl i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; position: relative; }
.lamp-cl i::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; background: currentColor; }
.lamp-cl.on { color: var(--amber); animation: blink .9s steps(2, jump-none) 2; }
@keyframes blink { 50% { color: #3a3f45; } }

.sheet { position: relative; padding: 26px 32px 24px; min-width: 0; }
.idle-k { margin: 0 0 18px; font: 400 11px/1 var(--disp); letter-spacing: .3em; text-transform: uppercase; color: var(--lcd-3); }
.idle-t { margin: 0 0 22px; font: 400 23px/1.4 var(--disp); letter-spacing: -.01em; max-width: 26ch; color: var(--lcd); text-wrap: pretty; }
.idle-c { margin: 0; max-width: 54ch; padding-top: 18px; border-top: 1px solid rgba(233,240,244,.12); font-size: 14.5px; line-height: 1.6; color: var(--lcd-2); }

.prod-k { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font: 400 10px/1.3 var(--disp); letter-spacing: .24em; text-transform: uppercase; color: var(--lcd-3); }
.prod-t { margin: 0 0 12px; font: 400 23px/1.25 var(--disp); letter-spacing: -.015em; color: var(--lcd); text-wrap: balance; max-width: 24ch; }
.prod-who { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--lcd); max-width: 52ch; }
.prod-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.prod-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.prod-steps li { counter-increment: s; position: relative; padding: 0 0 8px 30px; font-size: 14px; line-height: 1.5; color: var(--lcd-2); }
.prod-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border: 1px solid rgba(233,240,244,.3); border-radius: 3px; font: 400 9px/17px var(--disp); text-align: center; color: var(--lcd); }
.prod-side { min-width: 0; }
.veh { display: block; width: 100%; height: auto; max-height: 74px; margin: -4px 0 6px; }
.veh * { fill: none; stroke: var(--lcd); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.veh .fill { fill: rgba(233,240,244,.08); }
.hourmeter { display: block; margin: 2px 0 12px; font: 400 52px/1 var(--disp); letter-spacing: -.03em; color: var(--lcd); }
.hourmeter small { display: block; margin-top: 8px; font: 400 10px/1.3 var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--lcd-2); }
.prod-dl { margin: 0; display: grid; gap: 7px; }
.prod-dl dt { font: 400 9.5px/1.2 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--lcd-3); }
.prod-dl dd { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--lcd-2); }
.prod-dl dd.note { color: var(--lcd); }
.prod-foot-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 22px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(233,240,244,.12); }
.price { margin: 0; }
.price b { display: block; font: 400 30px/1 var(--disp); letter-spacing: -.02em; color: var(--lcd); white-space: nowrap; }
.price span { display: block; margin-bottom: 6px; font: 400 9.5px/1 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--lcd-3); }
.price em { display: inline-block; margin-top: 7px; font: italic 400 13px/1.2 var(--text); color: var(--lcd-2); }
.prod-act { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.btn-lit, .btn-go { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 5px; cursor: pointer; text-decoration: none; font: 400 10.5px/1.1 var(--disp); letter-spacing: .12em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-lit { border: 1px solid rgba(255,176,0,.55); background: transparent; color: var(--amber); }
.btn-lit i { width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid currentColor; }
.btn-lit[aria-pressed="true"] { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.btn-lit[aria-pressed="true"] i { background: currentColor; }
.btn-go { border: 1px solid rgba(233,240,244,.3); color: var(--lcd); background: transparent; }
.btn-go:hover { border-color: var(--lcd); }
.prod.show { animation: sheetIn .55s var(--ease) both; }
@keyframes sheetIn { 0% { opacity: 0; transform: translateX(14px); } 100% { opacity: 1; transform: none; } }

/* gear legend under the screen */
.legend { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.legend li { min-width: 0; display: flex; }
.legend button { width: 100%; display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border: 0; border-radius: 6px; cursor: pointer; text-align: left; background: rgba(255,255,255,.025); color: var(--ink-3); transition: background .25s var(--ease), color .25s var(--ease); }
.legend b { font: 400 15px/1 var(--disp); color: var(--ink-2); }
.legend span { font-size: 12.5px; line-height: 1.25; padding-top: 1px; }
.legend button:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.legend button.cur { background: rgba(233,240,244,.1); color: var(--lcd); }
.legend button.cur b { color: var(--lcd); }
.legend button.lit b { color: var(--amber); }
.legend .note-li { grid-column: 1 / -1; display: block; padding: 6px 10px 0; font-size: 12.5px; color: var(--ink-3); }

/* glovebox */
.glovebox { margin-top: 18px; }
.glove-door { width: 100%; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 10px 10px 22px 22px; border: 0; cursor: pointer; text-align: left;
  font: 400 11px/1.3 var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  background: linear-gradient(180deg, #262a2f, #1e2126); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 1px #0c0d0f, 0 16px 30px -18px rgba(0,0,0,.9); transition: color .25s var(--ease); }
.glove-door:hover { color: var(--ink); }
.glove-h { width: 74px; height: 16px; flex: none; border-radius: 8px; background: linear-gradient(180deg, #0b0c0d, #24282c); box-shadow: inset 0 3px 5px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.08); position: relative; }
.glove-h::after { content: ""; position: absolute; left: 14px; right: 14px; top: 5px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, #c3c8cb, #7c8287); }
.glove-door[aria-expanded="true"] { border-radius: 10px 10px 0 0; }
.plate { position: relative; padding: 26px 30px 22px; border-radius: 0 0 14px 14px; color: var(--alu-ink); transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 40%), repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, rgba(0,0,0,.04) 1px 2px, transparent 2px 4px), var(--alu-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px #0b0c0e; }
.plate.open { animation: flap .6s var(--ease) both; }
@keyframes flap { 0% { opacity: 0; transform: perspective(900px) rotateX(-70deg); } 100% { opacity: 1; transform: none; } }
.screw { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f3f4f5, #8b9196 70%); box-shadow: 0 1px 1px rgba(0,0,0,.5); }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.2px; background: #5c6267; transform: rotate(35deg); }
.s1 { left: 10px; top: 10px; } .s2 { right: 10px; top: 10px; } .s3 { left: 10px; bottom: 10px; } .s4 { right: 10px; bottom: 10px; }
.plate-k { margin: 0 0 4px; font: 400 22px/1.1 var(--disp); letter-spacing: .02em; }
.plate-cred { margin: 0 0 18px; font: 500 14.5px/1.45 var(--text); color: var(--alu-ink); max-width: 60ch; }
.plate-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.plate-dl > div { min-width: 0; }
.plate-dl .wide { grid-column: 1 / -1; }
.plate-dl dt { font: 400 9.5px/1.2 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--alu-ink-2); }
.plate-dl dd { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--alu-ink); overflow-wrap: anywhere; }
.plate-dl dd span { display: block; }
.plate-src { margin: 18px 0 0; font-size: 12.5px; color: var(--alu-ink-2); }

/* ---------- request: the centre stack ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head form" "tt form"; grid-template-rows: auto 1fr; gap: 18px 40px; padding: 30px 32px 30px; border-radius: 18px;
  background: linear-gradient(180deg, #202328, #191b1f); box-shadow: 0 0 0 1px #0c0d0f, inset 0 1px 0 rgba(255,255,255,.06); align-content: start; }
.req-head { grid-area: head; }
.req-head h2 { margin: 0 0 10px; font: 400 30px/1.1 var(--disp); letter-spacing: -.015em; color: var(--ink); }
.req-head p { margin: 0; max-width: 48ch; font-size: 15px; color: var(--ink-2); }
.req-left { grid-area: tt; align-self: start; }
.req-how { margin: 22px 0 0; max-width: 46ch; font-size: 14px; color: var(--ink-2); }
.req-how a { color: var(--ink); }
.nw { white-space: nowrap; }
.telltales { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; align-content: flex-start; }
.tt { display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 10px; border-radius: 4px; cursor: pointer; border: 1px solid #2c3036; background: #0c0e10; color: #858d95; text-align: left;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.8); transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.tt svg { width: 26px; height: 22px; flex: none; }
.tt svg * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tt b { font: 400 13px/1 var(--disp); }
.tt span { font-size: 13px; line-height: 1.2; }
.tt:hover { color: #b3bac1; }
.tt.on { color: var(--amber); border-color: rgba(255,176,0,.5); background: radial-gradient(120% 140% at 30% 50%, #2e2205, #0c0e10 80%); }
.tt.on.flash { animation: ttOn .6s var(--ease); }
@keyframes ttOn { 0% { background: #6a4d0a; } }

.req-form { grid-area: form; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.kind { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.kind legend { width: 100%; margin-bottom: 8px; font: 400 9.5px/1 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.kind label { position: relative; cursor: pointer; }
.kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kind span { display: inline-block; padding: 9px 14px; border-radius: 4px; border: 1px solid #3a3f46; font-size: 14px; color: var(--ink-2); transition: all .25s var(--ease); }
.kind input:checked + span { border-color: var(--amber); color: var(--amber); background: rgba(255,176,0,.08); }
.kind input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span { font: 400 9.5px/1 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.fld input, .fld textarea { width: 100%; padding: 11px 13px; border-radius: 5px; border: 1px solid #343940; background: #0f1113; color: var(--ink); font: 400 15px/1.4 var(--text); box-shadow: inset 0 2px 5px rgba(0,0,0,.6); }
.fld input::placeholder, .fld textarea::placeholder { color: #7b838b; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--amber); }
.fld.msg { grid-column: 1 / -1; }
.fld textarea { resize: vertical; min-height: 78px; }
.req-out { grid-column: 1 / -1; }
.req-k { margin: 0 0 6px; font: 400 9.5px/1 var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.req-pre { margin: 0; padding: 12px 14px; max-height: 150px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 5px; border: 1px dashed #3a3f46; font: 400 13px/1.5 var(--text); color: var(--ink-2); }
.req-b { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.send { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 5px; cursor: pointer; font: 400 11px/1.1 var(--disp); letter-spacing: .1em; text-transform: uppercase; transition: transform .2s var(--ease), background .25s var(--ease); }
.send i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.send.call { border: 0; background: var(--amber); color: var(--amber-ink); box-shadow: 0 3px 0 #a87300; }
.send.call:hover { background: var(--amber-hi); }
.send.call:active { transform: translateY(2px); box-shadow: 0 1px 0 #a87300; }
.send.mail { border: 1px solid #4a5058; background: transparent; color: var(--ink); }
.send.mail i { background: transparent; border: 1.5px solid currentColor; }
.send.mail:hover { border-color: var(--ink-2); }
.req-st { grid-column: 1 / -1; margin: 0; min-height: 0; font-size: 14px; color: var(--amber); }
.req-st:empty { display: none; }
.req-form .lead-note { grid-column: 1 / -1; margin: 0; }
.lead-note a { color: inherit; }

.small { max-width: 1440px; margin: 0 auto; padding: 4px 32px 34px; font-size: 13px; color: var(--ink-3); }
.small a { color: var(--ink-2); }

/* ---------- legal pages (privacy.html shell) ---------- */
body.legal { background: var(--dash); }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 900px; margin: 0 auto; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-top .back { font: 400 10.5px/1.2 var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); text-decoration: none; }
.legal-sheet { max-width: 900px; margin: 28px auto 60px; padding: 36px 40px; border-radius: 18px; color: var(--alu-ink); font-size: 15.5px; line-height: 1.65;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 18%), repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.03) 1px 2px, transparent 2px 4px), #d3d7da; box-shadow: 0 0 0 1px #0b0c0e; overflow-wrap: anywhere; }
.legal-sheet h1 { font: 400 26px/1.25 var(--disp); letter-spacing: -.01em; margin: 10px 0 16px; }
.legal-sheet h2 { font: 400 15px/1.35 var(--disp); letter-spacing: .02em; margin: 28px 0 8px; }
.legal-sheet a { color: #7a4a00; }
.legal-sheet :focus-visible { outline-color: #7a4a00; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .cockpit { grid-template-columns: minmax(0, 1fr); grid-template-areas: "console" "cluster" "request"; padding: 16px 16px 28px; gap: 18px; }
  .screen { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .gear { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 20px 14px; border-right: 0; border-bottom: 1px solid rgba(233,240,244,.09); }
  .gear-d { font-size: 64px; }
  .lamp-cl { position: static; margin-left: auto; }
  .request { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tt" "form"; padding: 24px 18px; }
}
@media (max-width: 760px) {
  :root { --ck-bottom: 104px; }
  body:not(.legal) { padding-bottom: 96px; }
  .visor { flex-wrap: wrap; gap: 10px 16px; padding: 14px 16px; }
  .visor-line { order: 3; width: 100%; font-size: 9.5px; }
  .console { padding: 20px 14px 0; border-radius: 20px; }
  .console-title { font-size: 20px; }
  .boot { width: 100%; padding: 12px; }
  .g-num { font-size: 36px; }
  .pedals { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 0; justify-content: stretch; background: linear-gradient(180deg, #16181b, #0b0c0e); box-shadow: 0 -10px 24px rgba(0,0,0,.6); border-top: 1px solid #2c3036; }
  .pedal.dummy { display: none; }
  button.pedal { flex: 1; flex-direction: row; justify-content: center; gap: 14px; }
  button.pedal .pad, html.auto button.pedal .pad { width: 128px; height: 58px; border-radius: 10px; transform: none; }
  button.pedal[aria-pressed="true"] .pad { transform: translateY(5px); }
  .pedal-s { display: none; }
  .sheet { padding: 22px 20px; }
  .idle-t { font-size: 18px; }
  .prod-t { font-size: 20px; }
  .prod-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .legend button { padding: 8px; flex-direction: column; gap: 4px; }
  .plate { padding: 24px 18px 20px; }
  .plate-dl { grid-template-columns: minmax(0, 1fr); }
  .req-form { grid-template-columns: minmax(0, 1fr); }
  .req-head h2 { font-size: 24px; }
  .small { padding: 4px 16px 24px; }
  .legal-sheet { margin: 16px 12px 40px; padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
.m-auto { display: none; } html.auto .m-auto { display: inline; } html.auto .m-man { display: none; }

@media (max-width: 760px) {
  .lang { order: 1; margin-left: auto; }
  .visor-tel { order: 2; margin-left: 0; width: 100%; }
  .mode { flex-wrap: wrap; gap: 8px; }
  .mode-k { width: 100%; }
  .mode-b { padding: 9px 12px 9px 10px; font-size: 10px; letter-spacing: .08em; }
}
/* ignition: the cluster powers up and runs its lamp test once */
html.js:not(.static) .screen.ign { animation: powerOn 1.1s var(--ease) both; }
@keyframes powerOn { 0% { filter: brightness(.25); } 35% { filter: brightness(1.25); } 100% { filter: none; } }
.legend.ign b { animation: lampTest 1.3s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 250ms); }
@keyframes lampTest { 0%, 100% { color: inherit; } 20%, 55% { color: var(--amber); } }
html.js:not(.static) .ign .gear-d { animation: gearIn .9s var(--ease) .35s both; }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: routiva */
.ck { left: auto; right: 22px; bottom: 22px; width: 430px; max-width: calc(100vw - 32px); padding: 16px 18px 16px 86px; border-radius: 14px; color: #E9F0F4; font-family: 'Red Hat Text', 'Segoe UI', sans-serif;
  background: radial-gradient(140% 120% at 20% 0%, #1A2026, #0B0D10 70%); box-shadow: 0 0 0 1px #050607, 0 0 0 5px #17191C, 0 0 0 6px #2C3036, 0 30px 50px -18px rgba(0,0,0,.9); animation: rtv-ck .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes rtv-ck { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
.ck::before { content: ""; position: absolute; left: 16px; top: 16px; width: 54px; height: 40px; border-radius: 5px; background: #FFB000; box-shadow: 0 0 0 1px #6B4A00, inset 0 -6px 10px rgba(130,80,0,.35); }
.ck::after { content: ""; position: absolute; left: 30px; top: 24px; width: 26px; height: 23px; clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(#FFB000, #FFB000) 50% 9px / 3px 7px no-repeat, linear-gradient(#FFB000, #FFB000) 50% 18px / 3px 3px no-repeat, #1A1405; }
.ck .ck-k { margin: 0 0 8px; font: 400 10px/1.2 'Michroma', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #FFB000; }
.ck .ck-t b { display: block; font: 400 16px/1.3 'Michroma', sans-serif; letter-spacing: -.005em; color: #E9F0F4; }
.ck .ck-p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: #AAB8C2; }
.ck .ck-p a { color: #E9F0F4; }
.ck .b { margin: 14px 0 0 -70px; padding-top: 12px; border-top: 1px solid rgba(233,240,244,.12); gap: 18px; }
.ck button { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: #E9F0F4; font: 400 10.5px/1 'Michroma', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ck button::before { content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2C3036, #121417 70%);
  box-shadow: 0 0 0 3px #A9AFB4, 0 0 0 4px #4B5157, 0 0 0 5px #0B0C0E, 0 4px 8px rgba(0,0,0,.7); transition: transform .15s cubic-bezier(.16, 1, .3, 1); }
.ck .ok::before { background: radial-gradient(circle, #FFB000 0 5px, transparent 5.5px), radial-gradient(circle at 50% 40%, #2C3036, #121417 70%); }
.ck button:active::before { transform: scale(.92); }
.ck a.more { margin-left: auto; font-size: 13px; color: #E9F0F4; text-decoration: underline; text-underline-offset: 3px; }
.ck button:focus-visible, .ck a.more:focus-visible { outline: 2px solid #FFB000; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 600px) { .ck { left: 10px; right: 10px; width: auto; padding: 14px 14px 14px 76px; } .ck::before { left: 12px; top: 14px; width: 50px; } .ck::after { left: 24px; top: 22px; } .ck .b { margin-left: -62px; gap: 14px; } }
/* seller block: the dark lower dashboard under the console */
footer.seller { background: #131518; color: #C9D0D6; border-top: 1px solid #2C3036; font-family: 'Red Hat Text', 'Segoe UI', sans-serif; }
footer.seller b { color: #FFB000; opacity: 1; font-family: 'Michroma', sans-serif; font-weight: 400; letter-spacing: .18em; }
footer.seller strong { color: #E9F0F4; }
footer.seller a { color: #E9F0F4; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
