:root {
  color-scheme: light;
  --ink: #151614;
  --paper: #f5f4e9;
  --accent: #d9f841;
  --muted: #55574f;
  --rule: #d1d2c4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, main:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--accent); }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .6rem 1rem; background: var(--accent); transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule); }
.topbar, .related, .brand, .footer { display: flex; align-items: center; }
.topbar { min-height: 4.75rem; justify-content: space-between; gap: 1.5rem; }
.brand { gap: .6rem; color: var(--ink); font-size: 1.14rem; font-weight: 650; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .6rem; background: var(--accent); }
.mark img { display: block; width: 1.5rem; height: 1.5rem; }
.related { gap: clamp(.8rem, 3vw, 2rem); flex-wrap: wrap; }
.related a { padding-block: .6rem; font-size: .9rem; color: var(--muted); text-decoration: none; }
.related a:hover, .related [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; }
.related [aria-current] { font-weight: 650; }
.title-group { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(1.8rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
h1, h2, p, ul, ol { margin: 0; }
h1 { max-width: 16ch; font-size: clamp(2.65rem, 7.5vw, 6rem); line-height: 1.01; font-weight: 550; letter-spacing: -.065em; overflow-wrap: break-word; }
.title-group p { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }
.layout { display: grid; grid-template-columns: minmax(12rem, 15.5rem) minmax(0, 44rem); gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(2rem, 5vw, 3.75rem) 5rem; }
.contents { align-self: start; position: sticky; top: 1.5rem; }
.contents h2 { margin-bottom: .8rem; font-size: 1rem; letter-spacing: -.025em; }
.contents ul { list-style: none; padding: 0; }
.contents a { display: inline-block; padding-block: .3rem; font-size: .93rem; color: var(--muted); text-decoration: none; }
.contents a:hover, .contents a:focus-visible { text-decoration: underline; color: var(--ink); }
article { min-width: 0; font-size: clamp(1rem, .92rem + .3vw, 1.125rem); line-height: 1.68; overflow-wrap: break-word; }
article h2 { font-size: clamp(1.45rem, 1.15rem + .85vw, 1.9rem); font-weight: 600; letter-spacing: -.047em; line-height: 1.19; scroll-margin-top: 1.25rem; }
article h2 + *, article p + p, article ul + p, article ol + p, article p + ul, article p + ol { margin-top: 1rem; }
article section + section, article > p + section { margin-top: 2.7rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
article ul, article ol { padding-left: 1.3em; }
article li { padding-left: .15em; }
article li + li { margin-top: .85em; }
article strong { font-weight: 650; }
article a:hover { background: var(--accent); }
.footer { justify-content: space-between; gap: 1rem; padding-block: 1.45rem; border-top: 1px solid var(--rule); font-size: .86rem; color: var(--muted); }
@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .topbar { align-items: start; flex-direction: column; gap: .4rem; padding-block: 1rem .65rem; }
  .related { gap: .2rem 1rem; }
  .related a { font-size: .82rem; }
  .layout { display: block; }
  .contents { position: static; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
  .contents a { padding-block: .38rem; }
  article section + section { margin-top: 2.1rem; padding-top: 1.9rem; }
}
@media print {
  :root { color: #000; background: #fff; }
  .masthead, .skip, .contents, .footer { display: none; }
  .wrap { width: 100%; }
  .title-group { padding: 0 0 1rem; }
  h1 { font-size: 28pt; }
  .layout { display: block; padding: 1rem 0; }
  article { font-size: 10pt; }
  article h2 { break-after: avoid; }
  article section + section { margin-top: 1.25rem; padding-top: .8rem; }
}
