/* Shared style of the side pages (legal notice, privacy, support). Colours as in index.html. */
:root {
  color-scheme: dark;
  --page: #0a0e16; --ink: #e9eef7; --quiet: #a3adc4; --rule: #222a3d;
  --field: #111827; --tone: #86d4ff; --on-tone: #04131e; --warn: #ffb4be;
  --sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #eef1f6; --ink: #131a26; --quiet: #4f596e; --rule: #d3d9e5;
    --field: #ffffff; --tone: #0a6aa8; --on-tone: #ffffff; --warn: #8f1c2e;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font: 16px/1.6 var(--sans); }
:focus-visible { outline: 2px solid var(--tone); outline-offset: 2px; }
a { color: var(--tone); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--field); padding: 6px 10px; border-radius: 6px; }
header.top, footer.bottom, main { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
header.top a.brand { color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: .02em; }
main { padding-top: 28px; padding-bottom: 40px; }
h1 { font-size: clamp(26px, 5vw, 34px); font-weight: 600; line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 20px; font-weight: 600; margin: 32px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 6px; }
p, li { color: var(--ink); }
.quiet { color: var(--quiet); }
.draft { border: 1px solid var(--warn); color: var(--warn); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--rule); }
th { color: var(--quiet); font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.choice { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
          border-radius: 999px; font-weight: 650; text-decoration: none; background: var(--tone); color: var(--on-tone); }
.choice.secondary { background: transparent; color: var(--tone); border: 1px solid var(--tone); }
.choice[aria-disabled="true"] { opacity: .5; pointer-events: none; }
footer.bottom { border-top: 1px solid var(--rule); padding-top: 16px; padding-bottom: 28px; font-size: 14px; color: var(--quiet); }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 36px 0; }
