/* Hallmark · shape: Long Document · genre: editorial · theme: brand · redesign: full · job: learn · page: /faq, /status, /legal
 * hero: intro (type, left) · nav: floating pill · footer: statement on /faq, plain on /status and /legal · signature: the live answers, statuses and texts from the database, set as ruled rows beside their heading · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H3 E4 S3 R4 V3 · weakest: S, these are reference pages; their one thing is the live content itself, set plainly */
/* Hallmark · dropped the separate header with the site name, Home, Status and Klantenpaneel · the shared nav carries the logo and Klant login, the footer carries Status and FAQ */
/* Hallmark · dropped the filled "Vraag niet beantwoord?" card on /faq · its head, line and Ticket aanmaken (/klant) moved to the footer close; a mail link joins it */
/* Hallmark · reworded "✓ Alle systemen operationeel" to "Alle systemen operationeel." · the tick was an icon glyph (30a); the line now waits for the first answer instead of claiming all is well before it loads */
/* Hallmark · dropped the coloured status dots on /status · 63; the coloured label carries the state */
/* Hallmark · reworded "Incidenten historie" to "Eerdere incidenten" and "Services" to "Diensten" · Dutch heads */
/* Hallmark · reworded the " · " joins in incident lines to commas · 63 */
/* Hallmark · waive 44c · the intro is a heading and one line over live content · on these reference pages the questions, service statuses and legal texts load straight under the intro, and a full-screen opening would push the answers people came for below the fold */
/* Hallmark · waive 79 · the space under the intro is the start of the content section · the gap the check measures is filled by the first live rows a moment after load, so stretching the head or adding a picture would only delay what visitors look for */
/* Hallmark · dismissed 77 · a reference page is one intro and one body of live content plus the footer; extra sections would be filler around a list of answers */

/* Leesbare statuskleuren op het donkere papier */
:root {
  --color-ok: oklch(78% 0.13 150);
  --color-warn: oklch(83% 0.13 78);
  --color-bad: oklch(72% 0.17 27);
  --color-info: oklch(78% 0.09 240);
}

/* ---------- FAQ ---------- */
.faq-search { width: 100%; align-self: end; }
.faq-search .field { width: 100%; }
.faq-groups { display: grid; gap: var(--space-3xl); }
.faq-group > h2 { font-size: var(--text-2xl); }
.faq__a { white-space: pre-line; }

/* ---------- Status ---------- */
.status-grid { display: grid; gap: var(--space-3xl); }
.status-grid .split > h2 { font-size: var(--text-2xl); font-variant-numeric: tabular-nums; }
.status-summary.is-ok { color: var(--color-ok); }
.status-summary.is-warn { color: var(--color-warn); }
.status-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.status-list > li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule); }
.status-list h3 { font-size: var(--text-md); }
.status-label { flex-shrink: 0; font-size: var(--text-sm); font-weight: 600; }
.st--operational { color: var(--color-ok); }
.st--degraded, .st--partial_outage, .st--incident { color: var(--color-warn); }
.st--major_outage { color: var(--color-bad); }
.st--maintenance { color: var(--color-info); }
.status-updates { list-style: none; margin: var(--space-sm) 0 0; padding: 0 0 0 var(--space-md); border-left: 1px solid var(--color-rule); display: grid; gap: var(--space-sm); }

/* ---------- Juridisch ---------- */
.legal-tabs { display: grid; gap: var(--space-2xs); padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); }
.legal-tab { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink-2); font: inherit; text-align: left; cursor: pointer; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.legal-tab:hover { background: var(--color-paper-2); color: var(--color-ink); }
.legal-tab:active { transform: translateY(1px); }
.legal-tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.legal-tab[aria-selected="true"] { background: var(--color-paper-2); color: var(--color-accent); }
.legal-tab:disabled { opacity: 0.55; cursor: not-allowed; }
.legal-content em { color: var(--color-muted); }
.legal-content code { padding: 0 var(--space-2xs); border-radius: var(--radius-input); background: var(--color-paper-3); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .legal-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .status-list > li { flex-direction: column; gap: var(--space-2xs); }
}
