:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5d6472;
  --accent: #0a74e8;
  --rule: #e3e6ec;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --card: #181b21;
    --text: #eceef2;
    --muted: #9aa1ae;
    --accent: #4ea1ff;
    --rule: #2a2e37;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.mark { width: 28px; height: 22px; border-radius: 6px; background: var(--accent); position: relative; }
.mark::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--bg); }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--text); }
h1 { font-size: 36px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 21px; margin: 36px 0 8px; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.updated { color: var(--muted); font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--accent); }
dt { font-weight: 600; margin-top: 18px; }
dd { margin: 4px 0 0; color: var(--text); }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
@media (max-width: 480px) {
  h1 { font-size: 30px; }
  nav a { margin-left: 12px; }
}
