:root {
  --bg: #f2f3f4; --surface: #ffffff; --text: #141615; --muted: #5c6668; --line: #d9e2e2;
  --brand: #014751; --link: #014751; --mark: #e5f8f0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1416; --surface: #12201f; --text: #eef3f2; --muted: #a3b1b0; --line: #24393a;
    --brand: #00d37f; --link: #5fe3ad; --mark: #133a30;
  }
}
* { 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, sans-serif; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.2rem; color: var(--brand); text-decoration: none; }
.brand img { border-radius: 7px; }
header.site nav { display: flex; gap: 1.25rem; }
header.site nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
header.site nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 6px; }
main { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
@media (min-width: 48rem) { main { padding: 2.25rem 2.5rem 2.5rem; } }
@media (max-width: 47.99rem) { main { border-left: 0; border-right: 0; border-radius: 0; } }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .25rem; }
.updated { margin: 0 0 1.25rem; color: var(--muted); font-size: .95rem; }
.intro { font-size: 1.05rem; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 2rem 0 .5rem; scroll-margin-top: 1rem; }
p, ul, ol { margin: 0 0 .9rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { font-weight: 650; }
.contents { margin: 1.25rem 0 0; padding: 1rem 1.25rem; background: var(--mark); border-radius: 12px; }
.contents-title { margin: 0 0 .4rem; font-weight: 700; }
.contents ol { margin: 0; columns: 2 14rem; column-gap: 2rem; }
.contents li { break-inside: avoid; margin-bottom: .2rem; }
footer.site { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; color: var(--muted); font-size: .9rem; }
footer.site p { margin: 0 0 .5rem; }
@media print { header.site nav, .contents { display: none; } main { border: 0; } }
