@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/stix-two-text-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #263f48;
  --blue: #285972;
  --soft: #e8f0f3;
  --sky: #c4dce6;
  --stone: #f5f3ed;
  --gold: #e7b868;
  --peach: #eac8ad;
  --muted: #50636a;
  --line: #b2c4c9;
  --book: "STIX Two Text", Georgia, serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--soft); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: #fbfcfb; font: 20px/1.6 var(--book); }
body, input, button { color: var(--ink); }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #73551c; outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, .near-title, p, figure { margin: 0; }
h1, h2, h3, .near-title { font-weight: 450; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 76px); letter-spacing: -.035em; max-width: 15ch; }
h2, .chapter-heading, .near-title { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; }
h3 { font-size: 25px; }
ul { padding-left: 1.1em; margin: 0; }
li { padding-left: .25em; margin: .55em 0; }
::selection { color: var(--ink); background: var(--gold); }
.w { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.tag { font: 18px/1.4 var(--sans); color: var(--muted); margin-bottom: 22px; }
.btn, .plain, .lnk, .src, .foot-link { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; gap: 18px; }
.btn { background: var(--blue); color: white; border: 0; border-radius: 0 20px 20px 20px; padding: 12px 22px; text-decoration: none; font: 18px/1.4 var(--sans); }
.btn:hover { background: #1f485d; text-decoration: underline; }
.plain { font: 18px/1.4 var(--sans); padding-block: 10px; }
.lnk { font: 18px/1.45 var(--sans); padding-block: 10px; justify-content: space-between; }
.lnk span, .src span, .foot-link span { flex-shrink: 0; }
.skip { position: fixed; top: -180px; left: 20px; z-index: 50; min-height: 48px; padding: 12px 20px; background: #fff; color: var(--ink); font: 18px var(--sans); }
.skip:focus { top: 16px; }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  .w { width: calc(100% - 40px); }
  body { font-size: 19px; }
  .tag { font-size: 16px; margin-bottom: 18px; }
  h1 { font-size: 46px; }
  h2, .chapter-heading, .near-title { font-size: 31px; }
  h3 { font-size: 24px; }
  .btn { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
