/* Legal pages (privacy, sub-processors, security, legal notice, responsible disclosure).
   Loaded after site.css. No external resources: Outfit/Inter come from the self-hosted @font-face rules in site.css. */

/* One language block visible at a time; English without JavaScript. legal.js sets html[data-ll]. */
.legal-lang { display: none; }
html:not([data-ll]) .legal-lang[data-l="en"],
html[data-ll="en"] .legal-lang[data-l="en"],
html[data-ll="nl"] .legal-lang[data-l="nl"],
html[data-ll="fr"] .legal-lang[data-l="fr"],
html[data-ll="de"] .legal-lang[data-l="de"] { display: block; }

.legal-nav-right { margin-left: auto; }
.legal-langs { display: flex; gap: 6px; }
.legal-lang-btn[aria-pressed="true"] { color: var(--brand-2); border-color: var(--brand); font-weight: 600; }
.legal-back { color: var(--text-2); text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
.legal-back:hover { color: var(--text); }

.legal { max-width: 860px; padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(56px, 8vw, 112px); }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 44px 0 14px; line-height: 1.2; }
.legal p, .legal li { color: var(--text-2); }
.legal p { margin: 0 0 16px; }
.legal p.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal ul { margin: 0 0 20px; padding-left: 1.3em; display: grid; gap: 10px; }
.legal a { color: var(--brand-2); text-underline-offset: 3px; }
.legal a:hover { color: var(--lime); }
.legal strong { color: var(--text); font-weight: 600; }
/* Button links (the not-found page): keep the site's button colours, not the text-link ones above. */
.legal a.btn-primary, .legal a.btn-primary:hover { color: #04110c; }
.legal p.legal-actions { margin-top: 32px; }
.legal code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }

.legal-table { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; }
.legal-table table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.93rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.legal-table thead th { color: var(--text); background: var(--surface); font-weight: 600; }
.legal-table tbody th { color: var(--text); font-weight: 600; }
.legal-table tbody tr:last-child th, .legal-table tbody tr:last-child td { border-bottom: 0; }

/* Open points that need a real value before publication. */
mark.tbc { background: #ffd666; color: #1a1300; padding: 1px 5px; border-radius: 4px; }

@media (max-width: 640px) {
    .legal-back { display: none; }
}
