/* ==========================================================================
   Dutiess - shared design system
   Dark surface stack: #0D0D0D page · #121212 alt section · #1E1E1E card
   Line: #2B2B2B · Brand: #F4B400 · Urgent: #E53935 · Good: #22C55E
   ========================================================================== */

:root {
  --bg: #0D0D0D;
  --bg-alt: #121212;
  --card: #1E1E1E;
  --card-2: #252525;
  --line: #2B2B2B;
  --line-2: #3A3A3A;
  --brand: #F4B400;
  --brand-dark: #D99A00;
  --brand-tint: #2E2712;
  /* Transport Dutiess: the blue twin of the Cab yellow set above */
  --blue: #4F8EF7;
  --blue-strong: #2563EB;
  --blue-strong-hover: #1D4ED8;
  --blue-tint: #13213D;
  --ink: #FFFFFF;
  --ink-2: #EDEDED;
  --ink-3: #C9C9C9;
  --ink-4: #A0A0A0;
  --ink-5: #8C8C8C;
  --good: #22C55E;
  --good-2: #4ADE80;
  --good-tint: #152A1B;
  --bad: #E53935;
  --bad-2: #F49898;
  --bad-tint: #3A1717;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Poppins', 'Mukta', system-ui, sans-serif;
  --wrap: 1180px;
  --nav-h: 72px;
}

* { box-sizing: border-box }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s, background .2s, border-color .2s, transform .2s, opacity .2s;
}

img { max-width: 100%; height: auto }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--brand);
  color: #121212;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 10px;
}
.skip:focus { left: 12px }

/* ---------- icons ---------- */
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  letter-spacing: normal;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1;
  user-select: none;
  flex: none;
}

/* ---------- logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.logo .i { color: #fff; position: relative }
.logo .i .dot {
  position: absolute;
  left: calc(50% - .07em);
  top: .02em;
  width: .14em;
  height: .14em;
  border-radius: 50%;
  background: var(--brand);
}
.logo .ss { color: var(--brand) }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px }
.section { padding: 104px 0 }
.section-sm { padding: 72px 0 }
.alt { background: var(--bg-alt); border-top: 1px solid #1E1E1E }
.bordered { border-top: 1px solid #1E1E1E }

.grid { display: grid; gap: 24px }
.grid-2 { grid-template-columns: repeat(2, 1fr) }
.grid-3 { grid-template-columns: repeat(3, 1fr) }
.grid-4 { grid-template-columns: repeat(4, 1fr) }

/* ---------- type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--brand);
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--brand); flex: none }
.eyebrow.center { justify-content: center }
.eyebrow.center::after { content: ''; width: 34px; height: 2px; background: var(--brand); flex: none }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance }
h1 { font-size: 46px; line-height: 1.18 }
h2 { font-size: 40px; line-height: 1.24 }
h3 { font-size: 24px; line-height: 1.35 }
h4 { font-size: 19px; line-height: 1.4 }
.y { color: var(--brand) }
.lead { font-size: 19px; line-height: 1.75; color: var(--ink-4) }

/* ---------- product badges (Transport page) ---------- */
.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.product-icon .ms { font-size: 34px }
.product-status {
  padding: 7px 12px;
  border: 1px solid #45494E;
  border-radius: 999px;
  color: #B8BDC3;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* animated wordmark: the ss slides in, the dot drops onto the ı */
.logo-anim > span:not(.ss-wrap) { animation: fadein .6s ease both }
.logo-anim .ss-wrap { display: inline-block; overflow: hidden }
.logo-anim .ss { display: inline-block; animation: ssout .7s cubic-bezier(.22,1,.36,1) .3s both }
.logo-anim .dot { animation: dotpop .55s cubic-bezier(.34,1.56,.64,1) 1s both }

/* ---------- homepage gateway (3D road + two products) ---------- */
/* Yellow = Cab Dutiess, blue = Transport Dutiess, matching the vehicles. */
.home-gate .site-nav {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-gate .nav-inner > .logo { visibility: hidden }
.home-gate .mobile-menu { border-top-color: transparent }

/* the gateway is one fixed screen - no page scroll */
html.gate-locked, html.gate-locked body { height: 100%; overflow: hidden; overscroll-behavior: none }

.gate {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  /* backdrop shown until WebGL draws its first frame (or if it never does) */
  background:
    radial-gradient(1100px 380px at 50% 82%, rgba(255,179,92,.08), transparent 70%),
    linear-gradient(180deg, #050608 0%, #0b0d11 48%, #15181d 70%, #0d0e11 100%);
}
.gate-scene { position: absolute; inset: 0; z-index: -2 }
.gate-scene::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  height: 13%;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(212,216,222,.5) 46% 54%, transparent 54%) 0 50% / 90px 3px repeat-x,
    linear-gradient(180deg, #2a2c30 0 6%, #1b1d21 6% 94%, #2a2c30 94%);
}
.gate-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.gate-canvas.ready { opacity: 1 }
.gate-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,7,9,.78) 0%, rgba(6,7,9,.38) 34%, rgba(6,7,9,0) 58%),
    radial-gradient(120% 70% at 50% 40%, transparent 55%, rgba(4,5,6,.55) 100%);
}

.gate > .gate-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(30px, 8vh, 88px);
  transition: opacity .38s ease, transform .38s cubic-bezier(.22,1,.36,1);
}
.gate-logo { font-size: clamp(62px, 8.2vw, 122px); font-weight: 700; letter-spacing: -.035em }
.gate-logo, .gate-logo .i { color: #fff }
.gate-logo .ss { color: #9EA4AB }
.gate-logo .i .dot { background: #9EA4AB }
.gate-tag {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #A9AFB6;
  animation: gateup .8s cubic-bezier(.22,1,.36,1) .35s backwards;
}
.gate-lead {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: #C3C7CC;
  animation: gateup .8s cubic-bezier(.22,1,.36,1) .45s backwards;
}

/* The cards and controls are drawn like Cab app surfaces (apps/mobile/src/
   theme.ts + ui.tsx): solid and borderless, 16px cards, tinted pills, 14px
   buttons, and a 1.5px accent ring only for the active choice. */
.gate-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 16px;
  margin-top: clamp(20px, 3.6vh, 40px);
}
.gate-card {
  --accent: var(--brand);
  --accent-bg: var(--brand-tint);
  --btn: var(--brand);
  --btn-hover: var(--brand-dark);
  --btn-ink: #121212;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon . pill"
    "kicker kicker kicker"
    "title title title"
    "copy copy copy"
    "btn btn btn";
  grid-template-rows: auto auto auto 1fr auto; /* spare height goes under the copy, so buttons line up */
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  text-align: left;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .25s;
  animation: gateup .9s cubic-bezier(.22,1,.36,1) .55s backwards;
}
.gate-card + .gate-card { animation-delay: .68s }
.gate-card-transport {
  --accent: var(--blue);
  --accent-bg: var(--blue-tint);
  --btn: var(--blue-strong);
  --btn-hover: var(--blue-strong-hover);
  --btn-ink: #fff;
}
.gate-card:hover, .gate-card:focus-visible {
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 28px 64px rgba(0,0,0,.5);
}
.gate-icon {
  grid-area: icon;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  color: var(--accent);
}
.gate-icon .ms { font-size: 26px }
.gate-pill {
  grid-area: pill;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.gate-pill .ms { font-size: 15px }
.gate-pill-muted { background: var(--card-2); color: var(--ink-4) }
.gate-kicker {
  grid-area: kicker;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.gate-title { grid-area: title; margin-top: 2px; font-size: 23px; font-weight: 800; letter-spacing: -.01em; color: #fff }
.gate-copy { grid-area: copy; align-self: start; margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink-4) }
.gate-btn {
  grid-area: btn;
  margin-top: 16px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 800;
  transition: background .2s;
}
.gate-btn .ms { font-size: 20px; transition: transform .3s cubic-bezier(.22,1,.36,1) }
.gate-card:hover .gate-btn { background: var(--btn-hover) }
.gate-card:hover .gate-btn .ms { transform: translateX(4px) }

.gate-legend {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  white-space: nowrap;
  animation: fadein 1s ease 1.2s backwards;
}
.gate-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  font-size: 12.5px;
  font-weight: 700;
  color: #D9D9D9;
}
.gate-legend i { width: 9px; height: 9px; border-radius: 3px }
.gate-dot-cab { background: var(--brand) }
.gate-dot-truck { background: var(--blue) }

body.gate-leaving .gate > .gate-inner { opacity: 0; transform: translateY(-14px) scale(.985) }
body.gate-leaving .gate-legend, body.gate-leaving .site-nav { opacity: 0; transition: opacity .3s }

/* night / morning switch - same pill as the app's language switch */
.mood-switch {
  position: absolute;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  width: 90px;
  height: 46px;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  cursor: pointer;
  animation: fadein .8s ease .9s backwards;
}
.mood-switch svg { position: relative; width: 40px; height: 36px; padding: 8px 10px; flex: none; transition: fill .4s, stroke .4s }
.mood-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 40px;
  height: 36px;
  border-radius: 999px;
  background: #333;
  transition: transform .45s cubic-bezier(.22,1,.36,1), background .4s;
}
.mood-switch-moon { fill: #fff }
.mood-switch-sun { fill: none; stroke: var(--ink-5); stroke-width: 2; stroke-linecap: round }
.mood-switch-sun circle { fill: var(--ink-5); stroke: none; transition: fill .4s }
.mood-switch:hover { border-color: #4a4a4a }

/* ---------- morning (light) mode: the scene and headline change, the
   app-style cards and controls stay as they are in the app ---------- */
.gate-logo span, .gate-tag, .gate-lead { transition: color .7s }
[data-mood="day"] .gate {
  background:
    radial-gradient(1100px 380px at 50% 82%, rgba(255,214,160,.25), transparent 70%),
    linear-gradient(180deg, #78acd9 0%, #b9d4ea 44%, #efe0cd 68%, #b8b6ad 100%);
}
[data-mood="day"] .gate-scene::before {
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(255,255,255,.75) 46% 54%, transparent 54%) 0 50% / 90px 3px repeat-x,
    linear-gradient(180deg, #a6a69f 0 6%, #4a4d52 6% 94%, #a6a69f 94%);
}
[data-mood="day"] .gate-shade {
  background:
    linear-gradient(180deg, rgba(236,242,248,.38) 0%, rgba(236,242,248,.18) 34%, rgba(236,242,248,0) 58%);
}
[data-mood="day"] .gate-logo, [data-mood="day"] .gate-logo .i { color: #101215 }
[data-mood="day"] .gate-logo .ss { color: #858C94 }
[data-mood="day"] .gate-logo .i .dot { background: #858C94 }
[data-mood="day"] .gate-tag { color: #46505B }
[data-mood="day"] .gate-lead { color: #262D35 }
[data-mood="day"] .mood-switch-thumb { transform: translateX(40px); background: var(--brand-tint) }
[data-mood="day"] .mood-switch-moon { fill: var(--ink-5) }
[data-mood="day"] .mood-switch-sun { stroke: var(--brand) }
[data-mood="day"] .mood-switch-sun circle { fill: var(--brand) }

@keyframes gateup { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }

/* ---------- Cab Dutiess page: 3D showroom hero ---------- */
.showroom {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  overflow: hidden;
  isolation: isolate;
  /* shown until WebGL draws (or if it never does) */
  background:
    radial-gradient(700px 420px at 72% 60%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 70%),
    linear-gradient(180deg, #050608 0%, #0b0d11 55%, #121418 100%);
}
.showroom-stage { position: absolute; inset: 0; z-index: -2; cursor: grab; touch-action: pan-y }
.showroom.is-dragging .showroom-stage { cursor: grabbing }
.showroom-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease }
.showroom-canvas.ready { opacity: 1 }
.showroom-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.78) 30%, rgba(8,9,11,.2) 52%, rgba(8,9,11,0) 62%),
    linear-gradient(0deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,0) 16%);
}
/* let drags reach the stage through the empty parts of the copy column */
.showroom > .showroom-inner { width: 100%; padding-top: 64px; padding-bottom: 88px; pointer-events: none }
.showroom-copy { max-width: 560px }
.showroom-copy > * { pointer-events: auto }
.showroom h1 { margin-top: 22px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.12 }
.showroom-sub { margin: 14px 0 0; font-family: var(--display); font-size: 21px; font-weight: 600; color: #D0D0D0 }
.showroom-lead { margin: 12px 0 0; max-width: 520px; font-size: 17.5px; line-height: 1.7; color: var(--ink-4) }
.showroom-lang { margin-top: 12px; font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--brand) }
.showroom-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px }
.showroom-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-5) }
[data-mood="day"] .showroom-note { color: #4B5563 }
.showroom-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 40px }
.showroom-stats div { display: flex; flex-direction: column }
.showroom-stats b { font-family: var(--display); font-size: 27px; font-weight: 700; line-height: 1.2; color: var(--brand) }
.showroom-stats span { margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink-5) }
.showroom-stats i { width: 1px; background: var(--line) }
.showroom .mood-switch { top: 18px }
.showroom-hint {
  position: absolute;
  right: 28px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  background: var(--card);
  color: #D9D9D9;
  font-size: 12.5px;
  font-weight: 700;
  pointer-events: none;
  animation: fadein 1s ease 1.6s backwards;
}
.showroom-hint .ms { font-size: 15px; color: var(--brand) }

/* same Pill as the app (ui.tsx): tint background, accent text, no border */
.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}
.app-pill .ms { font-size: 16px }

/* morning: light sky behind the copy, so the copy goes dark */
[data-mood="day"] .showroom {
  background:
    radial-gradient(700px 420px at 72% 60%, rgba(255,214,160,.3), transparent 70%),
    linear-gradient(180deg, #78acd9 0%, #b9d4ea 45%, #efe0cd 70%, #b8b6ad 100%);
}
[data-mood="day"] .showroom-shade {
  background:
    linear-gradient(90deg, rgba(238,243,248,.94) 0%, rgba(238,243,248,.86) 34%, rgba(238,243,248,.2) 54%, rgba(238,243,248,0) 64%),
    linear-gradient(0deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,0) 14%);
}
[data-mood="day"] .showroom h1 { color: #101215 }
[data-mood="day"] .showroom h1 .y, [data-mood="day"] .showroom-lang, [data-mood="day"] .showroom-stats b { color: var(--showroom-day-accent, #B57A00) }
[data-mood="day"] .showroom-sub { color: #1F2630 }
[data-mood="day"] .showroom-lead { color: #3D4550 }
[data-mood="day"] .showroom-stats span { color: #4B5563 }
[data-mood="day"] .showroom-stats i { background: rgba(15,23,42,.15) }
.showroom h1, .showroom-sub, .showroom-lead, .showroom-lang, .showroom-stats b, .showroom-stats span { transition: color .7s }

/* ---------- Cab page: How it works, steps as app rows beside the app ---------- */
.how-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center }
.app-steps { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px }
.app-step {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
}
.app-step-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.app-step-icon .ms { font-size: 26px }
.app-step-label { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-5) }
.app-step h3 { margin: 2px 0 4px; font-family: var(--sans); font-size: 19px; font-weight: 800 }
.app-step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-4) }
.app-step b { color: #fff }
.how-visual .hero-visual { margin-left: auto }
.how-visual .transport-load-card { max-width: 520px; margin-left: auto }

/* ---------- Cab page: the rest of the page in the app's card language ---------- */
.app-page main .card { border-color: transparent; border-radius: 16px }
.app-page main .card-hover:hover { border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--brand), 0 20px 44px rgba(0,0,0,.45) }
.app-page main .pill { border-color: transparent }

/* Cab page hero: stagger the copy in on load */
.cab-hero-copy > * { animation: gateup .8s cubic-bezier(.22,1,.36,1) backwards }
.cab-hero-copy > :nth-child(2) { animation-delay: .06s }
.cab-hero-copy > :nth-child(3) { animation-delay: .12s }
.cab-hero-copy > :nth-child(4) { animation-delay: .18s }
.cab-hero-copy > :nth-child(5) { animation-delay: .24s }
.cab-hero-copy > :nth-child(n+6) { animation-delay: .3s }

@media (max-width: 760px) {
  .gate > .gate-inner { padding-top: max(64px, 8vh) }
  .gate-tag { font-size: 11px; letter-spacing: .26em; margin-top: 10px }
  .gate-lead { font-size: 15px; margin-top: 8px; max-width: 330px }
  .gate-choices { grid-template-columns: 1fr; width: 100%; max-width: 420px; gap: 12px; margin-top: 20px }
  /* phone: icon beside title + status, button underneath */
  .gate-card {
    padding: 14px;
    column-gap: 12px;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "icon title"
      "icon pill"
      "btn btn";
  }
  .gate-kicker, .gate-copy { display: none }
  .gate-title { margin: 0; font-size: 19px; align-self: end }
  .gate-pill { justify-self: start; align-self: start; margin-top: 4px; font-size: 12px; padding: 3px 9px }
  .gate-btn { margin-top: 12px; height: 46px; font-size: 15px }
  .gate-icon { width: 46px; height: 46px; border-radius: 13px }
  .gate-legend { display: none }
}
@media (max-width: 980px) {
  /* phone/tablet: copy first, then the cab on its own stage */
  .showroom { flex-direction: column; align-items: stretch; min-height: 0 }
  .showroom-stage { position: relative; inset: auto; height: clamp(320px, 86vw, 520px); order: 2; z-index: 0 }
  .showroom-shade { background: linear-gradient(0deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,0) 14%) }
  [data-mood="day"] .showroom-shade { background: linear-gradient(0deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,0) 14%) }
  .showroom > .showroom-inner { padding-top: 84px; padding-bottom: 8px; pointer-events: auto }
  .showroom-copy { max-width: none }
  .showroom-hint { right: 50%; transform: translateX(50%); bottom: 18px }
  .how-grid { grid-template-columns: 1fr; gap: 40px }
}
@media (max-width: 560px) {
  .showroom-sub { font-size: 18px }
  .showroom-lead { font-size: 16px }
  .showroom-lang { font-size: 17px }
  .showroom-ctas .btn { flex: 1 1 100% }
  .showroom-stats { gap: 18px 26px; margin-top: 30px }
  .showroom-stats b { font-size: 23px }
}
@media (max-height: 560px) {
  html.gate-locked, html.gate-locked body { height: auto; overflow: auto }
  .gate { min-height: 560px }
}
@media (max-height: 840px) and (min-width: 761px) {
  .gate-logo { font-size: clamp(58px, 7vw, 100px) }
  .gate-copy { display: none }
}

/* Transport Dutiess: the same design with blue in place of Cab yellow - the
   blue of the homepage card, the trucks and the logo's "ss". */
.transport-theme {
  --brand: var(--blue);
  --brand-dark: var(--blue-strong);
  --brand-tint: var(--blue-tint);
}
.transport-theme .btn-primary { background: var(--blue-strong); color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.28) }
.transport-theme .btn-primary:hover { background: var(--blue-strong-hover); color: #fff }
/* the header shows each product its own button: Cab app, or Transport early access */
.site-nav .nav-cta-transport, .transport-theme .site-nav .nav-cta-cab { display: none }
.transport-theme .mobile-menu .nav-cta-transport { display: flex }
@media (min-width: 981px) { .transport-theme .nav-inner .nav-cta-transport { display: inline-flex } }
.transport-theme { --showroom-day-accent: #2563EB }
.transport-detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: stretch }
.transport-load-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.transport-route { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 20px }
.transport-route-line { display: flex; flex-direction: column; align-items: center; padding-top: 6px }
.transport-route-line span:first-child { width: 12px; height: 12px; border: 3px solid var(--brand); border-radius: 50% }
.transport-route-line i { width: 2px; flex: 1; min-height: 36px; background: var(--line-2); margin: 4px 0 }
.transport-route-line span:last-child { width: 12px; height: 12px; background: var(--brand); border-radius: 3px }
.transport-route-copy { display: flex; flex-direction: column; gap: 24px }
.transport-route-copy strong { display: block; font-size: 18px }
.transport-route-copy small { color: var(--ink-5); font-weight: 700 }
.muted { color: var(--ink-4) }
.small { font-size: 14px }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #121212; box-shadow: 0 10px 30px rgba(244, 180, 0, .22) }
.btn-primary:hover { background: var(--brand-dark); color: #121212; transform: translateY(-2px) }
.btn-ghost { border-color: var(--line); background: var(--card); color: #fff }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand) }
.btn-sm { font-size: 14.5px; padding: 10px 18px; border-radius: 11px }
.btn-lg { font-size: 18px; padding: 17px 32px; border-radius: 16px }
.btn[disabled] { opacity: .55; pointer-events: none }

/* ---------- cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card-hover:hover {
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .45);
}
.card h3, .card h4 { margin-bottom: 8px }
.card p { color: var(--ink-4); margin: 0; font-size: 15.5px; line-height: 1.65 }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
}
.pill-y { background: var(--brand-tint); color: var(--brand); border-color: transparent }
.pill-g { background: var(--good-tint); color: var(--good-2); border-color: transparent }
.pill-r { background: var(--bad-tint); color: var(--bad-2); border-color: transparent }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-badge .ms { font-size: 26px }

.check-row { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink-2) }
.check-row .ms { color: var(--good); font-size: 22px; margin-top: 1px }
.check-list { display: flex; flex-direction: column; gap: 14px }

/* ---------- page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1E1E1E;
  background: radial-gradient(900px 420px at 12% -10%, rgba(244, 180, 0, .10), transparent 65%), var(--bg-alt);
}
.page-hero .wrap-narrow, .page-hero .wrap { padding-top: 76px; padding-bottom: 66px }
.page-hero h1 { margin-top: 18px }
.page-hero .lead { margin-top: 18px; max-width: 720px }
.page-hero .updated {
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-5);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-5) }
.crumbs a { color: var(--ink-5) }
.crumbs a:hover { color: var(--brand) }
.crumbs .ms { font-size: 15px }

/* ---------- prose (legal / long-form) ---------- */
.prose { font-size: 16.5px; line-height: 1.8; color: var(--ink-3) }
.prose > h2 {
  font-size: 26px;
  margin: 52px 0 14px;
  color: #fff;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose > h2:first-child { margin-top: 0 }
.prose > h3 { font-size: 19px; margin: 30px 0 10px; color: var(--ink-2) }
.prose p { margin: 0 0 16px }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px }
.prose li { margin-bottom: 9px }
.prose li::marker { color: var(--brand) }
.prose strong, .prose b { color: #fff; font-weight: 700 }
.prose a { text-decoration: underline; text-underline-offset: 3px }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0 }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 15px;
  min-width: 520px;
}
.table-scroll { overflow-x: auto; margin-bottom: 22px; -webkit-overflow-scrolling: touch }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top }
.prose th { background: var(--card); color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase }
.prose tbody tr:last-child td { border-bottom: 0 }
.prose table { background: #161616; border: 1px solid var(--line); border-radius: 14px; overflow: hidden }

.callout {
  background: var(--card);
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  padding: 22px 26px;
  margin: 26px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.callout p:last-child { margin-bottom: 0 }
.callout-r { border-left-color: var(--bad) }
.callout-g { border-left-color: var(--good) }

/* table of contents */
.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 44px;
}
.toc h2 { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-5) !important; margin: 0 0 14px !important }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 34px }
.toc li { margin-bottom: 7px; font-size: 14.5px; break-inside: avoid }
.toc a { color: var(--ink-3); text-decoration: none }
.toc a:hover { color: var(--brand) }

/* ---------- FAQ / accordion ---------- */
.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: 12px; overflow: hidden }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary:hover { color: var(--brand) }
.faq summary .ms { margin-left: auto; color: var(--brand); font-size: 24px; transition: transform .25s }
.faq[open] summary .ms { transform: rotate(180deg) }
.faq[open] summary { color: #fff }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-4); font-size: 16px; line-height: 1.75 }
.faq .faq-body p { margin: 0 0 12px }
.faq .faq-body p:last-child { margin-bottom: 0 }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px }
.field { display: flex; flex-direction: column; gap: 7px }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2) }
.field .hint { font-size: 13px; color: var(--ink-5); font-weight: 500 }
.field .req { color: var(--brand) }
.input, .select, .textarea {
  width: 100%;
  background: #161616;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 15.5px;
  transition: border-color .2s, background .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6 }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); background: #1A1A1A }
.input::placeholder, .textarea::placeholder { color: #6B6B6B }
.select { appearance: none; cursor: pointer; background-image: none }
.select option { background: #1A1A1A; color: #fff }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-4); line-height: 1.6 }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none }
.form-status { font-size: 14.5px; font-weight: 700; padding: 14px 18px; border-radius: 12px; display: none; align-items: center; gap: 10px }
.form-status.show { display: flex }
.form-status.ok { background: var(--good-tint); color: var(--good-2) }
.form-status.err { background: var(--bad-tint); color: var(--bad-2) }

/* ---------- timeline (roadmap / changelog) ---------- */
.timeline { position: relative; padding-left: 34px }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line) }
.tl-item { position: relative; padding-bottom: 40px }
.tl-item:last-child { padding-bottom: 0 }
.tl-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--line-2);
}
.tl-item.done::before { border-color: var(--good); background: var(--good) }
.tl-item.now::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px rgba(244, 180, 0, .18) }

/* ---------- status page ---------- */
.status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0 }
.status-row .name { font-weight: 700; color: var(--ink-2); font-size: 15.5px }
.dot-g { width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(34, 197, 94, .16); flex: none }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid #1E1E1E }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  padding: 66px 0 46px;
}
.foot-col h5 {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-5);
  font-family: var(--sans);
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px }
.foot-col a { color: var(--ink-4); font-size: 14.5px; font-weight: 500 }
.foot-col a:hover { color: var(--brand) }
.foot-col a.logo, .foot-col a.logo:hover { color: #fff }
.foot-bottom {
  border-top: 1px solid #1E1E1E;
  padding: 22px 0 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-5);
  font-weight: 500;
}
.foot-bottom .sep { flex: 1 }

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1E1E1E;
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: var(--nav-h) }
.navlinks { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600 }
.navlink { color: var(--ink-3) }
.navlink:hover, .navlink[aria-current="page"] { color: var(--brand) }
.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .ms { font-size: 24px }

.mobile-menu {
  display: none;
  border-top: 1px solid #1E1E1E;
  background: var(--bg-alt);
  padding: 18px 28px 26px;
}
.mobile-menu.open { display: block }
.mobile-menu ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 16.5px;
  font-weight: 600;
  padding: 14px 2px;
  border-bottom: 1px solid #1E1E1E;
}
.mobile-menu a:hover { color: var(--brand) }
.mobile-menu .btn { width: 100% }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}
[data-reveal].on { opacity: 1; transform: none }

/* ---------- landing-page specifics ---------- */
@keyframes ssout { from { transform: translateX(-110%) } to { transform: translateX(0) } }
@keyframes dotpop {
  from { transform: translateY(-.7em) scale(0); opacity: 0 }
  60% { transform: translateY(.08em) scale(1.15); opacity: 1 }
  to { transform: translateY(0) scale(1); opacity: 1 }
}
@keyframes fadein { from { opacity: 0 } to { opacity: 1 } }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(-4deg) } 50% { transform: translateY(-10px) rotate(-4deg) } }
@keyframes ring { from { transform: scale(1); opacity: .9 } to { transform: scale(1.45); opacity: 0 } }
@keyframes roadmove { from { transform: translateX(0) } to { transform: translateX(-120px) } }
@keyframes marq { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes heroglow { 0%, 100% { transform: translate(0, 0) scale(1) } 50% { transform: translate(-140px, 90px) scale(1.15) } }
@keyframes langtick {
  0%, 10.5% { transform: translateY(0) }
  12.5%, 23% { transform: translateY(-1.5em) }
  25%, 35.5% { transform: translateY(-3em) }
  37.5%, 48% { transform: translateY(-4.5em) }
  50%, 60.5% { transform: translateY(-6em) }
  62.5%, 73% { transform: translateY(-7.5em) }
  75%, 85.5% { transform: translateY(-9em) }
  87.5%, 98% { transform: translateY(-10.5em) }
  100% { transform: translateY(-12em) }
}

.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 4px rgba(244, 180, 0, .45);
  animation: ring 2.2s ease-out infinite;
  pointer-events: none;
}


.avatar { position: relative; overflow: hidden; flex: none }
.avatar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
}
.avatar::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 66%;
  transform: translateX(-50%);
  width: 76%;
  height: 62%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
}

.marqwrap { overflow: hidden; position: relative }
.marqwrap::before, .marqwrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2 }
.marqwrap::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent) }
.marqwrap::after { right: 0; background: linear-gradient(270deg, var(--bg-alt), transparent) }

.langbox { height: 1.5em; overflow: hidden }
.langbox > div { animation: langtick 20s cubic-bezier(.65, 0, .35, 1) infinite }
.langbox > div > div { height: 1.5em; line-height: 1.5em; white-space: nowrap }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4, .price-grid, .transport-detail-grid { grid-template-columns: 1fr !important }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px }
  .hero-visual { width: 100%; max-width: 340px; margin: 12px auto -38px; transform: scale(.94); transform-origin: top center }
  .navlinks { display: none }
  .nav-toggle { display: flex }
  .toc ol { columns: 1 }
  h1 { font-size: 32px }
  h2 { font-size: 28px }
  h3 { font-size: 21px }
  .lead { font-size: 17px }
  .section { padding: 72px 0 }
  .wrap, .wrap-narrow { padding: 0 20px }
  .page-hero .wrap-narrow, .page-hero .wrap { padding-top: 52px; padding-bottom: 46px }
  .form-row { grid-template-columns: 1fr }
  .nav-cta-desktop { display: none }
}

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px }
  .foot-grid > .foot-col:first-child { grid-column: 1 / -1 }
  .hero-stats { gap: 20px 28px !important }
  .hero-stat-sep { display: none }
  .card { padding: 22px }
  .btn-lg { font-size: 16px; padding: 15px 24px }
}

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

@media print {
  .site-nav, .site-footer, .nav-toggle, .mobile-menu { display: none !important }
  body { background: #fff; color: #000 }
  .prose, .prose p, .prose li { color: #000 }
}
