/* Bezorgplan landing page, version 2. The page reads as one delivery day: sections are stops on a route. */
@font-face { font-family: Overpass; src: url("fonts/overpass.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url("fonts/overpass-mono.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  /* Street and paper: the page lives between the pavement and the packing slip. */
  --asfalt: #1c2024;
  --asfalt-zacht: #555d66;
  --stoep: #f2f2ee;
  --pakbon: #fcfcfa;
  --streep: #d9dad3;
  /* Field borders and the route line keep 3:1 against pavement (WCAG non-text contrast). */
  --veldrand: #7f857d;
  /* Dutch number-plate yellow, the same gold as the dashboard. Fills only; as text it is --kenteken-tekst. */
  --kenteken: #f2a322;
  --kenteken-inkt: #17120b;
  --kenteken-tekst: #8a5206;
  --asfalt-tekst-zacht: #c6cbd1;
  --afgeleverd: #2a6e47;
  --error: #a3221b;
  --focus: var(--asfalt);
  --letter: Overpass, Arial, Helvetica, sans-serif;
  --letter-mono: "Overpass Mono", Consolas, monospace;
  --hoek: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --gutter: clamp(16px, 5vw, 80px);
  --touch-target: 44px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* Demo screens follow the real app's dark tokens (frontend/src/index.css). */
  --dash-bg: #12151d;
  --dash-panel: #191d28;
  --dash-card: #1e2230;
  --dash-line: #2a2f3d;
  --dash-text: #e8ebf2;
  --dash-muted: #98a0b3;
  --app-gold: var(--kenteken);
  --app-gold-ink: var(--kenteken-inkt);
  --app-danger: #f0736e;
  --app-success: #4bbf8c;
  --app-gold-tint: #f2a3221f;
  --app-gold-ring: #f2a32255;
  --app-danger-bg: #45181f;
  --app-danger-ink: #1c0d0f;
  --app-danger-text: #ffc9c6;
  --app-success-tint: #4bbf8c26;
  --app-success-text: #b7f7dc;
  --dash-line-strong: #ffffff33;
  --dash-track: #ffffff0a;
  --dash-hover: #ffffff0d;
  --dash-band-edge: #ffffff1f;
  --dash-chip: #ffffff12;
  --route-ink: #11141b;
  --route-fallback: #7c9cbf;
  --shadow-demo: 0 22px 60px #1c202426;
  --shadow-ghost: 0 10px 30px #0006;
  --phone-bg: #f1f2f5;
  --phone-card: #ffffff;
  --phone-ink: #172033;
  --phone-muted: #5b6475;
  --phone-line: #dfe2e8;
  --phone-chip-bg: #fdf3e1;
  --phone-chip-ink: #8a5206;
  --phone-chip-line: #f4dcb4;
  --phone-bezel: #0b0d13;
  --phone-reply: #dcf2e1;
  --phone-note-bg: #f5ede3;
  --phone-note-ink: #74450b;
  --map-ground: #e6e9dd;
  /* Map markers stay the same in every theme, like the real dashboard. */
  --marker-light: #ffffff;
  --map-note-bg: #ffffffeb;
  --map-label-bg: #172033e6;
  --shadow-marker: 0 1px 4px #17203340;
  --shadow-vehicle: 0 1px 2px #17203366;

  font-family: var(--letter);
  color: var(--asfalt);
  background: var(--stoep);
  font-synthesis: none;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button:active { transform: none; }
  .faq details::details-content { transition: none; }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--stoep); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -.01em; }
p { line-height: 1.6; }
main, .site-header, footer { max-width: 1440px; margin: auto; }
.visually-hidden, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 96px; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; color: var(--asfalt); }
.site-header nav { display: flex; align-items: center; gap: var(--space-6); font-size: 15px; font-weight: 600; }
.nav-demo { padding: 10px 0; border-bottom: 2px solid var(--kenteken); white-space: nowrap; }
.nav-demo span { margin-left: var(--space-2); }
@media (hover: hover) {
  .site-header nav a:hover, footer a:hover, .faq summary:hover { color: var(--kenteken-tekst); }
  .button:hover { filter: brightness(.95); }
}

/* Shared text */
.eyebrow { display: flex; align-items: center; gap: var(--space-3); font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--asfalt-zacht); }
.beta-tag { display: inline-block; padding: 3px 7px 2px; border-radius: 3px; background: var(--asfalt); color: var(--kenteken); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand .beta-tag { margin-left: 2px; }
.section-intro .eyebrow { margin-bottom: var(--space-4); }
.section-intro p:not(.eyebrow) { max-width: 560px; margin-top: var(--space-4); font-size: 17px; color: var(--asfalt-zacht); }

/* Number-plate button: yellow fill, black letters and a thin black edge. */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 56px; padding: 0 var(--space-5); border: 2px solid var(--kenteken-inkt); border-radius: var(--hoek); font-size: 16px; font-weight: 800; transition: transform 160ms var(--ease-out); }
.button.primary { background: var(--kenteken); color: var(--kenteken-inkt); }
.button:active { transform: scale(.97); }
.button span { font-size: 20px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: var(--space-8); align-items: center; padding: var(--space-6) var(--gutter) var(--space-9); }
.hero-copy .eyebrow { margin-bottom: var(--space-5); color: var(--asfalt); }
.hero-subtitle { max-width: 470px; margin: var(--space-5) 0 var(--space-6); font-size: 19px; color: var(--asfalt-zacht); }
.cta-note { margin-top: var(--space-3); font-size: 14px; color: var(--asfalt-zacht); }
.sectors { max-width: 470px; margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid var(--streep); font-size: 15px; color: var(--asfalt-zacht); }
.sectors span { color: var(--asfalt); font-weight: 700; }
.hero-preview { min-width: 0; }
.preview-kicker { display: flex; justify-content: space-between; margin-bottom: var(--space-3); font-family: var(--letter-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--asfalt-zacht); }
.preview-caption { margin-top: var(--space-4); max-width: 640px; font-size: 14px; line-height: 1.5; color: var(--asfalt-zacht); }

/* The day as a route: numbered pins on one dashed line, a time above every stop. */
.day { padding: var(--space-9) var(--gutter); border-top: 1px solid var(--streep); }
.day .section-intro { max-width: 760px; margin-bottom: var(--space-8); }
.route { position: relative; display: grid; max-width: 1120px; gap: var(--space-9); padding: 0; list-style: none; }
.route::before { content: ""; position: absolute; top: 22px; bottom: 22px; left: 21px; border-left: 2px dashed var(--veldrand); }
.route-stop { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5) var(--space-8); align-items: start; }
.stop-pin { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 4px solid var(--stoep); border-radius: 50%; background: var(--kenteken); color: var(--kenteken-inkt); font-family: var(--letter-mono); font-size: 16px; font-weight: 700; }
.stop-pin.is-small { width: 28px; height: 28px; border-width: 0; font-size: 13px; }
.stop-text { max-width: 560px; }
.stop-time { margin-bottom: var(--space-2); font-size: 14px; font-weight: 700; color: var(--asfalt-zacht); }
.stop-time time { margin-right: var(--space-2); font-family: var(--letter-mono); font-size: 18px; color: var(--asfalt); }
.stop-text h3 { margin-bottom: var(--space-3); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.stop-text p:not(.stop-time) { font-size: 17px; color: var(--asfalt-zacht); }
.stop-text p + p:not(.stop-time) { margin-top: var(--space-3); }
.stop-visual { justify-self: start; width: 100%; max-width: 420px; }

/* Paper surfaces: one flat level, a hairline edge, no shadow. */
.paper { padding: var(--space-5); border: 1px solid var(--streep); border-radius: var(--hoek); background: var(--pakbon); }
.paper figcaption { font-size: 14px; color: var(--asfalt-zacht); }

.calc-head, .packlist-head, .dwell-head { display: flex; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); font-size: 14px; color: var(--asfalt-zacht); }
.calc-button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); border: 2px solid var(--kenteken-inkt); border-radius: var(--hoek); background: var(--kenteken); color: var(--kenteken-inkt); font-size: 14px; font-weight: 800; }
.calc-result { display: grid; gap: var(--space-2); margin: var(--space-4) 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; }
.calc-result li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--streep); }
.calc-result li span:last-child { margin-left: auto; white-space: nowrap; font-family: var(--letter-mono); font-size: 13px; font-weight: 400; color: var(--asfalt-zacht); }
.swatch { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--route); }
.paper .calc-ok { display: flex; align-items: center; gap: var(--space-2); color: var(--afgeleverd); font-weight: 700; }
.calc-ok::before, .packlist li.is-ready::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 4px; background: var(--afgeleverd) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 12px no-repeat; }

.packlist-head strong { color: var(--asfalt); }
.packlist ol { display: grid; gap: var(--space-1); margin-bottom: var(--space-4); padding: 0; list-style: none; counter-reset: pack; }
.packlist li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px dashed var(--streep); font-size: 16px; counter-increment: pack; }
.packlist li::after { content: counter(pack); order: -1; width: 18px; font-family: var(--letter-mono); font-size: 13px; color: var(--asfalt-zacht); }
.packlist li:not(.is-ready)::before { content: ""; width: 18px; height: 18px; flex: none; border: 2px solid var(--veldrand); border-radius: 4px; }
.packlist li.is-ready { color: var(--asfalt-zacht); }
.packlist li.is-ready span { text-decoration: line-through; }

.next-stop { display: grid; gap: var(--space-2); }
.next-stop-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--asfalt-zacht); }
.next-stop-chip { padding: 2px var(--space-2); border-radius: var(--hoek); background: var(--asfalt); color: var(--kenteken); font-family: var(--letter-mono); font-size: 13px; font-weight: 700; }
.next-stop strong { margin-top: var(--space-1); font-size: 22px; line-height: 1.2; }
.next-stop > span { color: var(--asfalt-zacht); }
.next-stop-window { display: grid; padding: var(--space-3) 0; border-block: 1px solid var(--streep); font-family: var(--letter-mono); font-size: 18px; font-weight: 700; }
.next-stop-window small { font-family: var(--letter); font-size: 12px; font-weight: 400; color: var(--asfalt-zacht); }
.next-stop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-2); }
.next-stop-actions span { display: grid; place-items: center; min-height: var(--touch-target); border: 1px solid var(--streep); border-radius: var(--hoek); font-weight: 800; }
.next-stop-actions .is-primary { border: 2px solid var(--kenteken-inkt); background: var(--kenteken); color: var(--kenteken-inkt); }

.dwell-head strong { color: var(--asfalt); }
.dwell-row { display: grid; grid-template-columns: 80px 1fr 56px; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); font-size: 14px; color: var(--asfalt-zacht); }
.dwell-row span:last-child { font-family: var(--letter-mono); font-weight: 700; text-align: right; color: var(--asfalt); }
/* Bar length is minutes against a ten-minute scale. */
.dwell-bar { height: 12px; border-radius: 3px; background: linear-gradient(to right, var(--veldrand) calc(var(--minutes) * 10%), var(--streep) 0); }
.dwell-row.is-measured .dwell-bar { background: linear-gradient(to right, var(--kenteken) calc(var(--minutes) * 10%), var(--streep) 0); }
.dwell figcaption { margin-top: var(--space-2); }

/* Customer messages phone */
.chat-preview { display: grid; justify-items: start; gap: var(--space-3); }
.chat-preview figcaption { font-size: 14px; color: var(--asfalt-zacht); }
.chat-phone { width: 100%; max-width: 340px; overflow: hidden; border: 10px solid var(--phone-bezel); border-radius: 38px; background: var(--phone-bg); color: var(--phone-ink); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; border-bottom: 1px solid var(--phone-line); background: var(--phone-card); }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; color: var(--phone-muted); }
.chat-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--phone-chip-bg); color: var(--phone-chip-ink); font-weight: 800; }
.chat-thread { display: grid; gap: 10px; align-content: start; padding: 16px 14px 28px; }
.chat-day { justify-self: center; padding: 2px 10px; border-radius: 8px; background: var(--phone-card); color: var(--phone-muted); font-size: 11px; }
.chat-bubble { max-width: 88%; padding: 10px 12px 8px; border-radius: 3px 12px 12px 12px; background: var(--phone-card); font-size: 14px; line-height: 1.45; }
.chat-bubble.is-reply { justify-self: end; border-radius: 12px 3px 12px 12px; background: var(--phone-reply); }
.chat-bubble span { display: block; margin-top: 4px; text-align: right; font-size: 11px; color: var(--phone-muted); }

/* Features as a packing slip */
.features { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--space-8); padding: var(--space-9) var(--gutter); border-top: 1px solid var(--streep); }
.slip { border: 1px solid var(--streep); border-radius: var(--hoek); background: var(--pakbon); }
.slip-head { display: flex; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 2px dashed var(--streep); font-family: var(--letter-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--asfalt-zacht); }
.slip table { width: 100%; border-collapse: collapse; }
.slip th, .slip td { padding: var(--space-3) var(--space-5); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.5; }
.slip tbody tr:not(.slip-group) + tr th, .slip tbody tr:not(.slip-group) + tr td { border-top: 1px solid var(--streep); }
.slip th[scope=row] { width: 38%; font-weight: 800; }
.slip td { color: var(--asfalt-zacht); }
.slip-group th { padding-top: var(--space-6); font-family: var(--letter-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--kenteken-tekst); }
.slip tbody:first-child .slip-group th { padding-top: var(--space-5); }
.slip tbody:last-child tr:last-child > * { padding-bottom: var(--space-5); }

/* Comparison */
.compare { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--space-8); padding: var(--space-9) var(--gutter); border-top: 1px solid var(--streep); }
/* Long right columns: the intro stays in view while reading them. */
.features .section-intro, .compare .section-intro, .start .section-intro, .faq .section-intro { position: sticky; top: var(--space-6); align-self: start; }
.compare-table { width: 100%; border-collapse: collapse; align-self: start; }
.compare-table th { padding: 0 var(--space-5) var(--space-3); text-align: left; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--asfalt-zacht); }
.compare-table th:last-child { color: var(--kenteken-tekst); }
.compare-table td { padding: var(--space-5); border-top: 1px solid var(--streep); vertical-align: top; font-size: 16px; line-height: 1.55; }
.compare-table td:first-child { width: 34%; color: var(--asfalt-zacht); }
.compare-table td:last-child { background: var(--pakbon); color: var(--asfalt-zacht); }
.compare-table td strong { display: block; margin-bottom: var(--space-1); color: var(--asfalt); font-size: 17px; }

/* Origin: the one dark band on the page */
.origin { margin: 0 var(--gutter); padding: var(--space-8) var(--space-7); border-radius: var(--hoek); background: var(--asfalt); color: var(--pakbon); }
.origin .eyebrow { margin-bottom: var(--space-4); color: var(--kenteken); }
.origin h2 { max-width: 760px; }
.origin p:not(.eyebrow) { max-width: 640px; margin-top: var(--space-4); font-size: 17px; color: var(--asfalt-tekst-zacht); }

/* Start process and beta note */
.start { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--space-8); padding: var(--space-9) var(--gutter); }
.beta-note { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border: 1px solid var(--streep); border-radius: var(--hoek); background: var(--pakbon); }
.beta-note p { margin-top: var(--space-2); font-size: 15px; color: var(--asfalt-zacht); }
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); align-content: start; padding: 0; list-style: none; counter-reset: step; }
.start-steps li { padding-top: var(--space-4); border-top: 2px solid var(--streep); counter-increment: step; }
.start-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-3); font-family: var(--letter-mono); font-size: 14px; font-weight: 700; color: var(--asfalt-zacht); }
.start-steps li.is-key { border-top-color: var(--kenteken); }
.start-steps li.is-key::before { color: var(--kenteken-tekst); }
.start-steps h3 { margin-bottom: var(--space-2); font-size: 19px; }
.start-steps p { font-size: 16px; color: var(--asfalt-zacht); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--space-8); padding: var(--space-9) var(--gutter); border-top: 1px solid var(--streep); }
.faq-list { border-top: 1px solid var(--streep); }
.faq details { border-bottom: 1px solid var(--streep); }
.faq summary { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--letter-mono); font-size: 22px; line-height: 1; color: var(--kenteken-tekst); }
.faq details[open] summary::after { content: "\2212"; }
/* Browsers without ::details-content keep the instant open. */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 250ms var(--ease-out), content-visibility 250ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { max-width: 680px; padding-bottom: var(--space-5); font-size: 16px; color: var(--asfalt-zacht); }

/* Demo form: the last stop */
.demo-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); margin: 0 var(--gutter) var(--space-9); padding: var(--space-8) var(--space-7); border: 1px solid var(--streep); border-radius: var(--hoek); background: var(--pakbon); scroll-margin-top: var(--space-5); }
.demo-section .eyebrow { margin-bottom: var(--space-4); color: var(--asfalt); }
.demo-section p:not(.eyebrow) { max-width: 440px; margin-top: var(--space-4); font-size: 17px; color: var(--asfalt-zacht); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { display: block; margin-top: var(--space-5); font-family: var(--letter-mono); font-size: 13px; color: var(--asfalt-zacht); }
form { display: flex; flex-direction: column; gap: var(--space-4); }
label { display: flex; flex-direction: column; gap: var(--space-2); font-size: 15px; font-weight: 700; }
/* 16px input text keeps iOS Safari from zooming in on focus. */
input { width: 100%; min-height: 52px; padding: 0 var(--space-4); border: 1px solid var(--veldrand); border-radius: var(--hoek); background: var(--stoep); color: var(--asfalt); font-size: 16px; font-weight: 400; }
input:focus-visible { outline-offset: 2px; }
input::placeholder { color: var(--asfalt-zacht); }
.demo-section .form-status { min-height: 24px; font-size: 15px; color: var(--asfalt); }
.demo-section .form-status.is-error { color: var(--error); font-weight: 700; }

/* Footer */
footer { display: flex; align-items: center; gap: var(--space-6); padding: var(--space-6) var(--gutter); border-top: 1px solid var(--streep); font-size: 14px; }
footer .brand { font-size: 17px; }
footer .brand img { width: 24px; height: 24px; }
footer > span { margin-left: auto; color: var(--asfalt-zacht); }

.legal { max-width: 720px; padding: var(--space-8) var(--gutter) var(--space-9); }
.legal h1 { font-size: clamp(36px, 4vw, 56px); }
.legal h2 { margin-top: var(--space-7); font-size: 24px; }
.legal p, .legal ul { margin-top: var(--space-3); font-size: 17px; line-height: 1.6; }
.legal ul { padding-left: 1.2em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-date { color: var(--asfalt-zacht); font-size: 15px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); padding-bottom: var(--space-8); }
  .hero-copy { max-width: 680px; }
  .hero-preview { max-width: 820px; }
  .route-stop { grid-template-columns: 44px minmax(0, 1fr); }
  .stop-visual { grid-column: 2; }
  .features, .compare, .start, .faq { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .features .section-intro, .compare .section-intro, .start .section-intro, .faq .section-intro { position: static; }
  .demo-section { gap: var(--space-6); }
}

@media (max-width: 800px) {
  .site-header nav a:not(.nav-demo) { display: none; }
  .start-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-section { grid-template-columns: minmax(0, 1fr); padding: var(--space-6) var(--space-5); }
  .origin { padding: var(--space-6) var(--space-5); }
}

@media (max-width: 560px) {
  .site-header { height: 72px; gap: var(--space-4); }
  .brand { gap: var(--space-2); font-size: 20px; }
  .brand img { width: 26px; height: 26px; }
  /* The hero eyebrow still says Beta; the header needs the room for the demo link. */
  .brand .beta-tag { display: none; }
  .site-header nav { font-size: 14px; }
  .hero { padding-top: var(--space-4); }
  .hero-subtitle { font-size: 17px; }
  .button { width: 100%; }
  .preview-kicker span:last-child { display: none; }
  .day, .features, .compare, .start, .faq { padding-block: var(--space-8); }
  .route { gap: var(--space-8); }
  .route::before { left: 15px; }
  .route-stop { grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-4); }
  .stop-pin { width: 32px; height: 32px; border-width: 3px; font-size: 14px; }
  .start-steps { grid-template-columns: minmax(0, 1fr); }
  .paper { padding: var(--space-4); }
  .slip th, .slip td { padding-inline: var(--space-4); }
  .slip tr:not(.slip-group) { display: grid; }
  .slip th[scope=row] { width: auto; padding-bottom: 0; }
  .slip tbody tr:not(.slip-group) + tr td { border-top: 0; }
  .compare-table thead { display: none; }
  .compare-table tr { display: grid; }
  .compare-table td:first-child { width: auto; padding-bottom: var(--space-2); }
  .compare-table td:first-child::before { content: "Gewone routeplanner: "; font-weight: 700; }
  .compare-table td:last-child { border-top: 0; }
  .demo-section { margin-bottom: var(--space-8); }
  footer { flex-wrap: wrap; gap: var(--space-3); }
  footer > a:last-child { width: 100%; }
}
