@font-face { font-family: Inter; src: url('/assets/v2/build/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/v2/build/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Jakarta; src: url('/assets/v2/build/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root { color-scheme: light; --ink: #102746; --body: #33495c; --muted: #4f666e; --link: #164dae; --line: #cdd9dc; --wash: #eff4f2; --teal: #37766f; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--body); font: 1rem/1.65 Inter, "Segoe UI", sans-serif; }
.wrap { width: min(72rem, calc(100% - 3.5rem)); margin-inline: auto; }
h1,h2,h3,figcaption strong { font-family: Jakarta, "Segoe UI", sans-serif; color: var(--ink); line-height: 1.17; margin: 0; }
h1 { max-width: 19ch; font-size: clamp(2.4rem, 5.1vw, 4.5rem); letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 1.55rem; margin: 2.7rem 0 .4rem; }
h3 small { font: 600 .9rem Inter, "Segoe UI", sans-serif; color: var(--muted); margin-left: .45rem; white-space: nowrap; }
p { margin: .85rem 0 0; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #0c3a76; }
:focus-visible { outline: 3px solid #245eba; outline-offset: 3px; }
.opening { padding-block: clamp(2rem, 4.2vw, 3.8rem); border-bottom: 1px solid var(--line); background: linear-gradient(105deg,#fff 38%,#f4f6f2); }
.opening nav { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; font-size: .92rem; }
.label { font-size: .89rem; font-weight: 600; color: #3b6567; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 .8rem; }
.lede { font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.65; max-width: 64ch; margin: 1.2rem 0 0; }
.feature,.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.feature { border-bottom: 1px solid var(--line); padding: 2.3rem 0; }
.feature h2 a { color: var(--ink); text-decoration: none; }
.feature h2 a:hover { text-decoration: underline; }
.feature .action { align-self: center; justify-self: end; background: var(--ink); color: white; padding: .7rem 1.2rem; border-radius: .3rem; text-decoration: none; font-weight: 600; }
.feature .action:hover { background: #204267; }
.action span { margin-left: .4rem; }
.story,.practice,.register { padding-block: clamp(2.4rem, 5.2vw, 4.2rem); }
.story-text p { line-height: 1.76; }
.story-text .context { color: var(--muted); font-size: .94rem; }
.ref { font-size: .78em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ref:hover { text-decoration: underline; }
figure { margin: 0; }
.figure,.ledger { padding: clamp(1.15rem, 2.4vw, 1.85rem); border: 1px solid var(--line); background: #fff; border-radius: .35rem; }
.figure { border-top: 3px solid var(--teal); }
figcaption strong,figcaption span { display: block; }
figcaption strong { font-size: 1.25rem; }
figcaption span { color: var(--muted); font-size: .88rem; margin: .25rem 0 1rem; }
figcaption .ref { display: inline; }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { padding-block: .35rem; }
.bars li > div:first-child,.scale { display: flex; justify-content: space-between; }
.bars strong,.ledger td { font-variant-numeric: tabular-nums; color: var(--ink); }
.track { height: .52rem; background: #e5edeb; margin-block: .24rem; }
.track i { display: block; height: 100%; background: var(--teal); }
.scale,.figure-note { font-size: .84rem; color: var(--muted); }
.figure-note { border-top: 1px solid var(--line); padding-top: .75rem; margin-top: 1rem; }
.wash { background: var(--wash); }
.ledger table,.register table { width: 100%; border-collapse: collapse; }
.ledger th,.ledger td { padding: .7rem 0; border-top: 1px solid var(--line); }
.ledger th { text-align: left; font-weight: 400; }
.ledger td { text-align: right; font-weight: 600; font-size: 1.1rem; }
.practice { display: grid; grid-template-columns: .8fr 1.25fr; align-items: start; gap: 3rem; }
.practice p { margin: 0; }
.register h2 + p,.register h3 + p { margin-bottom: 1.2rem; }
.tablewrap { max-width: 100%; overflow-x: auto; }
.register table { font-size: .93rem; }
.register th,.register td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.register thead { background: var(--wash); color: var(--ink); }
.register tbody th { width: 25%; color: var(--ink); }
.register td { width: 37%; }
.register td strong { font-weight: 600; }
.register td small { display: block; margin-top: .15rem; }
.discrepancy { color: #704412; }
.notes { background: #f5f7f8; border-top: 1px solid var(--line); padding-block: 2.2rem 2.8rem; }
.notes h2 { font-size: 1.5rem; }
.notes ol { margin: 1rem 0; padding-left: 1.5rem; }
.notes li { padding: .4rem 0 .65rem .2rem; }
.notes p,.notes li { font-size: .94rem; }
.notes li p { margin: .22rem 0 0; }
.notes a { font-weight: 600; overflow-wrap: anywhere; }
.notes a.back,.notes p + a { display: inline-block; margin-top: .7rem; }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; left: 1rem; top: .5rem; z-index: 10; background: white; padding: .35rem .6rem; }
@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .feature,.story,.practice { grid-template-columns: 1fr; gap: 1.3rem; }
  .feature .action { justify-self: start; }
  .register table { min-width: 33rem; }
}
@media print {
  .wrap { width: 100%; }
  .opening,.story,.practice,.register,.notes { padding-block: 1.2rem; }
  .opening nav,.back,.action,.skip { display: none; }
  figure,tr { break-inside: avoid; }
}
