:root {
  color-scheme: light;
  --ink: #0e2147;
  --muted: #4a5e81;
  --blue: #174bd0;
  --line: #d9e3f4;
  --paper: #f4f7fd;
  font: 16px/1.65 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
header { background: white; border-bottom: 1px solid var(--line); }
.topbar, .documents, .languages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.topbar { min-height: 68px; justify-content: space-between; padding-block: 10px; }
.brand { color: var(--ink); font-size: 1.22rem; font-weight: 850; text-decoration: none; }
.brand span { color: var(--blue); }
.documents a, .languages a { text-decoration: none; font-size: .9rem; }
[aria-current] { font-weight: 800; }
.languages a { padding: 3px 7px; border-radius: 7px; }
.languages a[aria-current] { background: #e9f0ff; }
.hero {
  padding: clamp(23px, 5vw, 48px);
  margin-block: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(125deg, #fff 12%, #e9f1ff 100%);
}
.eyebrow, .meta { margin: 0; color: var(--muted); font-size: .9rem; }
.eyebrow { font-weight: 750; color: var(--blue); }
h1 { margin: 8px 0 12px; max-width: 22ch; font-size: clamp(1.85rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.summary { margin: 13px 0 0; max-width: 64ch; }
.layout { display: grid; grid-template-columns: minmax(200px, 255px) minmax(0, 1fr); gap: 18px; align-items: start; }
.contents, section { background: white; border: 1px solid var(--line); border-radius: 17px; }
.contents { padding: 15px 17px; }
.contents h2 { margin: 0 0 8px; font-size: 1rem; }
.contents ol { margin: 0; padding-inline-start: 23px; font-size: .88rem; }
.contents li + li { margin-top: 4px; }
article { display: grid; gap: 12px; }
section { padding: clamp(15px, 3vw, 25px); scroll-margin-top: 12px; overflow-wrap: anywhere; }
section:target { border-color: #8eafff; }
section h2 { margin: 0 0 9px; font-size: 1.18rem; line-height: 1.35; }
.number { color: var(--blue); margin-inline-end: .55em; font-variant-numeric: tabular-nums; }
section p { margin: .6em 0 0; }
section ul { margin: .6em 0 0; padding-inline-start: 1.4em; }
section li + li { margin-top: .35em; }
footer { color: var(--muted); padding-block: 23px 36px; font-size: .92rem; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 28px); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .topbar .documents { order: 3; width: 100%; }
  .hero { margin-block: 16px; }
}
