/*
 * The pages beside the landing page: prijzen, voorwaarden, terugbetaling, privacy.
 *
 * Same look as infra/landing.html, whose styles stay inline because that page is
 * the first thing a visitor downloads. The tokens are the app's, from
 * src/theme/tokens.ts; the fonts are the subsets in /site/fonts.
 */
@font-face { font-family: "Overpass"; src: url(/site/fonts/overpass-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Overpass"; src: url(/site/fonts/overpass-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/site/fonts/source-sans-3-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/site/fonts/source-sans-3-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url(/site/fonts/overpass-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url(/site/fonts/overpass-mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light dark;
  --ground: #e9edf3; --surface: #ffffff; --well: #f3f6fa;
  --line: #d6dce5; --line-strong: #b7c0cc;
  --ink1: #101318; --ink2: #4b545f;
  --panel: #0b3d91; --panel-hover: #092f71; --on-panel-muted: #c3d3ee;
  --accent: #0b3d91; --accent-wash: #e4eaf6;
  --lamp: #f5c400; --lamp-wash: #fff3c9;
  --signal-text: #006931;
  --shadow-card: 0 1px 2px rgba(16, 19, 24, .05), 0 18px 40px -24px rgba(11, 35, 80, .35);
  --font-sign: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --font-read: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17191c; --surface: #1f2226; --well: #26292e;
    --line: #33383e; --line-strong: #474d55;
    --ink1: #f2f4f7; --ink2: #b7bfc7;
    --panel: #1450b0; --panel-hover: #1a5cc4; --on-panel-muted: #c6d6f2;
    --accent: #8ab4f5; --accent-wash: #152743;
    --lamp-wash: #3a2f06;
    --signal-text: #4fbe7e;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink1);
  font: 400 1.0625rem/1.65 var(--font-read);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-sign); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.06; }
h2 { font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; }
h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.skip { position: absolute; left: 12px; top: -60px; background: var(--panel); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }

.eyebrow {
  font: 500 .8125rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink2); display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 1px; background: var(--lamp); flex: none; }

/* ---------- top bar ---------- */
.top { padding-block: 18px; }
.top-row { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink1); text-decoration: none; font: 700 1.08rem/1 var(--font-sign); letter-spacing: -.01em; min-height: 48px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(16, 19, 24, .08); }
.top nav { margin-left: auto; display: none; gap: 4px; }
.top nav a { color: var(--ink2); text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 6px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink1); background: var(--surface); }
.top .btn { margin-left: auto; }
@media (min-width: 880px) { .top nav { display: flex; } .top .btn { margin-left: 8px; } }
@media (max-width: 440px) { .top-row { gap: 12px; } .brand { font-size: .98rem; gap: 10px; } .brand img { width: 34px; height: 34px; } .top .btn { padding: 0 14px; font-size: .95rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 6px; white-space: nowrap;
  font: 700 1rem/1 var(--font-sign); text-decoration: none;
  background: var(--panel); color: #fff; border: 2px solid transparent;
}
.btn:hover { background: var(--panel-hover); }
.btn-outline { background: transparent; color: var(--accent); border-color: currentColor; }
.btn-outline:hover { background: var(--accent-wash); }
.btn-light { background: #fff; color: #0b3d91; }
.btn-light:hover { background: #e4eaf6; }

/* ---------- page head ---------- */
.page-head { padding-block: 40px 48px; display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.page-head .lede { font-size: clamp(1.08rem, 1.8vw, 1.22rem); color: var(--ink2); max-width: 62ch; }
.updated { font: 500 .8125rem/1.4 var(--font-mono); letter-spacing: .06em; color: var(--ink2); }

/* ---------- legal documents ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 0 96px; }
@media (min-width: 960px) { .doc { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; } }
.toc { display: none; }
@media (min-width: 960px) {
  .toc { display: block; position: sticky; top: 24px; }
  .toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
  .toc li { counter-increment: toc; }
  .toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 6px; color: var(--ink2); text-decoration: none; font-size: .95rem; line-height: 1.35; }
  .toc a::before { content: counter(toc, decimal-leading-zero); font: 500 .75rem/1.9 var(--font-mono); color: var(--ink2); opacity: .7; }
  .toc a:hover { background: var(--surface); color: var(--ink1); }
}
.doc-body { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.doc-body section { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 20px; }
@media (min-width: 720px) { .doc-body section { padding: 32px 36px 34px; } }
.doc-body section > h2 { display: flex; align-items: baseline; gap: 14px; }
.doc-body section > h2 .n { font: 700 .8125rem/1 var(--font-mono); color: var(--accent); letter-spacing: .06em; flex: none; }
.doc-body p, .doc-body li { color: var(--ink2); }
.doc-body strong { color: var(--ink1); font-weight: 600; }
.doc-body a { overflow-wrap: anywhere; }
.doc-body ul, .doc-body ol { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 8px; }
.doc-body h3 { margin-top: 6px; }

.summary { background: var(--panel) !important; border: 0 !important; color: #fff; box-shadow: inset 0 0 0 10px var(--panel), inset 0 0 0 13px rgba(255, 255, 255, .92), var(--shadow-card); padding: 34px !important; }
@media (min-width: 720px) { .summary { padding: 40px 44px !important; } }
.summary h2 { color: #fff; }
.summary p, .summary li { color: var(--on-panel-muted) !important; }
.summary strong { color: #fff !important; }
.summary a { color: #fff; }
.summary .facts { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .22); }
.summary .facts div { background: rgba(0, 0, 0, .14); }
.summary .facts dt { color: var(--on-panel-muted); }
.summary .facts dd { color: #fff; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0; }
.facts div { background: var(--well); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.facts dt { font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.facts dd { margin: 0; font: 700 1.05rem/1.3 var(--font-sign); color: var(--ink1); }

.english { background: var(--well) !important; }
.english h2 { font-size: 1.1rem; }
.note { border-left: 3px solid var(--lamp); background: var(--lamp-wash); padding: 12px 16px; border-radius: 0 8px 8px 0; color: var(--ink1) !important; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 820px) { .plans { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.plan { border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); }
.plan-name { font: 700 .8125rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.plan-price { font: 800 3.4rem/1 var(--font-sign); letter-spacing: -.03em; margin-top: 8px; }
.plan-sub { color: var(--ink2); }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.checks svg { width: 22px; height: 22px; margin-top: 1px; flex: none; fill: none; stroke: var(--signal-text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { align-self: flex-start; }
.plan-full { background: var(--panel); color: #fff; border: 0; box-shadow: inset 0 0 0 10px var(--panel), inset 0 0 0 13px rgba(255, 255, 255, .92), var(--shadow-card); padding: 40px; }
.plan-full .plan-name, .plan-full .plan-sub { color: var(--on-panel-muted); }
.plan-full .checks svg { stroke: #f5c400; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 700 .75rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); background: var(--well); }
tbody th { font-weight: 600; color: var(--ink1); }
td { color: var(--ink2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.band { padding-block: 72px; }
.band + .band { padding-top: 0; }
.band-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; max-width: 760px; }
.band-head p { color: var(--ink2); }
.qa { display: grid; gap: 14px; }
@media (min-width: 820px) { .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qa div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.qa p { color: var(--ink2); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 44px 56px; color: var(--ink2); font-size: .95rem; }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.foot-grid .disclaimer { max-width: 60ch; margin-top: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
@media (min-width: 820px) { .foot-links { justify-content: flex-end; } }
.foot-links a { color: var(--ink1); display: inline-flex; min-height: 44px; align-items: center; }
.made { margin-top: 8px; }
@media (min-width: 820px) { .made { text-align: right; } }
footer a { color: var(--ink1); }
