:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #5c5c61;
  --rule: #e2e2e6;
  --accent: #0a66c2;
  --accent-fg: #ffffff;
  --card: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111114;
    --fg: #f2f2f5;
    --muted: #a3a3ab;
    --rule: #2b2b31;
    --accent: #5aa5f0;
    --accent-fg: #0b0b0e;
    --card: #1b1b20;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--rule);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
header.site .brand { font-weight: 600; color: var(--fg); }
header.site nav a { margin-left: 1rem; color: var(--muted); }
header.site nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
main { padding: 2.5rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, li { max-width: 40rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 1.1rem 1.25rem; margin: 1.25rem 0;
}
.card h3 { margin-top: 0; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-fg);
  padding: 0.55rem 1rem; border-radius: 8px; font-weight: 600;
}
.button:hover { text-decoration: none; opacity: 0.92; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }
dl dt { font-weight: 600; margin-top: 0.9rem; }
dl dd { margin: 0.2rem 0 0; }
footer.site {
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem;
}
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer.site a { color: var(--muted); }
@media (max-width: 480px) {
  html { font-size: 16px; }
  header.site .wrap { flex-direction: column; align-items: flex-start; }
  header.site nav a { margin-left: 0; margin-right: 1rem; }
  h1 { font-size: 1.65rem; }
}
