:root {
  color-scheme: light;
  --paper: #fffdf9;
  --white: #fff;
  --ink: #1d2b3a;
  --quiet: #465761;
  --purple: #482565;
  --teal: #07636a;
  --line: #dfdbe6;
  --soft: #f4f0f8;
  --wash: #edf5f3;
  --gold: #cf943a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a {
  color: var(--teal);
  text-underline-offset: .18em;
  text-decoration-thickness: .085em;
}
a:hover { color: var(--purple); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}
.site-width { width: min(100% - 2.75rem, 76rem); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 3;
  inset: .65rem auto auto .65rem;
  transform: translateY(-160%);
  padding: .6rem .85rem;
  background: var(--white);
  border: 1px solid var(--teal);
}
.skip:focus { transform: none; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 5.05rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; }
.brand img { width: 7.7rem; height: auto; display: block; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-nav a {
  color: var(--purple);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-block: .45rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 6vw, 4.75rem);
}
h1, .document-heading {
  margin: 0;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
}
h1 { max-width: 16em; font-size: clamp(2.25rem, 5.6vw, 4.9rem); }
.hero-meta { color: var(--quiet); margin: 1.05rem 0 0; line-height: 1.55; font-size: .98rem; font-weight: 550; }
.reading-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15.25rem) minmax(0, 1fr);
  gap: clamp(1.8rem, 4.7vw, 4.8rem);
  align-items: start;
  padding-block: clamp(1.8rem, 4vw, 3.5rem) 4.5rem;
}
.sidebar {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  padding: .95rem .85rem 1.15rem 1rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  background: var(--white);
  border-radius: .2rem .2rem .5rem .5rem;
  font-size: .91rem;
  line-height: 1.4;
}
.sidebar-title { font-weight: 750; color: var(--purple); margin: 0 0 .65rem; }
.topic-nav, .topic-nav ul { padding: 0; margin: 0; list-style: none; }
.topic-nav > li + li { margin-top: .78rem; }
.topic-nav > li > a { font-weight: 650; }
.topic-nav details { margin-top: .2rem; }
.topic-nav summary { color: var(--quiet); padding-block: .25rem; cursor: pointer; }
.topic-nav details ul { margin: .3rem 0 0 .65rem; border-left: 1px solid var(--line); padding-left: .65rem; }
.topic-nav details li + li { margin-top: .5rem; }
.sidebar-release { display: block; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; font-weight: 650; }
.reading { min-width: 0; font-size: 1.045rem; line-height: 1.7; }
.reading p { max-width: 76ch; margin: 0 0 1rem; }
.reading h2, .reading h3, .reading h4 { line-height: 1.27; color: var(--purple); }
.reading h2:not(.document-heading) {
  margin: 2.25rem 0 .85rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: clamp(1.35rem, 3vw, 1.72rem);
}
.reading h3, .reading h4 { margin: 1.5rem 0 .48rem; font-size: 1.16rem; }
.reading [id] { scroll-margin-top: .7rem; }
.document-section { border-top: 2px solid var(--gold); margin-top: 3.25rem; padding-top: 1.5rem; }
.document-heading { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: 1.15rem; }
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.15rem 0 1.65rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--white);
  scrollbar-color: #8f859b var(--soft);
}
table { width: 100%; min-width: 37rem; border-collapse: collapse; text-align: left; font-size: .94rem; line-height: 1.42; }
thead { background: var(--soft); color: var(--purple); }
th, td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbf9fc; }
thead th { font-weight: 700; }
tbody th { font-weight: 650; }
.related {
  border-top: 1px solid var(--line);
  margin-top: 2.4rem !important;
  padding-top: 1rem;
  font-weight: 650;
}
.release-hero { background: var(--wash); }
.release-reading { max-width: 50rem; margin-inline: auto; padding-block: 2rem 3.5rem; }
.footer { border-top: 1px solid var(--line); background: var(--white); }
.footer > div { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; padding-block: 1.35rem; font-size: .9rem; }
@media (max-width: 760px) {
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .sidebar { position: static; max-height: none; }
}
@media (max-width: 430px) {
  .site-width { width: calc(100% - 1.5rem); }
  .masthead-inner { padding-block: .45rem; min-height: 0; gap: .2rem .8rem; align-items: flex-start; flex-direction: column; }
  .site-nav { gap: .3rem 1rem; }
  .site-nav a { font-size: .88rem; }
  .release-reading { padding-block: 1.5rem 2.6rem; }
}
@media print {
  .sidebar, .masthead, .footer, .related, .skip { display: none; }
  .site-width { width: 100%; }
  .reading-layout { display: block; padding: 1rem 0 0; }
  .hero { background: none; padding: 0 0 1rem; }
  .reading { font-size: 11pt; }
  .table-scroll { overflow: visible; }
  table { min-width: 0; }
  h1, h2, h3, h4 { break-after: avoid; }
  tr { break-inside: avoid; }
}
