:root {
  --page: #fff;
  --surface: #fff;
  --subtle: #fafafa;
  --line: #e4e4e7;
  --heading: #27272a;
  --text: #3f3f46;
  --muted: #71717a;
  --accent: #27272a;
  --accent-fg: #fff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #27272a;
    --surface: #2f2f33;
    --subtle: #ffffff0a;
    --line: #ffffff1a;
    --heading: #fff;
    --text: #e4e4e7;
    --muted: #a1a1aa;
    --accent: #fff;
    --accent-fg: #27272a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav { display: flex; gap: 4px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: 8px; }
nav a:hover, nav a[aria-current="page"] { color: var(--heading); background: var(--subtle); }
main { padding: 48px 0 64px; }
h1 { color: var(--heading); font-size: clamp(28px, 6vw, 36px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 17px; margin: 0 0 32px; max-width: 36rem; }
h2 { color: var(--heading); font-size: 17px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
p, li { max-width: 40rem; }
p { margin: 0 0 12px; }
ul { padding-left: 20px; margin: 0 0 12px; }
li { margin-bottom: 6px; }
a { color: var(--heading); text-underline-offset: 3px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.subtle { background: var(--subtle); }
.button { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--accent); color: var(--accent-fg); font-size: 15px; font-weight: 500; text-decoration: none; }
.badge { display: inline-block; font-size: 13px; font-weight: 500; padding: 2px 8px; border-radius: 6px; background: #a1a1aa26; color: var(--text); }
.meta { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
