:root {
  color-scheme: light;
  --ink: #172e31;
  --muted: #4e6262;
  --teal: #165b55;
  --wash: #eaf3f0;
  --rule: #c2d1ce;
  font: 100%/1.58 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; }
.frame { width: min(100% - 2rem, 51rem); margin-inline: auto; }
header { background: var(--wash); border-bottom: 1px solid var(--rule); padding-block: 1.2rem 2.25rem; }
.brand { font-weight: 750; margin-bottom: .35rem; }
nav { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.17; }
h1 { font-size: clamp(2.2rem, 6vw, 3.65rem); margin: 1.2rem 0 .65rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.12rem); margin: .4rem 0 .55rem; }
h3 { font-size: 1.25rem; margin: 1.4rem 0 .35rem; }
.lede { font-size: 1.14rem; max-width: 56ch; }
p, ul { margin: .65rem 0 1rem; }
li + li { margin-top: .4rem; }
a { color: var(--teal); text-underline-offset: .15em; }
a:focus-visible, .table-frame:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; top: .25rem; left: .5rem; padding: .45rem; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }
section { padding-block: 1.45rem; border-bottom: 1px solid var(--rule); }
main > section:last-child { border-bottom: 0; }
.tag { font-size: .91rem; font-weight: 750; color: var(--teal); margin-bottom: 0; }
.sub, .meta { color: var(--muted); }
.note { padding: .75rem 1rem; border-left: 4px solid var(--teal); background: var(--wash); }
.materials { list-style: none; padding: 0; }
.materials li { border: 1px solid var(--rule); border-radius: .35rem; padding: .75rem 1rem; }
.materials li a:first-child { font-weight: 750; }
.materials span { display: block; }
.table-frame { overflow-x: auto; margin-block: .8rem 1.15rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { min-width: 2.6rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; padding: .5rem .55rem; }
thead th { background: var(--wash); color: var(--teal); }
.answer-lines div { height: 1.3rem; border-bottom: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); padding-block: 1.2rem; font-size: .9rem; color: var(--muted); }
@media print {
  :root { font-size: 10.5pt; }
  .frame { width: 100%; }
  header { background: white; padding-block: .4rem; }
  nav, .skip, .print { display: none; }
  table { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; }
}
