/* WozApi docs, huisstijl uit docs/design/DESIGN_SYSTEM.md: inkt op koel papier, 1 accent.
   Bewust 1 klein CSS-bestand zonder build-stap: GitHub Pages serveert dit statisch, en een
   Jekyll-thema zou controle over de SEO-tags en de laadtijd kosten zonder iets toe te voegen.
   Systeemfonts omdat een webfont hier een extra render-blocking request naar een derde partij
   zou zijn voor documentatie die vooral gelezen en gescand wordt. */
:root {
  --paper: #F3F5F7;
  --card: #FFFFFF;
  --ink: #0E1420;
  --muted: #5B6675;
  --line: #E3E7EC;
  --accent: #E8590C;
  --accent-strong: #C74A08;
  --accent-weak: #FBEFE7;
  --accent-ink: #B8420A;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

header.top {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
header.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
header.top .brand {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 16px;
}
header.top nav { display: flex; flex-wrap: wrap; gap: 18px; }
header.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.top nav a:hover, header.top nav a:focus { color: var(--accent-strong); text-decoration: underline; }
header.top nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

main { padding: 40px 0 64px; }

h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.4px; margin: 0 0 12px; }
h2 { font-size: 25px; line-height: 1.25; margin: 44px 0 12px; }
h3 { font-size: 19px; margin: 30px 0 8px; }

.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }

p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

/* Links in lopende tekst onderstreept: het oranje haalt tegen de grijze tekst geen 3:1,
   dus kleur alleen is hier geen toegankelijk onderscheid. */
main a { color: var(--accent-strong); text-decoration: underline; }
main a:hover, main a:focus { text-decoration-thickness: 2px; }

pre {
  background: var(--ink);
  color: #E8ECF1;
  padding: 16px 18px;
  border-radius: 4px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
pre:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
code { font-family: var(--mono); font-size: 0.92em; }
p code, li code, td code {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 3px;
}

.table-scroll { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--card); }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #F7F9FB; font-weight: 600; }

.callout {
  background: var(--accent-weak);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 0 0 22px;
  border-radius: 0 4px 4px 0;
}
.callout strong { color: var(--accent-ink); }

.cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 22px;
  margin: 32px 0 0;
}
.cta h2 { margin-top: 0; }

footer.bottom {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 24px 0;
  color: var(--muted);
  font-size: 15px;
}
footer.bottom a { color: var(--accent-strong); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  main { padding: 28px 0 44px; }
}
