/* CONCEPT, niet publiceren zonder mentor-fiat (Q-013 en launch-QA) */
/* Reportfold, Kolkworks. Tokens uit shared/DESIGN.md, accent per product #2F6DB3.
   Licht thema, 4px-raster, hoekradius 8, systeemfontstack, geen externe fonts. */

:root {
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #1A1D21;
  --muted: #5A616B;
  --line: #E3E1DB;
  --line-strong: #CFCCC3;
  --accent: #2F6DB3;
  --accent-dark: #255A96;
  --accent-tint: #EEF3F9;
  --success: #2E7D4F;
  --warning: #B26A00;
  --error: #B3362F;

  --radius: 8px;
  --measure: 44rem;
  --font: ui-sans-serif, system-ui, "Segoe UI", Inter, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
h2 { font-size: clamp(21px, 2.2vw, 26px); margin-top: 0; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: #F1F0EB;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
  word-break: break-all;
}

sup a { text-decoration: none; padding: 0 1px; }

/* ---------- layout ---------- */

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--measure); }

.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section-lead { color: var(--muted); max-width: var(--measure); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.skip-link:focus { left: 16px; z-index: 10; }

/* ---------- header and footer ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand-note { font-size: 13px; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer p { margin: 0 0 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; padding: 0; list-style: none; }
.footer-links a { color: var(--accent); }
.footer-note { max-width: var(--measure); }

/* ---------- hero ---------- */

.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { max-width: 24ch; }
.hero .lede { font-size: 18px; max-width: var(--measure); }
.hero-sub { color: var(--muted); max-width: var(--measure); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

.figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
/* two drawings of the same schema: wide for desktop, tall for a phone, so the
   labels stay readable at 390px */
.figure svg.figure-tall { display: none; }
@media (max-width: 639px) {
  .figure svg.figure-wide { display: none; }
  .figure svg.figure-tall { display: block; }
}

/* ---------- buttons ---------- */

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #FFFFFF; }
.btn-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn[disabled] {
  background: #EFEEE9;
  border-color: var(--line-strong);
  color: var(--muted);
  cursor: not-allowed;
}
.btn-note {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.cta-fineprint { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- cards, steps, lists ---------- */

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin-bottom: 8px; }
.card p, .card ul { font-size: 15px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.list { padding-left: 20px; margin: 0 0 16px; }
.list li { margin-bottom: 8px; }
.list-plain { list-style: none; padding: 0; }
.list-plain li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}
.list-plain li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.list-no li::before { background: var(--line-strong); }

.note {
  background: var(--accent-tint);
  border: 1px solid #D5E1EF;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 20px;
  max-width: var(--measure);
}
.note p { font-size: 15px; }
.note p:last-child { margin-bottom: 0; }

/* ---------- price ---------- */

.price-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  max-width: 520px;
}
.price {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.price-note { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.price-card .list { font-size: 15px; }

/* ---------- faq ---------- */

.faq { max-width: var(--measure); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 14px 32px 14px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.15s ease-in-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 16px; font-size: 15px; }

/* ---------- table and routes (comparison page) ---------- */

.table-hint { display: none; font-size: 14px; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 760px) { .table-hint { display: block; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 15px; }
caption { text-align: left; font-size: 14px; color: var(--muted); padding: 12px 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 16px; border-bottom: 1px solid var(--line); }
thead th { background: #F3F2ED; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--success); font-weight: 600; }
td.no { color: var(--muted); }
tr.is-ours td, tr.is-ours th { background: var(--accent-tint); }

.route { margin-bottom: 16px; max-width: calc(var(--measure) + 40px); }
.route h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.route h3 .route-num { color: var(--muted); font-weight: 600; }
.spec { margin: 0; font-size: 15px; }
.spec dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.spec dd { margin: 2px 0 0; }
.source { font-size: 13px; color: var(--muted); margin-top: 16px; }
.source a { word-break: break-word; }

.sources { font-size: 14px; }
.sources ol { padding-left: 22px; }
.sources li { margin-bottom: 10px; color: var(--muted); }
.sources a { word-break: break-word; }

/* ---------- small pages ---------- */

.legal { padding: 40px 0 48px; }
.legal .prose h2 { margin-top: 32px; font-size: 20px; }
.legal .status {
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.centered { padding: 64px 0 72px; }
.centered .prose { max-width: 34rem; }

.steps-ol { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps-ol > li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}
.steps-ol > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section { padding: 36px 0; }
  .hero { padding: 32px 0; }
  .cta-row .btn { width: 100%; }
}
