@font-face {
  font-family: "STIX Two Text";
  src: url("/introduction/stix-two-text-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --wash: #e7f2ef;
  --paper: #f5faf7;
  --ink: #1e4242;
  --petrol: #225d5e;
  --soft: #cfe4de;
  --rule: #7eaaa1;
  --muted: #3b625c;
  font-family: "STIX Two Text", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
  background: var(--wash);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; padding: 0 clamp(20px, 4vw, 64px); }
body > header, body > nav, main, body > footer { width: min(100%, 1200px); margin-inline: auto; }
h1, h2, h3, p, ul, ol, figure { margin-block: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.7rem); line-height: 1.06; max-width: 19ch; margin-block: 18px 24px; }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.15; margin-bottom: 20px; max-width: 28ch; }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 12px; }
p, li { max-width: 66ch; }
p + p { margin-top: 16px; }
ul, ol { margin-block: 20px 0; padding-left: 1.3em; }
li { padding-left: 0.3em; }
li + li { margin-top: 12px; }
li::marker { color: var(--petrol); }
a { color: var(--petrol); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--petrol); outline-offset: 5px; }
button { font: inherit; color: var(--petrol); background: var(--paper); border: 1px solid var(--petrol); border-radius: 999px; min-height: 48px; padding: 10px 22px; cursor: pointer; }
button[aria-pressed="true"] { color: var(--paper); background: var(--petrol); }
[hidden] { display: none !important; }
#skip { position: absolute; top: 0; left: 24px; padding: 14px 22px; background: var(--paper); border-radius: 0 0 20px 20px; transform: translateY(-130%); z-index: 2; }
#skip:focus { transform: none; }
#running-head { border-block: 3px double var(--petrol); display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 24px; padding-block: 12px; }
#running-head > a { font-size: 1.35rem; font-weight: 600; text-decoration: none; min-height: 48px; display: flex; align-items: center; }
#running-head > p { font-size: 1rem; color: var(--muted); }
article > header { padding-block: 40px 36px; border-bottom: 1px solid var(--rule); }
article > header > p:first-child { color: var(--muted); font-size: 1rem; }
article > header > p { font-size: 1.15rem; max-width: 65ch; }
#wording-switch { margin-top: 24px; }
article > section, #opening-spread { padding-block: 40px; border-bottom: 1px solid var(--rule); }
article > section > a, section > a, [data-evidence] > a, #licence-reading a { display: table; padding-block: 12px; min-height: 48px; max-width: 100%; }
#turn-page { display: flex; justify-content: flex-end; padding-block: 28px 40px; }
#turn-page > a { display: inline-flex; align-items: center; min-height: 52px; border-radius: 999px; padding: 12px 24px; color: var(--paper); background: var(--petrol); text-decoration: none; line-height: 1.35; }
body > footer { border-top: 3px double var(--petrol); padding-block: 28px 44px; font-size: 1rem; }
footer > p { max-width: 65ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; }
footer a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 12px; }
figure { background: var(--soft); border-radius: 24px; overflow: hidden; }
img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--soft); color: var(--ink); font-size: 1rem; line-height: 1.5; border-radius: 24px; }
figcaption { padding: 16px 22px 20px; color: var(--ink); font-size: 1rem; }
::selection { color: var(--paper); background: var(--petrol); }
@media (max-width: 680px) {
  :root { font-size: 18px; }
  #running-head { display: block; padding-block: 8px 14px; margin-top: 16px; }
  #running-head > p { margin-top: 0; }
  h1 { max-width: 17ch; }
  article > header { padding-block: 28px; }
  article > header > p { font-size: 1.08rem; }
  article > section, #opening-spread { padding-block: 32px; }
  #turn-page { justify-content: flex-start; }
  footer nav { display: block; }
  footer nav a { display: table; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  :root { background: white; color: #163f3e; }
  #question-tabs, #wording-switch, #turn-page, #skip { display: none; }
  body { padding: 0; }
  a { color: inherit; }
  section, aside, figure { break-inside: avoid; }
}
