/* Five to Nine legal pages. System fonts only: no third-party requests, no cookies. */
:root {
  --bg: #FFF9F4;
  --text: #2A1810;
  --muted: #7A5B47;
  --link: #A8441F;      /* 5.7:1 on --bg */
  --border: #EADFD6;
  --accent: #f58b62;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0818;
    --text: #F5F5F7;
    --muted: #9b8db8;
    --link: #f58b62;    /* 8.2:1 on --bg */
    --border: #2a2240;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main, .site-header, .site-footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 8px;
}
.site-header a { color: var(--text); text-decoration: none; font-weight: 600; }
.site-header svg { width: 28px; height: 28px; flex: none; }

nav.docs {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 16px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 15px;
}
nav.docs a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }

h1, h2, h3 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; margin: 24px 0 4px; }
h2 { font-size: 1.4rem; margin: 40px 0 8px; padding-top: 8px; border-top: 1px solid var(--border); }
h3 { font-size: 1.1rem; margin: 24px 0 4px; }

a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.meta { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

.summary {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
}
.summary h2 { border: 0; margin-top: 0; padding-top: 0; font-size: 1.15rem; }
.summary ul { margin: 0; padding-left: 20px; }

.card { margin: 8px 0 32px; }
.card h3 { font-size: 1.3rem; margin: 32px 0 4px; }
.card dl { margin: 0; }
/* Labels (What / Why / Legal basis) read as small tags, clearly below the feature heading. */
.card dt {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.card dd { margin: 2px 0 0; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; white-space: nowrap; }

.placeholder { background: #ffe9a8; color: #2A1810; padding: 0 4px; border-radius: 4px; }

.site-footer {
  color: var(--muted);
  font-size: 14px;
  padding-top: 32px;
  padding-bottom: 48px;
}

@media print {
  nav.docs, .site-footer { display: none; }
  .summary { border-color: #999; }
}
