:root {
  color-scheme: dark;
  --page-bg: #0e1614;
  --page-ink: #e9f1ee;
  --page-muted: #9db3ad;
  --page-link: #85d6cb;
  --page-line: #33423f;
  --page-surface: #18221f;
  --page-highlight: #1c3531;
  --page-highlight-line: #385d56;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--page-ink);
  background: var(--page-bg);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--page-link); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #f2c75c; outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 10px; background: var(--page-surface); }
.skip-link:focus { top: 8px; }
.site-header, main, .site-footer { width: min(100% - 40px, 780px); margin-inline: auto; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; border-bottom: 1px solid var(--page-line); }
.brand { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--page-ink); }
.brand span { color: var(--page-link); }
.languages { display: flex; gap: 4px; }
.languages a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 10px; }
.languages a[aria-current="page"] { background: var(--page-highlight); font-weight: 700; text-decoration: none; }
main { padding-block: 32px 20px; overflow-wrap: anywhere; }
.eyebrow { color: var(--page-muted); margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 14px; }
h2 { font-size: 1.3rem; line-height: 1.4; margin: 30px 0 10px; scroll-margin-top: 20px; }
p, ul, ol { margin-block: 0 16px; }
li + li { margin-top: 6px; }
ul, ol { padding-inline-start: 24px; }
.updated { color: var(--page-muted); font-size: 0.9rem; }
.summary { padding: 20px; border: 1px solid var(--page-highlight-line); border-radius: 16px; background: var(--page-highlight); margin-block: 24px; }
.summary p:last-child { margin-bottom: 0; }
.contents { padding: 18px 20px; background: var(--page-surface); border: 1px solid var(--page-line); border-radius: 16px; }
.contents h2 { margin: 0 0 8px; font-size: 1rem; }
.contents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; list-style: none; padding: 0; margin: 0; }
.contents li { margin: 0; }
.contents a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { border-top: 1px solid var(--page-line); padding-block: 16px max(16px, env(safe-area-inset-bottom)); font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 520px) {
  .contents ul { grid-template-columns: 1fr; }
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  main { padding-top: 24px; }
}
@media print {
  :root {
    color-scheme: light;
    --page-bg: white;
    --page-ink: black;
    --page-muted: #444;
    --page-link: black;
    --page-line: #bbb;
    --page-surface: white;
    --page-highlight: white;
    --page-highlight-line: #bbb;
  }
  .site-header, .contents, .site-footer, .skip-link { display: none; }
  main { width: 100%; padding: 0; }
  .summary { background: var(--page-surface); }
  a { color: inherit; }
  h2 { break-after: avoid; }
}
