:root {
  --accent: hsl(294 52% 40%);
  --accent-soft: hsl(294 45% 94%);
  --bg: #fbfaf8;
  --card: #ffffff;
  --text: #1d2126;
  --muted: #5f6873;
  --line: #e4e1dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: hsl(294 60% 68%);
    --accent-soft: hsl(294 25% 17%);
    --bg: #14171a;
    --card: #1b1f23;
    --text: #e7e9ec;
    --muted: #98a2ad;
    --line: #2b3137;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.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; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding: 44px 0 56px; }
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h2 { font-size: 20px; letter-spacing: -0.01em; margin: 40px 0 10px; }
p.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 60ch; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 14px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.grid .card { margin: 0; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.pill { display: inline-block; margin-bottom: 14px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; }
dl dt { font-weight: 600; margin-top: 16px; }
dl dd { margin: 4px 0 0; color: var(--muted); }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
