:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d1b18;
  --muted: #5f5a52;
  --line: #e6e2da;
  --accent: #8a5a2b;
  --accent-soft: #f3ebe1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --surface: #1f1d1a;
    --text: #efebe4;
    --muted: #aaa398;
    --line: #34302a;
    --accent: #d9a46b;
    --accent-soft: #2a241d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--text); }
main { padding: 56px 0 72px; }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--text); }
.lede { font-size: 19px; color: var(--muted); max-width: 600px; }
.muted { color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-top: 28px;
}
.card h2 { margin-top: 0; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.scroll { overflow-x: auto; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
