/* Streetwise marketing site. Tokens in tokens.css; this file only uses var(--*). Mobile first.
   System: "Street Grid & Signal" (DESIGN.md). Hairlines over shadows; radius by role (data 2, panel 4, control 6, pill).
   Storefront hero only: tint band, --radius-hero, --shadow-raise (DESIGN.md §4). */

/* ===== SECTION: base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: transparent; /* html paints --paper; the glow orbs sit between the two */ color: var(--text); font: 400 var(--fs-body) / 1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal-dark); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: var(--radius-data); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-md); top: -60px; z-index: 50; padding: var(--s-sm) var(--s-md); background: var(--ink); color: var(--text-inverse); border-radius: var(--radius-control); }
.skip:focus { top: var(--s-sm); }
/* tabular figures wherever numbers line up or roll */
.num, .odo, .sheet-stats, .mva-t, .rc-stats { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ===== SECTION: layout ===== */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-md); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s-lg); } }
.narrow { max-width: calc(var(--measure) + 2 * var(--s-lg)); }
.section { padding: var(--s-xl) 0; }
@media (min-width: 900px) { .section { padding: var(--s-xxl) 0; } }
.section-sunk { background: var(--paper-2); }

/* ===== SECTION: type ===== */
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-display); text-wrap: balance; }
p { margin: 0; max-width: var(--measure); }
.display { font-size: var(--fs-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
/* section heads one clear step below the hero h1 */
.headline { font-size: var(--fs-headline); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.title { font-size: var(--fs-title); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text-muted); margin-top: var(--s-md); }
.label { font-family: var(--font); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.eyebrow { color: var(--signal); margin-bottom: var(--s-md); }

/* ===== SECTION: buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-sm); min-height: 48px; padding: 12px 20px; border-radius: var(--radius-control); border: 1px solid transparent; font: 500 15px / 1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.btn:hover { box-shadow: var(--shadow-hover); }
.btn-primary { background: var(--signal); color: var(--on-signal); }
/* every primary button: a soft teal glow on hover, the 2px lift only when motion is allowed */
.btn-primary:hover { background: var(--signal-dark); color: var(--on-signal); box-shadow: 0 8px 24px -10px var(--signal-bright); }
@media (prefers-reduced-motion: no-preference) { .btn-primary:hover { transform: translateY(-2px); } }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-inverse { background: var(--signal); color: var(--on-signal); }
.btn-inverse:hover { background: var(--signal-dark); color: var(--on-signal); box-shadow: 0 8px 24px -10px var(--signal-bright); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }

/* ===== SECTION: tags (DEMO-DATA, JIJ) ===== */
/* DEMO-DATA reads as a data annotation, not a sticker */
.badge-demo { flex: none; display: inline-block; white-space: nowrap; font: 500 11px / 1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.04em; background: transparent; color: var(--signal); border: 1px solid var(--signal); border-radius: var(--radius-data); padding: 2px 6px; }
/* the client is the thing that needs fixing: alert, not brand */
.you-chip { display: inline-block; font: 600 11px / 1.4 var(--font); letter-spacing: 0.04em; color: var(--alert); background: var(--alert-soft); border: 1px solid var(--alert); border-radius: var(--radius-pill); padding: 0 6px; margin-left: 4px; white-space: nowrap; vertical-align: 1px; }

/* ===== SECTION: header ===== */
.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line-inverse); background: var(--ink); } /* solid ink band, like the footer (DESIGN.md §4) */
.top .brand, .top .brand:hover, .top .brand span, .top .mark, .top .menu-text, .top .nav a, .top .login { color: var(--text-inverse); }
.top .mark-pin { fill: var(--signal-bright); }
.top .menu-icon, .top .menu-icon::before, .top .menu-icon::after { background: var(--text-inverse); }
.top .nav a:hover, .top .nav a[aria-current="page"], .top .lang:hover, .top .login:hover { color: var(--signal-bright); }
.top .lang { color: color-mix(in srgb, var(--text-inverse) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: var(--s-md); min-height: 64px; }
/* wordmark: Inter 700, tight tracking; the mark carries the signal colour, the name stays ink */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.2rem / 1 var(--font); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand span { color: var(--ink); }
.wm { font-weight: 650; letter-spacing: -0.045em; }
.wm-i { position: relative; }
.wm-i::after { content: ""; position: absolute; left: 50%; top: -0.02em; width: 0.2em; height: 0.2em; transform: translateX(-50%); background: var(--signal-bright); }
.mark { width: 28px; height: 28px; flex: none; color: var(--ink); overflow: visible; }
.mark-pin { fill: var(--signal); }
.menu { order: 3; margin-left: auto; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: var(--s-sm); min-height: 44px; min-width: 44px; justify-content: center; cursor: pointer; border-radius: var(--radius-control); }
.menu summary::-webkit-details-marker { display: none; }
.menu-text { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: var(--radius-data); }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu[open] nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line-inverse); padding: var(--s-sm) var(--s-md) var(--s-md); }
.nav { list-style: none; margin: 0; padding: 0; display: grid; }
.nav a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; transition: color var(--dur) var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--signal-dark); }
.top-actions { display: flex; align-items: center; gap: var(--s-sm); margin-left: auto; }
.top-actions .login { display: none; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--text-muted); font-weight: 600; font-size: 0.875rem; text-decoration: none; letter-spacing: 0.04em; }
.lang:hover, .login:hover { color: var(--signal-dark); }
.login { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 0 var(--s-sm); }
@media (max-width: 420px) { .menu-text { display: none; } .top-actions .btn { padding: 0 12px; } .brand span { font-size: 1.05rem; } }
@media (min-width: 1000px) {
  .menu { order: 0; margin-left: var(--s-lg); }
  .menu summary { display: none; }
  .menu nav, .menu[open] nav { display: block; position: static; padding: 0; border: 0; background: none; }
  .nav { display: flex; gap: var(--s-lg); }
  .nav a { padding: var(--s-sm) 0; }
  .top-actions .login { display: inline; }
}
/* a closed <details> hides its content; on desktop show the nav regardless */
@media (min-width: 1000px) { .menu::details-content { content-visibility: visible; display: contents; } }
@media (max-width: 420px) { .top-in { gap: 4px; } .top-actions { gap: 4px; } .lang { min-width: 36px; } .mark { width: 24px; height: 24px; } .brand { gap: 8px; } }

/* ===== SECTION: footer ===== */
.foot { border-top: 1px solid var(--line-inverse); padding: var(--s-xl) 0 var(--s-lg); background: var(--ink); color: var(--text-inverse); }
.foot-in { display: grid; gap: var(--s-lg); }
@media (min-width: 720px) { .foot-in { grid-template-columns: 2fr 1fr 1fr; } }
.foot .brand { color: var(--text-inverse); } /* mark on ink: inverse dots, bright signal pin */
.foot .mark { color: var(--text-inverse); } .foot .mark-pin { fill: var(--signal-bright); }
.foot .brand span, .foot h2, .foot h3, .foot .label { color: var(--text-inverse); }
.foot p { color: var(--text-inverse); opacity: 0.72; margin-top: var(--s-sm); font-size: var(--fs-small); }
.foot ul { list-style: none; margin: var(--s-sm) 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--fs-small); }
.foot a:not(.brand) { color: var(--text-inverse); text-decoration: none; }
.foot a:not(.brand):hover { color: var(--signal-bright); text-decoration: underline; }

/* ===== SECTION: feature-page hero ===== */
.hero { padding: var(--s-lg) 0 var(--s-xl); overflow: hidden; }
.hero-in { display: grid; gap: var(--s-lg); align-items: center; }
@media (min-width: 1000px) { .hero { padding: var(--s-xl) 0 var(--s-xxl); } .hero-in { grid-template-columns: 5fr 6fr; gap: var(--s-xl); } }
.hero .display { font-size: clamp(2.4rem, 4.3vw, 4rem); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-lg); }
.reassure { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.hero-visual { width: 100%; max-width: 560px; justify-self: end; }
.hero-feature .hero-visual .report-preview .map { max-width: 360px; margin: 0 auto; }

/* ===== SECTION: shared blocks (lists, steps, finale, next) ===== */
.split { display: grid; gap: var(--s-lg); }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: var(--s-xl); } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; }
.ticks li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; max-width: var(--measure); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--signal); }
@media (min-width: 720px) { .ticks-2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-lg); } .ticks-2 li:nth-last-child(2) { border-bottom: 1px solid var(--line); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-md); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-md); align-items: baseline; }
.step-n { font: 700 1.75rem / 1 var(--font-display); color: var(--signal); }
.after-steps { margin-top: var(--s-lg); }
.next { padding-top: var(--s-xl); padding-bottom: var(--s-xl); }
.next ul { list-style: none; margin: var(--s-sm) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-sm) var(--s-lg); }
.next a { font-weight: 600; font-size: 1.125rem; }

/* ===== SECTION: finale (ink band, street grid bookend) ===== */
.finale { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--text-inverse); padding: var(--s-xl) 0; }
@media (min-width: 900px) { .finale { padding: clamp(64px, 7vw, 96px) 0; } }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--signal-bright) 10%, transparent), transparent 70%); }
.finale .headline { color: var(--text-inverse); max-width: 22ch; }
.finale .lead { color: var(--text-inverse); opacity: 0.78; }
.finale-cta { margin-top: var(--s-lg); }

/* ===== SECTION: heatmap sheet (signature) ===== */
.sheet { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); padding: var(--s-md); }
@media (min-width: 720px) { .sheet { padding: 20px 24px; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-md); }
.sheet-biz { font-weight: 600; color: var(--ink); }
.sheet-kw { font-size: var(--fs-small); color: var(--text-muted); }
.sheet-stats { display: flex; gap: var(--s-lg); margin: var(--s-md) 0; }
.sheet-stats div { display: grid; }
.sheet-stats dt { font-size: var(--fs-label); color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.sheet-stats dd { margin: 0; font: 600 1.5rem / 1.2 var(--font-display); color: var(--ink); }
.map { position: relative; display: grid; grid-template-columns: 18px 1fr; grid-template-rows: 18px 1fr; gap: 6px; }
.axis { display: grid; color: var(--text-muted); font-size: 0.7rem; text-align: center; }
.axis-x { grid-column: 2; grid-auto-flow: column; grid-auto-columns: 1fr; }
.axis-y { grid-row: 2; grid-auto-rows: 1fr; align-items: center; }
.streets, .pts { grid-column: 2; grid-row: 2; }
/* warm map: paper ground, hairline streets, water one paper step darker */
.streets { width: 100%; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); }
.streets path { fill: none; stroke: var(--line); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.streets .water { stroke: var(--paper-2); stroke-width: 10; }
.pts { list-style: none; margin: 0; padding: 4px; display: grid; gap: 4px; aspect-ratio: 1; }
.map.size-3 .pts { grid-template-columns: repeat(3, 1fr); } .map.size-5 .pts { grid-template-columns: repeat(5, 1fr); }
.map.size-7 .pts { grid-template-columns: repeat(7, 1fr); } .map.size-9 .pts { grid-template-columns: repeat(9, 1fr); }
.map.size-11 .pts { grid-template-columns: repeat(11, 1fr); } .map.size-13 .pts { grid-template-columns: repeat(13, 1fr); } .map.size-15 .pts { grid-template-columns: repeat(15, 1fr); }
.pt { position: relative; display: grid; place-items: center; container-type: inline-size; }
.pt span[aria-hidden] { display: grid; place-items: center; width: clamp(22px, 70%, 34px); aspect-ratio: 1; border-radius: 50%; font-weight: 600; font-size: clamp(0.7rem, 1.6vw, 0.85rem); box-shadow: 0 0 0 1.5px var(--paper); }
.pt-top span[aria-hidden], .legend .pt-top { background: var(--heat-top); color: var(--on-heat); }
.pt-mid span[aria-hidden], .legend .pt-mid { background: var(--heat-mid); color: var(--on-heat); }
.pt-low span[aria-hidden], .legend .pt-low { background: var(--heat-low); color: var(--on-heat); }
/* 20+: dashed ring = "missing", reads at a glance and in greyscale print */
.pt-none span[aria-hidden] { background: var(--paper); color: var(--alert); border: 1.5px dashed var(--alert); box-shadow: none;
  font-size: min(calc(clamp(22px, 70cqi, 34px) * 0.42), 0.72rem); letter-spacing: -0.03em; } /* "20+" scales with the dot (same clamp as the dot width), so it always fits inside the ring */
.legend .pt-none { background: var(--paper); border: 1.5px dashed var(--alert); }
.pt-off span[aria-hidden] { background: var(--paper-2); color: var(--text-muted); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .pt span[aria-hidden] { transition: transform var(--dur) var(--ease-out); }
  .pt:hover { z-index: 2; }
  .pt:hover span[aria-hidden] { transform: scale(1.18); }
}
.sheet-foot { margin-top: 12px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-label); color: var(--text-muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
/* hover/focus tooltip per point ("Punt B2: Positie 2 (Top 3)"); the same text is in the sr-only span */
.pt[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; z-index: 3; pointer-events: none;
  padding: 4px 8px; white-space: nowrap; font: 500 0.72rem / 1.3 var(--font); color: var(--text-inverse); background: var(--ink); border-radius: var(--radius-data); }
/* top-3 points pulse once the hero sequence is done: a ring that grows and fades, the dot itself stays still */
@keyframes pt-ping { 0% { opacity: 0.6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: no-preference) {
  .pt-top::before { content: ""; position: absolute; width: clamp(22px, 70cqi, 34px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--heat-top); pointer-events: none;
    animation: pt-ping 2.4s var(--ease-out) 2.4s infinite both; }
}
@media print { .pt-top::before, .pt[data-tip]::after { display: none; } }
/* one-time scan sweep from the centre outward */
@keyframes pt-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
.sheet-animate .pt span[aria-hidden] { animation: pt-in 320ms var(--ease-out) both; }
.sheet-animate .ring-1 span[aria-hidden] { animation-delay: 120ms; } .sheet-animate .ring-2 span[aria-hidden] { animation-delay: 240ms; }
.sheet-animate .ring-3 span[aria-hidden] { animation-delay: 360ms; } .sheet-animate .ring-4 span[aria-hidden] { animation-delay: 480ms; }
.sheet-animate .ring-5 span[aria-hidden] { animation-delay: 600ms; } .sheet-animate .ring-6 span[aria-hidden] { animation-delay: 720ms; }
.sheet-animate .ring-7 span[aria-hidden] { animation-delay: 840ms; }

/* ===== SECTION: owners table ===== */
.owners { width: 100%; border-collapse: collapse; margin-top: var(--s-md); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.owners th, .owners td { text-align: right; padding: 10px 6px; border-top: 1px solid var(--line); white-space: nowrap; }
.owners thead th { font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); border-top: 0; }
.owners th:first-child { text-align: left; white-space: normal; font-weight: 600; color: var(--ink); }
.owners .is-client { background: var(--signal-soft); }
.you { display: inline-block; font-size: var(--fs-label); font-weight: 600; color: var(--signal-dark); }
.bar { display: inline-block; vertical-align: middle; width: 44px; height: 6px; background: var(--paper-2); border-radius: var(--radius-data); margin-right: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--heat-top); }
.w-0 { width: 0 } .w-1 { width: 10% } .w-2 { width: 20% } .w-3 { width: 30% } .w-4 { width: 40% } .w-5 { width: 50% } .w-6 { width: 60% } .w-7 { width: 70% } .w-8 { width: 80% } .w-9 { width: 90% } .w-10 { width: 100% }
@media (max-width: 480px) { .owners th:nth-child(4), .owners td:nth-child(4) { display: none; } .bar { display: none; } }

/* ===== SECTION: AI panel ===== */
.ai-label { margin: var(--s-md) 0 var(--s-sm); }
.ai-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.ai-rows li { display: grid; grid-template-columns: 6.5rem 1fr auto; align-items: center; gap: var(--s-md); padding: 12px 0; border-top: 1px solid var(--line); }
.ai-engine { font-weight: 600; color: var(--ink); }
.dots { display: flex; gap: 5px; flex-wrap: wrap; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.dots i.on { background: var(--signal-bright); border-color: var(--signal-bright); }
.ai-n { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .ai-rows li { grid-template-columns: 1fr auto; } .dots { grid-column: 1 / -1; order: 3; } }

/* ===== SECTION: report preview (reports page) ===== */
.report-preview { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); overflow: hidden; }
.report-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-md); padding: 12px var(--s-md); background: var(--ink); color: var(--text-inverse); }
.report-bar .label { color: var(--text-inverse); opacity: 0.85; }
.report-logo { font-weight: 700; letter-spacing: -0.01em; border: 1.5px dashed var(--text-inverse); padding: 2px 10px; border-radius: var(--radius-data); }
.report-preview .sheet { border: 0; border-radius: 0; }
.report-todo { padding: 0 var(--s-md) var(--s-md); }
.report-todo ol { margin: var(--s-sm) 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--fs-small); }

/* ===== SECTION: pricing page ===== */
.billing { display: inline-flex; margin-top: var(--s-lg); padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper-2); }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; font-size: var(--fs-small); color: var(--text-muted); }
.billing input:checked + label { background: var(--ink); color: var(--text-inverse); }
.billing input:focus-visible + label { outline: 2px solid var(--signal); outline-offset: 2px; }
.save { font-size: var(--fs-label); font-weight: 700; color: var(--signal-dark); background: var(--signal-soft); padding: 2px 6px; border-radius: var(--radius-pill); }
.plans { list-style: none; margin: var(--s-lg) 0 0; padding: 0; display: grid; gap: var(--s-md); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: var(--s-sm); padding: var(--s-lg) var(--s-md); border: 1px solid var(--line); border-radius: var(--radius-data); background: var(--paper); }
@media (min-width: 720px) { .plan { padding: var(--s-lg); } }
.plan-popular { border: 2px solid var(--signal); background: var(--signal-soft); }
.plan-flag { color: var(--signal-dark); }
.plan-for { color: var(--text-muted); font-size: var(--fs-small); }
.price { display: grid; margin-top: var(--s-sm); }
.price > span { grid-area: 1 / 1; display: block; }
.price b { font: 700 2.4rem / 1.1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { display: block; color: var(--text-muted); font-size: var(--fs-small); }
.p-year { visibility: hidden; }
.hero:has(#b-y:checked) .p-year { visibility: visible; }
.hero:has(#b-y:checked) .p-month { visibility: hidden; }
.vat { font-size: var(--fs-label); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.plan-list { list-style: none; margin: var(--s-sm) 0 var(--s-md); padding: 0; display: grid; gap: 6px; }
.plan .btn { margin-top: auto; }
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--ink); min-height: 44px; }
.faq details p { padding-bottom: 12px; color: var(--text-muted); }

/* ===== SECTION: forms ===== */
.scan-form { display: grid; gap: var(--s-md); margin-top: var(--s-lg); max-width: 32rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); }
.field input, .field select { font: inherit; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line-strong); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); border-radius: var(--radius-control); padding: 12px 14px; min-height: 48px; }
.scan-inline .field input { width: 100%; }
.field input:focus { outline: 2px solid var(--signal); outline-offset: 2px; border-color: var(--signal); }
.field input[aria-invalid="true"] { border-color: var(--alert); }
.hint { font-size: var(--fs-small); color: var(--text-muted); }
.form-error { color: var(--alert); font-weight: 600; }
.scan-form .btn { justify-self: start; }
.demo-note { font-size: var(--fs-small); color: var(--text-muted); margin: var(--s-sm) 0 var(--s-md); }
.scan-result { scroll-margin-top: 80px; } /* clears the sticky header */
.scan-inline { display: grid; gap: var(--s-md); max-width: 34rem; }
@media (min-width: 720px) { .scan-inline { grid-template-columns: 1fr 1fr; align-items: end; } .scan-inline .btn { grid-column: 1 / -1; justify-self: start; } }

/* ===== SECTION: prose, auth, admin ===== */
.prose h2 { margin-top: var(--s-lg); }
.prose p { margin-top: var(--s-sm); }
.draft { margin-top: var(--s-md); color: var(--alert); }
.auth { max-width: 30rem; }
.auth-form { display: grid; gap: var(--s-md); margin-top: var(--s-lg); }
.auth-form .btn { justify-self: start; }
.field-error { color: var(--alert); font-size: var(--fs-small); font-weight: 600; }
.form-notice { margin-top: var(--s-md); padding: 12px 14px; background: var(--signal-soft); color: var(--signal-dark); border-radius: var(--radius-control); font-weight: 600; }
.auth-alt { margin-top: var(--s-md); font-size: var(--fs-small); }
.table-wrap { position: relative; overflow-x: auto; margin: var(--s-sm) 0 var(--s-lg); } /* relative keeps .sr-only children inside the scroll box */
.admin .title { margin-top: var(--s-lg); }
.admin-plan { display: inline-flex; gap: 6px; align-items: center; }
.admin-plan select { font: inherit; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--paper); color: var(--ink); }

/* ===== SECTION: steps row ===== */
.steps-row { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: var(--s-lg); counter-reset: s; }
@media (min-width: 900px) { .steps-row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s-xl); } }
.steps-row li { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.steps-row .step-n { display: grid; place-items: center; width: 32px; height: 32px; font: 600 0.9rem / 1 var(--font); color: var(--signal); border: 1px solid var(--line); border-radius: var(--radius-data); background: var(--paper); }
.steps-row p { color: var(--text); }

/* ===== SECTION: hero (home) ===== */
.theme-dark, .theme-light { color: var(--ink); }
/* storefront hero: a teal-tinted band with rounded lower corners (DESIGN.md §4 storefront exception) */
.hero-home { position: relative; isolation: isolate; /* square bottom: rounded corners showed the dark page behind */
  background: linear-gradient(180deg, color-mix(in srgb, var(--signal-soft) 45%, var(--paper)) 0%, var(--paper) 100%); }
.hero-home .hero-in > * { min-width: 0; }
@media (min-width: 900px) { .hero-home .hero-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-xl); } }
@media (min-width: 1000px) { .hero-home { padding: 72px 0 64px; } }
.hero-home .display { font-size: clamp(2.5rem, 4.8vw, 4.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; color: var(--ink); }
.h1-em { color: var(--signal); }
.hero-sub { margin-top: 24px; max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--text); }
.hero-home .ctas { margin-top: 32px; }
.hero-home .btn { border-radius: var(--radius-pill); min-height: 54px; padding: 14px 30px; font-size: 16px; font-weight: 600; }
.hero-home .btn-primary { box-shadow: var(--shadow-raise); }
.hero-home .btn-secondary { background: var(--paper); }

/* ===== SECTION: hero bridge (Maps, our mark, the AI engines) ===== */
.hero-bridge { justify-self: center; max-width: 480px; }
.bridge { display: block; width: 100%; height: auto; overflow: visible; }
.br-line { fill: none; stroke: var(--signal-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; }
.br-disc { fill: var(--paper); stroke: var(--line); stroke-width: 1; filter: drop-shadow(var(--shadow-drop)); }
.br-core .br-disc { fill: var(--ink); stroke: none; }
.br-mark { color: var(--text-inverse); } .br-mark .mark-pin { fill: var(--signal-bright); }
.br-pulse { fill: none; stroke: var(--signal-bright); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.br-label { font: 600 13px var(--font); fill: var(--ink); text-anchor: middle; }
.br-core .br-label { font: 700 15px var(--font-display); }
@keyframes br-flow { to { stroke-dashoffset: -22; } }
@keyframes br-glow { 50% { stroke-opacity: 0.45; stroke-width: 3.5; } }
@keyframes br-ping { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }
@media (prefers-reduced-motion: no-preference) {
  .br-line { animation: br-flow 0.9s linear infinite, br-glow 2.4s ease-in-out infinite; }
  .br-pulse { animation: br-ping 2.4s var(--ease-out) infinite; }
  .br-core .br-pulse { animation-delay: 0.4s; }
  .br-node:nth-of-type(3) .br-pulse { animation-delay: 0.8s; } .br-node:nth-of-type(4) .br-pulse { animation-delay: 1s; } .br-node:nth-of-type(5) .br-pulse { animation-delay: 1.2s; }
}

/* ===== SECTION: hero stage (the product, not a mockup) ===== */
.hero-stage { margin-top: clamp(48px, 6vw, 72px); }
.hero-stage .stage-caption { max-width: 1000px; margin-inline: auto; }
.hero-stage .stage { max-width: 1000px; margin: 0 auto; border-radius: var(--radius-hero); box-shadow: var(--shadow-raise); }
.stage { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; }
.stage-badge { position: absolute; top: 10px; right: 12px; }
.stage-ctx { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 10px 112px 10px 16px; border-bottom: 1px solid var(--line); font-size: 0.74rem; color: var(--text-muted); max-width: none; }
.stage-ctx b { color: var(--ink); font-weight: 600; }
.stage-ctx b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--signal-bright); vertical-align: 1px; }
.stage-ctx-r { margin-left: auto; }
@media (max-width: 639px) { .stage-ctx-r { flex-basis: 100%; margin-left: 0; } }
/* map and AI share one flat card treatment, split by a hairline */
.stage-body { display: grid; }
.stage-map { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .stage-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .stage-map { border-bottom: 0; border-right: 1px solid var(--line); } }
.stage-map .sheet, .stage-ai { padding: 16px; height: 100%; border: 0; border-radius: 0; background: var(--paper); }
.stage-map .sheet-biz, .stage-h { display: flex; align-items: center; gap: 7px; font: 600 0.95rem / 1.3 var(--font-display); color: var(--ink); letter-spacing: -0.005em; }
.stage-map .sheet-kw, .stage-sub { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
.stage-map .sheet-biz .brand-ico { width: 11px; height: 15px; object-fit: cover; }
/* AI marks: same optical size as the Maps pin, no tile chrome */
.stage-marks { display: inline-flex; align-items: center; gap: 5px; flex: none; }
.stage-marks .brand-ico { width: 16px; height: 16px; }
/* focal number: top-3 coverage is the one figure the eye lands on; the other two step back */
.stage-map .sheet-stats { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 14px; margin: 12px 0 14px; }
.stage-map .sheet-stats dt { font-size: 0.66rem; } .stage-map .sheet-stats dd { font-size: 0.95rem; color: var(--text-muted); }
.stage-map .sheet-stats > div:first-child dt { color: var(--ink); }
.stage-map .sheet-stats > div:first-child dd { font: 700 clamp(2.2rem, 3.4vw, 2.9rem) / 1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); margin-top: 4px; }
.stage-map .legend { font-size: 0.64rem; gap: 4px 8px; } .stage-map .legend li { gap: 4px; }
.stage-ai { display: flex; flex-direction: column; gap: 10px; }
.stage-q { margin: 0; padding: 8px 10px; font-size: 0.8rem; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.stage-q-t { display: inline-block; max-width: 100%; vertical-align: bottom; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes q-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes q-caret { 0%, 100% { border-color: transparent; } 50% { border-color: var(--signal); } } /* ends hidden: the caret goes once typing is done */
@media (prefers-reduced-motion: no-preference) {
  .stage-q-t { padding-right: 2px; border-right: 2px solid var(--signal); animation: q-type 1.6s steps(36, end) 0.6s both, q-caret 0.8s step-end 0.6s 3 both; }
}
.stage-ai-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
/* AI score stays quiet: the competitor list is the point */
.stage-score .odo { white-space: normal; } .stage-score { white-space: nowrap; }
.stage-score b { font-weight: 700; color: var(--ink); }
.rec-cols { display: grid; grid-template-columns: minmax(0, 1fr) 2.8em 3em; gap: 8px; margin: 0; padding: 0 8px; font-size: 0.58rem; }
.rec-cols span + span { text-align: right; }
.rec { list-style: none; margin: 0; padding: 0; display: grid; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.rec-row { display: grid; grid-template-columns: minmax(0, 1fr) 2.8em 3em; grid-template-areas: "name n maps" "bar bar bar"; gap: 5px 8px; align-items: center; padding: 8px; border-top: 1px solid var(--line); }
.rec-row:first-child { border-top: 0; }
.rec-row.is-you { border-top-color: transparent; border-radius: var(--radius-data); background: var(--alert-soft); box-shadow: inset 0 0 0 1px var(--alert); }
.rec-row.is-you + .rec-row { border-top-color: transparent; }
.rec-name { grid-area: name; font-weight: 500; min-width: 0; color: var(--ink); }
.is-you .rec-name { font-weight: 700; }
.rec-txt { line-height: 1.25; }
.rec-bar { grid-area: bar; width: 100%; height: 4px; }
/* competitors in signal at falling strength; the client in alert: the row that needs work */
.rec-track { fill: var(--line); }
.rec-fill { fill: var(--signal-bright); } .rec-fill.b-1 { fill-opacity: 0.8; } .rec-fill.b-2 { fill-opacity: 0.64; } .rec-fill.b-3 { fill-opacity: 0.5; } .rec-fill.b-4 { fill-opacity: 0.4; }
.is-you .rec-fill { fill: var(--alert-bright); fill-opacity: 1; }
.rec-n { grid-area: n; font-weight: 700; text-align: right; color: var(--ink); }
.rec-maps { grid-area: maps; justify-self: end; display: inline-flex; align-items: center; gap: 3px; font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.rec-maps .brand-ico { width: 8px; height: 11px; object-fit: cover; }
.rec-maps.rec-out { color: var(--alert); font-size: 0.66rem; white-space: nowrap; }
.rec-engines { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rec-engines li { display: grid; gap: 4px; min-width: 0; }
.rec-engines li + li { padding-left: 8px; border-left: 1px solid var(--line); }
.re-name { display: flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; line-height: 16px; }
.re-name .brand-ico { flex: none; width: 16px; height: 16px; }
.rec-engines b { padding-left: 21px; font: 600 0.95rem / 1 var(--font-display); color: var(--ink); }
.re-of { font-weight: 500; color: var(--text-muted); font-size: 0.72rem; }
/* status line: flat pills on paper-2 */
.stage-chips { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); }
.stage-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; font-size: 0.72rem; font-weight: 500; line-height: 1.4; color: var(--text-muted); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.stage-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--signal-bright); }
.stage-chip-ok { color: var(--signal-dark); font-weight: 600; }
.stage-caption { margin-top: 12px; font-size: var(--fs-label); color: var(--text-muted); }

/* rolling numbers: digit strips (heatmap.ts odo) */
.odo { display: inline-flex; align-items: flex-end; line-height: 1; }
.odo-d { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.odo-s { display: block; width: 1ch; word-break: break-all; line-height: 1; text-align: center; }
.d-0 { transform: none; } .d-1 { transform: translateY(-1em); } .d-2 { transform: translateY(-2em); } .d-3 { transform: translateY(-3em); } .d-4 { transform: translateY(-4em); }
.d-5 { transform: translateY(-5em); } .d-6 { transform: translateY(-6em); } .d-7 { transform: translateY(-7em); } .d-8 { transform: translateY(-8em); } .d-9 { transform: translateY(-9em); }

/* the one hero moment, once, done by 2.35 s; final state is the plain HTML (no animation = complete picture):
   stage rises 0-0.5 s, points appear grey from the centre then take their rank colour 0.15-1.3 s,
   focal number rolls 1.0-1.6 s, AI bars grow 1.25-2.1 s, JIJ row lights up 1.85-2.25 s, status line 1.9-2.35 s.
   Only when motion is allowed. */
@keyframes odo-roll { from { transform: translateY(0); } }
@keyframes bar-grow { from { transform: scaleX(0); } }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pt-scan { 0% { opacity: 0; transform: scale(0.6); background-color: var(--line); border-color: var(--line); color: transparent; }
  45% { opacity: 1; transform: none; background-color: var(--line); border-color: var(--line); color: transparent; } }
@keyframes you-in { from { background-color: transparent; box-shadow: inset 0 0 0 1px transparent; } }
@media (prefers-reduced-motion: no-preference) {
  .stage { animation: chip-in 500ms var(--ease-out) both; }
  .stage .sheet-animate .pt span[aria-hidden] { animation: pt-scan 700ms var(--ease-out) 150ms both; }
  .stage .sheet-animate .ring-1 span[aria-hidden] { animation-delay: 300ms; } .stage .sheet-animate .ring-2 span[aria-hidden] { animation-delay: 450ms; }
  .stage .sheet-animate .ring-3 span[aria-hidden] { animation-delay: 600ms; }
  .stage .sheet-stats .odo-s { animation: odo-roll 600ms var(--ease-out) 1000ms both; }
  .stage-score .odo-s { animation: odo-roll 600ms var(--ease-out) 1250ms both; }
  .stage .rec-fill { transform-box: fill-box; transform-origin: left; animation: bar-grow 600ms var(--ease-out) 1250ms both; }
  .stage .rec-fill.b-1 { animation-delay: 1310ms; } .stage .rec-fill.b-2 { animation-delay: 1370ms; } .stage .rec-fill.b-3 { animation-delay: 1430ms; } .stage .rec-fill.b-4 { animation-delay: 1490ms; }
  .stage .rec-row.is-you { animation: you-in 400ms var(--ease-out) 1850ms both; }
  .stage-chip { animation: chip-in 400ms var(--ease-out) 1900ms both; } .stage-chip + .stage-chip { animation-delay: 1950ms; }
}

/* free scan: AI view as a badged example */
.ai-demo { margin-top: var(--s-md); padding: var(--s-md); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); display: grid; gap: 12px; }
.ai-demo .rec-engines { margin-top: 0; }
.ai-demo-line { font-weight: 700; }
.ai-demo .btn { justify-self: start; }

/* ===== SECTION: human touch (photo + our claim) ===== */
.human-in { display: grid; gap: var(--s-lg); align-items: center; }
@media (min-width: 900px) { .human-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-xl); } }
.human-img { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-hero); box-shadow: var(--shadow-raise); }
@media (max-width: 899px) { .human-img { max-width: none; aspect-ratio: 4 / 3; } }
.human-copy .headline { max-width: 22ch; }
.human-copy .lead { margin-top: 16px; max-width: 52ch; }
.human-copy .ctas { margin-top: 28px; }

/* ===== SECTION: home rhythm below the hero ===== */
.sec-head { max-width: 62ch; margin-bottom: var(--s-lg); }
.hero-home ~ .section, .mcta-zone .section { padding: clamp(48px, 6vw, 80px) 0; }
.hero-home ~ .section .sec-head, .mcta-zone .section .sec-head { max-width: 60ch; margin-bottom: clamp(24px, 3vw, 36px); }
.hero-home ~ .section .sec-head .lead, .mcta-zone .section .sec-head .lead { margin-top: 16px; max-width: 58ch; }
.hero-home ~ .section > .wrap > .headline, .mcta-zone .section > .wrap > .headline { max-width: 26ch; }

/* ===== SECTION: white label (sunk) ===== */
/* a page with a second sheet behind it, so it reads as a document */
.rc { position: relative; margin: 0 0 10px; max-width: 540px; justify-self: center; width: 100%; }
.rc::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); }
.rc-page { position: relative; display: grid; gap: 14px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); }
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
/* "Jouw logo": an empty slot waiting for the agency's mark */
.rc-logo { padding: 8px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-data); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.06em; color: var(--text-muted); }
.rc-client { font: 700 1.35rem / 1.15 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.rc-kw { margin-top: -10px; font-size: 0.8rem; color: var(--text-muted); }
.rc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.rc-stats dt { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.rc-stats dd { margin: 2px 0 0; font: 700 1.5rem / 1.1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.rc-body { display: grid; gap: 16px; }
@media (min-width: 480px) { .rc-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.rc-map .sheet { padding: 0; border: 0; border-radius: 0; }
.rc-map .sheet-head, .rc-map .sheet-stats { display: none; }
.rc-map .legend { font-size: 0.6rem; gap: 3px 8px; } .rc-map .legend li { gap: 4px; }
.rc-todo ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: rc; display: grid; gap: 10px; font-size: 0.84rem; line-height: 1.45; }
.rc-todo li { counter-increment: rc; display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.rc-todo li::before { content: counter(rc); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--signal-soft); color: var(--signal-dark); font-size: 0.72rem; font-weight: 700; }
.rc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.72rem; color: var(--text-muted); }

/* ===== SECTION: facts strip (ink band) ===== */
.facts { background: var(--ink); color: var(--text-inverse); }
.facts-in { list-style: none; margin: 0; padding: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--s-md); }
@media (min-width: 900px) { .facts-in { grid-template-columns: repeat(4, 1fr); padding: 44px 0; } }
/* subgrid: every figure shares one row and every text starts on the same line, however long a figure is */
.facts-in li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 6px; align-content: start; padding-left: var(--s-md); border-left: 1px solid var(--line-inverse); }
.facts-in b { align-self: end; }
/* on ink the bright signal is the readable one (5.8:1) */
.facts-in b { font: 600 clamp(1.4rem, 2.4vw, 2rem) / 1.1 var(--font-display); letter-spacing: -0.02em; color: var(--signal-bright); }
.facts-in span { font-size: 14px; line-height: 1.45; color: var(--text-inverse); opacity: 0.7; }
@media (min-width: 900px) { .facts-in b { white-space: nowrap; font-size: clamp(1.25rem, 2vw, 1.75rem); } } /* "49 zoekopdrachten" on one line in a quarter column */

/* ===== SECTION: two places (bento) ===== */
.tp { display: grid; gap: var(--s-md); }
@media (min-width: 900px) {
  .tp-bento { grid-template-columns: 2fr 1fr; gap: 24px; }
  .tp-bento > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .tp-bento > :nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
  .tp-bento > .tp-tile { grid-column: 1; grid-row: 2; }
}
.tp-card { position: relative; margin: 0; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-panel); display: grid; gap: 24px; align-content: start; }
.tp-card .badge-demo { position: absolute; top: 28px; right: 28px; }
.tp-h { font: 600 1.0625rem / 1.25 var(--font-display); letter-spacing: -0.01em; color: var(--ink); padding-right: 112px; }
.tp-map { display: grid; grid-template-columns: minmax(0, 150px) 1fr; gap: 28px; align-items: start; }
.tp-grid { width: 100%; height: auto; }
.tp-dot { fill: var(--line-strong); } .tp-pin { fill: var(--signal); } .tp-tag { fill: var(--on-signal); font: 700 11px var(--font); }
.tp-lists { display: grid; gap: var(--s-md); }
@media (min-width: 900px) { .tp-lists { grid-template-columns: 1fr 1fr; } }
.tp ol { margin: 8px 0 0; padding-left: 1.4em; display: grid; gap: 4px; font-size: var(--fs-small); }
.tp li.is-you { font-weight: 700; color: var(--ink); }
.tp-chat { display: grid; gap: 12px; }
.tp-q { justify-self: end; max-width: 85%; background: var(--paper-2); border-radius: var(--radius-control); padding: 10px 14px; font-size: var(--fs-small); }
.tp-q .label { display: block; margin-bottom: 2px; }
.tp-a { border: 1px solid var(--line); border-radius: var(--radius-control); padding: 12px 14px; font-size: var(--fs-small); }
.tp-who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
/* status chip: dot + text, signal when found, alert when not */
.tp-pos { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 10px; padding: 4px 10px 4px 8px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; color: var(--signal-dark); background: var(--signal-soft); }
.tp-pos::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tp-pos.tp-miss { color: var(--alert); background: var(--alert-soft); }
.tp-tile { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.tp-tile-n { font: 700 clamp(3rem, 6vw, 4.5rem) / 1 var(--font-display); letter-spacing: -0.04em; color: var(--signal); }
.tp-tile-t { font: 500 clamp(1.15rem, 2vw, 1.5rem) / 1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 480px) { .tp-map { grid-template-columns: 1fr; } .tp-grid { max-width: 170px; } .tp-h { padding-right: 0; padding-top: 28px; } }

/* ===== SECTION: Maps vs AI table ===== */
.mva-band { background: var(--paper); color: var(--text); }
.mva { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-data); background: var(--paper); padding: 20px 28px 12px; overflow-x: auto; }
.mva-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mva-t { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; }
.mva-t th, .mva-t td { text-align: left; padding: 14px 10px; border-top: 1px solid var(--line); font-weight: 400; }
.mva-t thead th { border-top: 0; font-size: 0.68rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; vertical-align: bottom; padding-bottom: 14px; }
.mva-t thead img { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.mva-of { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.mva-t tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.mva-t td { width: 34%; white-space: nowrap; }
.mva-t td span { display: inline-block; min-width: 3ch; font-weight: 600; color: var(--ink); }
.mva-bar { display: inline-block; vertical-align: middle; width: calc(100% - 60px); height: 6px; margin-right: 12px; }
/* Maps in ink, AI in signal: two sources at a glance */
.mva-maps { fill: var(--ink); fill-opacity: 0.3; } .mva-ai { fill: var(--signal-bright); }
.mva-t tr.is-you > * { background: var(--signal-soft); font-weight: 600; }
@media (max-width: 699px) {
  .mva { overflow: visible; padding: var(--s-md); }
  .mva-t { min-width: 0; } .mva-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mva-t tr { display: grid; gap: 6px; padding: 12px 8px; border-top: 1px solid var(--line); }
  .mva-t th, .mva-t td { display: block; width: auto; padding: 0; border: 0; }
  .mva-t tr.is-you { background: var(--signal-soft); } .mva-t tr.is-you > * { background: none; }
  .mva-t td::before { content: attr(data-label); display: block; font-size: var(--fs-label); color: var(--text-muted); }
}

/* ===== SECTION: product tour (CSS-only tabs: radio + label; stacked on mobile) ===== */
.tour { margin-top: var(--s-lg); }
.tour-tabs { display: none; }
.tour-panels { display: grid; gap: var(--s-xl); }
.tour-p { display: grid; gap: var(--s-lg); align-items: center; }
.tour-copy .title { margin-top: 6px; }
.tour-copy p:not([class]) { margin-top: 12px; max-width: 46ch; }
.tour-more { margin-top: var(--s-md); font-weight: 600; }
.tour-vis { min-width: 0; }
.tour-vis .sheet { max-width: 440px; }
@media (max-width: 899px) { .tour > input { display: none; } }
@media (min-width: 900px) {
  /* pill segments on paper-2; the active one in ink */
  .tour-tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-pill); }
  .tour-tabs label { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; font-weight: 500; font-size: 15px; color: var(--text-muted); cursor: pointer; border-radius: var(--radius-pill); transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
  .tour-tabs label:hover { color: var(--ink); }
  .tour-tabs .num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 0.8rem; }
  /* all panels share one cell: the section keeps the tallest height, switching tabs never moves the page */
  .tour-panels { display: grid; margin-top: var(--s-md); padding: var(--s-lg); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-panel); }
  .tour-p { grid-area: 1 / 1; visibility: hidden; grid-template-columns: 1fr 1.2fr; gap: var(--s-xl); }
  .tour-copy .label { display: none; }
  #tour-0:checked ~ .tour-panels .tour-p-0, #tour-1:checked ~ .tour-panels .tour-p-1, #tour-2:checked ~ .tour-panels .tour-p-2 { visibility: visible; }
  #tour-0:checked ~ .tour-tabs [for=tour-0], #tour-1:checked ~ .tour-tabs [for=tour-1], #tour-2:checked ~ .tour-tabs [for=tour-2] { background: var(--ink); color: var(--text-inverse); }
  #tour-0:checked ~ .tour-tabs [for=tour-0] .num, #tour-1:checked ~ .tour-tabs [for=tour-1] .num, #tour-2:checked ~ .tour-tabs [for=tour-2] .num { border-color: var(--line-inverse); color: var(--text-inverse); }
  #tour-0:focus-visible ~ .tour-tabs [for=tour-0], #tour-1:focus-visible ~ .tour-tabs [for=tour-1], #tour-2:focus-visible ~ .tour-tabs [for=tour-2] { outline: 2px solid var(--signal); outline-offset: 2px; }
}

/* ===== SECTION: sticky mobile CTA (CSS only). Lives at the end of .mcta-zone, so it shows once the hero is
   scrolled past and leaves with the zone before the inline scan form. Hidden from 700px. ===== */
.mcta { display: none; }
@media (max-width: 699px) {
  .mcta { display: block; position: sticky; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    margin-top: -69px; } /* rests inside the section's bottom padding instead of adding a row of its own */
  .mcta .btn { width: 100%; }
}

/* ===== SECTION: without / with ===== */
.vs { display: grid; gap: var(--s-md); margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .vs { grid-template-columns: 1fr 1fr; gap: 24px; } }
.vs-col { padding: 28px; border-radius: var(--radius-panel); border: 1px solid var(--line); background: var(--paper); display: grid; gap: 12px; align-content: start; }
.vs-col h3 { font-size: 1.0625rem; font-weight: 600; }
.vs-with { background: var(--ink); color: var(--text-inverse); border-color: var(--ink); }
.vs-with h3 { color: var(--text-inverse); }
.crosses { list-style: none; margin: 0; padding: 0; }
.vs .ticks li, .vs .crosses li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); }
.vs .crosses li { color: var(--text-muted); }
.vs-with .ticks li { border-color: var(--line-inverse); }
.vs .crosses li:last-child, .vs .ticks li:last-child { border-bottom: 0; }
.crosses li::before { content: "\2715"; position: absolute; left: 4px; top: 14px; font-size: 0.8rem; font-weight: 700; color: var(--alert); }
.vs-with .ticks li::before { left: 6px; top: 18px; width: 6px; height: 11px; border: solid var(--signal-bright); border-width: 0 2px 2px 0; border-radius: 0; transform: rotate(45deg); }

/* ===== SECTION: pricing teaser ===== */
.plan-teaser { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-md); }
@media (min-width: 720px) { .plan-teaser { grid-template-columns: repeat(3, 1fr); } }
.plan-teaser-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-data); padding: 28px; display: grid; gap: 8px; align-content: start; }
.plan-teaser-card.is-popular { border: 2px solid var(--signal); background: var(--signal-soft); padding: 27px; }
.plan-teaser-flag { position: absolute; top: 14px; right: 14px; padding: 2px 10px; font: 600 11px / 1.6 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-signal); background: var(--signal); border-radius: var(--radius-pill); }
.plan-teaser-price b { font: 700 2.25rem / 1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.plan-teaser-price span, .plan-teaser-for { color: var(--text-muted); font-size: var(--fs-small); }

/* ===== SECTION: storefront night (DESIGN.md §4, 2026-10-22) ===== */
/* dark bands stay darker than the page: inside them --ink/--text-inverse mean band/on-band, as in light mode */
.skip, .top, .menu[open] nav, .foot, .finale, .facts, .report-bar, .vs-with { --ink: var(--band); --text-inverse: var(--on-band); }
/* calm by default (2026-10-22): teal only for actions and small markers; surfaces are flat with hairlines, glow only on hover */
/* one faint teal light at the top right of the page, drifting slowly; static without motion */
body::before { content: ""; position: fixed; z-index: -1; top: -25vmax; right: -25vmax; width: 60vmax; height: 60vmax; border-radius: 50%; pointer-events: none; filter: blur(120px); opacity: 0.18; background: radial-gradient(circle, var(--signal-bright), transparent 65%); }
@media (prefers-reduced-motion: no-preference) { body::before { animation: orb-drift 32s ease-in-out infinite alternate; } }
@keyframes orb-drift { to { transform: translate(-8vmax, 6vmax) scale(1.1); } }
@media print { body::before { display: none; } }
/* tiles: the scan form, the four steps, the data cards. Flat surface, neutral hairline; teal edge only on the form while it is used */
.scan-inline, .steps-row li, .data-cards li { position: relative; background: color-mix(in srgb, var(--ink) 4%, transparent); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.scan-inline { padding: var(--s-lg); border-radius: var(--radius-hero); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.scan-inline:hover, .scan-inline:focus-within { border-color: var(--signal); box-shadow: 0 0 48px -24px var(--signal-bright); }
.steps-row li { padding: var(--s-lg) var(--s-md) var(--s-md); border-top: 1px solid var(--line); }
/* scan inputs read as a terminal: mono, a teal prompt sign, plain text */
.scan-inline .field { position: relative; }
.scan-inline .field::after { content: "\203A"; position: absolute; left: 14px; bottom: 13px; font: 700 1.1rem / 1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--signal); pointer-events: none; }
.scan-inline .field input { padding-left: 32px; font-family: ui-monospace, "SF Mono", Menlo, monospace; caret-color: var(--signal); }
.scan-inline .btn { min-height: 54px; padding: 14px 32px; font-size: 16px; font-weight: 600; }
/* busy submit (site.js sets aria-busy): a spinner before the label */
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"]::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* pipeline: on hover the four tiles light up one after the other */
.steps-row li:nth-child(2) { --i: 1; } .steps-row li:nth-child(3) { --i: 2; } .steps-row li:nth-child(4) { --i: 3; }
.steps-row li { transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.steps-row:hover li { border-color: var(--signal); }
@media (prefers-reduced-motion: no-preference) { .steps-row li:hover { transform: translateY(-3px); transition-delay: 0s; } }
/* step numbers: small solid teal circles */
.steps-row .step-n { width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--on-signal); font-weight: 700; background: var(--signal); }
/* "Klopt die data?": the list as a grid of data cards */
.data-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-md); }
@media (min-width: 720px) { .data-cards { grid-template-columns: 1fr 1fr; } }
.data-cards li { padding: calc(var(--s-md) + 28px) var(--s-md) var(--s-md); }
/* one check icon for .ticks and .data-cards, teal, no glow */
html { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.ticks li::before, .data-cards li::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0; border-radius: 0; background: var(--signal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.ticks li::before { left: 0; top: 18px; }
.data-cards li::after { top: var(--s-md); left: var(--s-md); }
.section-sunk { background: var(--paper-2); }
/* mouse spotlight (site.js sets --mx/--my and .spot; only fine pointers with motion allowed) */
.spot #main::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--signal-bright) 6%, transparent), transparent 70%); }
/* the mark scans: its eight points brighten to teal in a slow wave */
@media (prefers-reduced-motion: no-preference) {
  .mark circle { animation: dot-scan 3.2s ease-in-out infinite; }
  .mark circle:nth-child(2) { animation-delay: 0.2s; } .mark circle:nth-child(3) { animation-delay: 0.4s; } .mark circle:nth-child(4) { animation-delay: 0.6s; }
  .mark circle:nth-child(5) { animation-delay: 0.8s; } .mark circle:nth-child(6) { animation-delay: 1s; } .mark circle:nth-child(7) { animation-delay: 1.2s; } .mark circle:nth-child(8) { animation-delay: 1.4s; }
}
@keyframes dot-scan { 0%, 60%, 100% { fill: currentColor; } 20% { fill: var(--signal-bright); } }
/* light sections between the dark ones: the .theme-light token set, opaque paper, white cards */
.section.theme-light { background: var(--paper); color: var(--text); }
.theme-light.section-sunk { background: var(--paper-2); }
.theme-light .steps-row li, .theme-light .data-cards li { background: var(--card); }
