/* Huisstijl van docs/plans: accent #C15F3C, systeemkleuren voor licht en donker.
   Geen webfonts, geen externe bestanden: deze site laadt alleen zichzelf. */
:root {
  color-scheme: light dark;
  --accent: #C15F3C;
  --accent-text: #A34A2A;
  --panel: color-mix(in srgb, Canvas 93%, var(--accent));
  --line: color-mix(in srgb, CanvasText 15%, Canvas);
  --muted: color-mix(in srgb, CanvasText 62%, Canvas);
}
@media (prefers-color-scheme: dark) {
  :root { --accent-text: #E8906E; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  max-width: 820px; margin: 0 auto; padding: 0 20px 64px;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: CanvasText; background: Canvas;
  overflow-wrap: anywhere;
}
a { color: var(--accent-text); }
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 20px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
header.site .brand { font-weight: 800; font-size: 1.15rem; color: CanvasText; text-decoration: none; }
header.site .brand span { color: var(--accent); }
header.site nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
header.site nav a { text-decoration: none; font-weight: 600; }
header.site nav a[aria-current="page"] { color: CanvasText; border-bottom: 2px solid var(--accent); }
h1 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.08; margin: 1.1em 0 .3em; }
h2 { margin-top: 2.2em; border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, Canvas); padding-bottom: .2em; }
h3 { margin-top: 1.6em; }
.meta, .muted { color: var(--muted); }
.lead { font-size: 1.2rem; }
.store {
  display: inline-flex; align-items: center; gap: 10px; margin: 1em 0;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 1.05rem;
  color: #fff; background: var(--accent); text-decoration: none;
}
.store[aria-disabled="true"] { opacity: .85; cursor: default; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 2em 0; padding: 0; list-style: none; }
.features li { padding: 18px 20px; border-radius: 16px; background: var(--panel); }
.features h2 { margin: 0 0 .3em; border: 0; padding: 0; font-size: 1.15rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
th { background: color-mix(in srgb, var(--accent) 12%, Canvas); }
/* Op een telefoon wordt de tabel een lijst van kaarten: geen horizontaal scrollen. */
@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  table.stack td { border: 0; padding: 4px 0; }
  table.stack td::before { content: attr(data-label); display: block; font-weight: 700; font-size: .85rem; color: var(--muted); }
}
code { padding: .1em .35em; border-radius: 5px; background: color-mix(in srgb, CanvasText 9%, Canvas); font-size: .9em; }
.callout { padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--panel); margin: 1.2em 0; }
.toc { padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.toc ol { margin: .4em 0 0; padding-left: 1.3em; }
.toc a { color: CanvasText; }
footer.site { margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
footer.site a { color: var(--muted); }
