/* Vanplan: merchandising page. Colours come from the logo: navy #0F1C30 and bone #E8E3D5.
   Spacing sits on a 4px grid; one easing curve; the route line is the one signature detail. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* one navy ramp */
  --bg-deep: #0B1626;
  --bg: #0F1C30;
  --panel: #13223A;
  --raised: #182A46;
  --land: #15263F;
  /* three text roles */
  --ink: #E8E3D5;
  --ink-2: rgba(232, 227, 213, 0.72);
  --ink-3: rgba(232, 227, 213, 0.54);
  /* hairlines */
  --line: rgba(232, 227, 213, 0.08);
  --line-2: rgba(232, 227, 213, 0.14);
  /* the one accent: the second crew, a selection, what changed */
  --blue: #8DB0F2;
  --blue-soft: rgba(141, 176, 242, 0.14);
  /* light surfaces on the page: a muted bone, so they don't glare against the navy */
  --paper: #D9D5CA;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --fast: 160ms;
  --slow: 400ms;
  --wrap: 1200px;
  --gut: 16px;
  --section: 80px;
  --pad: 24px;
  --mono: "Geist Mono", ui-monospace, monospace;
}
@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 40px; --section: 128px; --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 8px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }

/* type: sizes from one scale, weights 400 and 500, tight tracking only on display sizes */
h1 { font-size: 40px; line-height: 1.04; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.005em; font-weight: 500; text-wrap: balance; }
@media (min-width: 1024px) {
  h1 { font-size: 68px; letter-spacing: -0.03em; }
  h2 { font-size: 44px; letter-spacing: -0.025em; }
}
.proof-num, .spec dd, .me-metrics dd, .pc-amount { font-variant-numeric: tabular-nums; }
.label { font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* small shared pieces */
.key-a, .key-b { display: inline-block; width: 16px; height: 2px; border-radius: 2px; }
.key-a { background: var(--ink); }
.key-b { background: var(--blue); }
.key-night { display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 3px -2px 0 0 currentColor; transform: rotate(-20deg); flex: none; }
.file-glyph { position: relative; display: inline-block; flex: none; width: 14px; height: 18px; border: 1.5px solid var(--ink-3); border-radius: 2px 6px 2px 2px; }
.file-glyph::after { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; height: 6px; border-top: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); }

.seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; margin: 0; }
.seg > button, .seg > label > span {
  display: flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-3); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.seg > button:hover, .seg > label > span:hover { color: var(--ink); }
.seg > button[aria-pressed="true"], .seg > button[aria-checked="true"], .seg > label > input:checked + span {
  background: var(--raised); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.seg > label { flex: 1; position: relative; }
.seg > label > input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg > label > input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { background: #F6F2E8; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: var(--raised); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 15px; border-radius: 8px; }

/* navigation: a bar floating over the page, clear at the top; once the page moves it narrows into a frosted pill. A thin line on top shows how far down you are */
.progress { position: fixed; left: 0; top: 0; z-index: 52; width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--ink)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.nav-in {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 24px;
  width: min(1240px, 100%); height: 60px; padding: 0 12px 0 20px; border-radius: 18px; background: rgba(19, 34, 58, 0);
  transition: background-color 350ms var(--ease), box-shadow 350ms var(--ease), width 500ms var(--ease);
}
.nav.scrolled .nav-in, .nav.open .nav-in {
  width: min(1060px, 100%); background: rgba(19, 34, 58, 0.74);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 50px -20px rgba(0, 0, 0, 0.7);
}
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.nav-links a:hover { color: var(--ink); background: rgba(232, 227, 213, 0.06); }
.nav-links a.on { color: var(--ink); }
.nav-text, .nav-lang { font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color var(--fast) var(--ease); }
.nav-lang { color: var(--ink-3); }
.nav-text:hover, .nav-lang:hover { color: var(--ink); }
.nav-menu-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-menu { display: none; position: relative; width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(232, 227, 213, 0.06); cursor: pointer; }
.nav-menu span, .nav-menu::before { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform var(--fast) var(--ease); }
.nav-menu::before { content: ""; top: 17px; }
.nav-menu span { top: 24px; }
.nav.open .nav-menu::before { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-menu span { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1080px) { .nav-lang { display: none; } }
@media (max-width: 960px) {
  .nav-text { display: none; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .nav-menu { display: block; }
  .nav-in { gap: 12px; padding-right: 9px; }
  .nav-in, .nav.scrolled .nav-in { width: 100%; background: rgba(19, 34, 58, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-2); }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 1; display: grid; gap: 0; margin: 0; padding: 8px 16px 12px;
    border-radius: 18px; background: var(--raised);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    opacity: 0; transform: translateY(-12px) scale(0.98); pointer-events: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; color: var(--ink); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a:hover { background: transparent; }
  .nav-menu-only { display: flex; }
}
@media (max-width: 480px) { .nav .btn-sm { display: none; } }

/* hero: text on calm space, the maps beside it */
.hero { padding: 124px 0 64px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 24px; max-width: 600px; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (min-width: 1024px) {
  .hero { padding: 156px 0 96px; }
  .hero-in { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 48px; }
  .lede { font-size: 20px; }
}
@media (max-width: 440px) { .cta-row .btn { width: 100%; } }

/* the maps: one example week per country, drawn from the depot; drag to change country */
.maps { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: 8px; }
.maps.dragging { cursor: grabbing; }
.maps-viewport { overflow: hidden; }
.maps-track { display: flex; transition: transform 640ms var(--ease); will-change: transform; }
.maps.dragging .maps-track { transition: none; }
.maps-slide { flex: 0 0 100%; aspect-ratio: 1000 / 773; }
.maps-slide svg { display: block; width: 100%; height: 100%; overflow: visible; }
.m-land { fill: var(--land); stroke: rgba(232, 227, 213, 0.34); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.m-leg { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.m-leg.crew-a { stroke: var(--ink); }
.m-leg.crew-b { stroke: var(--blue); }
.m-stop { stroke: var(--land); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); transition: opacity var(--fast) var(--ease), transform var(--slow) var(--ease); }
.m-stop.on { opacity: 1; transform: none; }
.m-stop.crew-a { fill: var(--ink); }
.m-stop.crew-b { fill: var(--blue); }
.m-night { opacity: 0; transition: opacity var(--slow) var(--ease); }
.m-night.on { opacity: 1; }
.m-night .ring { fill: var(--land); stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-night .cut { fill: var(--land); }
.m-night.crew-a .moon { fill: var(--ink); }
.m-night.crew-b .moon { fill: var(--blue); }
.m-van { opacity: 0; stroke: var(--land); stroke-width: 3; }
.m-van.on { opacity: 1; }
.m-van.crew-a { fill: var(--ink); }
.m-van.crew-b { fill: var(--blue); }
.m-base { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.maps-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.maps-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.maps-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.maps-dots button[aria-current="true"]::before { background: var(--ink); transform: scale(1.25); }
.maps-dots button:hover::before { background: var(--ink-3); }
.maps-dots button[aria-current="true"]:hover::before { background: var(--ink); }

/* proof */
.proof {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof-num { font-size: 48px; line-height: 1; letter-spacing: -0.03em; font-weight: 400; }
.proof-num span { font-weight: 500; }
.proof-text { font-size: 18px; color: var(--ink-2); max-width: 46rem; text-wrap: pretty; }
@media (min-width: 640px) { .proof { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 48px; } }
@media (min-width: 1024px) {
  .proof { margin-top: 80px; padding: 32px 0; }
  .proof-num { font-size: 64px; }
  .proof-text { font-size: 20px; }
}

/* sections */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.section-sub { font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 1024px) {
  .section-head { margin-bottom: 64px; }
  .section-sub { font-size: 20px; }
}

/* now: the scene, and the file that keeps coming back */
.now { background: var(--bg-deep); }
.now-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.now-copy { display: grid; gap: 24px; }
.scene { font-size: 22px; line-height: 1.45; letter-spacing: -0.005em; text-wrap: pretty; }
@media (min-width: 1024px) {
  .now-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 96px; }
  .scene { font-size: 28px; letter-spacing: -0.01em; }
}
.versions { display: grid; gap: 8px; }
.versions li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.v-name { font: 14px/1.4 var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-time { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.v-last { border-color: var(--line-2); }
.v-diff { grid-column: 2 / -1; display: flex; gap: 8px; font: 13px/1.4 var(--mono); }
.v-diff s { color: var(--ink-3); }
.v-diff b { color: var(--blue); font-weight: 400; }
@media (min-width: 560px) { .versions li { grid-template-columns: auto minmax(0, 1fr) auto auto; } .v-diff { grid-column: auto; } }
@media (max-width: 559px) {
  .versions li { grid-template-columns: auto minmax(0, 1fr); row-gap: 4px; }
  .v-name { white-space: normal; overflow-wrap: anywhere; }
  .v-time { grid-column: 2; }
}
.js .versions li { opacity: 0; transform: translateY(8px); }
.versions.play li { animation: v-in 480ms var(--ease) calc(var(--i) * 520ms) both; }
.versions.play li:not(.v-last) { animation: v-in 480ms var(--ease) calc(var(--i) * 520ms) both, v-dim 400ms var(--ease) calc(var(--i) * 520ms + 520ms) forwards; }
@keyframes v-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes v-dim { to { opacity: 0.45; } }

/* how: three stops on one vertical route line; each step's copy, then the tool at work below it */
.route { display: grid; gap: 80px; }
.route > li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 24px; row-gap: 32px; }
.route > li::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: -72px; width: 1px; background: var(--line-2); }
.route > li:last-child::after { display: none; }
.stop {
  grid-row: 1; grid-column: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.route-copy { grid-column: 2; display: grid; gap: 12px; align-content: start; max-width: 640px; padding-top: 4px; }
.route-copy p { color: var(--ink-2); text-wrap: pretty; }
.mock { grid-column: 2; z-index: 2; }
@media (min-width: 1024px) {
  .route { gap: 128px; }
  .route > li { column-gap: 48px; }
  .route > li::after { bottom: -120px; }
  .route-copy h3 { font-size: 28px; letter-spacing: -0.015em; }
}

.mock { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-size: 13px; color: var(--ink-2); overflow: hidden; }
.mock-paused { animation-play-state: paused; }

/* 1: a list becomes stops on the map */
.mock-import { max-width: 760px; }
.mi-file { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.mi-name { font-family: var(--mono); color: var(--ink); }
.mi-count { margin-left: auto; color: var(--ink-3); }
.mi-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.mi-rows { display: grid; gap: 4px; }
.mi-rows li { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; overflow: hidden; }
.mi-rows em { font-style: normal; margin-left: auto; padding: 0 6px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); font-size: 12px; }
.mi-map { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 520px) { .mi-body { grid-template-columns: minmax(0, 1fr); } .mi-map { max-width: 240px; justify-self: center; } }
.mi-map .land { fill: var(--land); stroke: rgba(232, 227, 213, 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mi-map .pin { fill: var(--ink); transform-box: fill-box; transform-origin: center; }
.mi-map .pin.flag { fill: var(--blue); }
.mi-map .halo { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.play .mi-rows li { animation: mi-row 7s var(--ease) calc(400ms + var(--i) * 520ms) infinite both; }
.play .mi-rows em { animation: mi-tag 7s var(--ease) calc(400ms + 4 * 520ms) infinite both; }
.play .mi-map .pin { animation: mi-pin 7s var(--ease) calc(520ms + var(--i) * 520ms) infinite both; }
.play .mi-map .halo { animation: mi-tag 7s var(--ease) calc(520ms + 4 * 520ms) infinite both; }
@keyframes mi-row { 0% { border-color: transparent; background: transparent; color: var(--ink-2); } 4% { border-color: var(--line-2); background: var(--raised); color: var(--ink); } 12%, 100% { border-color: transparent; background: transparent; color: var(--ink-2); } }
@keyframes mi-pin { 0% { opacity: 0; transform: scale(0.3); } 5%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: none; } }
@keyframes mi-tag { 0% { opacity: 0; } 5%, 80% { opacity: 1; } 90%, 100% { opacity: 0; } }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.card { display: grid; align-content: start; gap: 12px; padding: var(--pad); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.card > p { color: var(--ink-2); text-wrap: pretty; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; border-top: 1px solid var(--line); }
.spec div { display: grid; gap: 4px; padding: 16px 16px 4px 0; }
.spec div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.spec div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.spec dt { font-size: 13px; color: var(--ink-3); text-wrap: pretty; }
.spec-3 div { align-content: space-between; }
.spec dd { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
@media (min-width: 640px) {
  .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec div + div { padding-left: 16px; border-left: 1px solid var(--line); }
  .spec div:nth-child(n + 3) { border-top: 0; }
}
@media (min-width: 640px) { .spec-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .spec-3 div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; } }
/* two numbers cards on the left, two short cards on the right, rows level */
@media (min-width: 1024px) {
  .cards { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; grid-auto-flow: column; margin-top: 64px; }
  .spec dd { font-size: 32px; }
}

/* price: one card; the monthly plan and the one-off setup side by side */
.price-card { border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel); overflow: hidden; }
/* a short light runs along the card's edge; site.js sizes and moves it */
.price-frame { position: relative; }
.pc-beam { position: absolute; top: -2px; left: -2px; width: calc(100% + 4px); height: calc(100% + 4px); overflow: visible; pointer-events: none; filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 10px rgba(232, 227, 213, 0.35)); }
.pc-beam rect { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.pc-k { font-size: 14px; color: var(--ink-2); }
.pc-top { display: grid; grid-template-columns: minmax(0, 1fr); }
.pc-plan, .pc-setup { display: grid; gap: 12px; align-content: start; padding: var(--pad); }
.pc-setup { border-top: 1px solid var(--line); }
.pc-amount { display: grid; gap: 4px; font-size: 48px; line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.pc-amount small { font-size: 14px; letter-spacing: 0; font-weight: 400; color: var(--ink-3); }
.pc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pc-deal { padding: 2px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 500; }
.pc-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pc-was { font-size: 0.5em; font-weight: 400; letter-spacing: -0.01em; color: var(--ink-3); text-decoration-thickness: 2px; text-decoration-color: var(--ink-2); }
.pc-credits { display: grid; gap: 8px; margin-top: 8px; }
.pc-credits-label { font-size: 13px; color: var(--ink-3); }
.pc-credits .seg { width: max-content; max-width: 100%; }
.pc-credits .seg button { padding: 0 14px; }
.pc-example { display: grid; gap: 8px; padding: var(--pad); border-top: 1px solid var(--line); background: var(--raised); }
.pc-example p:not(.pc-k):not(.pc-note) { font-size: 18px; color: var(--ink); text-wrap: pretty; }
.pc-note { font-size: 14px; color: var(--ink-3); }
.pc-lists { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: var(--pad); border-top: 1px solid var(--line); }
.pc-lists > div { display: grid; gap: 16px; align-content: start; }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); text-wrap: pretty; }
.checks li b { color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.pc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: var(--pad); background: var(--paper); color: var(--bg); }
.pc-cta > div { display: grid; gap: 4px; max-width: 560px; }
.pc-cta p { color: rgba(15, 28, 48, 0.76); }
.pc-cta .btn { background: var(--bg); color: var(--ink); }
.pc-cta .btn:hover { background: var(--raised); }
@media (min-width: 900px) {
  .pc-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .pc-setup { border-top: 0; border-left: 1px solid var(--line); }
  .pc-lists { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .pc-amount { font-size: 56px; }
}
@media (max-width: 440px) { .pc-credits .seg button { padding: 0 8px; font-size: 14px; } .pc-cta .btn { width: 100%; } }

/* faq */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; display: block; padding: 20px 48px 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 1.5px; background: var(--ink-2); transition: transform var(--fast) var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); }
.qa summary:hover::before, .qa summary:hover::after { background: var(--ink); }
.qa details p { padding: 0 48px 24px 0; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 1024px) {
  .faq-in { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 96px; }
  .faq .section-head { position: sticky; top: 96px; margin-bottom: 0; }
}

/* start: the form */
.start { background: var(--bg-deep); }
.start-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.start-copy { display: grid; gap: 16px; }
.start-copy p { color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
@media (min-width: 1024px) {
  .start-in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 96px; }
  .start-copy { position: sticky; top: 112px; }
  .start-copy p { font-size: 20px; }
}
/* what happens in the demo, as stops on a line, and the free plan for those with no time for a call */
.start-steps { display: grid; margin-top: 16px; counter-reset: st; }
.start-steps li { position: relative; display: grid; gap: 2px; padding: 0 0 28px 48px; counter-increment: st; }
.start-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; line-height: 1; }
.start-steps li::after { content: ""; position: absolute; left: 14.5px; top: 38px; bottom: 6px; width: 1px; background: var(--line-2); }
.start-steps li:last-child { padding-bottom: 0; }
.start-steps li:last-child::after { display: none; }
.start-steps b { font-size: 17px; font-weight: 500; line-height: 30px; }
.start-steps span { font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.start-copy .start-alt { display: grid; justify-items: start; gap: 12px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.form-card { padding: var(--pad); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.form { display: grid; gap: 16px; }
.intent { margin-bottom: 8px; }
.demo-only, .plan-only { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: 14px; color: var(--ink-2); }
.field em { font-style: normal; color: var(--ink-3); margin-left: 8px; }
.field-hint { font-size: 13px; color: var(--ink-3); }
.field input, .field textarea, .picker-btn {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-deep); color: var(--ink);
  font-family: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .picker-btn:focus-visible, .picker.open .picker-btn { outline: none; border-color: rgba(232, 227, 213, 0.48); box-shadow: 0 0 0 3px rgba(232, 227, 213, 0.08); }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots label { position: relative; }
.slots input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.slots span { display: flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.slots input:checked + span { background: var(--raised); border-color: rgba(232, 227, 213, 0.48); color: var(--ink); }
.slots input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 2px; }

/* date picker */
.picker { position: relative; }
.picker-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; }
.picker-btn .ph { color: var(--ink-3); }
.cal-glyph { position: relative; width: 16px; height: 16px; border: 1.5px solid var(--ink-3); border-radius: 4px; flex: none; }
.cal-glyph::before { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: 3px; border-top: 1.5px solid var(--ink-3); }
.pop {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 304px; max-width: calc(100vw - 2 * var(--gut));
  padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--raised);
  box-shadow: 0 16px 40px rgba(4, 10, 20, 0.5);
}
.pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pop-head b { font-weight: 500; font-size: 15px; }
.pop-head button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.pop-head button:hover { background: rgba(232, 227, 213, 0.06); }
.pop-head button::before { content: ""; width: 7px; height: 7px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); margin-left: 3px; }
.pop-head button[data-next]::before { transform: rotate(-135deg); margin: 0 3px 0 0; }
.pop-head button:disabled { opacity: 0.3; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal .wd { display: grid; place-items: center; height: 28px; font-size: 12px; color: var(--ink-3); }
.cal button { height: 36px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--fast) var(--ease); }
.cal button:hover:not(:disabled) { background: rgba(232, 227, 213, 0.08); }
.cal button:disabled { color: var(--ink-3); opacity: 0.4; cursor: default; }
.cal button.today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal button.in { background: rgba(232, 227, 213, 0.1); border-radius: 0; }
.cal button.sel, .cal button.sel:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-radius: 8px; }
.pop-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.pop-foot button { border: 0; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.pop-foot button:hover { background: rgba(232, 227, 213, 0.06); }

/* file drop */
.drop { display: grid; gap: 8px; }
.drop-zone {
  position: relative; display: grid; gap: 4px; justify-items: center; padding: 24px 16px;
  border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; cursor: pointer;
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-zone:hover, .drop.focus .drop-zone { border-color: rgba(232, 227, 213, 0.32); background: rgba(232, 227, 213, 0.02); }
.drop.drag .drop-zone { border-color: var(--blue); border-style: solid; background: var(--blue-soft); }
.drop-title { font-weight: 500; }
.drop-hint { font-size: 14px; color: var(--ink-3); }
.files { display: grid; gap: 8px; }
.files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-deep); }
.f-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-meta { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.f-meta.ok { color: var(--ink-2); }
.f-meta.warn { color: var(--blue); }
.spin { width: 14px; height: 14px; border: 1.5px solid var(--line-2); border-top-color: var(--ink); border-radius: 50%; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.f-remove { position: relative; width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.f-remove::before, .f-remove::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: var(--ink-3); transform: rotate(45deg); }
.f-remove::after { transform: rotate(-45deg); }
.f-remove:hover { background: rgba(232, 227, 213, 0.06); }
.f-remove:hover::before, .f-remove:hover::after { background: var(--ink); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.form-note { font-size: 14px; color: var(--ink-3); }
.form-note a { color: var(--ink-2); }
.form-status { min-height: 24px; font-size: 15px; color: var(--ink); }
@media (max-width: 559px) { .form-foot .btn { width: 100%; } }

/* sent */
.sent { display: grid; gap: 16px; justify-items: start; outline: none; }
.sent-route { width: 100%; max-width: 360px; height: auto; overflow: visible; }
.sent-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.sent-a, .sent-mid { fill: var(--ink); opacity: 0; }
.sent-b { fill: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; }
.sent-check { fill: none; stroke: var(--bg); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.sent.go .sent-a { animation: s-in 300ms var(--ease) both; }
.sent.go .sent-line { animation: s-draw 1100ms var(--ease) 150ms forwards; }
.sent.go .sent-mid { animation: s-in 300ms var(--ease) 500ms both; }
.sent.go .sent-mid + .sent-mid { animation-delay: 850ms; }
.sent.go .sent-b { animation: s-pop 400ms var(--ease) 1150ms both; }
.sent.go .sent-check { animation: s-draw 360ms var(--ease) 1450ms forwards; }
@keyframes s-draw { to { stroke-dashoffset: 0; } }
@keyframes s-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes s-pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.sent h3 { font-size: 28px; letter-spacing: -0.02em; }
.sent-sum { display: grid; gap: 8px; width: 100%; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sent-sum div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.sent-sum dt { color: var(--ink-3); }
.sent-next { display: grid; gap: 8px; counter-reset: n; }
.sent-next li { position: relative; padding-left: 32px; color: var(--ink-2); counter-increment: n; }
.sent-next li::before { content: counter(n); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink); }
.sent-preview { font-size: 13px; color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .sent-line, .sent-check { stroke-dashoffset: 0; }
  .sent-a, .sent-mid, .sent-b { opacity: 1; }
  .sent.go * { animation: none !important; }
}

/* legal pages */
.legal { padding: 140px 0 96px; }
.legal article { max-width: 720px; display: grid; gap: 16px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin-top: 24px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal .meta { font-size: 14px; color: var(--ink-3); }
.legal a { color: var(--ink); }
.legal .fill { color: var(--blue); }

/* 2: the instant estimate, shaped like the product's panel */
.mock-est { display: grid; gap: 16px; }
.me-top { display: flex; flex-wrap: wrap; gap: 8px; }
.me-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.me-stepper { padding: 0; gap: 0; overflow: hidden; }
.me-stepper .me-unit { padding: 0 12px 0 8px; color: var(--ink-2); }
.mp-btn { display: grid; place-items: center; width: 32px; height: 34px; color: var(--ink-3); font-size: 16px; }
.mp-n { position: relative; display: block; width: 28px; height: 34px; overflow: hidden; }
.mp-n b { display: grid; place-items: center; height: 34px; font-size: 15px; font-weight: 500; color: var(--ink); transform: translateY(-100%); }
.me-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 32px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-deep); }
.me-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.me-title { font-size: 15px; font-weight: 500; color: var(--ink); }
.me-verdict { font-size: 15px; color: var(--ink-2); max-width: 520px; }
.me-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.me-metrics div { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.me-metrics dt { font-size: 12px; color: var(--ink-3); }
.me-metrics dd { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.me-sub { font-size: 14px; font-weight: 500; color: var(--ink); }
.me-rows { display: grid; border: 1px solid var(--line); border-radius: 8px; }
.me-rows li { display: grid; grid-template-columns: 96px 88px minmax(48px, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.me-rows li + li { border-top: 1px solid var(--line); }
.me-rows b { font-weight: 500; color: var(--ink); }
.me-rows li.r2 { background: var(--raised); }
.bar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); border-radius: 3px; background: var(--ink-2); }
.bar > i.over { background: #E07A6B; }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill.ok { background: rgba(76, 195, 138, 0.14); color: #7FD6A8; }
.pill.bad { background: rgba(224, 122, 107, 0.16); color: #F0A093; }
.pill-stack, .swap { display: inline-grid; }
.pill-stack > *, .swap > * { grid-area: 1 / 1; justify-self: start; }
.pill-stack .bad, .swap .a { opacity: 0; }
@media (min-width: 900px) {
  .me-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .me-panel > .me-sub, .me-panel > .me-rows { grid-column: 2; }
  .me-panel > .me-head { grid-column: 1; grid-row: 1; }
  .me-panel > .me-verdict { grid-column: 1; grid-row: 2; }
  .me-panel > .me-metrics { grid-column: 1; grid-row: 3; }
  .me-panel > .me-sub { grid-row: 1; align-self: end; }
  .me-panel > .me-rows { grid-row: 2 / span 2; align-self: start; }
}
@media (max-width: 560px) {
  .me-panel { padding: 16px; }
  .me-rows li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .me-rows .bar { grid-column: 1 / -1; }
  .me-metrics { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; }
  .me-metrics div { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding: 8px 12px; border: 0; border-radius: 0; }
  .me-metrics div + div { border-top: 1px solid var(--line); }
  .me-metrics dt { font-size: 13px; }
  .me-metrics dd { font-size: 16px; }
  .me-metrics dd .swap > * { justify-self: end; }
}
.me-rows .pill { justify-self: start; }
/* the loop: one crew does not fit, two do */
.play .mp-n b { animation: est-flip 8s var(--ease) infinite both; }
.play .pill-stack .bad, .play .swap .a { animation: est-a 8s var(--ease) infinite both; }
.play .pill-stack .ok, .play .swap .b { animation: est-b 8s var(--ease) infinite both; }
.play .me-rows li.r1 { animation: est-row-a 8s var(--ease) infinite both; }
.play .me-rows li.r2 { animation: est-row-b 8s var(--ease) infinite both; }
@keyframes est-flip { 0%, 30% { transform: none; } 36%, 92% { transform: translateY(-100%); } 98%, 100% { transform: none; } }
@keyframes est-a { 0%, 32% { opacity: 1; } 38%, 92% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes est-b { 0%, 32% { opacity: 0; } 38%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes est-row-a { 0%, 32% { background: var(--raised); } 38%, 92% { background: transparent; } 98%, 100% { background: var(--raised); } }
@keyframes est-row-b { 0%, 32% { background: transparent; } 38%, 92% { background: var(--raised); } 98%, 100% { background: transparent; } }

/* 3: one action at a time, done by a pointer: drag a stop, pin a town, split the work, Re-plan. The estimate follows each change */
.mock-edit { display: grid; gap: 20px; padding: 24px; }
.mx-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.mx-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-steps li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 4px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-3);
  transition: color var(--slow) var(--ease), border-color var(--slow) var(--ease), background-color var(--slow) var(--ease);
}
.mx-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-3); font-size: 12px; font-weight: 500; line-height: 1; transition: inherit; }
.mx-steps li.now { border-color: var(--line-2); background: var(--raised); color: var(--ink); }
.mx-steps li.now b { background: var(--ink); color: var(--bg); }
.mx-steps li.done { color: var(--ink-2); }
.mx-steps li.done b { background: var(--blue-soft); color: var(--blue); }
.mx-caption { flex: 1 1 100%; font-size: 15px; line-height: 1.5; color: var(--ink); transition: opacity 240ms var(--ease); }
.mx-caption.out { opacity: 0; }
.mx-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; transition: opacity 320ms var(--ease); }
.mx-body.out { opacity: 0; }
.mx-board { display: grid; gap: 12px; min-width: 0; }
.mx-grid { display: grid; grid-template-columns: 80px repeat(5, minmax(0, 1fr)); gap: 8px; transition: opacity var(--slow) var(--ease); }
.mx-side { display: grid; gap: 12px; align-content: start; transition: opacity var(--slow) var(--ease); }
.mock-edit[data-focus="side"] .mx-grid, .mock-edit[data-focus="board"] .mx-side { opacity: 0.4; }
.mx-day { font-size: 12px; color: var(--ink-3); padding-left: 4px; }
.mx-crew { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.mx-cell {
  display: flex; flex-direction: column; gap: 4px; min-height: 68px; padding: 6px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-deep);
  transition: box-shadow var(--slow) var(--ease), border-color var(--slow) var(--ease);
}
.mx-cell.flash { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.mx-cell em {
  position: relative; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px;
  border-radius: 6px; background: var(--raised); color: var(--ink); font-size: 12px; font-style: normal;
  white-space: nowrap; overflow: hidden; transition: box-shadow 240ms var(--ease);
}
.mx-cell em::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transition: background-color 240ms var(--ease) var(--dot-delay, 0ms); }
.mx-cell.b em::before { background: var(--blue); }
.mx-cell em.lift { z-index: 3; overflow: visible; box-shadow: 0 0 0 1px var(--ink), 0 12px 24px rgba(4, 10, 20, 0.55); }
.mx-cell em:has(.mx-n) { height: auto; min-height: 24px; padding: 5px 8px; align-items: flex-start; }
.mx-cell em:has(.mx-n)::before { margin-top: 5px; }
.mx-cell em:has(.mx-n).pin::after { margin-top: 3px; }
.mx-n { display: grid; min-width: 0; line-height: 1.25; }
.mx-n small { font-size: 10.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.mx-cell em.wait { background: transparent; box-shadow: inset 0 0 0 1px var(--blue); outline: 1px dashed var(--blue); outline-offset: 2px; }
.mx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-3); }
.mx-replan {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--raised); color: var(--ink); font-size: 12px; font-weight: 500;
  transition: border-color var(--slow) var(--ease), background-color var(--slow) var(--ease);
}
.mx-replan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); transition: background-color var(--slow) var(--ease); }
.mx-replan.due { border-color: rgba(226, 178, 80, 0.7); background: rgba(226, 178, 80, 0.14); }
.mx-replan.due::before { background: #E2B250; }
.mx-menu {
  position: absolute; z-index: 6; display: grid; padding: 4px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--panel); box-shadow: 0 12px 32px rgba(4, 10, 20, 0.5); opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.mx-menu.on { opacity: 1; transform: none; }
.mx-menu i { padding: 3px 8px; border-radius: 5px; font-size: 12px; font-style: normal; line-height: 18px; color: var(--ink-2); transition: background-color var(--fast) var(--ease); }
.mx-menu i.pick { background: var(--blue); color: var(--bg); }
.mx-cell em.pin::after { content: ""; flex: none; width: 7px; height: 7px; margin-left: auto; border: 1.5px solid var(--blue); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.mx-est { display: grid; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.mx-est-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.mx-note { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--blue); opacity: 0; transition: opacity var(--slow) var(--ease); }
.mx-note.on { opacity: 1; }
.mx-load { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; align-items: center; gap: 12px; margin: 0 -8px; padding: 4px 8px; border-radius: 6px; font-size: 13px; transition: background-color var(--slow) var(--ease); }
.mx-load > span:first-child { display: flex; align-items: center; gap: 8px; }
.mx-load.flash { background: var(--blue-soft); }
.mx-load .bar { height: 8px; border-radius: 4px; }
.mx-load .bar > i { width: 100%; border-radius: 4px; transform-origin: left; transform: scaleX(var(--s, 0.5)); transition: transform 700ms var(--ease); }
.mx-load[data-load="0"] .bar > i { background: var(--ink); }
.mx-load[data-load="1"] .bar > i { background: var(--blue); }
.mx-h { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.mx-panel { padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--raised); }
.mx-phead { display: flex; align-items: center; justify-content: space-between; min-height: 32px; font-size: 13px; font-weight: 500; color: var(--ink); }
.mx-chev { width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(-45deg); transition: transform var(--slow) var(--ease); }
.mx-pbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--slow) var(--ease); }
.mx-pbody > div { min-height: 0; overflow: hidden; }
.mx-cities-panel.open .mx-pbody, [data-split].prop .mx-pbody { grid-template-rows: 1fr; }
.mx-cities-panel.open .mx-chev { transform: rotate(45deg); }
.mx-cols, .mx-cities li { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; align-items: center; gap: 8px; }
.mx-cols { padding: 8px 0 4px; font-size: 11px; color: var(--ink-3); }
.mx-cities li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.mx-dsel { display: flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--ink-3); transition: all var(--slow) var(--ease); }
.mx-dsel.set { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.seg-mini { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; }
.seg-mini i { font-style: normal; padding: 2px 8px; border-radius: 6px; font-size: 12px; line-height: 20px; color: var(--ink-3); text-align: center; transition: background-color var(--slow) var(--ease), color var(--slow) var(--ease); }
.seg-mini i.on { background: var(--panel); color: var(--ink); }
.seg-mini i.blue { background: var(--blue); color: var(--bg); }
.mx-modes { display: flex; margin-top: 8px; }
.mx-modes i { flex: 1; }
.mx-slabels { display: flex; justify-content: space-between; padding-top: 12px; font-size: 12px; color: var(--ink-2); }
.mx-slabels b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.mx-track { --p: 50%; position: relative; height: 8px; margin: 12px 8px 8px; border-radius: 4px; background: var(--blue); }
.mx-fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px 0 0 4px; background: var(--ink); }
.mx-handle { position: absolute; left: var(--p); top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid var(--ink); border-radius: 50%; background: var(--bg); }
.mx-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 20px; height: 20px; fill: var(--ink); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; pointer-events: none; opacity: 0; transform-origin: 2.5px 2px; transition: opacity 240ms var(--ease); filter: drop-shadow(0 2px 4px rgba(4, 10, 20, 0.5)); }
.mx-cursor.on { opacity: 1; }
.mx-ripple { position: absolute; z-index: 4; width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%; pointer-events: none; }
@media (min-width: 960px) {
  .mx-body { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}
@media (max-width: 720px) {
  .route .mock { grid-column: 1 / -1; }
  .mock-edit { padding: 16px; }
  .mx-steps li:not(.now) { padding-right: 4px; }
  .mx-steps li:not(.now) span { display: none; }
  .mx-caption { flex-basis: 100%; }
  .mx-grid { grid-template-columns: 56px repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mx-wide { display: none !important; }
  .mx-crew { font-size: 11px; }
  .mx-crew i { display: none; }
  .mx-cell { padding: 4px; min-height: 64px; }
  .mx-cell em { padding: 0 6px; font-size: 11px; gap: 4px; }
  .mx-load { grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 12px; }
}

/* gets: the day sheet a crew receives, laid out like the product's PDF, on a muted paper, with the day's map in the corner */
.sheet-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.paper {
  --ink-p: #0F1C30; --sub-p: #525C6C; --line-p: rgba(15, 28, 48, 0.12); --crew-p: #0F1C30; --land-p: #E6E2D9;
  padding: 32px; border-radius: 16px; background: var(--paper); color: var(--ink-p);
  box-shadow: 0 24px 64px rgba(4, 10, 20, 0.45); font-variant-numeric: tabular-nums;
}
.paper.b { --crew-p: #3D6BD8; }
.ds-head { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; margin-bottom: 24px; }
.ds-title { display: grid; gap: 8px; padding: 4px 0 4px 16px; border-left: 4px solid var(--crew-p); }
.ds-title h4 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.ds-title p { font-size: 14px; color: var(--sub-p); }
.ds-title p span { white-space: nowrap; }
.ds-map { flex: none; display: grid; gap: 8px; width: 232px; margin: 0; }
.ds-map svg { display: block; width: 100%; height: auto; border: 1px solid var(--line-p); border-radius: 10px; background: #D3CEC3; }
.ds-map .land { fill: var(--land-p); stroke: #BDB7AA; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ds-map .week { fill: none; stroke: #BDB7AA; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ds-map .today { fill: none; stroke: var(--crew-p); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ds-map .st { fill: var(--land-p); stroke: var(--crew-p); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ds-map .base, .ds-map .moon { fill: var(--ink-p); }
.ds-map .moon-cut { fill: var(--land-p); }
.ds-map text { fill: var(--ink-p); font-weight: 600; paint-order: stroke; stroke: var(--land-p); stroke-width: 4px; stroke-linejoin: round; }
.ds-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--sub-p); }
.ds-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ds-legend i { display: inline-block; flex: none; }
.ds-legend .l-route { width: 14px; height: 3px; border-radius: 2px; background: var(--crew-p); }
.ds-legend .l-base { width: 8px; height: 8px; border-radius: 2px; background: var(--ink-p); }
.ds-legend .l-night { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 3px -2px 0 0 var(--ink-p); transform: rotate(-20deg); }
.ds-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.35; }
.ds-table th { padding: 0 8px 8px; border-bottom: 1px solid rgba(15, 28, 48, 0.24); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.ds-table td { padding: 10px 8px; border-top: 1px solid var(--line-p); vertical-align: top; }
.ds-table th:nth-child(n + 4):not(:last-child), .ds-time, .ds-work, .ds-drive { text-align: right; white-space: nowrap; }
.ds-n { width: 24px; text-align: right; color: var(--sub-p); }
.ds-loc strong { display: block; font-weight: 600; }
.ds-loc small { display: block; font-size: 12px; color: var(--sub-p); }
.ds-nav { white-space: nowrap; color: var(--sub-p); }
.ds-nav a { color: #2A55C4; }
.ds-band td { padding: 8px; font-size: 12px; font-style: italic; color: var(--sub-p); background: rgba(15, 28, 48, 0.06); }
.ds-band.ds-lunch td { font-style: normal; font-weight: 600; color: #6B4E12; background: #E3D29C; }
.sheet-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) {
  .ds-head { flex-direction: column; align-items: stretch; }
  .ds-map { width: 100%; max-width: 420px; }
}
@media (max-width: 720px) {
  .paper { padding: 20px; }
  .ds-title h4 { font-size: 18px; }
  .ds-table thead { display: none; }
  .ds-table, .ds-table tbody, .ds-table tr, .ds-table td { display: block; }
  .ds-table tr:not(.ds-band) {
    display: grid; grid-template-columns: 20px auto minmax(0, 1fr) auto; column-gap: 8px; row-gap: 2px;
    grid-template-areas: "n loc loc time" ". addr addr addr" ". work drive nav"; padding: 10px 0; border-top: 1px solid var(--line-p);
  }
  .ds-table tr:not(.ds-band) td { padding: 0; border: 0; }
  .ds-n { grid-area: n; width: auto; }
  .ds-loc { grid-area: loc; }
  .ds-time { grid-area: time; font-weight: 600; }
  .ds-addr { grid-area: addr; color: var(--sub-p); }
  .ds-work { grid-area: work; text-align: left; }
  .ds-drive { grid-area: drive; text-align: left; color: var(--sub-p); }
  .ds-nav { grid-area: nav; }
  .ds-band td { border-radius: 6px; margin: 4px 0; }
}

.card .tag { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 500; }

/* demo booking: Cal.com inline, or a message */
.form-card .intent { margin-bottom: 16px; }
.form-card:not(.is-demo) .demo-pane, .form-card.is-demo:not(.msg-open) .form { display: none; }
.form-card.is-demo .plan-only, .form-card:not(.is-demo) .demo-only { display: none; }
.cal-wrap { min-height: 520px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-deep); overflow: hidden; }
.cal-inline { width: 100%; min-height: 520px; overflow: auto; }
.cal-fallback { padding: 24px; color: var(--ink-2); }
.cal-fallback a { color: var(--ink); }
.msg-toggle { margin: 16px 0 0; padding: 8px 0; border: 0; background: none; color: var(--ink-2); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); cursor: pointer; }
.msg-toggle:hover { color: var(--ink); }
.form-card.msg-open .form { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-card.sent-on > :not(.sent) { display: none; }

/* footer: its top edge is a road, and a van drives along it */
.foot { position: relative; padding: 0 0 40px; background: var(--bg); }
.road { position: relative; height: 56px; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 24px, transparent 24px 56px); opacity: 0.6; }
.van { position: absolute; bottom: 0; left: 0; width: 96px; height: 44px; transform: translateX(8vw); }
.van-body { fill: var(--bg-deep); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.van-line { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-linejoin: round; }
.wheel circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.wheel path { stroke: var(--ink-3); stroke-width: 1.2; }
.road.play .van { animation: van-drive 18s linear infinite; }
.road.play .wheel path { animation: wheel 0.9s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes van-drive { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw + 24px)); } }
@keyframes wheel { to { transform: rotate(360deg); } }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { max-width: 320px; color: var(--ink-2); }
.foot-col { display: grid; gap: 12px; align-content: start; font-size: 15px; }
.foot-col p { font-size: 13px; color: var(--ink-3); }
.foot-col a { color: var(--ink-2); text-decoration: none; transition: color var(--fast) var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-base a { color: var(--ink-2); text-decoration: none; transition: color var(--fast) var(--ease); }
.foot-base a:hover { color: var(--ink); }

/* the form over the page: the hero's buttons grow into it (site.js) */
.start-bar { display: none; }
.form-surface { position: fixed; inset: 0; z-index: 59; background: var(--bg-deep); pointer-events: none; }
html.form-open { overflow: hidden; padding-right: var(--sbw, 0px); }
.start.as-dialog { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 64px; border-top: 0; }
.start.as-dialog .start-bar { display: block; position: sticky; top: 0; z-index: 3; margin-bottom: 32px; background: rgba(11, 22, 38, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.start-bar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.start-bar img { height: 30px; width: auto; }
.start-close { position: relative; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; transition: background-color var(--fast) var(--ease); }
.start-close:hover { background: var(--raised); }
.start-close::before, .start-close::after { content: ""; position: absolute; left: 11px; right: 11px; top: 19px; height: 1.5px; border-radius: 1px; background: var(--ink); transform: rotate(45deg); }
.start-close::after { transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .start.as-dialog { padding-bottom: 96px; }
  .start.as-dialog .start-bar { margin-bottom: 64px; }
}
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }

/* scroll: blocks rise into place as they come on screen; the route in "Kaip veikia" fills as you read down */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 720ms var(--ease), transform 720ms var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .rise.in { opacity: 1; transform: none; }
.route-live > li::before { content: ""; position: absolute; z-index: 1; left: 15.5px; top: 40px; bottom: -72px; width: 2px; border-radius: 1px; background: var(--ink); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.route-live > li:last-child::before { display: none; }
.route-live .stop { background: var(--bg); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color var(--slow) var(--ease), color var(--slow) var(--ease), box-shadow var(--slow) var(--ease); }
.route-live > li.reached .stop { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
@media (min-width: 1024px) { .route-live > li::before { bottom: -120px; } }

/* motion off when asked: final states, no loops */
@media (prefers-reduced-motion: reduce) {
  .js .versions li { opacity: 1; transform: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .versions.play li, .play *, .road.play .van, .road.play .wheel path { animation: none !important; }
  .mi-map .pin, .mi-rows em, .mi-map .halo { opacity: 1; }
}

/* ---------- round 7 (2026-11-17) ---------- */

/* proof: who plans with Vanplan, and what it saves the planner and the owner */
.proof-ds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.proof-who { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.proof-who .ds-logo { flex: none; width: auto; height: 40px; }
.proof-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.proof-band > div { display: grid; gap: 8px; align-content: start; padding: 20px 20px 0 0; }
.proof-band > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.proof-band dt { font-size: 14px; color: var(--ink-3); }
.proof-band dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.proof-band b { font-size: 40px; line-height: 1; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof-band dd span { font-size: 15px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .proof-ds { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 56px; }
  .proof-who { font-size: 24px; }
  .proof-band { border-top: 0; }
  .proof-band > div { padding: 4px 32px; border-left: 1px solid var(--line); }
  .proof-band b { font-size: clamp(40px, 4.2vw, 64px); }
}

/* who it is for: three situations, each with a small drawing of it */
.who-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.who-card { display: grid; align-content: start; gap: 12px; padding: var(--pad); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.who-card p { color: var(--ink-2); text-wrap: pretty; }
.who-ico { width: 96px; height: 64px; margin-bottom: 12px; overflow: visible; }
.who-ico .ln { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.who-ico .ln.dim { stroke: var(--ink-3); stroke-width: 1.5; }
.who-ico .ln.b { stroke: var(--blue); }
.who-ico .dot { fill: var(--ink); }
.who-ico .dot.b, .who-ico .moon.b { fill: var(--blue); }
.who-ico .dot.off { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
.who-ico .base, .who-ico .moon { fill: var(--ink); }
.who-ico .moon-cut { fill: var(--panel); }
.who-fields { margin-top: 32px; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 900px) { .who-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* how it is now: the scene, then one list's two days as a timeline, then the DS figure */
.now .now-copy { max-width: 920px; }
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
.tl li { position: relative; display: grid; gap: 6px; align-content: start; padding: 0 0 32px 36px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-deep); box-shadow: inset 0 0 0 2px var(--ink); }
.tl li::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 2px; width: 1px; background: var(--line-2); transform-origin: top; }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::after { display: none; }
.tl li.v-last::before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.tl .v-time { grid-column: auto; font-size: 13px; color: var(--ink-3); }
.tl .v-file { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tl .v-name { font: 14px/1.4 var(--mono); color: var(--ink); white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.tl .v-what { font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.tl .v-last .v-what { color: var(--blue); }
@media (min-width: 900px) {
  .tl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
  .tl li { padding: 32px 0 0; }
  .tl li::before { top: 0; }
  .tl li::after { left: 22px; right: -18px; top: 6px; bottom: auto; width: auto; height: 1px; transform-origin: left; }
}
.js .tl li { opacity: 0; transform: translateY(8px); }
.tl.play li { animation: v-in 480ms var(--ease) calc(var(--i) * 520ms) both; }
.tl.play li:not(.v-last) .v-file, .tl.play li:not(.v-last) .v-what { animation: v-dim 400ms var(--ease) calc(var(--i) * 520ms + 900ms) forwards; }
.tl.play li::after { animation: tl-line 520ms var(--ease) calc(var(--i) * 520ms + 260ms) both; }
@keyframes tl-line { from { transform: scale(0); } to { transform: none; } }
@media (min-width: 900px) { @keyframes tl-line { from { transform: scaleX(0); } to { transform: none; } } }
.now-stat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.now-stat b { font-size: 48px; line-height: 1; letter-spacing: -0.03em; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.now-stat span { max-width: 36rem; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 1024px) { .now-stat b { font-size: 64px; } .now-stat span { font-size: 20px; } }

/* step 2: what you set on the left, what Vanplan says on the right */
.me-set, .me-out { display: grid; gap: 12px; align-content: start; min-width: 0; }
.me-k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.me-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.me-fields { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.me-fields > div { display: grid; gap: 6px; justify-items: start; }
.me-fields dt { font-size: 12px; color: var(--ink-3); }
.mock-est:has(.me-set) { gap: 20px; }
@media (min-width: 900px) and (max-width: 1279px) {
  .me-out .me-panel { grid-template-columns: minmax(0, 1fr); }
  .me-out .me-panel > * { grid-column: auto !important; grid-row: auto !important; }
}

/* step 3: the rules tick on one by one, the two areas appear, then the plan draws inside them */
.mock-rules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.mr-side { display: grid; gap: 10px; align-content: start; }
.mr-head { font-size: 13px; font-weight: 500; color: var(--ink); }
.mr-list { display: grid; gap: 6px; }
.mr-list li { display: grid; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-deep); transition: border-color var(--slow) var(--ease), background-color var(--slow) var(--ease); }
.mr-list b { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color var(--slow) var(--ease); }
.mr-list b::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink-3); background: transparent center / 10px no-repeat; transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.mr-list span { padding-left: 24px; font-size: 12px; color: var(--ink-3); }
.mr-list li.on { border-color: var(--line-2); background: var(--raised); }
.mr-list li.on b { color: var(--ink); }
.mr-list li.on b::before { box-shadow: none; background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4.2 7.4 8.2 2.8' fill='none' stroke='%230F1C30' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mr-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.mr-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.mr-btn.hit { transform: scale(0.94); }
.mr-done { font-size: 12px; color: var(--blue); opacity: 0; transition: opacity var(--slow) var(--ease); }
.mr-done.on { opacity: 1; }
.mr-map { display: block; width: 100%; height: auto; overflow: visible; }
.mr-map .land { fill: var(--land); stroke: rgba(232, 227, 213, 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mr-map .area { opacity: 0; transition: opacity 600ms var(--ease); }
.mr-map .area.on { opacity: 1; }
.mr-map .area.a { fill: rgba(232, 227, 213, 0.07); }
.mr-map .area.b { fill: var(--blue-soft); }
.mr-map .edge { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.mr-map .st { fill: var(--ink-3); transition: fill var(--slow) var(--ease); }
.mr-map.split .st.a { fill: var(--ink); }
.mr-map.split .st.b { fill: var(--blue); }
.mr-map .leg { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mr-map .leg.a { stroke: var(--ink); }
.mr-map .leg.b { stroke: var(--blue); }
.mr-map.drawn .leg { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) calc(var(--d) * 260ms); }
.mr-map .night { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 300ms var(--ease), transform 400ms var(--ease); }
.mr-map.drawn .night { opacity: 1; transform: none; transition-delay: calc(var(--d) * 260ms + 700ms); }
.mr-map .night .moon { fill: var(--ink); }
.mr-map .night.b .moon { fill: var(--blue); }
.mr-map .night .cut { fill: var(--land); }
.mr-map .night .ring { fill: var(--land); stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mr-map .lab { font-size: 22px; fill: var(--ink-2); paint-order: stroke; stroke: var(--land); stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity 400ms var(--ease); }
.mr-map .lab.on { opacity: 1; }
@media (min-width: 900px) { .mock-rules { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; } }

/* step 4: the split now has two modes */
.mx-mode-note { padding-top: 10px; font-size: 12px; color: var(--ink-3); transition: color var(--slow) var(--ease); }
.mx-mode-note.set { color: var(--blue); }

/* step 5: the export panel, and the PDF it makes, one page per crew and day */
.mock-send { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.ms-panel { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--raised); }
.ms-head { font-size: 13px; font-weight: 500; color: var(--ink); }
.ms-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 13px; color: var(--ink-2); }
.ms-btn { justify-self: start; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; }
.ms-doc { display: grid; gap: 10px; min-width: 0; }
.ms-file { display: flex; align-items: center; gap: 10px; min-width: 0; font: 13px/1.4 var(--mono); color: var(--ink); }
.ms-fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-file small { margin-left: auto; font: 12px var(--sans); color: var(--ink-3); white-space: nowrap; }
.ms-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.ms-pages li { display: grid; gap: 4px; padding: 10px 12px; border-radius: 8px; background: var(--paper); color: #0F1C30; box-shadow: inset 3px 0 0 #0F1C30; }
.ms-pages li.b { box-shadow: inset 3px 0 0 #3D6BD8; }
.ms-pages b { font-size: 12px; font-weight: 600; }
.ms-pages span { font-size: 11px; color: #525C6C; font-variant-numeric: tabular-nums; }
.ms-pages em { font-style: normal; font-size: 11px; color: #2A55C4; }
.play .ms-btn { animation: ms-press 9s var(--ease) 600ms infinite both; }
.play .ms-pages li { animation: ms-page 9s var(--ease) calc(1100ms + var(--i) * 160ms) infinite both; }
@keyframes ms-press { 0%, 4% { transform: none; } 6% { transform: scale(0.94); } 9%, 100% { transform: none; } }
@keyframes ms-page { 0% { opacity: 0; transform: translateY(10px); } 5%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@media (min-width: 900px) { .mock-send { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; } }
.route-copy .route-link { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.route-copy .route-link:hover { text-decoration-color: var(--ink); }

/* what you get: two cards side by side */
.card-ds .ds-logo { width: auto; height: 36px; margin-bottom: 8px; }
/* one customer story, logo on the left */
.cards.cards-1 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .cards-1 .card-ds { grid-template-columns: 200px minmax(0, 1fr); column-gap: 48px; padding: 40px; }
  .cards-1 .card-ds .ds-logo { grid-row: 1 / span 2; height: 56px; margin: 4px 0 0; }
  .cards-1 .card-ds h3 { font-size: 24px; }
  .cards-1 .card-ds p { max-width: 48rem; font-size: 18px; }
}
@media (min-width: 1024px) { .cards.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; } }

/* price: from 199 €, and a calculator that picks the credits */
.pc-from { font-size: 0.4em; font-weight: 400; letter-spacing: -0.01em; color: var(--ink-2); }
.pc-what { max-width: 26rem; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.pc-plan .pc-incl { display: grid; gap: 16px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.pc-lists:has(> div:only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pc-lists:has(> div:only-child) .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.pc-calc { display: grid; gap: 16px; align-content: start; padding: var(--pad); border-top: 1px solid var(--line); background: var(--raised); }
.calc-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; }
.calc-field label { font-size: 14px; color: var(--ink-2); }
.calc-field output { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-field input { grid-column: 1 / -1; }
.calc-field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.calc-field input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--fill, 50%) 100% no-repeat, var(--line-2); }
.calc-field input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--fill, 50%) 100% no-repeat, var(--line-2); }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--bg); transition: transform var(--fast) var(--ease); }
.calc-field input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--bg); }
.calc-field input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-field input[type="range"]:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.calc-need { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.calc-need b { font-size: 36px; line-height: 1; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-fit { flex-basis: 100%; color: var(--ink); }
.calc-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.calc-tiers li { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.calc-tiers b { font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-tiers span { font-size: 12px; color: var(--ink-3); }
.calc-tiers li.on { border-color: var(--ink); background: var(--panel); }
.calc-tiers li.on b, .calc-tiers li.on span { color: var(--ink); }
.calc-note { font-size: 13px; color: var(--ink-3); text-wrap: pretty; }
@media (min-width: 900px) {
  .pc-top:has(.pc-calc) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .pc-calc { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 440px) { .calc-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the form: an address and a number for those who'd rather write or call */
.start-copy .start-contact { display: grid; gap: 10px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.start-contact > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.start-contact dt { color: var(--ink-3); }
.start-contact a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color var(--fast) var(--ease); }
.start-contact a:hover { border-color: var(--ink); }

/* footer: a van made of dots that scatter from the pointer and come back */
.foot:has(.foot-van) { border-top: 1px solid var(--line); }
.foot-van { display: block; width: 100%; height: clamp(170px, 24vw, 360px); touch-action: pan-y; cursor: crosshair; }

@media (prefers-reduced-motion: reduce) {
  .js .tl li { opacity: 1; transform: none; }
  .tl.play li, .tl.play li *, .tl.play li::after, .play .ms-btn, .play .ms-pages li { animation: none !important; }
  .mr-map.drawn .leg, .mr-map.drawn .night { transition: none; }
}

/* ---------- content pages: guides, comparisons, use cases (tools/pages.py) ---------- */
.doc { padding: 124px 0 var(--section); }
.doc-in { max-width: calc(820px + 2 * var(--gut)); display: grid; gap: 48px; }
.doc-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-3); }
.doc-crumb a { color: var(--ink-2); text-decoration: none; }
.doc-crumb a:hover { color: var(--ink); }
.doc-head { display: grid; gap: 20px; }
.doc-head h1 { font-size: 40px; }
.doc-lede { font-size: 20px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.doc-meta { font-size: 14px; color: var(--ink-3); }
.doc-body { display: grid; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.doc-body h2 { margin-top: 32px; font-size: 28px; color: var(--ink); }
.doc-body h3 { margin-top: 12px; font-size: 20px; color: var(--ink); }
.doc-body p, .doc-body li { text-wrap: pretty; }
.doc-body strong { color: var(--ink); font-weight: 500; }
.doc-body a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.doc-body a:hover { text-decoration-color: var(--ink); }
.doc-body ul, .doc-body ol { display: grid; gap: 10px; padding-left: 24px; }
.doc-body ul { list-style: disc; }
.doc-body ol { list-style: decimal; }
.doc-body li::marker { color: var(--ink-3); }
.doc-steps { counter-reset: s; list-style: none !important; padding-left: 0 !important; gap: 0 !important; }
.doc-steps > li { position: relative; padding: 0 0 24px 48px; counter-increment: s; }
.doc-steps > li::before { content: counter(s); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; }
.doc-steps > li::after { content: ""; position: absolute; left: 14.5px; top: 40px; bottom: 6px; width: 1px; background: var(--line-2); }
.doc-steps > li:last-child::after { display: none; }
.doc-steps > li > b { display: block; color: var(--ink); font-weight: 500; }
.doc-note { padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); font-size: 16px; }
.doc-fig { display: grid; gap: 12px; margin: 12px 0; }
.doc-fig-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.doc-fig-pair > div { display: grid; gap: 10px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-deep); }
.doc-fig img { width: 100%; height: auto; }
.doc-fig b { color: var(--ink); font-weight: 500; font-size: 16px; }
.doc-fig figcaption, .doc-fig-pair span { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
@media (min-width: 720px) { .doc-fig-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc-table-wrap { overflow-x: auto; margin: 8px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.doc-table th, .doc-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.doc-table thead th { border-top: 0; background: var(--panel); color: var(--ink); font-weight: 500; font-size: 14px; }
.doc-table tbody th { color: var(--ink); font-weight: 500; width: 30%; }
.doc-table td { color: var(--ink-2); }
.doc-table .yes { color: #7FD6A8; }
.doc-table .no { color: #F0A093; }
.doc-body .qa { margin-top: 4px; }
.doc-body .qa summary { font-size: 17px; color: var(--ink); }
.doc-body .qa details p { font-size: 16px; }
.doc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: var(--pad); border-radius: 16px; background: var(--paper); color: var(--bg); }
.doc-cta > div:first-child { display: grid; gap: 6px; max-width: 520px; }
.doc-cta h2 { font-size: 24px; color: var(--bg); }
.doc-cta p { color: rgba(15, 28, 48, 0.76); font-size: 16px; }
.doc-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.doc-cta .btn { background: var(--bg); color: var(--ink); }
.doc-cta .btn:hover { background: var(--raised); }
.doc-cta .btn-ghost { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1.5px rgba(15, 28, 48, 0.4); }
.doc-cta .btn-ghost:hover { background: rgba(15, 28, 48, 0.06); }
.doc-related { display: grid; gap: 16px; }
.doc-related h2 { font-size: 22px; }
.doc-related ul { display: grid; gap: 12px; }
.doc-related a { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; transition: border-color var(--fast) var(--ease); }
.doc-related a:hover { border-color: var(--line-2); }
.doc-related b { color: var(--ink); font-weight: 500; }
.doc-related span { font-size: 15px; color: var(--ink-3); }
@media (min-width: 1024px) {
  .doc { padding-top: 156px; }
  .doc-head h1 { font-size: 56px; }
  .doc-lede { font-size: 22px; }
  .doc-body h2 { font-size: 32px; }
}
@media (max-width: 440px) { .doc-cta .btn { width: 100%; } }

/* links from the main pages to the guides and use cases */
.who-fields a, .now-link a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.who-fields a:hover, .now-link a:hover { text-decoration-color: var(--ink); }
.now-link { font-size: 16px; }
@media (min-width: 900px) { .foot-in:has(> :nth-child(5)) { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); } }

/* content pages: who Vanplan is for, so a reader can find their own case */
.doc-fit { display: grid; gap: 14px; padding: var(--pad); border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); }
.doc-fit h2 { font-size: 20px; }
.doc-fit ul { display: grid; gap: 12px; }
.doc-fit li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.doc-fit li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.doc-fit b { color: var(--ink); font-weight: 500; }

/* link preview: hovering a link to a guide or use case shows that page's title and opening lines (site.js) */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: 320px; max-width: calc(100vw - 32px); display: grid; gap: 8px; padding: 20px;
  border-radius: 16px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility 0s linear var(--fast);
}
.peek.on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility 0s; }
.peek-route { display: block; width: 280px; max-width: 100%; height: 44px; margin-bottom: 4px; overflow: visible; }
.peek-route polyline { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.peek.on .peek-route polyline { stroke-dashoffset: 0; transition: stroke-dashoffset var(--slow) var(--ease) 60ms; }
.peek-route circle { fill: var(--ink); }
.peek-route rect { fill: var(--raised); stroke: var(--ink); stroke-width: 1.5; }
.peek-title { font-size: 17px; line-height: 1.3; font-weight: 500; color: var(--ink); text-wrap: balance; }
.peek-lede { font-size: 14px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.peek-url { margin-top: 4px; font: 12px/1.4 var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .peek, .peek.on { transform: none; transition: none; }
  .peek-route polyline, .peek.on .peek-route polyline { stroke-dashoffset: 0; transition: none; }
}
