/* Layout: night-shift dispatch room. Dark ink ground, champagne-bronze from the logo as the only accent,
   real dashboard screenshots carry the colour. Sections alternate text/screen; pricing reads like a rate card. */
:root {
  --ink: #07090f;
  --ink-2: #0c1019;
  --surface: #121826;
  --surface-2: #182033;
  --line: rgba(214, 188, 147, 0.16);
  --line-strong: rgba(214, 188, 147, 0.34);
  --fg: #f3eee6;
  --muted: #a7a093;
  --faint: #938c80;
  --gold: #d6bc93;
  --gold-hi: #ecd8b4;
  --bronze: #a9824f;
  --on-gold: #17120a;
  /* real status colours from the dashboard, used only to show statuses */
  --st-green: #22c55e;
  --st-blue: #3b82f6;
  --st-amber: #f59e0b;
  --st-red: #ef4444;
  --st-cyan: #0ea5e9;
  --st-grey: #94a3b8;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --w: 1180px;
  --radius: 14px;
  /* filled gold surfaces with dark text on them (buttons, tags) */
  --gold-fill: #d6bc93;
  --gold-fill-hi: #ecd8b4;
  --glass: rgba(7, 9, 15, 0.82);
  --dot: #2a3142;
  color-scheme: dark;
}

/* Light theme, same as the FleetChasing Route Planner: warm paper, dark ink,
   gold darkened for readability. Filled gold (buttons, tags) stays champagne. */
:root[data-theme='light'] {
  --ink: #f6f2ea;
  --ink-2: #efe9de;
  --surface: #ffffff;
  --surface-2: #f3eee5;
  --line: rgba(60, 45, 20, 0.12);
  --line-strong: rgba(60, 45, 20, 0.28);
  --fg: #17140f;
  --muted: #6a6458;
  --faint: #6f685c;
  --gold: #7a5c33;
  --gold-hi: #6b5130;
  --bronze: #7a5c33;
  --on-gold: #17120a;
  --st-green: #16a34a;
  --st-blue: #1d4ed8;
  --st-amber: #b45309;
  --st-red: #dc2626;
  --st-cyan: #0369a1;
  --st-grey: #475569;
  --glass: rgba(246, 242, 234, 0.9);
  --dot: #d9d2c4;
  color-scheme: light;
}
:root[data-theme='light'] .browser { box-shadow: 0 30px 80px -40px rgba(60, 45, 20, .35), 0 0 0 1px rgba(60, 45, 20, .08); }
:root[data-theme='light'] .phone { box-shadow: 0 24px 60px -24px rgba(60, 45, 20, .45); }
:root[data-theme='light'] .plan.pop,
:root[data-theme='light'] .vs-col.after { background: linear-gradient(180deg, rgba(133,102,58,.08), var(--surface) 50%); }
:root[data-theme='light'] .form-msg { background: rgba(133,102,58,.06); }
/* the logo is light on transparent: give it a dark tile, like in the route planner */
:root[data-theme='light'] .nav-logo { background: #07090f; padding: 6px 10px; border-radius: 10px; }
:root[data-theme='light'] footer img { background: #07090f; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }

/* theme switch */
.theme-btn {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer;
}
.theme-btn:hover { border-color: var(--gold); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme='light'] .theme-btn .sun { display: none; }
:root[data-theme='light'] .theme-btn .moon { display: block; }


* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; overflow-wrap: break-word; hyphens: manual; }
h1 {
  font-weight: 850;
  font-style: italic;
  font-stretch: 112%;
  font-size: clamp(2.5rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
h2 {
  font-weight: 800;
  font-style: italic;
  font-stretch: 110%;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
h3 { font-weight: 750; font-stretch: 105%; font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  font: 600 0.98rem/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-fill-hi), var(--gold-fill)); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-fill-hi); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.btn:active { transform: translateY(1px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.nav-logo { display: flex; flex: none; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .sym { width: 38px; height: auto; }
.nav-logo .txt { width: 150px; height: auto; }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.nav-links a { white-space: nowrap; }
/* compact links at every width: since the Oplossingen/Prijzen items the full-size bar no longer fits next to the logo */
.nav-links { gap: 16px; margin-left: 0; } .nav-links a { font-size: 0.9rem; }
@media (max-width: 1200px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav-logo .txt { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 72px 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 640px;
  background: radial-gradient(60% 60% at 50% 30%, rgba(214, 188, 147, 0.13), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero-top > div { min-width: 0; }
.hero h1 .gold { display: inline; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; }
.hero-side { display: grid; gap: 22px; padding-bottom: 6px; }
.offer {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; background: rgba(214, 188, 147, 0.06);
}
.offer b { color: var(--gold-hi); font-weight: 600; }
.offer .tag {
  flex: none; font: 600 0.72rem/1 var(--f-mono); letter-spacing: 0.08em;
  background: var(--gold-fill); color: var(--on-gold); border-radius: 6px; padding: 6px 7px; margin-top: 2px;
}
.offer p { font-size: 0.96rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; gap: 28px; } }

.stage { position: relative; margin-top: 56px; padding-bottom: 72px; }
.browser {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0,0,0,.4);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: var(--ink-2);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); display: block; }
.browser-bar .url {
  margin-left: 10px; flex: 1; min-width: 0;
  font: 0.78rem/1 var(--f-mono); color: var(--faint);
  background: var(--surface); border-radius: 6px; padding: 7px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; height: auto; }
.phone {
  position: absolute; right: -8px; bottom: 24px; width: 23%; max-width: 250px;
  border-radius: 34px; padding: 9px; background: #05070b;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.95);
}
.phone img { border-radius: 26px; width: 100%; height: auto; }
.shot-note {
  margin-top: 14px; font: 0.8rem/1.4 var(--f-mono); color: var(--faint);
  display: flex; align-items: center; gap: 8px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 700px) { .stage .phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -60px 0 0 auto; } }

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--ink-2); }
.facts ul {
  list-style: none; margin: 0 auto; padding-block: 22px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.facts li { display: grid; gap: 2px; }
.facts .k { font: 500 0.74rem/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.facts .v { color: var(--fg); font-size: 0.98rem; }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .facts ul { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
section { padding-block: 96px; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 52px; }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why article { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.why article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.why p { color: var(--muted); }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why article, .why article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* feature rows */
.feature {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 56px; align-items: center;
  padding-block: 56px; border-top: 1px solid var(--line);
}
.sec-head + .feature { border-top: 0; padding-top: 0; }
.feature.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr); }
.feature.flip .copy { order: 2; }
.feature .copy { display: grid; gap: 16px; min-width: 0; }
.feature .copy p { color: var(--muted); }
.feature .media { min-width: 0; }
.feature .media .browser { box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 9px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.97rem; color: var(--fg); }
.ticks li::before { content: ""; width: 12px; height: 7px; margin-top: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px; white-space: nowrap;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
:root[data-theme='light'] .chip { color: color-mix(in srgb, var(--c) 60%, #000); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
}

/* status rail */
.rail-box {
  margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-2); padding: 28px; display: grid; gap: 22px;
}
.rail-scroll { overflow-x: auto; padding-bottom: 4px; }
.rail-wrap { display: grid; gap: 12px; }
.rail { display: flex; align-items: center; gap: 0; min-width: 760px; }
.rail .step { display: grid; justify-items: center; gap: 10px; flex: 1; position: relative; text-align: center; }
.rail .step::after {
  content: ""; position: absolute; top: 9px; left: 50%; width: 100%; height: 2px; background: var(--line-strong); z-index: 0;
}
.rail .step:last-child::after { display: none; }
.rail .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--gold); position: relative; z-index: 1; }
.rail .step.done .dot { background: var(--gold-fill); }
.rail .step.final .dot { background: var(--st-green); border-color: var(--st-green); }
.rail .lbl { font: 500 0.72rem/1.3 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); }
.rail .who { font-size: 0.8rem; color: var(--faint); }
.rail-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.rail-foot p { color: var(--muted); font-size: 0.96rem; }
.rail-foot h4 { margin: 0 0 8px; font: 600 0.95rem/1.3 var(--f-body); color: var(--fg); }
@media (max-width: 700px) { .rail-foot { grid-template-columns: 1fr; } }

/* phone feature */
.phone-solo { width: min(300px, 80%); margin: 0 auto; position: static; }

/* how it works */
.how { background: var(--ink-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
.steps li { list-style: none; display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--gold); }
.steps .n { font: 500 0.8rem/1 var(--f-mono); color: var(--gold); letter-spacing: 0.12em; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* FAQ: answers always visible (no accordion) */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.faq-item { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.faq-item h3 { font-size: 1.15rem; }
.faq-item p { color: var(--muted); }
.faq-item a { color: var(--gold); }
@media (max-width: 860px) { .faq-list { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 28px 26px;
}
.plan.pop { border-color: var(--gold); background: linear-gradient(180deg, rgba(214,188,147,.10), var(--surface) 45%); }
.plan .pop-tag {
  position: absolute; top: -12px; left: 26px;
  font: 600 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold-fill); color: var(--on-gold); padding: 6px 9px; border-radius: 6px;
}
.plan .tier { font: 500 0.74rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.plan h3 { font-size: 1.6rem; font-style: italic; font-stretch: 110%; }
.plan .pitch { color: var(--muted); font-size: 0.97rem; min-height: 4.8em; }
.price { display: grid; gap: 6px; padding-block: 16px; border-block: 1px solid var(--line); }
.price .row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px; }
.price .now { font-family: var(--f-display); font-weight: 800; font-stretch: 105%; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price .was { color: var(--faint); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price .off { font: 600 0.68rem/1 var(--f-mono); color: var(--on-gold); background: var(--gold-fill); padding: 4px 6px; border-radius: 4px; }
.price .unit { color: var(--muted); font-size: 0.88rem; }
.price .monthly { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.price .monthly .m { font-family: var(--f-display); font-weight: 750; font-size: 1.45rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.drivers { font: 500 0.88rem/1.2 var(--f-mono); color: var(--fg); }
.plan .base { font-weight: 600; font-size: 0.95rem; }
.plan .ticks li { font-size: 0.94rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan .pitch { min-height: 0; } }
.price-note { margin-top: 20px; color: var(--faint); font-size: 0.9rem; }

/* swipe hint: only shown (by JS) when the row really overflows */
.swipe-hint {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font: 500 0.74rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
}
.swipe-hint.center { justify-content: center; }
.swipe-hint .hand { display: inline-flex; gap: 2px; }
.swipe-hint .hand::before, .swipe-hint .hand::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid var(--gold); border-top: 2px solid var(--gold); transform: rotate(45deg);
}
.swipe-hint .hand::after { opacity: .5; }
@media (prefers-reduced-motion: no-preference) { .swipe-hint .hand { animation: nudge 1.6s ease-in-out infinite; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.fade-r {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 56px), transparent 100%);
}

/* comparison table (collapsible) */
.compare { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.compare > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px;
  padding: 20px 24px; border-radius: var(--radius);
}
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary:hover .cmp-toggle { border-color: var(--gold); }
.compare .cmp-title { font-family: var(--f-display); font-weight: 750; font-stretch: 105%; font-style: italic; font-size: 1.4rem; line-height: 1.2; }
.compare .cmp-sub { color: var(--muted); font-size: 0.92rem; flex-basis: 100%; order: 3; }
.cmp-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font: 600 0.9rem/1 var(--f-body); color: var(--fg); white-space: nowrap;
}
.cmp-toggle .chev { width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.compare[open] > summary .cmp-toggle .chev { transform: translateY(2px) rotate(-135deg); }
.compare > summary .when-open { display: none; }
.compare[open] > summary .when-open { display: inline; }
.compare[open] > summary .when-closed { display: none; }
.compare[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.compare .cmp-body { display: grid; gap: 12px; padding: 14px 0 0; }
.compare .cmp-body .swipe-hint { padding: 0 24px; }
.compare .swipe-hint[hidden] + .table-wrap { margin-top: -14px; }
@media (max-width: 520px) { .compare > summary { padding: 18px; } .cmp-toggle { margin-left: 0; } .compare .cmp-body .swipe-hint { padding: 0 18px; } }
.table-wrap { overflow-x: auto; }
/* custom (Op maat) tables: text cells instead of ticks */
.custom-cmp { margin-top: 0; }
.custom-cmp + .custom-cmp { margin-top: 16px; }
table.txt { min-width: 860px; }
table.txt td, table.txt thead th { text-align: left; }
table.txt td { color: var(--muted); font-size: 0.88rem; line-height: 1.45; vertical-align: top; width: 26%; }
table.txt td.no { color: var(--faint); }
table.txt tbody th { vertical-align: top; width: 22%; }
table.txt thead th span { display: block; }
.cmp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cmp-foot p { flex: 1 1 420px; margin: 0; color: var(--faint); font-size: 0.86rem; line-height: 1.5; }
.price-note a { color: var(--gold); }
/* ready-made plans live inside a collapsible block */
.compare.outer { margin-top: 16px; }
.outer-body { display: grid; gap: 0; padding: 24px; }
.outer-body .compare { margin-top: 24px; }
.outer-body .included { margin-top: 24px; }
@media (max-width: 520px) { .outer-body { padding: 14px; } }

/* automation block under the TMS cards */
.auto { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); display: grid; gap: 22px; }
.auto-head { display: grid; gap: 8px; max-width: 760px; }
.auto-head h3, .auto-head h2 { font-size: 1.6rem; font-style: italic; }
.auto-main { margin-top: 0; }
.auto-main .auto-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; }
.auto-head p:last-child { color: var(--muted); margin: 0; }
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.auto-card { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.auto-card h3, .auto-card h4 { font-size: 1rem; font-weight: 700; font-stretch: 100%; line-height: inherit; }
.auto-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.auto-card .lvl { display: grid; gap: 3px; padding-top: 8px; border-top: 1px solid var(--line); }
.auto-card .lvl .tag { font: 500 0.68rem/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.auto-card.partner { border-style: dashed; background: transparent; }
@media (max-width: 1000px) { .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .auto { padding: 18px; } .auto-grid { grid-template-columns: 1fr; } }

/* problem: today vs with FleetChasing */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs-col { display: grid; gap: 18px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.vs-col.after { border-color: var(--gold); background: linear-gradient(180deg, rgba(214,188,147,.10), var(--surface) 55%); }
.vs-col h3 { font-size: 1.4rem; font-style: italic; }
.vs-col.before h3 { color: var(--muted); }
.crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.crosses li { position: relative; padding-left: 28px; color: var(--muted); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 3px; top: 0.72em; width: 13px; height: 2px; background: var(--st-red); border-radius: 2px; }
.crosses li::before { transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.vs-tag { margin: 28px 0 0; text-align: center; font-family: var(--f-display); font-weight: 800; font-style: italic; font-stretch: 105%; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--gold-hi); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .vs-col { padding: 22px; } }
@media (max-width: 520px) { .cmp-foot { padding: 18px; } }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
/* keep the feature names visible while swiping through the plans */
tbody th, thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--ink-2); }
thead th:first-child { background: var(--surface); z-index: 2; }
@media (max-width: 700px) {
  table { min-width: 0; width: auto; font-size: 0.86rem; }
  th, td { padding: 10px 12px; }
  tbody th, thead th:first-child { width: 150px; min-width: 150px; max-width: 150px; }
  td:not(:first-child), th:not(:first-child) { width: 116px; min-width: 116px; }
  table.txt td:not(:first-child), table.txt thead th:not(:first-child) { width: 210px; min-width: 210px; }
  table.txt tbody th, table.txt thead th:first-child { width: 140px; min-width: 140px; max-width: 140px; }
  tr.grp td { text-align: left; }
}
tr.grp td span { position: sticky; left: 12px; display: inline-block; }
thead th { font: 600 0.95rem/1.2 var(--f-body); background: var(--surface); position: sticky; top: 0; }
thead th small { display: block; font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
thead th.pop { color: var(--gold-hi); }
td:not(:first-child), th:not(:first-child) { text-align: center; width: 18%; }
tbody th { font-weight: 400; color: var(--muted); }
tr.grp td { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding-top: 22px; background: transparent; text-align: left; }
.yes { color: var(--gold); font-weight: 600; }
.no { color: var(--faint); }
.num { font-variant-numeric: tabular-nums; }
.num s { color: var(--faint); margin-left: 6px; font-size: 0.85em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* included */
.included { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 72px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.included > div { padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.included > div + div { border-left: 1px solid var(--line); }
.included h4 { margin: 0; font: 600 0.98rem/1.3 var(--f-body); }
.included p { color: var(--muted); font-size: 0.9rem; }
.included .ttl { grid-column: 1 / -1; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 20px; font: 500 0.76rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 960px) {
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included > div + div { border-left: 0; }
  .included > div:not(.ttl) { border-top: 1px solid var(--line); }
  .included > div:nth-child(even):not(.ttl) { border-right: 1px solid var(--line); }
}
@media (max-width: 520px) { .included { grid-template-columns: 1fr; } .included > div:nth-child(even):not(.ttl) { border-right: 0; } }

/* demo */
.demo { padding-block: 96px 110px; }
.demo-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 48px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(214,188,147,.12), transparent 60%),
    var(--surface);
}
.demo-card .copy { display: grid; gap: 18px; align-content: start; }
.demo-card .copy p { color: var(--muted); }
form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--fg);
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 0.92rem; color: var(--gold-hi); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; background: rgba(214,188,147,.06); }
.calc-teaser { display: grid; gap: 0; align-content: start; padding: 24px; border: 1px solid var(--gold); border-radius: 16px; background: var(--surface); }
.calc-teaser .ct-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.calc-teaser .ct-row b { font-family: var(--f-display); font-style: italic; font-weight: 800; color: var(--gold); white-space: nowrap; }
.calc-teaser .btn { margin-top: 20px; }
.calc-teaser .ct-note { margin: 12px 0 0; color: var(--faint); font-size: 0.84rem; text-align: center; }
@media (max-width: 860px) { .demo-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 32px; } }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 36px; }
footer img { width: 120px; height: auto; }
footer p { color: var(--faint); font-size: 0.88rem; }
/* footer: brand + three link columns, legal row underneath */
footer .foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; align-items: start; }
footer .foot-brand { display: grid; gap: 14px; justify-items: start; }
footer .foot-brand p { margin: 0; max-width: 260px; line-height: 1.5; }
footer .foot-col { display: grid; gap: 10px; align-content: start; }
footer .foot-col .t { margin-bottom: 4px; font: 500 0.74rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
footer .foot-col a { color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
footer .foot-col a:hover, footer .foot-col a[aria-current="page"] { color: var(--fg); }
footer .legal-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.84rem; }
@media (max-width: 900px) { footer .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } footer .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; } footer .foot-sol { grid-row: 3; grid-column: 1 / -1; } }
footer .legal-row a { color: var(--faint); text-decoration: none; }
footer .legal-row a:hover { color: var(--fg); }
.form-legal { margin: 0; color: var(--faint); font-size: 0.84rem; line-height: 1.5; }
.form-legal a { color: var(--gold); }

/* gentle entrance, visible at rest */
@media (prefers-reduced-motion: no-preference) {
  .hero-top, .stage { animation: rise .7s ease both; }
  .stage { animation-delay: .12s; }
}
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }

/* language switch */
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button {
  font: 600 0.78rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; min-height: 32px;
}
.lang button[aria-pressed="true"] { background: var(--gold-fill); color: var(--on-gold); }
.lang button:not([aria-pressed="true"]):hover { color: var(--fg); }

/* price on request */
.ask { display: grid; gap: 4px; padding-block: 16px; border-block: 1px solid var(--line); }
.ask .t { font-family: var(--f-display); font-weight: 800; font-stretch: 105%; font-size: 1.5rem; line-height: 1.1; color: var(--gold-hi); }
.ask .s { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 380px) { .nav-cta .btn { display: none; } }

/* driver app */
.app-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); display: grid; gap: 40px; }
.app-head { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.app-head .copy { display: grid; gap: 16px; min-width: 0; }
.app-head .side { display: grid; gap: 14px; min-width: 0; }
.app-head .side p { color: var(--muted); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 900px; width: 100%; margin: 0 auto; }
.phones figure { margin: 0; display: grid; gap: 14px; justify-items: center; min-width: 0; }
.phones .phone { position: static; width: 100%; max-width: 270px; margin: 0; }
.phones figcaption { font: 500 0.76rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .app-head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) {
  .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .phones figure { scroll-snap-align: center; }
}

/* compact nav on phones (keep last so it overrides the base nav rules) */
.nav-cta .btn { white-space: nowrap; }
@media (max-width: 440px) {
  .nav .wrap { gap: 10px; }
  .nav-logo, .nav-logo .sym { flex: none; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding-inline: 12px; font-size: 0.86rem; }
  .theme-btn { width: 34px; height: 34px; }
  :root[data-theme='light'] .nav-logo { padding: 5px 6px; }
  .lang button { padding-inline: 8px; }
}
@media (max-width: 392px) { .nav-logo .sym { width: 32px; } }

/* ---------- phone menu (<details>, works without JavaScript) ---------- */
.menu { display: none; position: static; }
.menu > summary {
  list-style: none; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { border-color: var(--gold); }
.menu .bars { display: grid; gap: 4px; width: 16px; }
.menu .bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu[open] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .bars i:nth-child(2) { opacity: 0; }
.menu[open] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; gap: 2px; padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
  background: var(--ink); border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6);
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.menu-panel a:not(.btn) { padding: 13px 4px; text-decoration: none; color: var(--fg); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.menu-panel a:not(.btn):hover { color: var(--gold); }
.menu-panel .btn { margin-top: 14px; justify-self: start; }
.nav-cta .menu-panel .btn { display: inline-flex; min-height: 46px; padding: 0 22px; font-size: 0.95rem; } /* beats the phone rules that hide the header button */
@media (max-width: 1200px) { .menu { display: block; } }
@media (max-width: 520px) { .nav-cta > .btn { display: none; } }

/* ---------- money pages (scripts/page-template.html) ---------- */
.page-hero { padding-block: 64px 40px; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.page-hero .wrap > * { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
.crumbs { font-family: var(--f-mono); font-size: 0.78rem; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { margin-inline: 0.5em; }
.page-hero .crumbs { margin-bottom: -10px; }
.page-hero .tldr { gap: 8px; }
.page-body { padding-top: 24px; }
.h2-sm { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
figure.media { margin: 0; }
.page-section { padding-block: 72px; }
.page-section .sec-head { margin-bottom: 36px; }
.page-table { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.page-table .swipe-hint { padding: 14px 20px 0; }
.page-note { margin-top: 24px; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }
.page-note a { color: var(--gold); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.two-col .copy { display: grid; gap: 16px; align-content: start; }
.two-col .copy > p { color: var(--muted); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }
.page-end .wrap { display: grid; gap: 18px; }
/* subpages: one calm rhythm, no stacked padding between sections */
.page-hero ~ section { padding-block: 56px; }
.page-hero ~ .how { padding-block: 64px; }
.page-hero + section { padding-top: 16px; }
.page-hero + .how, .page-hero + .faq { padding-top: 56px; }
.page-hero ~ section .wrap > .feature:first-child { padding-top: 0; border-top: 0; }
.page-hero ~ section .wrap > .feature:last-child { padding-bottom: 0; }
.page-hero ~ .faq + .faq { padding-top: 8px; }
.page-hero ~ section:last-of-type { padding-bottom: 72px; }
.ai-doc .wrap > h2:first-child { margin-top: 0; }
@media (max-width: 600px) { .page-hero ~ section { padding-block: 44px; } .page-hero ~ .how { padding-block: 52px; } .page-hero + section { padding-top: 12px; } .page-hero ~ .faq + .faq { padding-top: 4px; } }
.menu-panel .menu-group { margin: 14px 4px 0; font: 500 0.74rem/1.3 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.menu-panel a[aria-current="page"] { color: var(--gold); }
/* homepage H1: search term as a small first line above the slogan */
.h1-kw { display: block; margin-bottom: 14px; font-size: clamp(1.05rem, 1.9vw, 1.45rem); font-weight: 750; font-stretch: 105%; line-height: 1.25; letter-spacing: 0; color: var(--muted); }

/* ---------- links in running text, "Oplossingen" dropdown, footer row ---------- */
.auto-card p a, .lede a { color: var(--gold); text-underline-offset: 3px; }
.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none; cursor: pointer; color: var(--muted); font-size: 0.95rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-drop[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-drop > summary:hover, .nav-drop[open] > summary { color: var(--fg); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: -14px; z-index: 30; min-width: 280px;
  display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--ink); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.nav-drop-panel a { padding: 10px 12px; border-radius: 8px; color: var(--fg) !important; font-size: 0.95rem; }
.nav-drop-panel a:hover { background: var(--ink-2); }
.nav-drop-panel a[aria-current="page"] { color: var(--gold) !important; }
@media (max-width: 1180px) { .nav-drop > summary { font-size: 0.9rem; } }

/* ---------- /ai: plain fact sheet ---------- */
.page-meta { color: var(--muted); font: 500 0.85rem/1.5 var(--f-mono); }
.page-meta a { color: var(--gold); }
.ai-doc .wrap { display: grid; gap: 18px; max-width: 900px; margin-left: auto; margin-right: auto; }
.ai-doc h2 { margin-top: 28px; }
.ai-doc p { color: var(--muted); max-width: 72ch; }
.ai-doc p a, .facts-list a, .link-list a { color: var(--gold); }
.facts-list { display: grid; grid-template-columns: minmax(140px, 0.28fr) 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts-list dt, .facts-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font: 500 0.78rem/1.5 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding-right: 16px; }
.facts-list dd { color: var(--fg); }
@media (max-width: 600px) { .facts-list { grid-template-columns: 1fr; } .facts-list dt { border-bottom: 0; padding-bottom: 0; } }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
