:root {
  color-scheme: light;
  --ink: #13363b;
  --muted: #3e5c61;
  --paper: #fffefa;
  --wash: #ecf6f3;
  --line: #b9d2cf;
  --teal: #005c64;
  --deep: #092e34;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: var(--teal); text-decoration-thickness: .09em; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible { outline: 3px solid #8a3300; outline-offset: 5px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.16; text-wrap: balance; overflow-wrap: anywhere; }
h1 { max-width: 17ch; margin: 0 0 1.5rem; font-size: clamp(2.5rem, 7vw, 4.7rem); font-weight: 730; letter-spacing: -.045em; }
h2 { margin: 0 0 1.6rem; max-width: 28ch; font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.025em; }
h3 { margin: 0 0 1rem; font-size: 1.15rem; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
.frame { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .8rem 1rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: block; background: var(--deep); padding: .6rem 1rem; border-radius: .45rem; max-width: 100%; }
.brand img { width: 12.4rem; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; }
nav a { padding-block: .65rem; font-size: .95rem; font-weight: 600; }
main { padding-bottom: 4rem; }
section { padding-block: 3.2rem; border-bottom: 1px solid var(--line); min-width: 0; }
.answer { padding-block: 4.5rem 3.5rem; }
.answer .section-body { display: flex; flex-direction: column; }
.label { order: -1; color: var(--teal); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.answer .paragraph { max-width: 48rem; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.6; }
.example .section-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; align-items: stretch; }
.case-card { min-width: 0; padding: 1.8rem; border: 1px solid var(--line); border-radius: .7rem; }
.case { background: white; }
.reading { background: var(--wash); border-top: .3rem solid var(--teal); }
.reading-steps { list-style: none; counter-reset: reading; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding: 0; margin: 0 0 1.8rem; }
.reading-steps li { counter-increment: reading; min-width: 0; border-top: 2px solid var(--teal); padding-top: 1rem; }
.reading-steps strong { display: block; margin-bottom: .6rem; font-size: 1.05rem; }
.reading-steps strong::before { content: "0" counter(reading) " / "; color: var(--muted); font-variant-numeric: tabular-nums; }
.reading-steps span { display: block; }
.sequence > .section-body > p, .contact p, .sources p, .privacy p { max-width: 47rem; }
.contact { border-bottom: 0; }
.cta { margin-block: 1.7rem; }
.cta a { display: inline-block; max-width: 100%; padding: .95rem 1.3rem; border-radius: .4rem; background: var(--teal); color: white; font-weight: 700; text-decoration: none; line-height: 1.5; }
.cta a:hover { background: var(--deep); text-decoration: underline; }
.sources { padding: 2.2rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--wash); font-size: .95rem; }
.sources h2 { font-size: 1.45rem; }
.sources .link { display: inline-block; margin: .7rem 1.4rem 0 0; }
.site-footer { background: var(--deep); color: #e0efed; padding-block: 2rem; font-size: .9rem; }
.site-footer .frame { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }
@media (max-width: 42rem) {
  .frame { width: calc(100% - 2rem); }
  .site-header { padding-block: 1.1rem; }
  nav { width: 100%; justify-content: space-between; gap: .3rem 1rem; }
  .answer { padding-block: 2.8rem; }
  section { padding-block: 2.4rem; }
  .example .section-body, .reading-steps { grid-template-columns: minmax(0, 1fr); }
  .case-card { padding: 1.3rem; }
  .sources { padding: 1.3rem; }
  .cta a { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  @page { margin: 15mm; }
  body { background: white; color: #111; font-size: 10pt; line-height: 1.45; }
  .frame { width: 100%; }
  .site-header { padding: 0 0 8pt; }
  .brand { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  nav, .skip-link { display: none; }
  main { padding-bottom: 0; }
  h1 { max-width: none; font-size: 25pt; }
  h2 { font-size: 17pt; margin-bottom: 10pt; }
  h3 { font-size: 11pt; }
  h1, h2, h3 { break-after: avoid; }
  section, .answer { padding-block: 13pt; }
  .example .section-body, .reading-steps { display: block; }
  .case-card { padding: 10pt; margin-bottom: 8pt; break-inside: avoid; }
  .reading-steps li { padding-top: 6pt; margin-bottom: 7pt; break-inside: avoid; }
  .sources { padding: 10pt; background: white; }
  .label, a, .reading-steps strong::before { color: #111; }
  .cta a { background: white; color: #111; padding: 0; text-decoration: underline; }
  .site-footer { background: white; color: #111; padding-block: 8pt 0; border-top: 1px solid #888; }
  .site-footer .frame { display: block; }
  .site-footer p { margin: 0; }
  p { orphans: 3; widows: 3; }
}
