/* Colours are the brand tokens in docs/brand.md (light, then dark). Contrast: design/tools/contrast.py */
:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #545458;
  --link: #a85a0f; /* Accent, light */
  --rule: #e5e5ea;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1e;
    --text: #f2f2f7;
    --muted: #aeaeb2;
    --link: #f2a04a; /* Accent, dark */
    --rule: #3a3a3c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 40rem; margin: 0 auto; padding: 2rem 16px 3rem; }
header { border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; padding-bottom: 1rem; }
header a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
a { color: var(--link); }
ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
.lede { font-size: 1.1rem; }
.muted, footer { color: var(--muted); font-size: 0.95rem; }
footer { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1rem; }
footer a { margin-right: 1rem; display: inline-block; padding: 0.3rem 0; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
