/* Peil · huisstijl: zwart, wit en Inter. Geen accentkleur: nadruk komt uit
   gewicht, formaat en witruimte. Cijfers staan in JetBrains Mono. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --soft: #f4f4f3;
  --line: #e4e4e2;
  --grey: #6b6b68;
  --grey-on-ink: #a3a3a0;
  --line-on-ink: #2a2a29;
  --font-sans: 'Inter Variable', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono Variable', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius: 10px;
  --gutter: clamp(20px, 5vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss03';
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.statement :focus-visible, .stage :focus-visible { outline-color: var(--paper); }

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 52px); max-width: 22ch; }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }

.eyebrow {
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--grey);
}

/* ---------------------------------------------------------------- knoppen */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:active { transform: scale(0.985); }
.btn.ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn[aria-disabled='true'] { pointer-events: none; color: var(--grey); background: var(--soft); border-color: var(--line); }

/* -------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--grey); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }

/* ------------------------------------------------------------------- hero */
/* Kort en gecentreerd, zodat de demo al in het eerste scherm begint. */

.hero { padding-top: clamp(32px, 3.6vw, 52px); text-align: center; }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { max-width: 17ch; margin-inline: auto; }
.lead { max-width: 60ch; margin: 18px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--grey); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 24px; }
.text-link { font-size: 15.5px; font-weight: 550; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-color: var(--grey); }
.microcopy { margin-top: 14px; font-size: 13.5px; color: var(--grey); }

.stage {
  margin: clamp(28px, 3vw, 36px) 0 0;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  color: #f2f2f0;
  background: #0f0f0f;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.45);
}
.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-on-ink);
  font-size: 12.5px;
  color: var(--grey-on-ink);
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 4px 4px 10px;
  border: 1px solid var(--line-on-ink);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  color: #f2f2f0;
  background: transparent;
  cursor: pointer;
}
.switch i { position: relative; width: 30px; height: 18px; border-radius: 99px; background: #3a3a39; transition: background 0.2s ease; }
.switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.switch[aria-pressed='true'] i { background: #fff; }
.switch[aria-pressed='true'] i::after { transform: translateX(12px); background: #0f0f0f; }
.stage-body { position: relative; aspect-ratio: 1120 / 560; }
.chart { display: block; width: 100%; height: 100%; }

.panel {
  position: absolute;
  top: 5%;
  left: 2.5%;
  width: min(300px, 30%);
  padding: 14px 15px 12px;
  border: 1px solid var(--line-on-ink);
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  background: rgb(12 12 12 / 0.93);
  backdrop-filter: blur(10px);
}
.panel-head, .panel-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-head { padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid var(--line-on-ink); }
.panel-brand { font-weight: 700; letter-spacing: -0.02em; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border: 1px solid var(--line-on-ink); border-radius: 99px; font-size: 11px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.panel-row .mono { font-size: 11px; white-space: nowrap; color: #d6d6d3; }
.reads { margin: 0 0 12px; display: grid; gap: 5px; }
.reads div { display: flex; justify-content: space-between; gap: 12px; }
.reads dt { color: var(--grey-on-ink); }
.reads dd { margin: 0; font-weight: 600; text-align: right; }
.tag { white-space: nowrap; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #0f0f0f; background: #fff; }
.checks { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: 12px; }
.checks li { position: relative; padding-left: 20px; }
.checks li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; }
.checks li.miss { color: #9a9a97; }
.checks li.miss::before { content: '–'; }
/* Amber is hier functioneel: de controle die het niet eens is met de setup. */
.checks li.warn { margin-top: 3px; padding: 7px 9px 7px 28px; border: 1px solid rgb(245 176 65 / 0.45); border-radius: 8px; color: #f5b041; background: rgb(245 176 65 / 0.08); }
.checks li.warn::before { content: '!'; left: 11px; }
.panel-foot { margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--line-on-ink); font-size: 10.5px; color: var(--grey-on-ink); }

/* De lezing tekent zichzelf in stappen en begint daarna opnieuw. */
.overlay, .panel .reads, .panel .panel-row, .checks li, .panel-foot { animation: 11s ease-in-out infinite both; }
.overlay.p1 { animation-name: step1; }
.overlay.p2 { animation-name: step2; }
.overlay.p3 { animation-name: step3; }
.panel .reads { animation-name: step2; }
.panel .panel-row { animation-name: step3; }
.checks .c1 { animation-name: step4; }
.checks .c2 { animation-name: step5; }
.checks .c3 { animation-name: step6; }
.checks .c4 { animation-name: step7; }
.checks .c5, .panel-foot { animation-name: step8; }
@keyframes step1 { 0%, 6% { opacity: 0; } 11%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step2 { 0%, 15% { opacity: 0; } 20%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step3 { 0%, 24% { opacity: 0; } 29%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step4 { 0%, 33% { opacity: 0; } 36%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step5 { 0%, 39% { opacity: 0; } 42%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step6 { 0%, 45% { opacity: 0; } 48%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step7 { 0%, 51% { opacity: 0; } 54%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes step8 { 0%, 58% { opacity: 0; } 62%, 95% { opacity: 1; } 100% { opacity: 0; } }
.stage.overlay-off .overlay, .stage.overlay-off .panel { display: none; }
@media (prefers-reduced-motion: reduce), (max-width: 900px) {
  .overlay, .panel .reads, .panel .panel-row, .checks li, .panel-foot { animation: none; }
}

/* ---------------------------------------------------------------- secties */

.section { padding-block: clamp(80px, 11vw, 150px) 0; }
.section.narrow { width: min(860px, 100%); }

.steps {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
}
.steps li { padding: 26px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.num { display: block; margin-bottom: 44px; font-size: 13px; color: var(--grey); }
.steps h3, .grid h3 { margin-bottom: 10px; }
.steps p, .grid p { font-size: 15.5px; color: var(--grey); }

.grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}
.grid article { padding: 30px 28px 34px; background: var(--paper); transition: background 0.2s ease; }
.grid article:hover { background: var(--soft); }

.statement { margin-top: clamp(80px, 11vw, 150px); padding-block: clamp(72px, 10vw, 130px); color: var(--paper); background: var(--ink); }
.statement h2 { max-width: none; font-size: clamp(44px, 8.2vw, 104px); letter-spacing: -0.05em; }
.statement-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.statement-grid p { padding-top: 22px; border-top: 1px solid var(--line-on-ink); font-size: 15.5px; color: var(--grey-on-ink); }
.statement-grid b { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--paper); }

/* ---------------------------------------------------------------- prijzen */

.billing { display: inline-flex; margin-top: 34px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.billing button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  color: var(--grey);
  background: transparent;
  cursor: pointer;
}
.billing button[aria-pressed='true'] { color: var(--paper); background: var(--ink); }

.pricing { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.plan { padding: 30px; border: 1.5px solid var(--ink); border-radius: 16px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 18px; }
.price .amount { font-size: clamp(44px, 6vw, 64px); font-weight: 650; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; color: var(--grey); }
.launch { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 10px; font-size: 14px; line-height: 1.45; }
.price-note { min-height: 22px; margin: 8px 0 24px; font-size: 14px; color: var(--grey); }
.pay-note { margin-top: 14px; font-size: 13.5px; text-align: center; color: var(--grey); }
.included { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.included li { padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line); position: relative; }
.included li::before { content: ''; position: absolute; left: 2px; top: 23px; width: 14px; height: 1.5px; background: var(--ink); }
.included li:first-child { border-top: 1.5px solid var(--ink); }
.included .aside { border-bottom: 0; font-size: 14.5px; color: var(--grey); }
.included .aside::before { display: none; }
.included .aside { padding-left: 0; padding-top: 20px; }

/* ----------------------------------------------------------------- vragen */

details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: clamp(32px, 4vw, 48px); border-top: 1.5px solid var(--ink); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; font-weight: 400; line-height: 1; transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 64ch; padding: 0 0 24px; font-size: 16px; color: var(--grey); }

/* ---------------------------------------------------------------- bedankt */
/* checkout.html: waar Stripe na de betaling naartoe terugstuurt. */

.done { padding-top: clamp(56px, 9vw, 120px); text-align: center; }
.done h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(36px, 5vw, 60px); }
.done .eyebrow { margin-bottom: 14px; }
.done .steps { text-align: left; }
.done-mark { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 50%; background: var(--ink); }
.done-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.done-help { margin-top: clamp(48px, 6vw, 80px); font-size: 14.5px; color: var(--grey); }
.done-help a { color: var(--ink); text-underline-offset: 3px; }

/* ------------------------------------------------------------- documenten */
/* Voorwaarden, privacy en herroeping: één leeskolom, kleinere koppen, en
   bovenaan een samenvatting in gewone taal. De volledige tekst blijft leidend. */

.doc { width: min(820px, 100%); padding-top: clamp(40px, 6vw, 72px); }
.doc h1 { font-size: clamp(34px, 4.4vw, 52px); }
.doc .updated { margin-top: 14px; font-size: 14px; color: var(--grey); }
.doc h2 { max-width: none; margin-top: 56px; padding-top: 22px; border-top: 1.5px solid var(--ink); font-size: 24px; letter-spacing: -0.025em; line-height: 1.2; }
.doc h3 { margin-top: 28px; font-size: 17px; }
.doc p, .doc ul, .doc ol, .doc dl { margin: 14px 0 0; font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; }
.doc a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc a:hover { text-decoration-thickness: 2px; }
.summary { margin-top: 32px; padding: 24px 26px 26px; border-radius: 14px; background: var(--soft); }
.summary h2 { margin: 0; padding: 0; border: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--grey); }
.summary ul { margin-top: 12px; }
.toc { margin-top: 28px; font-size: 15px; color: var(--grey); }
.toc ol { margin-top: 8px; columns: 2; column-gap: 40px; display: block; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { text-decoration: underline; }
.callout { margin-top: 20px; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: 12px; }
.callout p:first-child { margin-top: 0; }
.table-scroll { margin-top: 18px; overflow-x: auto; }
.doc table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { font-size: 13px; font-weight: 600; color: var(--grey); border-bottom: 1.5px solid var(--ink); }
.company { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.company dt { color: var(--grey); }
.company dd { margin: 0; }
/* Nog niet ingevuld in config.js: opvallend, zodat het niet ongemerkt live gaat. */
.todo { padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.85em; color: #7a4b00; background: #fff1d6; }

.form { margin-top: 24px; display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 15px; font-weight: 550; }
.form .hint { font-weight: 400; font-size: 14px; color: var(--grey); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  color: inherit;
  background: var(--paper);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ink); }
.form button { border: 1.5px solid var(--ink); font-family: inherit; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.review { margin: 0; padding: 20px 22px; border-radius: 12px; background: var(--soft); }
.review dl { margin: 0; }
.form-status { font-size: 15px; }
.form-status.error { color: #b3261e; }
[hidden] { display: none !important; }

/* ----------------------------------------------------------------- footer */

.footer { margin-top: clamp(80px, 11vw, 150px); padding-block: 44px 56px; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 48px; align-items: start; }
.legal { max-width: 68ch; font-size: 13.5px; color: var(--grey); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13.5px; }
.legal-links a { color: var(--ink); text-underline-offset: 3px; }
.company-line { margin-top: 10px; font-size: 12.5px; color: var(--grey); }
.meta { display: grid; gap: 4px; font-size: 13.5px; text-align: right; color: var(--grey); }

/* ---------------------------------------------------------------- mobiel */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-row .btn { margin-left: auto; }
  .steps, .grid, .statement-grid, .pricing { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 28px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .num { margin-bottom: 18px; }
  .stage-body { aspect-ratio: auto; display: grid; }
  .chart { aspect-ratio: 4 / 3; height: auto; }
  .panel { position: static; width: auto; margin: 0 14px 14px; backdrop-filter: none; }
  .footer-row { grid-template-columns: 1fr; }
  .meta { text-align: left; }
  .toc ol { columns: 1; }
  .company { grid-template-columns: 1fr; gap: 2px; }
  .company dd { margin-bottom: 10px; }
}
