:root {
  --bg: #ffffff; --surface: #f4f6f8; --border: #e2e6ea;
  --text: #16191d; --muted: #4e5666; --accent: #6b3b86;
  --on-accent: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417; --surface: #1b1f24; --border: #2c3238;
    --text: #e6e9ed; --muted: #a3abb6; --accent: #d3b3e6;
    --on-accent: #2a1136;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "PT Sans", Segoe UI, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px 72px; }
header.site { border-bottom: 1px solid var(--border); margin-bottom: 40px; }
header.site .wrap { display: flex; align-items: center; gap: 12px;
  padding-top: 18px; padding-bottom: 18px; }
header.site img { width: 32px; height: 32px; border-radius: 8px; }
header.site a.name { font-weight: 700; color: var(--text); text-decoration: none;
  letter-spacing: .01em; }
header.site nav { margin-left: auto; display: flex; gap: 18px; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.site nav a:hover { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin: 2.2em 0 .5em; }
h3 { font-size: 1.05rem; margin: 1.8em 0 .4em; }
p, li { color: var(--text); }
a { color: var(--accent); }
code { background: var(--surface); border: 1px solid var(--border);
  border-radius: 5px; padding: .08em .35em; font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }
blockquote { margin: 1.5em 0; padding: .2em 0 .2em 18px;
  border-left: 3px solid var(--accent); color: var(--text); }
blockquote p:first-child { margin-top: 0; }
blockquote p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: .95em; }
th, td { border: 1px solid var(--border); padding: 9px 11px; text-align: left;
  vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
ul, ol { padding-left: 1.3em; }
li { margin: .35em 0; }
.lede { font-size: 1.15rem; color: var(--muted); }
.hero { padding: 16px 0 8px; }
.hero h1 { font-size: 2.35rem; }
.badge { display: inline-block; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); border-radius: 999px;
  padding: 5px 13px; font-size: 14px; margin-bottom: 20px; }
.note { background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; color: var(--muted); font-size: 15px; }
footer.site { border-top: 1px solid var(--border); margin-top: 56px; }
footer.site .wrap { padding-top: 22px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); }
@media (max-width: 480px) { .hero h1 { font-size: 1.9rem; } h1 { font-size: 1.7rem; } }
