:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --accent: #3b5bdb;
  --panel: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2c2c2e;
    --accent: #8ea2ff;
    --panel: #1f1f22;
  }
}

* { 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;
}
main, header, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 8px; }
header a.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
header img { width: 32px; height: 32px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
h1 { font-size: 34px; line-height: 1.2; margin: 32px 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lede { font-size: 20px; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); font-size: 15px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
.hero { text-align: center; padding: 40px 0 8px; }
.hero img { width: 112px; height: 112px; }
.hero h1 { margin-top: 16px; }
.panel { background: var(--panel); border-radius: 14px; padding: 4px 20px; margin: 24px 0; }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 16px; padding-bottom: 32px; }
footer p { color: var(--muted); font-size: 14px; }
