:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #4a5a6a;
  --line: #d6dee6;
  --brand: #0b2540;
  --accent: #0a7f73;
  --accent-text: #ffffff;
  --note: #eef6f5;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071a2b;
    --surface: #0d2539;
    --text: #e8eef3;
    --muted: #a9b8c6;
    --line: #23405a;
    --brand: #e8eef3;
    --accent: #26bba7;
    --accent-text: #071a2b;
    --note: #0f3040;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 32px; height: 32px; }
nav.top ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; font-size: 15px; }
nav.top a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav.top a[aria-current="page"], nav.top a:hover { color: var(--text); }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding: 36px 16px 56px; }
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { max-width: 72ch; }
.lead { font-size: 19px; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 15px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.note { background: var(--note); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 24px 0; }
.grid .card { margin: 0; }
.grid .card h3 { margin-top: 0; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
}
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; padding: 24px 0 40px; }
footer.site p { margin: 0; }
footer.site a { color: var(--muted); }
.card h2:first-child { margin-top: 0; }
