:root {
  --ink: #14162b;
  --ink-2: #3c4060;
  --ink-3: #626783;
  --line: #e2e5ee;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --accent: #b5172f;
  --navy: #0f1131;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: #8e1022; }
.wrap { max-width: 860px; 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; }
header.site img { height: 44px; width: auto; display: block; }
header.site nav a { margin-left: 18px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
header.site nav a:first-child { margin-left: 0; }
header.site nav a[aria-current="page"], header.site nav a:hover { color: var(--accent); }
main { padding: 44px 0 56px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; color: var(--navy); letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 40px 0 10px; color: var(--navy); }
h3 { font-size: 18px; margin: 24px 0 6px; color: var(--navy); }
p, li { color: var(--ink-2); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 680px; }
.meta { color: var(--ink-3); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 26px 0 8px; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.card h3 { margin-top: 0; font-size: 16px; }
.card p { margin: 0; font-size: 15px; }
.notice { background: var(--soft); border-left: 4px solid var(--navy); border-radius: 6px; padding: 14px 18px; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--navy); background: var(--soft); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.toc { columns: 2 220px; padding-left: 18px; font-size: 15px; }
footer.site { border-top: 1px solid var(--line); background: var(--soft); }
footer.site .wrap { padding-top: 22px; padding-bottom: 26px; font-size: 14px; color: var(--ink-3); display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
footer.site img { height: 26px; width: auto; vertical-align: middle; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  header.site img { height: 36px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 4px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td:first-child { font-weight: 600; color: var(--navy); }
}
