@font-face {
  font-family: Geist;
  src: url("assets/geist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("assets/geist-mono.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --klein: #0000ff;
  --klein-ink: #0000ce;
  --ink: #0a0b0f;
  --muted: #565b69;
  --surface: #f3f4f7;
  --line: #e2e4ed;
  --night: #0b0c16;
  --ease: cubic-bezier(.2, .85, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutters: clamp(1.25rem, 5.6vw, 6.5rem);
  --header-h: 5.2rem;
  --mono: "Geist Mono", ui-monospace, monospace;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 1rem/1.5 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--klein); outline-offset: 4px; border-radius: .25rem; }
.hero :focus-visible, .site-header :focus-visible, .download :focus-visible, .site-footer :focus-visible, .legal-hero :focus-visible, .not-found :focus-visible { outline-color: #bdbfff; }
::selection { color: #fff; background: #3333f5; }

.wrap { width: min(100% - var(--gutters) * 2, 80rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; display: block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .7rem 1rem; border-radius: .5rem; color: #fff; background: var(--ink); clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
main:focus { outline: none; }

/* ── Header: transparent over the hero, a floating glass pill once scrolled ── */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding-top: env(safe-area-inset-top);
  color: #fff;
  pointer-events: none;
  transition: translate .55s var(--ease-out);
  view-transition-name: site-header;
}
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  margin-top: 0;
  padding-inline: 0;
  border-bottom: 1px solid rgb(255 255 255 / .19);
  border-radius: 0;
  pointer-events: auto;
  transition:
    width .6s var(--ease-out), min-height .6s var(--ease-out), margin .6s var(--ease-out),
    padding .6s var(--ease-out), border-radius .6s var(--ease-out), border-color .4s ease,
    background-color .4s ease, box-shadow .4s ease;
}
.header-bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: rgb(12 13 34 / .66);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  transition: opacity .4s ease;
}
.is-scrolled .header-bar {
  width: min(100% - 1.5rem, 64rem);
  min-height: 3.7rem;
  margin-top: .75rem;
  padding-inline: 1.1rem .45rem;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 999px;
  box-shadow: 0 1.2rem 3rem -1rem rgb(4 4 40 / .45);
}
.is-scrolled .header-bar::before { opacity: 1; }
.is-hidden .site-header { translate: 0 -130%; }
.site-header:focus-within { translate: 0 0; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.45rem; font-weight: 680; letter-spacing: -.065em; white-space: nowrap; }
.brand img { display: block; transition: rotate .6s var(--ease-out); }
.brand:hover img { rotate: -12deg; }
.site-header nav { display: flex; align-items: center; gap: clamp(.85rem, 2.5vw, 2rem); }
.nav-link, .lang-choice { position: relative; font-size: .92rem; font-weight: 550; color: #e6e7ff; transition: color .25s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 1px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale .45s var(--ease-out); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { scale: 1 1; transform-origin: left; }
.nav-link.is-active { color: #fff; }
.lang-choice { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; min-height: 2.6rem; border-radius: 50%; background: #ffffff1c; font-family: var(--mono); transition: background-color .25s ease, color .25s ease; }
.lang-choice:hover { background: #ffffff33; color: #fff; }
.is-scrolled .site-header .lang-choice { min-width: 2.4rem; min-height: 2.4rem; }

/* ── Buttons ── */
.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 3.5rem;
  padding: .7rem 1.45rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, translate .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%);
  translate: -120% 0;
  transition: translate .8s var(--ease-out);
}
.button:hover { translate: 0 -2px; }
.button:hover::after { translate: 120% 0; }
.button:active { translate: 0 0; transition-duration: .1s; }
.button-white { background: #fff; color: #0000cf; box-shadow: 0 .6rem 1.6rem -.6rem rgb(0 0 60 / .45); }
.button-white:hover { background: #eef0ff; box-shadow: 0 1rem 2.2rem -.8rem rgb(0 0 60 / .6); }
.button-outline { color: #fff; border-color: rgb(255 255 255 / .46); }
.button-outline::after { background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .16) 50%, transparent 70%); }
.button-outline:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.site-header .button { min-height: 2.6rem; padding-inline: 1.1rem; font-size: .86rem; box-shadow: none; }

/* ── Hero ── */
.hero { position: relative; isolation: isolate; overflow: clip; background: #0806c1; color: #fff; }
.hero-photo { position: absolute; z-index: -1; inset: 0; overflow: clip; background: linear-gradient(110deg, #1000eb, #1316f5 52%, #050641); }
.hero-photo-image {
  position: absolute;
  inset: -12% -2% -14% 24%;
  background: url("assets/forest-road.webp") center 50% / cover no-repeat;
  mix-blend-mode: luminosity;
  opacity: .68;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 53%);
  mask-image: linear-gradient(90deg, transparent, #000 53%);
  rotate: -9deg;
  translate: 0 var(--py, 0px);
  animation: hero-zoom 2.6s var(--ease-out) both;
  will-change: translate;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0900df 0%, rgb(15 8 232 / .63) 42%, transparent 75%), linear-gradient(0deg, rgb(4 3 90 / .45), transparent 28%); }
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 46rem;
  aspect-ratio: 1;
  left: 48%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(120 122 255 / .45), transparent 62%);
  filter: blur(20px);
  animation: glow-drift 16s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}
.hero-content {
  min-height: max(46rem, 100svh);
  padding-block: 7.4rem 4.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr .88fr;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font: 550 .82rem/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.lane-mark { display: inline-block; flex: none; width: 1rem; height: .45rem; border-inline: .21rem solid currentColor; transform: skewX(-23deg); }
.hero .eyebrow, .legal-hero .eyebrow, .not-found .eyebrow { color: #e1e1ff; }
h1 { margin-top: 1.1rem; font-size: clamp(3.5rem, 8.6vw, 8.2rem); line-height: .94; letter-spacing: -.075em; font-weight: 665; }
h1 em { color: #c7c8ff; font-style: normal; }
h1 .line { display: block; overflow: clip; padding-bottom: .09em; margin-bottom: -.09em; }
h1 .line > * { display: inline-block; animation: line-up 1.15s var(--ease-out) .1s backwards; }
h1 .line + .line > * { animation-delay: .22s; }
.hero-description { max-width: 28rem; margin-top: 1.6rem; color: #f0f0ff; font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.5; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.9rem; }
.hero-copy > .eyebrow { animation: arrive .9s var(--ease-out) backwards; }
.hero-copy > .hero-description { animation: arrive 1s var(--ease-out) .42s backwards; }
.hero-copy > .hero-actions { animation: arrive 1s var(--ease-out) .54s backwards; }

.hero-visual { display: grid; place-items: center; min-width: 0; }
.phone-stage { position: relative; translate: 0 var(--py, 0px); will-change: translate; }
.phone {
  position: relative;
  width: clamp(13.5rem, 19vw, 16.5rem);
  overflow: hidden;
  border: .36rem solid #11122c;
  border-radius: 2.1rem;
  background: var(--surface);
  box-shadow: 0 2.4rem 5.2rem #000038a0, 0 0 0 1px #7475bf;
  rotate: -7deg;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease-out);
  animation: phone-in 1.4s var(--ease-out) .15s backwards;
}
.phone-screen { display: block; width: 100%; height: auto; }
.phone-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .38) 48%, transparent 60%);
  translate: -110% 0;
  animation: shine 1.6s var(--ease-in-out) 1.3s both;
  pointer-events: none;
}
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .85rem;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 999px;
  background: rgb(14 15 46 / .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  color: #f2f2ff;
  font: 540 .8rem/1 var(--mono);
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 1rem 2.4rem -1rem rgb(0 0 50 / .55);
}
.hero-chip b { font-weight: 640; color: #fff; }
.hero-chip .icon { width: 1rem; height: 1rem; color: #c7c8ff; }
.hero-chip-break { left: -44%; top: 20%; animation: chip-in 1s var(--ease-out) 1s backwards, float-a 7s ease-in-out 2s infinite; }
.hero-chip-week { right: -38%; bottom: 16%; animation: chip-in 1s var(--ease-out) 1.15s backwards, float-b 8s ease-in-out 2.2s infinite; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; display: grid; justify-items: center; gap: .55rem; color: #d9daff; font: 550 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; animation: arrive 1s var(--ease-out) 1.4s backwards; }
.scroll-cue i { position: relative; width: 1px; height: 2.6rem; overflow: hidden; background: rgb(255 255 255 / .22); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cue 2.2s var(--ease-in-out) infinite; }

/* ── Shared demo bits ── */
.dial { position: relative; width: 100%; aspect-ratio: 1; margin-inline: auto; }
.dial svg { display: block; width: 100%; height: 100%; fill: none; stroke-width: 12; }
.dial-track { stroke: #eceef3; }
.dial-value { stroke: var(--klein); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 38; transform: rotate(-90deg); transform-origin: center; }
.dial-reading { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: .14rem; }
.dial-reading span, .time-week > span, .demo-heading { color: var(--muted); font: 580 .72rem/1.2 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.dial-reading b { font: 540 clamp(2.4rem, 8cqi, 3.35rem)/1 var(--mono); letter-spacing: -.1em; margin-left: -.08em; font-variant-numeric: tabular-nums; }
.dial-reading small { font-size: .72rem; color: var(--muted); }
.renewal-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: .7rem; }
.renewal strong { display: block; font-weight: 640; white-space: nowrap; }

/* ── Scroll reveals ── */
.js .reveal {
  opacity: 0;
  transform: translateY(2.75rem) scale(.985);
  filter: blur(8px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 120ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .reveal .feature-copy > * { opacity: 0; translate: 0 1.1rem; transition: opacity .9s var(--ease-out), translate 1s var(--ease-out); }
.js .reveal.is-visible .feature-copy > * { opacity: 1; translate: 0 0; }
.js .reveal .feature-copy > :nth-child(1) { transition-delay: calc(var(--d, 0) * 120ms + .12s); }
.js .reveal .feature-copy > :nth-child(2) { transition-delay: calc(var(--d, 0) * 120ms + .2s); }
.js .reveal .feature-copy > :nth-child(3) { transition-delay: calc(var(--d, 0) * 120ms + .28s); }
.js .reveal .feature-copy > :nth-child(4) { transition-delay: calc(var(--d, 0) * 120ms + .36s); }

/* ── Features ── */
.features { padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(4.25rem, 8.8vw, 8rem); }
.section-intro .eyebrow { color: #0000cb; }
h2 { font-size: clamp(2.65rem, 5.7vw, 5.2rem); line-height: 1; font-weight: 650; letter-spacing: -.06em; text-wrap: balance; }
.section-intro h2 { margin-top: 1rem; max-width: 16ch; }
.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.9rem;
  overflow: clip;
  box-shadow: 0 1px 0 #fff inset, 0 2rem 4rem -3rem rgb(16 19 68 / .25);
}
.route-panel { margin-top: clamp(1.8rem, 4.4vw, 3.8rem); }
.route-panel, .assistant-panel { margin-bottom: 1.3rem; }
.feature-copy { align-self: center; padding: clamp(1.5rem, 4.6vw, 4.4rem); }
.feature-copy h3 { font-size: clamp(2.15rem, 3.65vw, 3.65rem); line-height: 1.04; font-weight: 650; letter-spacing: -.055em; text-wrap: balance; }
.feature-copy > p:not(.feature-label) { max-width: 29rem; margin-top: 1rem; color: var(--muted); font-size: 1.06rem; line-height: 1.55; }
.feature-label { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--klein-ink); font: 580 .875rem/1.4 var(--mono); }
.feature-list { display: grid; gap: .75rem; padding: 0; margin: 1.35rem 0 0; list-style: none; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; max-width: 27rem; }
.feature-list .icon { width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--klein-ink); }

.feature-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.compact-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
.compact-panel .feature-copy { align-self: start; padding: clamp(1.5rem, 3.25vw, 3rem); }
.compact-panel .feature-art { min-height: clamp(17rem, 24vw, 21rem); }
.feature-art { position: relative; isolation: isolate; min-width: 0; overflow: clip; container-type: inline-size; }
.demo-card { position: absolute; box-shadow: 0 1rem 2.6rem -1rem #1013444d; transition: rotate .8s var(--ease-out), translate .8s var(--ease-out); }
.float-a { animation: float-a 7s ease-in-out infinite; }
.float-b { animation: float-b 8.5s ease-in-out infinite; }
.float-c { animation: float-a 6.5s ease-in-out -2s infinite; }

.time-art { background: radial-gradient(ellipse at 52% 53%, #ebeaff 5%, #dcdcff 62%, #d5d5ff 100%); }
.time-art::before, .docs-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .6;
  background: repeating-radial-gradient(circle at 43% 56%, transparent 0 2.1rem, #afaff58a 2.12rem 2.16rem, transparent 2.18rem 4.25rem);
  -webkit-mask-image: linear-gradient(35deg, transparent 5%, #000 75%);
  mask-image: linear-gradient(35deg, transparent 5%, #000 75%);
  transition: scale 1.4s var(--ease-out);
}
.compact-panel:hover .feature-art::before { scale: 1.06; }
.time-card { top: 50%; left: 43%; translate: -50% -50%; rotate: -8deg; width: clamp(10rem, 45cqi, 15rem); padding: .9rem; border-radius: 1.6rem; background: #fff; }
.time-card .dial { width: 92%; margin-top: .2rem; }
.time-week { top: 57%; left: 54%; rotate: 7deg; width: clamp(8rem, 32cqi, 12rem); padding: .85rem 1rem; color: #fff; background: #101126; border-radius: 1rem; }
.time-week > span, .time-week small { color: #c5c7df; }
.time-week b { font: 530 clamp(1.2rem, 5cqi, 2rem)/1.5 var(--mono); letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.time-week small { font: .7rem var(--mono); white-space: nowrap; }
.week-meter { height: .25rem; background: #464974; border-radius: 5rem; margin-top: .45rem; overflow: hidden; }
.week-meter i { display: block; width: 56%; height: 100%; border-radius: inherit; background: #b6b7ff; transform-origin: left; }
.compact-panel:hover .time-card { rotate: -4deg; }
.compact-panel:hover .time-week { rotate: 3deg; translate: .6rem -.3rem; }
.js .reveal .demo-value { stroke-dashoffset: 100; }
.js .reveal.is-visible .demo-value { stroke-dashoffset: 38; transition: stroke-dashoffset 1.6s var(--ease-out) .35s; }
.js .reveal .week-meter i { transform: scaleX(0); }
.js .reveal.is-visible .week-meter i { transform: none; transition: transform 1.3s var(--ease-out) .5s; }

.route-preview { min-width: 0; background: #f8f9fb; border-inline-start: 1px solid var(--line); }
.route-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .9rem clamp(1rem, 3vw, 1.65rem); font-weight: 630; }
.truck-spec { display: inline-flex; gap: .42rem; align-items: center; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; font: 520 .8rem var(--mono); }
.truck-spec .icon { width: 1.05rem; height: 1.05rem; }
.route-map { width: 100%; aspect-ratio: 620 / 276; background: #e9ecdf; }
.route-map svg { width: 100%; height: 100%; display: block; }
.map-water { fill: #cddaf8; }
.map-field { fill: #dce5cd; }
.map-roads { fill: none; stroke: #fafbf6; stroke-width: 5; }
.map-route, .map-casing { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.map-casing { stroke: white; stroke-width: 12; }
.map-route { stroke: var(--klein); stroke-width: 7; stroke-dasharray: 100; }
.js .reveal .map-route { stroke-dashoffset: 100; }
.js .reveal.is-visible .map-route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-in-out) .35s; }
.map-point { fill: white; stroke: var(--klein); stroke-width: 4; }
.map-truck { fill: #fff; stroke: var(--klein); stroke-width: 3.5; opacity: 0; transition: opacity .6s ease; }
.is-visible .map-truck { opacity: 1; transition-delay: 2.2s; }
.map-parking circle:not(.map-pulse) { fill: #606583; stroke: #fff; stroke-width: 3; transition: fill .35s ease, r .45s var(--ease-out); }
.map-pulse { fill: #06764d; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-parking text { fill: #fff; font: 700 14px Geist, sans-serif; pointer-events: none; }
[data-stop="north"] .map-north circle:not(.map-pulse), [data-stop="south"] .map-south circle:not(.map-pulse) { fill: #06764d; r: 16; }
[data-stop="north"] .map-north .map-pulse, [data-stop="south"] .map-south .map-pulse { animation: pulse 2.2s var(--ease-out) infinite; }
.map-city { fill: #151b26; font: 660 20px Geist, sans-serif; paint-order: stroke; stroke: #eff2e9; stroke-width: 4px; stroke-linejoin: round; }
.route-bottom { padding: clamp(1rem, 3vw, 1.6rem); }
.route-eta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem; }
.arrival-value { display: block; color: var(--klein); margin-top: .3rem; font: 550 clamp(1.65rem, 4vw, 2.45rem)/1 var(--mono); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.route-eta .demo-heading { font-size: .78rem; }
.break-tag { display: flex; align-items: center; gap: .38rem; padding: .37rem .6rem; border-radius: .6rem; color: #086041; background: #e1f4ea; font-weight: 600; font-size: .875rem; }
.break-tag .icon { width: 1rem; height: 1rem; }
.stop-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; min-width: 0; margin: 1rem 0 0; padding: 0; border: 0; }
.stop-options legend { padding: 0; margin-bottom: .4rem; color: var(--muted); font-size: .9rem; font-weight: 590; }
.stop-option { display: flex; min-width: 0; align-items: center; gap: .5rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: .85rem; cursor: pointer; background: #fff; transition: background-color .3s ease, border-color .3s ease, translate .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.stop-option:hover { translate: 0 -2px; box-shadow: 0 .8rem 1.6rem -1rem rgb(16 19 68 / .35); }
.stop-option:has(:checked) { border-color: #7777ff; background: #eeeeff; }
.stop-option:has(:focus-visible) { outline: 3px solid var(--klein); outline-offset: 2px; }
.stop-option input { margin: 0; flex: none; accent-color: var(--klein); }
.stop-option strong, .stop-option small { display: block; }
.stop-option strong { font-size: .915rem; line-height: 1.3; }
.stop-option small { margin-top: .17rem; color: var(--muted); font-size: .83rem; }

.assistant-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "preview copy"; border-color: #242643; background: #111224; color: #fff; }
.assistant-panel .feature-copy { grid-area: copy; }
.assistant-panel .feature-copy > p:not(.feature-label) { color: #d3d4e9; }
.assistant-panel .feature-label, .assistant-panel .feature-list .icon { color: #c7c8ff; }
.assistant-preview {
  --mx: 15%;
  --my: 15%;
  grid-area: preview;
  min-width: 0;
  display: grid;
  align-items: center;
  padding: clamp(1rem, 3.8vw, 3.4rem);
  background: radial-gradient(38rem circle at var(--mx) var(--my), #2f2cc4, transparent 62%), #191943;
  transition: background-position .3s ease;
}
.chat { background: #f6f7fb; color: var(--ink); border: 1px solid #d7d9e9; border-radius: 1.25rem; padding: clamp(.9rem, 3vw, 1.35rem); box-shadow: 0 1.5rem 3.2rem -1.2rem #0506199e; }
.chat-header { display: flex; align-items: center; gap: .65rem; }
.chat-logo { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .73rem; background: var(--klein); }
.chat-header strong, .chat-header small { display: block; }
.chat-header small { color: var(--muted); font-size: .85rem; }
.chat-thread { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: 1rem; min-height: 12.5rem; }
.chat-thread > * { animation: bubble .55s var(--ease-out) backwards; }
.chat-thread > .chat-answer { animation-delay: .06s; }
.chat-question { align-self: flex-end; max-width: 90%; padding: .66rem .82rem; background: #171830; color: #fff; border-radius: 1rem 1rem .25rem 1rem; font-weight: 520; transform-origin: bottom right; }
.chat-answer { max-width: 95%; padding: .75rem .85rem; background: #fff; border: 1px solid #e1e3ed; border-radius: 1rem 1rem 1rem .25rem; transform-origin: bottom left; }
.chat-typing { display: flex; gap: .3rem; padding: .85rem 1rem; background: #fff; border: 1px solid #e1e3ed; border-radius: 1rem 1rem 1rem .25rem; transform-origin: bottom left; }
.chat-typing i { width: .42rem; height: .42rem; border-radius: 50%; background: #8d90b0; animation: typing 1s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
.chat-prompts { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .65rem; }
.chat-prompts button { min-height: 2.5rem; padding: .35rem .8rem; border: 1px solid #d8dbed; background: #fff; border-radius: 99px; color: #272947; font-size: .88rem; font-weight: 580; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, translate .35s var(--ease-out); }
.chat-prompts button:hover { border-color: var(--klein); color: var(--klein); translate: 0 -1px; }
.chat-prompts button[aria-pressed="true"] { border-color: var(--klein); background: var(--klein); color: #fff; }

.docs-art { background: #eeeaf7; }
.docs-art::before { background: repeating-linear-gradient(140deg, transparent 0 2rem, #c7bedc75 2.03rem 2.08rem, transparent 2.1rem 3.8rem); }
.licence-front, .licence-back { left: 49%; top: 46%; translate: -50% -50%; width: clamp(11rem, 53cqi, 19rem); aspect-ratio: 1.6; border-radius: 1.25rem; padding: .95rem 1rem; }
.licence-back { left: 43%; top: 37%; rotate: -13deg; display: flex; justify-content: space-between; color: #e1e4ff; background: #15162b; font: 530 .74rem var(--mono); text-transform: uppercase; }
.licence-back span { font-size: .9rem; }
.licence-front { rotate: 7deg; display: flex; flex-direction: column; justify-content: space-between; background: #fff; }
.licence-front b { font: 570 clamp(1rem, 4cqi, 1.45rem) var(--mono); letter-spacing: .03em; }
.licence-chip { position: absolute; right: 1rem; top: .9rem; width: 1.7rem; height: 1.25rem; border: 1px solid #c6a960; border-radius: .3rem; background: linear-gradient(143deg, #f3e4b4, #e2cd93 58%, #c8aa66); }
.renewal { bottom: 12%; left: 43%; rotate: -5deg; display: flex; align-items: center; gap: .7rem; padding: .65rem .85rem .65rem .65rem; background: #fff; border-radius: 1rem; }
.renewal-icon { color: #925008; background: #fff0d9; }
.renewal-icon .icon { transform-origin: 50% 10%; }
.compact-panel:hover .renewal-icon .icon { animation: ring 1s var(--ease-out); }
.renewal small, .licence-front small { display: block; color: var(--muted); font-size: .78rem; }
.compact-panel:hover .licence-back { rotate: -18deg; translate: -56% -54%; }
.compact-panel:hover .licence-front { rotate: 4deg; translate: -46% -48%; }

/* ── FAQ ── */
.faq { background: #fff; padding-block: clamp(3.8rem, 8vw, 7rem); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.5rem, 6vw, 6rem); }
.faq .section-intro { position: sticky; top: 7rem; }
.faq h2 { font-size: clamp(2.65rem, 5vw, 4.7rem); }
.faq-help { margin-top: 1rem; color: var(--muted); }
.faq-help a, .legal-body a { color: var(--klein-ink); font-weight: 620; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .23em; transition: text-decoration-color .25s ease; }
.faq-help a:hover, .legal-body a:hover { text-decoration-color: transparent; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.3rem; font-size: clamp(1.04rem, 2vw, 1.2rem); font-weight: 640; line-height: 1.35; cursor: pointer; list-style: none; transition: color .25s ease; }
.faq-list summary:hover { color: var(--klein-ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 1.9rem; height: 1.9rem; padding: .38rem; border-radius: 50%; background: #ececff; color: var(--klein-ink); transition: rotate .5s var(--ease-out), background-color .3s ease, color .3s ease; }
.faq-list summary:hover .icon, .faq-list details[open] summary .icon { background: var(--klein); color: #fff; }
.faq-list details[open] summary .icon { rotate: 135deg; }
.faq-answer { overflow: clip; }
.faq-answer p { max-width: 39rem; padding: 0 2.6rem 1.35rem 0; color: var(--muted); line-height: 1.6; }

/* ── Download ── */
.download { position: relative; isolation: isolate; overflow: clip; background: #0a0b23; color: #fff; text-align: center; }
.download-photo { position: absolute; z-index: -1; inset: 0; overflow: clip; }
.download-photo-image { position: absolute; inset: -18% 0; background: linear-gradient(0deg, #08081855, #09093490 57%, #0b0b29 100%), url("assets/open-road.webp") center 56% / cover; opacity: .66; translate: 0 var(--py, 0px); will-change: translate; }
.download-content { display: grid; justify-items: center; padding-block: clamp(5.5rem, 11vw, 9.5rem); }
.app-icon { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; margin-bottom: 1.35rem; border: 1px solid #7778f5; border-radius: 1.15rem; background: var(--klein); box-shadow: 0 .8rem 2.5rem #0000ff55; }
.is-visible .app-icon { animation: icon-pop 1.1s var(--ease-out) .2s backwards; }
.download h2 { max-width: 14ch; }
.download p { margin-top: 1rem; color: #e2e3f5; font-size: 1.1rem; }
.store-links { display: flex; justify-content: center; gap: .65rem; flex-wrap: wrap; margin-top: 1.7rem; }
.store-links .button { min-width: 10rem; }

/* ── Footer ── */
.site-footer { background: var(--night); color: #c9cbe0; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); padding-bottom: 3rem; }
.footer-brand .brand { color: #fff; font-size: 1.35rem; }
.footer-brand p { max-width: 22rem; margin-top: 1rem; font-size: .93rem; line-height: 1.6; color: #9fa2bd; }
.footer-stores { display: flex; gap: .5rem; margin-top: 1.4rem; }
.footer-stores a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #2a2c45; border-radius: 50%; color: #fff; transition: background-color .3s ease, border-color .3s ease, translate .4s var(--ease-out); }
.footer-stores a:hover { background: var(--klein); border-color: var(--klein); translate: 0 -2px; }
.footer-stores .icon { width: 1.1rem; height: 1.1rem; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-col h2 { margin-bottom: .35rem; color: #fff; font: 580 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { position: relative; font-size: .93rem; color: #a9acc6; transition: color .25s ease; }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.15rem; height: 1px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale .45s var(--ease-out); }
.footer-col a:hover, .footer-col a[aria-current] { color: #fff; }
.footer-col a:hover::after { scale: 1 1; transform-origin: left; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid #1f2136; color: #7d809c; font-size: .8rem; }

/* ── Legal pages ── */
.page-legal { background: #fff; }
.scroll-progress { display: none; }
.page-legal .scroll-progress { display: block; position: fixed; z-index: 60; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #6f70ff, var(--klein)); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.legal-hero { position: relative; isolation: isolate; overflow: clip; color: #fff; background: linear-gradient(120deg, #1000eb, #1316f5 55%, #07087a); }
.legal-hero-bg { position: absolute; z-index: -1; inset: 0; background: url("assets/forest-road.webp") 70% 40% / cover; mix-blend-mode: luminosity; opacity: .28; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); animation: hero-zoom 2.6s var(--ease-out) both; }
.legal-hero-inner { padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) clamp(2.75rem, 6vw, 4.5rem); }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.6rem; padding: .4rem .8rem .4rem .6rem; border-radius: 999px; background: rgb(255 255 255 / .12); color: #eef; font-size: .85rem; font-weight: 560; transition: background-color .25s ease, gap .4s var(--ease-out); animation: arrive .8s var(--ease-out) backwards; }
.legal-back:hover { background: rgb(255 255 255 / .22); gap: .65rem; }
.legal-back .icon { width: 1rem; height: 1rem; }
.legal-hero .eyebrow { animation: arrive .8s var(--ease-out) .06s backwards; }
.legal-hero h1 { max-width: 22ch; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; animation: arrive 1s var(--ease-out) .12s backwards; }
.legal-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 0; padding: 0; list-style: none; animation: arrive 1s var(--ease-out) .24s backwards; }
.legal-meta li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; padding: .5rem .85rem; border: 1px solid rgb(255 255 255 / .22); border-radius: .8rem; background: rgb(255 255 255 / .08); font-size: .88rem; color: #f2f2ff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.legal-meta li span { color: #c7c8ff; font: 560 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.legal-aside { position: sticky; top: 6rem; align-self: start; max-height: calc(100vh - 7.5rem); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; animation: arrive 1s var(--ease-out) .3s backwards; }
.legal-toc-title { margin-bottom: .75rem; color: var(--muted); font: 580 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.legal-toc ol { counter-reset: toc; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.legal-toc li { counter-increment: toc; }
.legal-toc a { position: relative; display: flex; gap: .6rem; padding: .42rem 0 .42rem 1rem; color: var(--muted); font-size: .88rem; line-height: 1.35; transition: color .25s ease; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font: 500 .72rem/1.7 var(--mono); color: #a3a7b6; transition: color .25s ease; }
.legal-toc a::after { content: ""; position: absolute; left: -1px; top: .3rem; bottom: .3rem; width: 2px; border-radius: 2px; background: var(--klein); scale: 1 0; transition: scale .45s var(--ease-out); }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-active { color: var(--klein-ink); font-weight: 600; }
.legal-toc a.is-active::before { color: var(--klein); }
.legal-toc a.is-active::after { scale: 1 1; }
.legal-docs { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal-docs a { padding: .35rem .7rem; margin-left: -.7rem; border-radius: .6rem; color: var(--muted); font-size: .88rem; transition: background-color .25s ease, color .25s ease; }
.legal-docs a:hover { background: var(--surface); color: var(--ink); }
.legal-docs a[aria-current] { background: #ececff; color: var(--klein-ink); font-weight: 600; }
.legal-body { max-width: 46rem; min-width: 0; color: #2b2f3a; font-size: 1.03rem; line-height: 1.72; animation: arrive 1s var(--ease-out) .2s backwards; }
.legal-body > :first-child { margin-top: 0; }
.legal-body h2 { position: relative; margin: 3.4rem 0 1rem; padding-top: 2.2rem; border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; letter-spacing: -.035em; scroll-margin-top: 6rem; }
.legal-body > h2:first-child { padding-top: 0; border-top: 0; }
.legal-body h3 { position: relative; margin: 2.2rem 0 .6rem; color: var(--ink); font-size: 1.14rem; font-weight: 640; letter-spacing: -.02em; line-height: 1.3; scroll-margin-top: 6rem; }
.legal-body .anchor { position: absolute; left: -1.4em; color: #b8bbd0; font-weight: 400; text-decoration: none; opacity: 0; transition: opacity .2s ease, color .2s ease; }
.legal-body h2 .anchor { top: 2.2rem; }
.legal-body > h2:first-child .anchor { top: 0; }
.legal-body h2:hover .anchor, .legal-body h3:hover .anchor { opacity: 1; }
.legal-body .anchor:hover { color: var(--klein); }
.legal-body p { margin: 0 0 1rem; }
.legal-body strong { color: var(--ink); font-weight: 640; }
.legal-body ul, .legal-body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.legal-body li { margin: .4rem 0; padding-left: .3rem; }
.legal-body li::marker { color: var(--klein); font-weight: 600; }
.legal-body li > ul, .legal-body li > ol { margin: .3rem 0 0; }
.legal-body .callout { margin: 1.4rem 0 1.8rem; padding: 1.2rem 1.4rem; border: 1px solid #d5d6ff; border-left: 4px solid var(--klein); border-radius: .4rem 1rem 1rem .4rem; background: #f3f3ff; }
.legal-body .callout > :last-child { margin-bottom: 0; }
.table-scroll { margin: 1.2rem 0 1.8rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.legal-body th { padding: .85rem 1rem; background: var(--surface); color: var(--ink); font: 600 .74rem/1.3 var(--mono); letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.legal-body td { padding: .9rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.to-top { position: fixed; z-index: 40; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 1rem 2rem -1rem rgb(0 0 0 / .5); opacity: 0; translate: 0 1rem; pointer-events: none; transition: opacity .35s ease, translate .5s var(--ease-out), background-color .25s ease; }
.to-top:hover { background: var(--klein); }
.show-top .to-top { opacity: 1; translate: 0 0; pointer-events: auto; }

/* ── Companies ── */
.companies-section { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.companies-panel { background: #0e1129; color: #f4f5ff; border-color: rgb(255 255 255 / .12); }
.companies-panel .feature-label { color: #b7b9ff; }
.companies-panel h2 { font-size: clamp(2.15rem, 3.65vw, 3.65rem); line-height: 1.04; letter-spacing: -.055em; color: #fff; }
.companies-panel .feature-copy > p:not(.feature-label) { color: #c4c8e0; }
.companies-panel .feature-list .icon { color: #9ea2ff; }
.companies-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1.75rem; }
.button-primary { background: var(--klein); color: #fff; border: 1px solid #4d51ff; }
.button-primary:hover { background: #1d22ff; }
.companies-note { color: #a7acc9; font-size: .88rem; }
.fleet-preview { display: grid; align-content: center; gap: .85rem; padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(155deg, rgb(255 255 255 / .05), rgb(255 255 255 / .02)); border-inline-start: 1px solid rgb(255 255 255 / .1); }
.fleet-preview-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .35rem; }
.fleet-preview-head strong { font-size: 1rem; color: #fff; }
.fleet-badge { padding: .28rem .65rem; border-radius: 999px; background: rgb(148 152 255 / .16); color: #c7c9ff; font: 560 .75rem/1.2 var(--mono); }
.fleet-driver-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .95rem 1.1rem; border-radius: 1.05rem; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .09); }
.fleet-driver-id { display: flex; align-items: center; gap: .75rem; }
.fleet-driver-id strong { display: block; font-size: .96rem; color: #fff; }
.fleet-driver-id small { display: block; font-size: .8rem; color: #b7bcd6; }
.fleet-dot { width: .6rem; height: .6rem; border-radius: 50%; flex: none; }
.fleet-dot-drive { background: #4d7cff; box-shadow: 0 0 0 4px rgb(77 124 255 / .22); }
.fleet-dot-rest { background: #3dd68c; box-shadow: 0 0 0 4px rgb(61 214 140 / .2); }
.fleet-dot-warn { background: #ffb224; box-shadow: 0 0 0 4px rgb(255 178 36 / .2); }
.fleet-driver-metrics { text-align: right; font-size: .85rem; color: #c4c8e0; }
.fleet-driver-metrics b { display: inline-block; font: 600 .95rem var(--mono); color: #fff; }
.fleet-driver-metrics small { display: block; font: 500 .74rem var(--mono); color: #9ea4c4; margin-top: .12rem; }
.fleet-expiry-pill { display: inline-block; padding: .3rem .65rem; border-radius: 999px; background: rgb(255 178 36 / .18); color: #ffd074; font: 600 .76rem var(--mono); }

@media (max-width: 48rem) {
  .fleet-preview { border-inline-start: 0; border-top: 1px solid rgb(255 255 255 / .1); }
}

/* ── 404 ── */
.not-found { position: relative; isolation: isolate; overflow: clip; display: grid; align-items: center; min-height: 100svh; background: #0806c1; color: #fff; }
.not-found .hero-photo-image { inset: -10% -10% -10% 30%; }
.not-found-inner { padding-block: 8rem 4rem; }
.not-found-inner > .eyebrow { animation: arrive .9s var(--ease-out) backwards; }
.not-found-inner > .hero-description { animation: arrive 1s var(--ease-out) .42s backwards; }
.not-found-inner > .hero-actions { animation: arrive 1s var(--ease-out) .54s backwards; }

/* ── Page transitions ── */
::view-transition-old(root) { animation: vt-out .32s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }

/* ── Keyframes ── */
@keyframes arrive { from { opacity: 0; transform: translateY(1rem); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes line-up { from { transform: translateY(105%) rotate(3deg); } to { transform: none; } }
@keyframes phone-in { from { opacity: 0; translate: 0 3rem; rotate: 4deg; scale: .94; } }
@keyframes hero-zoom { from { scale: 1.12; opacity: 0; } }
@keyframes shine { to { translate: 110% 0; } }
@keyframes chip-in { from { opacity: 0; scale: .85; translate: 0 1rem; } }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.55rem); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.5rem); } }
@keyframes glow-drift { from { translate: -10% -6%; scale: 1; } to { translate: 8% 10%; scale: 1.15; } }
@keyframes cue { 0% { translate: 0 -100%; } 55% { translate: 0 0; } 100% { translate: 0 100%; } }
@keyframes pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes bubble { from { opacity: 0; transform: translateY(.6rem) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-.25rem); opacity: 1; } }
@keyframes ring { 0% { rotate: 0deg; } 20% { rotate: 16deg; } 40% { rotate: -12deg; } 60% { rotate: 7deg; } 80% { rotate: -3deg; } 100% { rotate: 0deg; } }
@keyframes icon-pop { from { opacity: 0; scale: .6; rotate: -18deg; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-.75rem); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(1.25rem); } }

/* ── Responsive ── */
/* Header: drop section links (still reachable by scrolling the home page)
   before they run into the logo. Tools stays: it is the only other page. */
@media (max-width: 64rem) {
  .site-header .nav-features { display: none; }
}
@media (max-width: 52rem) {
  .site-header .nav-companies { display: none; }
}
@media (max-width: 40rem) {
  .site-header .nav-faq { display: none; }
}

@media (max-width: 62rem) {
  .hero-chip-break { left: -18%; }
  .hero-chip-week { right: -14%; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { position: static; max-height: none; overflow: visible; animation: none; }
  .legal-toc { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--surface); }
  .legal-toc ol { columns: 2 15rem; column-gap: 2rem; border-left: 0; }
  .legal-toc li { break-inside: avoid; }
  .legal-toc a { padding-left: 0; }
  .legal-toc a::after { display: none; }
  .legal-docs { flex-direction: row; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; padding-top: 0; border-top: 0; }
  .legal-docs a { margin-left: 0; border: 1px solid var(--line); border-radius: 999px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  :root { --header-h: 4.4rem; }
  .hero-content { min-height: 0; grid-template-columns: 1fr; padding-block: 7.2rem 4.5rem; }
  h1 { font-size: clamp(3rem, 13vw, 6.35rem); }
  .hero-description { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-photo-image { inset: 29% -24% -28% -8%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .hero-photo::after { background: linear-gradient(180deg, #1004e2 3%, rgb(15 8 232 / .58) 51%, transparent 82%), linear-gradient(0deg, #05074e6e, transparent 28%); }
  .hero-glow { width: 28rem; left: 20%; top: 45%; }
  .hero-visual { margin-block: 2.25rem .7rem; }
  .phone { width: min(60vw, 14.5rem); rotate: -5deg; }
  .hero-chip-break { left: -22%; top: 16%; }
  .hero-chip-week { right: -20%; bottom: 14%; }
  .scroll-cue { display: none; }
  .feature-panel { grid-template-columns: minmax(0, 1fr); }
  .assistant-panel { grid-template-areas: "copy" "preview"; }
  .feature-copy { padding: 1.6rem; }
  .feature-pair, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq .section-intro { position: static; }
  .route-preview { border-inline-start: 0; border-top: 1px solid var(--line); }
  .chat-thread { min-height: 0; }
  .section-intro h2 { text-wrap: pretty; }
  .legal-body .anchor { display: none; }
  .legal-body table, .legal-body thead, .legal-body tbody, .legal-body tr, .legal-body td { display: block; }
  .legal-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal-body tr + tr { border-top: 1px solid var(--line); }
  .legal-body td { padding: .35rem 1rem; border: 0; }
  .legal-body td:first-child { padding-top: 1rem; }
  .legal-body td:last-child { padding-bottom: 1rem; }
  .legal-body td::before { content: attr(data-label); display: block; color: var(--muted); font: 600 .68rem/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  .site-header .nav-download { display: none; }
  .stop-options { grid-template-columns: minmax(0, 1fr); }
  .renewal { left: auto; right: 6%; }
  .hero-chip { font-size: .72rem; padding: .5rem .7rem; }
  .hero-chip-break { left: -12%; }
  .hero-chip-week { right: -10%; }
  .legal-toc ol { columns: 1; }
}

@media (max-width: 28rem) {
  .brand { font-size: 1.32rem; }
  .brand img { width: 1.72rem; height: 1.72rem; }
  .site-header nav { gap: .75rem; }
  .hero-actions .button { min-height: 3.25rem; padding-inline: .95rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (hover: none) {
  .compact-panel:hover .licence-back, .compact-panel:hover .licence-front, .compact-panel:hover .time-card, .compact-panel:hover .time-week { rotate: revert-layer; translate: revert-layer; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .reveal .feature-copy > * { opacity: 1; transform: none; translate: none; filter: none; }
  .map-truck { display: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .site-footer, .legal-aside, .to-top, .scroll-progress, .legal-hero-bg, .legal-back { display: none !important; }
  .legal-hero { color: #000; background: none; }
  .legal-hero-inner { padding-block: 0 1rem; }
  .legal-meta li { color: #000; border-color: #ccc; }
  .legal-layout { display: block; padding: 0; }
  .legal-body { max-width: none; }
}
