:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #14181f;
  --muted: #5a6472;
  --accent: #2f6fed;
  --border: #e2e6ec;
}
:root:not([data-theme="light"]) { }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1116;
    --surface: #161b23;
    --text: #e9edf3;
    --muted: #9aa5b4;
    --accent: #6da2ff;
    --border: #262d38;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 40px 22px 80px; }
header.site {
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.brand { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.site { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav.site a:hover { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 19px; margin: 34px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 22px 0 6px; }
p, li { color: var(--text); }
.lede { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
a { color: var(--accent); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}
.card h3 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
footer.site {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 11px 20px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
