:root {
  color-scheme: light;
  --ink: #19251d;
  --subtle: #536056;
  --leaf: #193829;
  --line: #cdd2c5;
  --paper: #f7f6ef;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --display: Unbounded, var(--sans);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); container-type: inline-size; }
a { color: var(--leaf); text-underline-offset: .23em; text-decoration-thickness: .075em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid #9e5a1f; outline-offset: 4px; border-radius: 2px; }
::selection { background: #d9e9be; }
.skip { position: absolute; z-index: 10; top: .65rem; left: .75rem; padding: .45rem .8rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.frame { width: min(77rem, calc(100% - clamp(2.25rem, 9vw, 10rem))); margin-inline: auto; }
.mast .frame { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 83px; gap: .2rem 1rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .48rem; font: 650 1.47rem/1.2 var(--sans); letter-spacing: -.065em; color: var(--ink); text-decoration: none; }
.wordmark img { object-fit: contain; width: 2.65rem; height: 2.65rem; border-radius: .58rem; }
.wordmark .brand-word { display: block; width: 140px; height: auto; border-radius: 0; }
.return { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 .25rem; font-size: .9rem; text-decoration: none; }
.return::before { content: ""; width: 7px; height: 7px; border-bottom: 1.5px solid; border-left: 1.5px solid; transform: rotate(45deg); }
.doc { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 66ch); gap: clamp(2rem, 7.4vw, 7.5rem); padding-block: clamp(2.5rem, 6vw, 5.8rem); }
.doc aside { align-self: start; padding-top: .34rem; }
.doc aside h2, .index-title { font: 620 .82rem/1.4 var(--sans); color: var(--subtle); letter-spacing: .02em; margin: 0 0 .8rem; }
.menu { margin: 0; padding: 0; list-style: none; }
.menu li { border-bottom: 1px solid var(--line); }
.menu li:first-child { border-top: 1px solid var(--line); }
.menu a { display: block; padding: .74rem .1rem; text-decoration: none; font-weight: 510; }
.menu a:hover { text-decoration: underline; }
.menu a[aria-current="page"] { padding-inline: .75rem; color: var(--ink); background: #e8eddd; border-inline-start: 3px solid var(--leaf); font-weight: 650; }
.mobile-menu { display: none; }
article { min-width: 0; overflow-wrap: anywhere; }
.edition { color: var(--subtle); font-size: .88rem; line-height: 1.5; margin: 0 0 1.15rem; }
h1, article section h2 { text-wrap: balance; overflow-wrap: anywhere; }
h1 {
  margin: 0 0 1.25rem;
  font: 600 clamp(1.6rem, 1rem + 2.4vw, 3rem)/1.12 var(--display);
  letter-spacing: -.035em;
}
.lead { font-size: clamp(1.13rem, 1.8vw, 1.35rem); line-height: 1.5; margin: 0 0 2rem; }
.toc { background: #eef0e6; border-inline-start: 2px solid #a2b38c; padding: 1.1rem 1.35rem 1.25rem; margin: 1.9rem 0 2.2rem; }
.toc ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem 1.5rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
article section + section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
article section h2 {
  margin: 0 0 .8rem;
  font: 650 clamp(1.34rem, 1rem + .9vw, 1.85rem)/1.2 var(--sans);
  letter-spacing: -.028em;
}
article section p { margin: .65rem 0; }
article section ul, article section ol { margin: .65rem 0; padding-left: 1.4rem; }
article section li + li { margin-top: .5rem; }
article h3 { font-size: 1.1rem; line-height: 1.4; margin: 1.2rem 0 .4rem; }
article table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
article caption { text-align: left; font-weight: 620; padding: .4rem 0; }
article th, article td { text-align: left; vertical-align: top; padding: .55rem .45rem; border-bottom: 1px solid var(--line); }
article thead th { font-size: .88rem; background: #ebeee3; }
article tbody th { font-weight: 620; }
.footer { border-top: 1px solid var(--line); padding: 2rem 0; font-size: .9rem; }
.footer p { margin: 1rem 0 0; color: var(--subtle); }
.footer ul { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; list-style: none; padding: 0; margin: 0; }
@container (max-width: 50em) {
  .mast .frame { min-height: 66px; }
  .wordmark { min-height: 44px; }
  .doc { display: block; padding-block: 1.15rem 3rem; }
  .doc aside { display: none; }
  .mobile-menu { display: block; margin-bottom: 1.9rem; border-bottom: 1px solid var(--line); }
  .mobile-menu summary { position: relative; display: flex; align-items: center; min-height: 44px; padding: .55rem 1.5rem .55rem 0; cursor: pointer; list-style: none; color: var(--leaf); font-size: .93rem; font-weight: 610; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
  .mobile-menu[open] summary::after { transform: translateY(-20%) rotate(225deg); }
  .mobile-menu summary:focus-visible { outline: 3px solid #8a511e; outline-offset: 2px; }
  .mobile-menu .menu li:first-child { border-top: 0; }
  .mobile-menu .menu li:last-child { border-bottom: 0; }
  .toc ul { row-gap: 0; }
  .toc a, .footer a { display: flex; align-items: center; min-height: 44px; padding-block: .35rem; line-height: 1.4; }
  .footer ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1rem; }
  .footer a { overflow-wrap: anywhere; }
}
@media (min-width: 50.01rem) and (min-height: 37rem) {
  .doc aside { position: sticky; top: 2rem; }
}
@container (max-width: 37.5em) {
  .toc ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu summary::after { transition: transform 160ms cubic-bezier(.23,1,.32,1); }
}
@container (max-width: 24em) {
  .wordmark { font-size: 1.25rem; } .wordmark img { width: 2.1rem; height: 2.1rem; }
  .wordmark .brand-word { width: 112px; }
  .toc { padding: .95rem; }
  article th, article td { font-size: .91rem; padding: .42rem .23rem; }
}
@container (max-width: 17em) {
  .frame { width: calc(100% - 32px); }
  .footer ul { grid-template-columns: 1fr; }
  article table { table-layout: fixed; }
}
@media print {
  body { background: white; color: black; font-size: 10.5pt; }
  .frame { width: 100%; } .doc { display: block; padding: 1rem 0; }
  .doc aside, .mobile-menu, .return, .toc, .footer, .skip { display: none; }
  .mast .frame { min-height: auto; padding-bottom: .3rem; }
  article h1 { font-size: 2.1rem; } article section h2 { break-after: avoid; font-size: 1.4rem; }
  article section + section { margin-top: 1rem; padding-top: .6rem; }
  a { color: inherit; }
}
