/* Colours and type reused from the app (DESIGN.md sections 2 and 3). System font only. */
:root {
  color-scheme: light dark;
  --background: #FAF8F3;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #55524B;
  --border: #8C877B;
  --accent: #1F4E8C;
  --on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #121316;
    --surface: #1C1D21;
    --text: #F2F0EA;
    --text-secondary: #B5B2AA;
    --border: #6B6C72;
    --accent: #8FB4EC;
    --on-accent: #0B1A2E;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 1.125rem/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--on-accent); padding: .5rem 1rem; border-radius: 12px; }
.skip:focus { top: 1rem; }
header, main, footer { max-width: 40rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
header { padding-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 1rem; color: var(--text); text-decoration: none; font-weight: 600; }
.brand img { width: 56px; height: 56px; border-radius: 13px; display: block; }
nav { display: flex; gap: .5rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; color: var(--text); text-decoration: none; border-radius: 12px; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1 { font-size: 1.75rem; line-height: 1.4; font-weight: 600; margin: 2.5rem 0 1rem; }
h2 { font-size: 1.375rem; line-height: 1.4; font-weight: 600; margin: 3rem 0 .75rem; }
p, ul { margin: 0 0 1rem; max-width: 36rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: .5rem; }
.lede { font-size: 1.375rem; line-height: 1.45; }
.meta, .small { font-size: .9375rem; line-height: 1.4; color: var(--text-secondary); }
.notice { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 1rem 1.5rem; margin: 2rem 0; }
.notice p:last-child { margin-bottom: 0; }
/* Questions sit in ruled boxes, like the answer options in the app. */
details { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; margin-bottom: 1rem; }
summary { cursor: pointer; min-height: 56px; padding: .75rem 1.5rem; display: flex; align-items: center; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; padding-left: 1rem; font-weight: 400; color: var(--text-secondary); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 1.5rem 1rem; }
details p:last-child { margin-bottom: 0; }
footer { padding-top: 3rem; padding-bottom: 3rem; }
footer p { max-width: none; }
@media (prefers-contrast: more) { :root { --border: var(--text); } }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
