/*
 * Werkvoorraad 238: de openbare pagina's van het portaal (/privacy en /gegevens-verwijderen). Statische HTML zonder
 * scripts (de crawler van Meta voert geen JavaScript uit), dus een eigen klein stijlblad: de strikte CSP staat geen
 * inline stijl toe. Kleuren als in de lichte en donkere stand van het portaal (src/styles.css).
 */
:root {
  --achtergrond: #e5eaf1;
  --kaart: #ffffff;
  --tekst: #1a2433;
  --tekst-zacht: #4b5769;
  --accent: #2a5b94;
  --rand: #d4dce7;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --achtergrond: #0c1118;
    --kaart: #141b24;
    --tekst: #e6ebf2;
    --tekst-zacht: #9aa6b5;
    --accent: #9dc1f2;
    --rand: #232e3b;
    color-scheme: dark;
  }
  /* Het logo is donker: licht maken zoals in de app (--logo-filter in src/styles.css). */
  .kop img { filter: brightness(0) invert(.94); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--achtergrond);
  color: var(--tekst);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, 'Open Sans', sans-serif;
}
.pagina {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px));
}
.kop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.kop img { height: 36px; width: auto; }
.kop a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }
.kop a:hover { text-decoration: underline; }
article {
  background: var(--kaart);
  border: 1px solid var(--rand);
  border-radius: 12px;
  padding: 28px clamp(18px, 4vw, 40px) 32px;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(24px, 4vw, 30px); line-height: 1.25; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 18px; line-height: 1.35; margin: 28px 0 8px; text-wrap: balance; }
h3 { font-size: 16px; line-height: 1.4; margin: 18px 0 6px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin: 2px 0; }
a { color: var(--accent); }
.versie { color: var(--tekst-zacht); font-size: 14px; font-style: italic; }
.voet {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--rand);
  color: var(--tekst-zacht);
  font-size: 14px;
}
.voet p { margin: 0 0 6px; }
