/* Colours from designs/tokens.json. System fonts: the site loads nothing from anywhere else. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #0a0a0a;
  --body: #1a1a1a;
  --text2: #525252;
  --line: #eaeaea;
  --surface: #f7f7f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #ffffff;
    --body: #e6e6e6;
    --text2: #a3a3a3;
    --line: #1c1c1c;
    --surface: #0e0e0e;
  }
}
body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 3rem 1.25rem;
  background: var(--bg);
  color: var(--body);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
h1, h2 { color: var(--text); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 2.5rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 0.5rem; }
a { color: var(--text); text-underline-offset: 0.15em; }
.lede { color: var(--text2); font-size: 1.25rem; margin-top: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 0.25rem 1.25rem; }
nav, footer { display: flex; gap: 1.25rem; color: var(--text2); }
nav { margin-bottom: 3rem; }
footer { margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
li + li { margin-top: 0.5rem; }
