/* Plain pages (privacy, how safety works) in the Novit look: light paper,
   bold Geist headings tracked tight, one raspberry. */
:root {
  /* Colours that were written into rules, lifted to tokens at the same values (Hallmark gate 48, polish pass 28 Nov 2026). */
  --short-bg: #FBFAF6;
  --short-edge: #E2DCCF;
  --settings-edge: #E2DCCF;
  --n-bg: rgb(201 65 106 / 0.1);
  --rules-edge: #E2DCCF;
}

html { background: var(--paper); }
html, body { overflow-x: clip; }
body.doc { background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.doc-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 46rem; margin: 0 auto; padding: 20px var(--gutter) 0; }
.doc-nav a { color: inherit; }
.doc-back { font-size: 15px; font-weight: 520; text-decoration: none; border-bottom: 2px solid var(--pop); padding: 3px 0; }
.doc main { max-width: 46rem; margin: 0 auto; padding: clamp(44px, 8vh, 88px) var(--gutter) 88px; }
.doc h1 { margin: 0; font-weight: 750; font-size: clamp(42px, 6vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.doc .updated { margin-top: 14px; font-size: 14px; color: var(--ink-faint); }
.doc h2 { margin: 56px 0 0; font-weight: 720; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; letter-spacing: -0.035em; }
.doc h3 { margin-top: 28px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.doc p, .doc li, .doc dd { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.doc p { margin-top: 12px; }
.doc ul { margin: 14px 0 0; padding-left: 1.2em; list-style: disc; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--ink); font-weight: 650; }
.doc a { color: inherit; text-underline-offset: 3px; }
.doc .short { margin-top: 36px; padding: 22px 24px; border-radius: 16px; background: var(--short-bg); border: 1px solid var(--short-edge); }
.doc .short ul { margin-top: 6px; }
.doc footer { max-width: 46rem; margin: 0 auto; padding: 18px var(--gutter) 48px; border-top: 1px solid var(--hairline); font-size: 13.5px; color: var(--ink-faint); }
.doc footer a { color: inherit; white-space: nowrap; }

/* How safety works */
.settings { margin: 22px 0 0; border-top: 1px solid var(--settings-edge); }
.settings > div { display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--settings-edge); }
.settings dt { grid-column: 2; font-weight: 650; font-size: 17px; color: var(--ink); }
.settings dd { grid-column: 2; margin: 0; }
.settings .n { grid-row: 1 / span 2; grid-column: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--n-bg); color: var(--pop-text); font-size: 14px; font-weight: 650; }
.rules { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--rules-edge); }
.rules li { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--rules-edge); }
.rules li p { margin: 0; }
.wont li { list-style: none; position: relative; padding-left: 24px; }
.wont { padding-left: 0 !important; }
.wont li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--pop); }

/* Language switch (EN · FR · NL), same as the landing page's. Prose blocks for
   other languages are hidden from first paint: i18n.js sets <html lang> in <head>. */
.doc-nav-end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 10px; font-size: 13px; color: var(--ink-faint); }
.lang[hidden] { display: none; }
.lang a { color: inherit; text-decoration: none; padding: 4px 2px; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
html[lang="en"] [data-lang-block]:not([data-lang-block="en"]),
html[lang="fr"] [data-lang-block]:not([data-lang-block="fr"]),
html[lang="nl"] [data-lang-block]:not([data-lang-block="nl"]) { display: none; }
@media (max-width: 380px) { .doc-nav-end { gap: 12px; } .lang { gap: 6px; font-size: 12px; } }
