@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.15rem/1.53 var(--sans); }
.envoy { --paper: #f1f3f7; --ink: #16263e; --body: #36465c; --accent: #244eaa; --rule: #a4afc8; --wash: #e4e9f4; --heading: var(--sans); }
.scope { --paper: #f6f2f4; --ink: #342335; --body: #594455; --accent: #773656; --rule: #bb9bad; --wash: #ece1e8; --heading: var(--serif); }
.terms { --paper: #f8f2e9; --ink: #30291f; --body: #57483c; --accent: #91452f; --rule: #c4a28f; --wash: #efe4d5; --heading: var(--serif); }
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 520; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 6vw, 6.7rem); max-width: 13ch; }
h2 { font-size: clamp(2.15rem, 4vw, 4.1rem); }
h3 { font: 665 clamp(1.25rem, 2.2vw, 1.55rem)/1.15 var(--sans); letter-spacing: -.018em; }
p { max-width: 60ch; color: var(--body); }

.shell { width: min(76rem, calc(100% - clamp(2rem, 9.5vw, 8rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .6rem 1rem; background: var(--ink); color: white; }
.skip:focus { transform: none; }
.masthead { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.6rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 690 1.45rem/1 var(--sans); letter-spacing: -.035em; text-decoration: none; }
.wordmark img { width: 2.2rem; height: 2.2rem; display: block; }
.scope .wordmark, .terms .wordmark { font: 610 1.64rem/1 var(--serif); }
.masthead nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.8rem, 3vw, 2rem); }
.masthead nav a, .small-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--body); font-size: 1.02rem; text-decoration: none; }
.masthead nav a:hover, .small-link:hover { text-decoration: underline; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.8rem, 7vw, 7rem); align-items: center; padding-block: clamp(3.1rem, 7vw, 7.3rem) clamp(3.7rem, 8vw, 7.2rem); }
.hero-copy { min-width: 0; }
.eyebrow { margin-bottom: 1.15rem; color: var(--accent); font-size: .88rem; font-weight: 730; line-height: 1.3; letter-spacing: .095em; text-transform: uppercase; }
.intro { margin-top: 1.45rem; max-width: 39ch; font-size: clamp(1.19rem, 2.1vw, 1.55rem); line-height: 1.41; }
.primary-link { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: 1.5rem; color: var(--accent); font-weight: 710; }
.hero-figure { min-width: 0; }
.hero-figure img { width: 100%; height: auto; display: block; }
.hero-figure figcaption { border-top: 1px solid var(--rule); padding-top: .65rem; color: var(--body); font-size: .98rem; line-height: 1.4; }
.envoy h1 { font-weight: 690; letter-spacing: -.065em; line-height: .96; }
.scope .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4.2rem); }
.scope .hero-figure { align-self: stretch; position: relative; display: grid; align-content: center; }
.scope .hero-figure figcaption { text-align: center; }
.terms .hero { align-items: end; }
.terms .hero-copy { padding-bottom: .65rem; }
.terms .hero-figure { max-width: 28rem; justify-self: end; }

.method { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; gap: 1.7rem clamp(2rem, 8vw, 7.5rem); padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3.6rem, 7vw, 6.4rem); border-top: 1px solid var(--rule); }
.method-copy p, .example p:not(.eyebrow), .takeaway p { margin-top: .95rem; }
.method-list { display: grid; gap: 1.05rem; padding-left: 1.4rem; }
.method-list > li { padding: .22rem 0 .85rem .4rem; border-bottom: 1px solid var(--rule); }
.method-list > li::marker { color: var(--accent); font-size: 1rem; font-weight: 710; }
.method-list p { margin-top: .42rem; }
.decisions, .questions { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; gap: 1.5rem clamp(2rem, 8vw, 7.5rem); padding-block: clamp(2.5rem, 5vw, 5rem); }
.decisions { border-top: 1px solid var(--rule); }
.decisions-intro p { margin-top: .95rem; }
.decisions-source { grid-column: 2; font-size: 1rem; }
.decisions-source a { color: var(--accent); }
.questions { border-bottom: 1px solid var(--rule); }
.answers > div { padding: .8rem 0 1rem; border-top: 1px solid var(--rule); }
.answers dt { font-weight: 700; }
.answers dd { margin-top: .3rem; color: var(--body); }
.example { background: var(--wash); padding-block: clamp(2.7rem, 6vw, 5.5rem); }
.example-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: 1.75rem clamp(2rem, 8vw, 7.5rem); }
.scope .example { border-block: 1px solid var(--rule); }
.scope .example-inner { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
.terms .example { border-top: 1px solid var(--rule); }
.evidence { border-top: 1px solid var(--rule); }
.evidence > div { display: grid; grid-template-columns: minmax(5.15rem, .42fr) minmax(0, 1.58fr); gap: .35rem 1.15rem; padding-block: .9rem; border-bottom: 1px solid var(--rule); }
.evidence dt { color: var(--accent); font-weight: 700; }
.evidence dd { color: var(--body); }
.decisions-list > div { grid-template-columns: minmax(6.5rem, .63fr) minmax(0, 1.37fr); }
.reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem clamp(2rem, 8vw, 7.5rem); padding-block: clamp(3rem, 7vw, 6.4rem); }
.reading h2 { font-size: clamp(1.95rem, 3.2vw, 3.2rem); }
.sources ul { display: grid; gap: .9rem; margin-top: .9rem; padding: 0; list-style: none; }
.sources a, .utility a { color: var(--accent); font-weight: 690; }
.sources li p { margin-top: .12rem; font-size: 1.02rem; }
.related-guide { padding-block: clamp(2.4rem, 5vw, 4.2rem); border-bottom: 1px solid var(--rule); }
.related-guide h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); text-wrap: initial; }
.related-guide h2 a { color: var(--accent); text-decoration-thickness: .045em; }
.related-guide p:not(.eyebrow) { margin-top: .7rem; }
.article-guide { max-width: 46rem; padding-block: clamp(2rem, 6vw, 5.2rem) clamp(3rem, 7vw, 6.4rem); }
.article-header { border-bottom: 1px solid var(--rule); padding-bottom: 1.65rem; }
.article-header h1 { max-width: 100%; margin-top: .4rem; font-size: clamp(2.75rem, 6.2vw, 5.45rem); text-wrap: initial; }
.article-header time { display: block; margin-top: .65rem; color: var(--body); font-size: .97rem; }
.article-header .intro { max-width: 53ch; margin-top: 1.15rem; }
.article-section { margin-top: clamp(2rem, 4vw, 3.3rem); }
.article-section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-wrap: initial; }
.article-section p { max-width: 67ch; margin-top: .9rem; }
.article-evidence { margin-top: 1.15rem; }
.article-citations { display: flex; flex-wrap: wrap; column-gap: 1.1rem; row-gap: .3rem; padding: 0; margin-top: .85rem; list-style: none; font-size: .97rem; }
.article-citations a { color: var(--accent); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; padding-block: 1.2rem; border-top: 1px solid var(--rule); color: var(--body); }
.footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.utility { min-height: 62vh; padding-block: clamp(3rem, 8vw, 7rem); }
.utility h2 { margin-top: 1.6rem; font-size: 2rem; }
.utility p { margin-top: .65rem; }

@media (max-width: 44rem) {
  .hero, .scope .hero, .method, .decisions, .questions, .example-inner, .scope .example-inner, .reading { grid-template-columns: minmax(0, 1fr); }
  .decisions-source { grid-column: auto; }
  .terms .hero-copy { padding-bottom: 0; }
  .terms .hero-figure { justify-self: start; }
  .hero-figure { max-width: 28rem; }
  .hero-figure img { max-height: 24rem; object-fit: contain; }
  h1 { text-wrap: initial; }
}

@media (max-width: 31rem) {
  .masthead { gap: .35rem 1.4rem; }
  .masthead nav { width: 100%; }
  .masthead nav a { min-height: 2.75rem; }
  body { font-size: 1.09rem; }
  .hero { padding-block-start: 2.6rem; }
  .decisions-list > div { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
