:root {
  --bg: #fbfbfe;
  --surface: #ffffff;
  --text: #1c1b29;
  --muted: #5d5b72;
  --border: #e3e2ee;
  --accent: #5046e5;
  --accent-soft: #eeedfd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111118;
    --surface: #1a1a24;
    --text: #ececf4;
    --muted: #a3a1b8;
    --border: #2c2b3a;
    --accent: #9d97ff;
    --accent-soft: #24223f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
header.site .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none;
}
header.site .brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-top: 32px; padding-bottom: 64px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 40px 0 8px; padding-top: 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.lede { font-size: 18px; color: var(--muted); margin-top: 0; }
.meta { color: var(--muted); font-size: 14px; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.note {
  background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; margin: 16px 0;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
ul, ol { padding-left: 22px; }
footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 20px; padding-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
