/* System type and a classless reading base, with small page-prefixed islands. */
:root {
  color-scheme: light;
  --ink: #192729;
  --muted: #465454;
  --paper: #fbf8ee;
  --white: #fffef9;
  --blue: #293dc7;
  --lime: #d7f06b;
  --coral: #ff9d87;
  --aqua: #afe1d4;
  --line: #192729;
  font-family: "Segoe UI", Candara, "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
main, section, article, aside, header, footer, nav, div { min-width: 0; }
main { display: block; }
h1, h2, h3, p, ul, ol, dl { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.8vw, 5rem); letter-spacing: -.045em; margin-bottom: .38em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; margin-bottom: .8em; }
h3 { font-size: 1.3rem; }
p, li, dd { font-size: 1rem; overflow-wrap: break-word; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.35em; margin-bottom: 1.2em; }
li { padding-left: .15em; margin-bottom: .65em; }
li::marker { color: var(--blue); }
dt { font-size: 1.12rem; font-weight: 700; margin-bottom: .2em; }
dd { margin: 0 0 1.35em; max-width: 64ch; }
a { color: var(--blue); text-underline-offset: .22em; text-decoration-thickness: .08em; font-size: 1rem; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
summary { cursor: pointer; font-size: 1rem; min-height: 48px; display: flex; align-items: center; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
summary::marker { content: ""; }
strong { font-weight: 700; }
::selection { color: var(--ink); background: var(--lime); }

/* Shared chrome; every class is prefixed for the page that uses it. */
[class$="-shell"] { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
[class$="-skip"] { position: absolute; z-index: 30; left: 20px; top: 12px; min-height: 48px; padding: 10px 18px; background: var(--white); border: 2px solid var(--blue); transform: translateY(-160%); }
[class$="-skip"]:focus { transform: none; }
[class$="-masthead"] { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; position: relative; z-index: 10; }
[class$="-wordmark"] { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 650; line-height: 1.1; letter-spacing: -.03em; }
[class$="-mark"] { display: grid; place-items: center; width: 48px; height: 48px; color: var(--white); background: var(--blue); font-size: 1.7rem; letter-spacing: -.09em; padding-right: 4px; }
[class$="-brand-break"] { display: none; }
[class$="-menu"] { position: relative; }
[class$="-menu"] > summary { min-width: 170px; min-height: 54px; border: 1.5px solid var(--ink); padding: 10px 16px; justify-content: space-between; gap: 22px; background: var(--paper); }
[class$="-menu"] > summary > span { font-size: 1.5rem; font-weight: 400; line-height: 1; }
[class$="-menu"][open] > summary { background: var(--lime); }
[class$="-menu"][open] > summary > span { transform: rotate(45deg); }
[class$="-menu"] > nav { position: absolute; right: 0; top: calc(100% + 10px); width: 410px; max-width: calc(100vw - 32px); background: var(--white); border: 1.5px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); padding: 18px 22px; }
[class$="-menu"] nav > p { font-size: 1rem; color: var(--muted); margin-bottom: 8px; }
[class$="-menu"] ul { list-style: none; padding: 0; margin: 0; }
[class$="-menu"] li { margin: 0; padding: 0; }
[class$="-menu"] a { display: flex; align-items: center; min-height: 46px; padding: 8px 10px; text-decoration: none; color: var(--ink); }
[class$="-menu"] a:hover, [class$="-menu"] a[aria-current] { background: var(--aqua); }
[class$="-menu"] nav > a { margin-top: 8px; border-top: 1px solid var(--ink); }
[class$="-menu"] nav details { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 5px; }
[class$="-menu"] nav summary { padding: 8px 10px; justify-content: space-between; }
[class$="-menu"] nav summary::after { content: "+"; font-size: 1.3rem; }
[class$="-menu"] nav details[open] summary::after { content: "−"; }

/* Title and definition blocks. */
[class$="-eyebrow"] { font-size: .9rem; line-height: 1.4; font-weight: 650; margin-bottom: 22px; letter-spacing: .015em; }
[class$="-hero"] { display: grid; grid-template-columns: 1.3fr 1fr; border: 1.5px solid var(--ink); }
[class$="-title-block"] { padding: 48px 46px; background: var(--blue); color: var(--white); }
[class$="-title-block"] > p:last-child { font-size: 1.17rem; max-width: 36ch; line-height: 1.45; }
[class$="-title-block"] h1 { max-width: 12ch; }
[class$="-definition"] { background: var(--lime); padding: 46px 40px 32px; display: flex; flex-direction: column; align-items: flex-start; }
[class$="-definition"] > p:not([class]) { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.3; max-width: 28ch; letter-spacing: -.02em; }
[class$="-glyph"] { display: block; margin-top: auto; padding-top: 20px; font-size: 3.5rem; line-height: 1; font-weight: 400; }
.open-hero { grid-template-columns: 1.56fr 1fr; }
.open-title-block { padding: 42px 48px 40px; }
.open-title-block h1 { font-size: clamp(3rem, 7.5vw, 5.9rem); line-height: .98; margin-bottom: 27px; letter-spacing: -.055em; }
.open-title-block > p:not([class]) { font-size: 1.13rem; line-height: 1.45; }
.open-start { min-height: 54px; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 24px; padding: 12px 20px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 650; }
.open-start > span { font-size: 1.5rem; line-height: 1; }
.open-start:focus-visible { outline-color: var(--lime); }
.open-hero-side { display: grid; grid-template-rows: 1.1fr 1fr; border-left: 1.5px solid var(--ink); }
.open-hero-side > div { padding: 26px 34px; }
.open-hero-side > div + div { border-top: 1.5px solid var(--ink); }
.open-big-thought { font-size: clamp(1.9rem, 3.3vw, 2.55rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 650; margin: 0; }
.open-hero-question { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.03em; font-weight: 650; max-width: 18ch; margin-bottom: 12px; }
.open-hero-side .open-eyebrow { margin-bottom: 16px; }
.open-hero-side .open-glyph { font-size: 2.8rem; padding: 12px 0 0; float: right; }

/* Quiet depth alternates with brief coloured notes and practical questions. */
[class$="-reading"] { padding: 48px 0 0; }
[class$="-depth"], [class$="-note"], [class$="-question"] { max-width: 830px; margin: 0 auto 32px; }
[class$="-depth"] { padding: 24px 28px 30px; }
[class$="-depth"] > p, [class$="-depth"] > ul, [class$="-depth"] > dl { max-width: 66ch; }
[class$="-note"] { background: var(--aqua); padding: 30px 34px; border-left: 8px solid var(--ink); }
[class$="-note"] > p:not([class]) { font-size: 1.2rem; line-height: 1.4; max-width: 52ch; }
[class$="-note"] > [class$="-eyebrow"] { margin-bottom: 10px; }
[class$="-question"] { background: var(--coral); padding: 32px 34px; }
[class$="-question"] h2 { max-width: 30ch; margin-bottom: 14px; }
[class$="-question"] p { max-width: 65ch; }
[class$="-shelf"] { padding: 24px 0 40px; }
[class$="-shelf"] > h2 { margin-bottom: 24px; }
[class$="-shelf"]:not(.open-shelf) { max-width: 830px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
[class$="-links"] { list-style: none; padding: 0; margin: 20px 0 0; }
[class$="-links"] li { padding: 0; margin: 0; border-top: 1px solid var(--ink); }
[class$="-links"] li:last-child { border-bottom: 1px solid var(--ink); }
[class$="-links"] a { min-height: 58px; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 12px 6px; text-decoration: none; color: var(--ink); line-height: 1.4; }
[class$="-links"] a:hover { background: var(--lime); }
[class$="-links"] a > span { flex: 0 0 auto; font-size: 1.4rem; line-height: 1; }
.open-reading > .open-depth:first-child { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; padding: 30px 0 16px; }
.open-reading > .open-depth:first-child > h2 { grid-row: 1 / 4; font-size: 2.3rem; max-width: 15ch; }
.open-reading > .open-depth:first-child > p { max-width: 56ch; }
.open-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.open-card { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 220px; padding: 26px 28px; text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); }
.open-card strong { font-size: 1.4rem; line-height: 1.15; font-weight: 650; letter-spacing: -.025em; max-width: 20ch; }
.open-card > .open-eyebrow { margin: 0; }
.open-card-arrow { align-self: flex-end; font-size: 1.8rem; line-height: 1; margin-top: auto; }
.open-card:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.open-lime { background: var(--lime); }
.open-aqua { background: var(--aqua); }
.open-coral { background: var(--coral); }
.open-paper { background: var(--white); }
.caution-note { background: var(--lime); }
.research-definition, .redflag-definition { background: var(--coral); }
.budget-definition, .coverage-definition { background: var(--aqua); }
.source-definition { background: var(--white); }
.source-depth { border-bottom: 1px solid var(--ink); padding-bottom: 38px; }
.source-depth > .source-links { margin-top: 8px; margin-bottom: 24px; }
.missing-depth { padding-top: 60px; }
.missing-definition a { display: inline-flex; align-items: center; min-height: 48px; gap: 20px; margin-top: 22px; }

/* Page turns and footnotes are full-sized, reachable reading links. */
[class$="-page-turn"] { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 44px; background: var(--ink); border: 1.5px solid var(--ink); }
[class$="-page-turn"] > a, [class$="-page-turn"] > p { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 140px; padding: 24px 30px; background: var(--white); color: var(--ink); text-decoration: none; margin: 0; line-height: 1.4; position: relative; }
[class$="-page-turn"] > a:last-child { background: var(--lime); }
[class$="-page-turn"] > a > span:first-child { font-size: .9rem; margin-bottom: 10px; }
[class$="-page-turn"] strong { font-size: 1.4rem; line-height: 1.2; max-width: calc(100% - 36px); letter-spacing: -.02em; }
[class$="-page-turn"] > a > span:last-child { position: absolute; right: 26px; top: 50%; font-size: 1.8rem; line-height: 1; }
[class$="-page-turn"] > a:hover { background: var(--aqua); }
[class$="-footer"] { margin-top: 38px; padding: 24px 0 32px; display: flex; align-items: flex-start; gap: 48px; justify-content: space-between; }
[class$="-footer"] > p { max-width: 51ch; font-size: .9rem; line-height: 1.55; }
[class$="-footer"] nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
[class$="-footer"] a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 0; font-size: .9rem; color: var(--ink); white-space: nowrap; }

@media (max-width: 950px) {
  [class$="-hero"] { grid-template-columns: 1.1fr 1fr; }
  [class$="-title-block"], [class$="-definition"] { padding: 32px 28px; }
  [class$="-title-block"] h1 { font-size: 3.2rem; }
  .open-title-block h1 { font-size: 4.25rem; }
  .open-hero-side > div { padding: 25px 24px; }
  .open-grid { grid-template-columns: repeat(2, 1fr); }
  [class$="-footer"] { gap: 24px; flex-direction: column; }
  [class$="-footer"] nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { font-size: 18px; }
  [class$="-shell"] { padding: 0 16px; }
  [class$="-masthead"] { padding: 18px 0; gap: 10px; }
  [class$="-wordmark"] { gap: 10px; font-size: 1.03rem; }
  [class$="-brand-break"] { display: inline; }
  [class$="-mark"] { width: 42px; height: 44px; font-size: 1.6rem; }
  [class$="-menu"] > summary { min-width: 138px; min-height: 50px; padding: 9px 12px; gap: 14px; font-size: .9rem; }
  [class$="-menu"] > nav { width: calc(100vw - 40px); max-width: none; padding: 16px 18px; box-shadow: 4px 4px 0 var(--ink); }
  [class$="-hero"] { grid-template-columns: 1fr; }
  [class$="-title-block"] { padding: 29px 24px 32px; }
  [class$="-title-block"] h1 { font-size: 2.7rem; max-width: 13ch; }
  [class$="-title-block"] > p:last-child { font-size: 1.05rem; }
  [class$="-definition"] { padding: 28px 24px; border-top: 1.5px solid var(--ink); }
  [class$="-definition"] > p:not([class]) { font-size: 1.35rem; max-width: 29ch; }
  [class$="-glyph"] { font-size: 2.8rem; padding-top: 18px; }
  [class$="-eyebrow"] { font-size: .9rem; margin-bottom: 22px; }
  .open-title-block h1 { font-size: clamp(2.85rem, 13.9vw, 4rem); }
  .open-title-block > p:not([class]) { font-size: 1rem; }
  .open-title-block > p:not([class]) > br { display: none; }
  .open-start { font-size: 1rem; margin-top: 24px; padding: 12px 16px; gap: 30px; }
  .open-hero-side { border-left: 0; border-top: 1.5px solid var(--ink); grid-template-rows: auto auto; }
  .open-hero-side > div { padding: 26px 24px; }
  .open-big-thought { font-size: 2.15rem; }
  .open-hero-side .open-glyph { float: none; text-align: right; padding-top: 0; margin-top: -32px; }
  .open-hero-question { font-size: 1.55rem; }
  [class$="-reading"] { padding-top: 24px; }
  [class$="-depth"] { padding: 24px 4px; margin-bottom: 16px; }
  [class$="-note"], [class$="-question"] { padding: 26px 24px; margin-bottom: 24px; }
  [class$="-note"] { border-left-width: 5px; }
  [class$="-note"] > p:not([class]) { font-size: 1.15rem; }
  [class$="-shelf"], [class$="-shelf"]:not(.open-shelf) { padding: 24px 4px 28px; }
  .open-reading > .open-depth:first-child { display: block; padding: 28px 4px; }
  .open-reading > .open-depth:first-child > h2 { font-size: 1.85rem; max-width: 18ch; }
  .open-grid { grid-template-columns: 1fr; gap: 12px; }
  .open-card { min-height: 184px; padding: 25px 24px; }
  .open-card strong { font-size: 1.4rem; max-width: 22ch; }
  [class$="-links"] a { min-height: 64px; gap: 16px; }
  [class$="-page-turn"] { margin-top: 24px; grid-template-columns: 1fr; }
  [class$="-page-turn"] > a, [class$="-page-turn"] > p { min-height: 118px; padding: 22px 24px; }
  [class$="-page-turn"] strong { font-size: 1.35rem; }
  [class$="-footer"] { margin-top: 18px; padding: 24px 4px 30px; gap: 20px; }
  [class$="-footer"] > p { font-size: .95rem; }
  [class$="-footer"] nav { display: flex; flex-direction: column; gap: 0; width: 100%; }
  [class$="-footer"] a { font-size: 1rem; padding: 12px 0; }
  .source-depth { padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  body { background: white; color: black; }
  [class$="-shell"] { max-width: none; padding: 0; }
  [class$="-menu"], [class$="-skip"], [class$="-page-turn"] { display: none; }
  [class$="-hero"] { grid-template-columns: 1fr; }
  [class$="-title-block"], [class$="-definition"], [class$="-note"], [class$="-question"] { background: white; color: black; padding: 20px 0; }
  [class$="-depth"] { padding: 20px 0; }
  h1 { font-size: 32px; }
  h2 { break-after: avoid; }
  a { color: black; }
}
