/* QuickDispatch — brand E "Slash". Dark by default, light via [data-mode="light"] on <html>. */
:root {
  --bg: #000000; --bg2: #070707; --surface: #111111; --surface2: #1A1A1A; --line: #242424;
  --text: #FFFFFF; --soft: #BDBDBD; --muted: #8C8C8C;
  --accent: #FFD400; --on-accent: #000000; --accent-ink: #FFD400;
  --invert: #FFFFFF; --on-invert: #000000;
  --ok: #3DDC84; --warn: #FF8A3D; --bad: #FF5C5C;
  --ia: var(--accent); --id: var(--bg);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r: 12px; --r-sm: 8px; --wrap: 1240px; --gut: clamp(20px, 4vw, 40px);
  --z: 1;
  color-scheme: dark;
}
/* Desktop is shown at 90% so the layout breathes. Full-height layouts divide 100vh by --z. */
@media (min-width: 1100px) { :root { --z: .9; } html { zoom: var(--z); } }
[data-mode="light"] {
  --bg: #FFFFFF; --bg2: #FAFAFA; --surface: #F4F4F4; --surface2: #EBEBEB; --line: #E6E6E6;
  --text: #000000; --soft: #3D3D3D; --muted: #6B6B6B;
  --accent-ink: #000000; --invert: #000000; --on-invert: #FFFFFF;
  --ok: #16A34A; --warn: #E0701A; --bad: #DC2626;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .35s, color .35s; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #000; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.ico { width: 24px; height: 24px; flex-shrink: 0; color: var(--text); }
.ico-lg { width: 36px; height: 36px; }
.mono { font-family: var(--mono); }
.eyebrow { font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.muted { color: var(--muted); }
.hl { color: var(--accent-ink); }
[data-mode="light"] .hl { background: var(--accent); color: #000; padding: 0 .12em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.link { color: var(--accent-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
[data-mode="light"] .link { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link .arr { transition: transform .25s; } .link:hover .arr { transform: translateX(4px); }

h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
.h-xl { font-size: clamp(52px, 9vw, 128px); letter-spacing: -.055em; line-height: .95; }
.h-l { font-size: clamp(40px, 6vw, 80px); }
.h-m { font-size: clamp(30px, 4vw, 52px); }
.h-s { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--soft); max-width: 60ch; margin: 0; }
p { margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: 16px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; will-change: transform; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #FFE14D; }
.btn-invert { background: var(--invert); color: var(--on-invert); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn .arr { transition: transform .25s; } .btn:hover .arr { transform: translateX(3px); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: transform .4s; }
.nav-in { max-width: calc(var(--wrap) + 24px); margin: 12px auto 0; padding: 10px 12px 10px 20px; display: flex; align-items: center; gap: 24px; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.nav.is-scrolled .nav-in { background: color-mix(in srgb, var(--bg) 78%, transparent); border-color: var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.05em; }
.logo svg { width: 30px; height: 30px; }
.logo .slash { color: var(--accent-ink); }
[data-mode="light"] .logo .slash { background: var(--accent); color: #000; border-radius: 4px; padding: 0 2px; }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-links > a, .nav-links > button { height: 40px; padding: 0 14px; border: 0; background: none; color: var(--soft); border-radius: 8px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.nav-links > a:hover, .nav-links > button:hover, .nav-links [aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mode-btn { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.mode-btn svg { width: 18px; height: 18px; }
.mode-btn .sun { display: none; } [data-mode="light"] .mode-btn .sun { display: block; } [data-mode="light"] .mode-btn .moon { display: none; }
.burger { display: none; }

.mega { position: absolute; left: 50%; top: calc(100% + 8px); width: min(960px, calc(100vw - 32px)); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 20px; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.nav-in { position: relative; }
.nav.mega-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { margin: 0 0 10px; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mega a.mi { display: flex; gap: 12px; padding: 10px; border-radius: 10px; align-items: flex-start; }
.mega a.mi:hover { background: var(--surface); }
.mega a.mi b { display: block; font-size: 15px; } .mega a.mi span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega .promo { background: var(--accent); color: #000; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mega .promo .ico { color: #000; --id: var(--accent); --ia: #000; }
.mega .promo p { font-size: 14px; line-height: 1.5; }

.drawer { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gut) 32px; display: flex; flex-direction: column; gap: 8px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1); }
.drawer.open { transform: none; }
.drawer a.dl { font-size: 36px; font-weight: 800; letter-spacing: -.04em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.drawer .close { align-self: flex-end; }

/* sections */
section { position: relative; }
.sec { padding-block: clamp(88px, 12vw, 160px); }
.sec-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.divider { border-top: 1px solid var(--line); }

/* hero */
.hero { padding-top: clamp(140px, 18vw, 200px); padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin: 24px 0 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.page-hero { padding-top: clamp(150px, 18vw, 210px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero h1 { margin: 22px 0 26px; max-width: 14ch; }

/* word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; will-change: transform; }

/* hero map */
.mapcard { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.mapcard svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .street { stroke: var(--line); stroke-width: 10; fill: none; stroke-linecap: round; }
.map .street.s { stroke-width: 5; }
.map .block { fill: var(--surface2); }
.map .routeline { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s .6s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map .stop { fill: var(--warn); stroke: var(--surface); stroke-width: 4; animation: booked .01s forwards; }
.map .stop:nth-of-type(1) { animation-delay: 1.4s; } .map .stop:nth-of-type(2) { animation-delay: 2s; } .map .stop:nth-of-type(3) { animation-delay: 2.6s; } .map .stop:nth-of-type(4) { animation-delay: 3.2s; } .map .stop:nth-of-type(5) { animation-delay: 3.8s; }
@keyframes booked { to { fill: var(--accent); } }
.van-dot { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 7px; background: var(--invert); display: flex; align-items: center; justify-content: center; offset-path: path("M 70 470 L 170 470 L 170 330 L 330 330 L 330 190 L 460 190 L 460 90"); offset-rotate: 0deg; animation: drive 9s 3.6s linear infinite; offset-distance: 0%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--invert) 20%, transparent); }
.van-dot i { width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
@keyframes drive { 0% { offset-distance: 0%; } 90%, 100% { offset-distance: 100%; } }
.map-chip { position: absolute; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.map-chip b { display: block; font-size: 15px; }
.map-chip small { color: var(--muted); font-size: 13px; }
.chip-a { left: 6%; top: 7%; } .chip-b { right: 5%; bottom: 7%; }
.dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.acc { background: var(--accent); } .dot.mute { background: var(--muted); } .dot.bad { background: var(--bad); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* statement */
.statement { font-size: clamp(32px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; max-width: 20ch; }
.statement .dim { color: var(--muted); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--text) 25%, var(--line)); }
.card h3 { font-size: 26px; letter-spacing: -.035em; }
.card p { color: var(--soft); font-size: 16px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.card .viz { margin-top: auto; }
.card.acc { background: var(--accent); color: #000; border-color: var(--accent); --ia: #000; --id: var(--accent); }
.card.acc p { color: #2B2400; } .card.acc .ico { color: #000; }

/* phone / sms */
.sms { display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.bub.in { background: var(--surface2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.out { background: var(--invert); color: var(--on-invert); align-self: flex-end; border-bottom-right-radius: 4px; }
.bub.ok { background: var(--accent); color: #000; align-self: flex-start; border-bottom-left-radius: 4px; font-weight: 600; }

/* mini table */
.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini td:last-child { text-align: right; }
.mini .mono { font-size: 13px; }
.bar { height: 6px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* horizontal pinned steps */
.hs { overflow: hidden; }
.hs-track { display: flex; gap: 20px; padding-inline: var(--gut); width: max-content; }
.step { width: min(440px, 80vw); min-height: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.step .n { font: 400 13px var(--mono); color: var(--muted); }
.step h3 { font-size: 30px; letter-spacing: -.04em; }
.step p { color: var(--soft); }
.step .ico { margin-top: auto; width: 56px; height: 56px; }
.hs-progress { height: 3px; background: var(--line); margin: 40px var(--gut) 0; border-radius: 3px; overflow: hidden; max-width: var(--wrap); }
.hs-progress i { display: block; height: 100%; width: 0; background: var(--accent); }

/* agent */
.agent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.cmp.win { background: var(--invert); color: var(--on-invert); border-color: var(--invert); }
.cmp.win .muted { color: color-mix(in srgb, var(--on-invert) 60%, transparent); }
.cmp .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmp .big { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; font: 400 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; background: var(--surface2); color: var(--soft); }
.tag.acc { background: var(--accent); color: #000; }

/* demo */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.phone { width: 100%; max-width: 380px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 18px; }
.phone-in { background: var(--bg); border-radius: 24px; padding: 20px 16px; min-height: 420px; display: flex; flex-direction: column; gap: 10px; }
.phone-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.demo-form { display: flex; gap: 8px; margin-top: auto; }
.demo-form input { flex: 1; min-width: 0; height: 46px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 16px; font: 500 15px var(--font); }
.demo-form button { height: 46px; width: 46px; border-radius: 99px; border: 0; background: var(--accent); color: #000; display: inline-flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--soft); font-size: 14px; font-weight: 600; }
.chip:hover, .chip.on { border-color: var(--text); color: var(--text); }
.chip.on { background: var(--invert); color: var(--on-invert); border-color: var(--invert); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
.pop { animation: pop .45s cubic-bezier(.2,.8,.2,1.2) both; }
.confetti { position: fixed; pointer-events: none; z-index: 80; width: 8px; height: 8px; border-radius: 2px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 40px 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font-size: clamp(48px, 6vw, 80px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; transition: transform .35s, border-color .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-4px); }
.plan.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .badge { position: absolute; top: -13px; left: 24px; }
.plan .price { font-size: 52px; font-weight: 800; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan .ai { background: var(--accent); color: #000; border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; --ia: #000; --id: var(--accent); }
.plan .ai .ico { color: #000; width: 20px; height: 20px; }
.plan.pulse { animation: pulse 1s ease; }
@keyframes pulse { 0% { box-shadow: 0 0 0 1px var(--accent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 35%, transparent); } 100% { box-shadow: 0 0 0 1px var(--accent); } }
.toggle { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.toggle button { height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 700; font-size: 15px; }
.toggle button.on { background: var(--invert); color: var(--on-invert); }
.fleet { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; margin-bottom: 28px; }
.fleet output { font-size: 44px; font-weight: 800; letter-spacing: -.05em; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.cmp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; }
.cmp-table thead th { font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg2); position: sticky; top: 0; }
.cmp-table tr.g td { font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); background: var(--bg2); }
.cmp-table .y { font-weight: 700; } .cmp-table .n { color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: 1; transition: transform .3s; color: var(--muted); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--soft); max-width: 70ch; }

/* cta band */
.cta-band { background: var(--accent); color: #000; border-radius: 24px; padding: clamp(40px, 7vw, 88px); display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(40px, 6vw, 88px); max-width: 14ch; }
.cta-band .btn-invert { background: #000; color: #fff; }
.cta-band .btn-ghost { border-color: rgba(0,0,0,.25); color: #000; }
.cta-band .slashbg { position: absolute; right: -40px; bottom: -80px; width: 360px; opacity: .1; pointer-events: none; }

/* feature pages */
.subnav { position: sticky; top: 84px; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.subnav a.on, .subnav a:hover { color: var(--text); background: var(--surface); }
.subnav a .ico { width: 18px; height: 18px; }
.feat { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feat.flip > :first-child { order: 2; }
.feat ul.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.feat ul.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.feat ul.ticks li .ico { margin-top: 2px; }
.feat ul.ticks b { display: block; }
.feat ul.ticks span { color: var(--muted); font-size: 15px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
pre.code { margin: 0; background: #0B0B0B; color: #E6E6E6; border: 1px solid #242424; border-radius: 16px; padding: 24px; overflow-x: auto; font: 400 13.5px/1.7 var(--mono); }
pre.code .k { color: #FFD400; } pre.code .s { color: #9BE9A8; } pre.code .c { color: #777; }

/* integrations */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.int { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s; }
.int:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--text) 25%, var(--line)); }
.int .top { display: flex; align-items: center; gap: 14px; }
.int .mark { width: 48px; height: 48px; border-radius: 12px; background: var(--invert); color: var(--on-invert); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; letter-spacing: -.04em; }
.int h3 { font-size: 20px; letter-spacing: -.03em; }
.int .mark.logo { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.int .mark svg { width: 28px; height: 28px; }
.int .mark .ico { color: var(--on-invert); --id: var(--invert); }
.marquee-track span svg { width: 26px; height: 26px; flex-shrink: 0; }
.int p { font-size: 15px; color: var(--soft); }
.int .tag { align-self: flex-start; }
.int[hidden] { display: none !important; }

/* contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; height: 50px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 14px; font: 500 16px var(--font); transition: border-color .2s; }
.field textarea { height: 140px; padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field .err { color: var(--bad); font-size: 13px; min-height: 0; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--bad); }
.form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.success { grid-column: 1 / -1; text-align: center; padding: 40px 12px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.success .ico { width: 64px; height: 64px; }
.side { display: flex; flex-direction: column; gap: 14px; }
.copy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy code { font: 700 clamp(18px, 2vw, 24px) var(--font); letter-spacing: -.02em; user-select: all; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 80px 40px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer h5 { margin: 0 0 14px; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--soft); }
.footer ul a:hover { color: var(--text); }
.foot-big { font-size: clamp(64px, 14vw, 200px); font-weight: 800; letter-spacing: -.07em; line-height: .85; margin-top: 64px; color: var(--surface2); user-select: none; white-space: nowrap; }
.foot-big .slash { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 24px; }

/* reveal (JS adds .rv-pending only to below-the-fold items) */
.rv-pending { opacity: 0; transform: translateY(28px); }

/* magnetic */
.mag { transition: transform .25s cubic-bezier(.2,.7,.2,1); }


/* pricing: per-fleet line under each price */
.plan-for { font-size: 14px; margin-top: -8px; min-height: 1.4em; }

/* route optimiser card */
.optimiser { gap: 16px; }
.opt-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.opt-map { position: relative; aspect-ratio: 520 / 360; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.opt-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.opt-route { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.opt-stop { stroke: var(--bg2); stroke-width: 3; transition: fill .5s ease; }
.optimiser.working .opt-stop { animation: optPulse .7s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.optimiser.working .opt-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent); animation: optScan 1.1s linear infinite; }
@keyframes optPulse { to { transform: scale(1.35); } }
@keyframes optScan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.opt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.opt-stats b { font-size: 24px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.opt-stats span { font-size: 12px; color: var(--muted); }
.opt-msg { min-height: 3.2em; font-size: 15px; color: var(--soft); line-height: 1.55; }
.optimiser.done .opt-stats b { color: var(--accent-ink); }

/* live map: glowing, pulsing dots */
.lm-pin circle { transition: fill 1.2s ease, stroke 1.2s ease; }
.lm-glow { opacity: .45; filter: blur(7px); animation: lmGlow 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.lm-ring { transform-box: fill-box; transform-origin: center; animation: lmRing 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
.lm-dot { transform-box: fill-box; transform-origin: center; }
@keyframes lmGlow { 0%, 100% { opacity: .3; transform: scale(.85); } 50% { opacity: .7; transform: scale(1.15); } }
@keyframes lmRing { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.lm-flash .lm-dot { animation: lmPop .7s cubic-bezier(.2,.8,.2,1.4); }
.lm-flash .lm-glow { animation: lmBurst .9s ease-out, lmGlow 2.4s ease-in-out .9s infinite; }
@keyframes lmPop { 0% { transform: scale(1); } 40% { transform: scale(1.7); } 100% { transform: scale(1); } }
@keyframes lmBurst { 0% { opacity: .9; transform: scale(1); } 100% { opacity: .45; transform: scale(1.9); } }
.lm-drop { animation: lmDrop .6s cubic-bezier(.2,.8,.2,1.3) both; }
@keyframes lmDrop { from { opacity: 0; translate: 0 -30px; } to { opacity: 1; translate: 0 0; } }
.lm-out { opacity: 0; transition: opacity .5s; }
.lm-vglow { opacity: .35; filter: blur(6px); }
.lm-legend { position: absolute; left: 4%; bottom: 5%; display: flex; gap: 16px; flex-wrap: wrap; }
.lm-legend b { display: inline; margin-left: 4px; font-size: 14px; }
.lm-legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lm-feed { position: absolute; right: 4%; top: 5%; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.lm-feed-item { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; font-size: 13px; font-weight: 600; animation: lmFeed .4s ease both; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.lm-feed-item + .lm-feed-item { opacity: .6; } .lm-feed-item + .lm-feed-item + .lm-feed-item { opacity: .3; }
@keyframes lmFeed { from { opacity: 0; transform: translateY(-8px); } }
.live-badge { display: inline-flex; align-items: center; gap: 6px; }
.live-badge::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: liveDot 1.6s infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@media (max-width: 600px) { .opt-stats b { font-size: 19px; } .lm-feed { display: none; } }

#apis .card { color: inherit; }
@media (max-width: 900px) { #apis { grid-template-columns: 1fr !important; } }

/* responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .mega { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-right .hide-m { display: none; }
  .burger { display: inline-flex; }
  .hero-grid, .demo, .agent, .feat, .contact, .fleet { grid-template-columns: 1fr; }
  .feat.flip > :first-child { order: 0; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .int-grid, .addons { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hs-track { flex-direction: column; width: auto; }
  .step { width: auto; min-height: 0; }
  .hs-progress { display: none; }
  .subnav { top: 72px; }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .map-chip { font-size: 12px; padding: 8px 10px; }
  .hero .ctas .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .van-dot { display: none; }
  .rv-pending { opacity: 1; transform: none; }
}
