:root {
  color-scheme: light;
  --ink: #29242b;
  --muted: #655c64;
  --paper: #fbf8f2;
  --rule: #ded5cc;
  --plum: #1b141f;
  --plum-light: #f5ecea;
  --apricot: #ffc69c;
  --rust: #873d25;
  --serif: 'Noto Serif SC', 'Songti SC', SimSun, serif;
  --sans: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.85 var(--sans); }
a { color: var(--rust); text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 2px solid #af582e; outline-offset: 4px; border-radius: .13rem; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 2;
  top: .5rem;
  left: .5rem;
  padding: .55rem .9rem;
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  background: linear-gradient(116deg, #311f36, var(--plum) 66%);
  color: var(--plum-light);
  border-bottom: .25rem solid var(--apricot);
}
.utility { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.5rem; border-bottom: 1px solid #634e65; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.06rem; font-weight: 700; text-decoration: none; }
.utility a, .footer a { color: inherit; }
.home-link { padding-block: .55rem; font-size: .94rem; }
.masthead :focus-visible, .footer :focus-visible { outline-color: var(--apricot); }
.brand-mark {
  display: inline-block;
  position: relative;
  width: 1.63rem;
  height: 1.63rem;
  flex: none;
  color: var(--apricot);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 1.17rem; height: 1.17rem; border: 1.5px solid currentColor; transform: rotate(-18deg); border-radius: 4px; }
.brand-mark::before { inset: .16rem auto auto .05rem; }
.brand-mark::after { inset: .32rem auto auto .39rem; opacity: .65; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem); gap: 3rem; padding-block: clamp(2.75rem, 7vw, 5.75rem); align-items: end; }
.hero-copy { min-width: 0; }
.revision { margin: 0 0 1rem; color: var(--apricot); font-size: .9rem; font-weight: 650; }
h1 { margin: 0; font: 700 clamp(2.25rem, 6vw, 4.65rem)/1.18 var(--serif); letter-spacing: -.045em; }
.hero-summary { max-width: 37rem; margin: 1.2rem 0 0; color: #e4d6e4; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-meta { display: grid; gap: .68rem; align-self: end; margin: 0; padding: .75rem 0 0; border-top: 1px solid #7b637a; color: #e4d6e4; font-size: .9rem; }
.hero-meta div { display: flex; justify-content: space-between; gap: .65rem; }
.hero-meta dd { margin: 0; color: var(--plum-light); }

.layout { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6.5rem); padding-block: 3.1rem 5rem; }
.contents { position: sticky; top: 1.75rem; align-self: start; padding: .82rem .2rem 1rem; border-top: 2px solid var(--ink); }
.contents h2 { margin: 0 0 .55rem; color: var(--ink); font-size: .96rem; }
.contents ol { margin: 0; padding-left: 1.8rem; list-style-type: decimal-leading-zero; }
.contents li::marker { color: var(--muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.contents a { display: block; min-height: 2.5rem; padding: .38rem .12rem; color: var(--ink); font-size: .94rem; text-decoration: none; }
.contents a:hover, .contents a:focus-visible { color: var(--rust); text-decoration: underline; }
main { min-width: 0; }
.draft { margin: 0 0 2.7rem; padding: 1rem 1.2rem; background: #f7e9db; border-left: .25rem solid #aa5e39; }
.draft strong { display: block; line-height: 1.5; }
.draft p { margin: .35rem 0 0; color: #5c4a3f; font-size: .95rem; }
.chapter { padding: 0 0 2.5rem; margin: 0 0 2.5rem; border-bottom: 1px solid var(--rule); }
.chapter:target h2 { color: var(--rust); }
.chapter h2 { margin: 0 0 1.1rem; font: 700 clamp(1.45rem, 3vw, 1.78rem)/1.4 var(--serif); }
.chapter h3 { margin: 1.35rem 0 .35rem; font-size: 1.04rem; line-height: 1.55; }
.chapter p { margin: 0 0 .95rem; }
.chapter p:last-child { margin-bottom: 0; }
.facts { margin: 1.25rem 0 0; }
.facts div { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); gap: .25rem 1rem; padding: .78rem 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .94rem; font-weight: 650; }
.facts dd { margin: 0; }
.facts dd, .review { overflow-wrap: anywhere; }
.review { margin-top: 1.35rem; padding: .77rem .9rem; color: #624a3c; background: #f7ede0; font-size: .94rem; }
.review strong { margin-right: .35rem; color: #723a25; }
.provider { margin: 1.35rem 0; }
.provider + .provider { border-top: 1px solid var(--rule); }
.related { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.related a { padding-block: .45rem; }

.footer { background: var(--plum); color: var(--plum-light); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 1.65rem; gap: .75rem 1.5rem; }
.filings { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; color: #e4d6e4; font-size: .9rem; }
.filings a { display: inline-block; padding-block: .2rem; }

@media (max-width: 58em) {
  .layout { gap: 2rem; }
}
@media (max-width: 43em) {
  .wrap { width: min(100% - 2rem, 70rem); }
  .utility { min-height: 3.9rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .hero-meta div { justify-content: start; flex-wrap: wrap; gap: .15rem .55rem; }
  .layout { display: block; padding-block: 1.9rem 3.1rem; }
  .contents { position: static; margin-bottom: 1.5rem; }
  .contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.9rem; }
  .contents a { min-height: 2.75rem; }
  .draft { margin-bottom: 2rem; }
  .chapter { padding-bottom: 1.8rem; margin-bottom: 1.8rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 24em) {
  .contents ol { display: block; }
}
@media print {
  .utility, .skip-link, .contents, .footer, .related { display: none; }
  .wrap { width: 100%; }
  .masthead, .draft, .review { background: #fff; color: #111; }
  .hero { display: block; padding: 0; }
  .hero-meta, .hero-summary, .hero-meta dd, .revision { color: #111; }
  .hero-meta { max-width: 12rem; }
  .layout { display: block; padding-block: 1.1rem; }
  .chapter h2, .chapter h3 { break-after: avoid; }
}
