:root {
  color-scheme: light dark;
  --accent: #8f2f3b;
  --background: #fbf8f2;
  --surface: #ffffff;
  --text: #211c1d;
  --muted: #655d5e;
  --border: #ded4d1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171314;
    --surface: #211b1d;
    --text: #f5eeee;
    --muted: #c8bbbd;
    --border: #44383b;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  line-height: 1.75;
}
main {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}
h1, h2 { line-height: 1.35; }
h1 { margin-top: 0; }
h2 { margin-top: 2em; }
a { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.05rem; }
.notice {
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
footer { margin-top: 40px; color: var(--muted); font-size: .9rem; }
