:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5f5f66;
  --line: #e5e5ea;
  --card: #f7f7f7;
  --accent: #b8501f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111112; --text: #f2f2f4; --muted: #a3a3ab; --line: #2c2c30; --card: #1c1c1f; --accent: #f0a27a; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
header a.brand { font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
nav a { margin-left: 18px; font-size: 15px; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding-top: 36px; padding-bottom: 48px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 22px; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: var(--text); }
.lead { color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.summary { background: var(--card); border-radius: 14px; padding: 6px 20px; margin: 24px 0; }
a { color: var(--accent); }
ul { padding-left: 22px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { padding-top: 22px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 14px; }
@media (max-width: 520px) {
  h1 { font-size: 28px; }
  nav a { margin-left: 12px; }
}
