:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5b5b66;
  --rule: #e4e4ea;
  --accent: #6d3bd4;
  --card: #f7f6fb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131318;
    --fg: #ececf1;
    --muted: #a0a0ad;
    --rule: #2c2c36;
    --accent: #a98cf0;
    --card: #1c1c24;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }
header { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 2rem; }
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--accent); text-decoration: none; }
h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0.6rem 0 0.35rem; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 0.6rem; letter-spacing: -0.01em; }
.updated { color: var(--muted); font-size: 0.875rem; margin: 0; }
p, li { color: var(--fg); }
ul { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
a { color: var(--accent); }
.note {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.scroll { overflow-x: auto; }
footer { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.875rem; }
footer a { margin-right: 1rem; }
