@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/how-it-works/instrument-serif.ttf') format('truetype');
}
:root {
  color-scheme: only light;
  --paper: #fff;
  --ink: #172839;
  --muted: #586574;
  --accent: #1262d8;
  --line: #e4e8ec;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; background: #fff; }
body { margin: 0; background: #fff; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; display: block; }
.skip { position: fixed; top: -80px; left: 20px; background: #fff; padding: 16px; z-index: 20; }
.skip:focus { top: 10px; }
.masthead, .editorial-hero, .article-meta, .guide-pathways, .reading-layout, .closing, .site-footer {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.masthead { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 650; letter-spacing: -.6px; text-decoration: none; }
.brand img { object-fit: contain; width: 30px; height: 30px; }
.masthead nav { display: flex; align-items: center; gap: 32px; }
.guide-link { font-size: 13px; text-decoration: none; color: var(--muted); }
.app-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 20px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; border-radius: 999px; text-decoration: none; }
.app-link:hover { background: var(--accent); }
.editorial-hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: 58px 48px; }
.hero-copy { padding-block: 16px; }
.eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 650; margin: 0 0 24px; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(46px, 4.9vw, 72px); line-height: 1.04; font-weight: 600; letter-spacing: -3.6px; margin-bottom: 28px; }
h1 em, .closing h2 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: normal; color: var(--accent); }
.hero-copy > p:not(.eyebrow) { max-width: 490px; font-size: 17px; line-height: 1.8; color: var(--muted); margin-bottom: 28px; }
.text-link { display: inline-flex; gap: 28px; align-items: center; font-size: 13px; line-height: 1.5; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid currentColor; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.hero-figure { margin: 0; position: relative; }
.cover { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 40%; border-radius: 24px; }
.hero-figure figcaption { margin-top: 12px; font-size: 11px; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 18px; font-size: 11px; color: var(--muted); border-block: 1px solid var(--line); }
.article-meta time { margin-left: auto; }
.guide-pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 34px 44px; gap: 32px; }
.guide-pathways a { position: relative; text-decoration: none; padding-right: 30px; font-size: 17px; font-weight: 550; letter-spacing: -.3px; }
.guide-pathways a span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .5px; color: var(--muted); margin-bottom: 12px; }
.guide-pathways b { position: absolute; right: 0; bottom: 0; font-size: 20px; font-weight: 400; color: var(--accent); }
.guide-pathways a + a { border-left: 1px solid var(--line); padding-left: 28px; }
.reading-layout { margin-top: 58px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(42px, 7vw, 110px); }
.contents { position: sticky; top: 34px; align-self: start; display: grid; gap: 20px; font-size: 12px; color: var(--muted); }
.contents p { font-size: 10px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--ink); font-weight: 650; margin-bottom: 8px; }
.contents a { display: flex; align-items: baseline; gap: 12px; line-height: 1.5; text-decoration: none; }
.contents a span { color: #8a949f; font-size: 10px; width: 16px; flex-shrink: 0; }
.contents a:hover { color: var(--accent); }
.article-body { min-width: 0; }
.chapter { margin-bottom: 104px; scroll-margin-top: 32px; }
.chapter-heading { display: flex; gap: 20px; align-items: baseline; margin-bottom: 30px; }
.chapter-number { color: var(--accent); font-size: 12px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
h2 { font-size: clamp(30px, 3vw, 43px); line-height: 1.16; font-weight: 550; letter-spacing: -1.7px; margin-bottom: 30px; }
.chapter-heading h2 { margin: 0; }
.chapter > p { font-size: 16px; line-height: 1.9; max-width: 760px; margin-bottom: 22px; color: var(--muted); }
.source-note { font-size: 11px !important; line-height: 1.9 !important; color: var(--muted); }
.pullquote { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.2; letter-spacing: -.6px; margin: 48px 0 0; padding: 30px 0 0 25px; border-left: 2px solid var(--accent); max-width: 650px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 32px; }
.topic { border-top: 1px solid var(--line); padding: 24px 0 30px; }
.topic-number { display: block; font-size: 10px; color: var(--accent); margin-bottom: 12px; }
.topic h3 { font-size: 17px; line-height: 1.45; font-weight: 600; letter-spacing: -.3px; margin-bottom: 10px; }
.topic p { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 0; }
.editorial-figure { margin: 36px 0; }
.editorial-figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.editorial-figure figcaption { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 14px; max-width: 540px; }
.editorial-figure figcaption span { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.exercise-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 16px 30px; }
.exercise-spread .editorial-figure { margin: 0; }
.exercise-spread img { aspect-ratio: 4 / 3; }
.debrief-example { border-block: 1px solid var(--line); padding-block: 32px; margin-top: 40px; }
.debrief-example .eyebrow { color: var(--accent); }
.debrief-example > h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 34px; letter-spacing: -.7px; margin-bottom: 18px; }
.debrief-example > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; color: var(--muted); }
.transcript { margin: 28px 0 34px; display: grid; gap: 10px; }
.transcript p { display: grid; grid-template-columns: 42px 1fr; gap: 14px; font-size: 14px; line-height: 1.8; margin: 0; padding: 18px 20px; background: #f5f8fb; border-radius: 14px; }
.transcript strong { font-size: 11px; padding-top: 2px; color: var(--accent); }
.transcript q { quotes: none; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feedback-grid h4 { font-size: 13px; font-weight: 650; margin: 0 0 12px; }
.feedback-grid section:nth-child(1) h4 { color: #147453; }
.feedback-grid section:nth-child(2) h4 { color: #a04b15; }
.feedback-grid section:nth-child(3) h4 { color: var(--accent); }
.feedback-grid p, .feedback-grid blockquote { font-size: 12px; line-height: 1.85; color: var(--muted); margin: 0; }
.feedback-grid blockquote { margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--line); }
details { border-top: 1px solid var(--line); padding-block: 22px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-size: 16px; font-weight: 550; cursor: pointer; line-height: 1.6; padding-right: 12px; }
details p { font-size: 14px; line-height: 1.9; margin: 16px 0 0; color: var(--muted); max-width: 740px; }
.sources h2 { font-size: 20px; letter-spacing: -.5px; margin-bottom: 18px; }
.sources p, .sources li { font-size: 11px !important; line-height: 1.9; color: var(--muted); }
.sources ul { padding-left: 16px; }
.closing { border-top: 1px solid var(--line); padding-block: 64px 80px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.closing h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -2.5px; margin: 0; }
.closing > div > p:not(.eyebrow) { font-size: 16px; line-height: 1.85; max-width: 370px; color: var(--muted); margin-bottom: 26px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px 36px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 11px; }
.site-footer a { text-decoration: none; }
@media (max-width: 1100px) {
  h1 { letter-spacing: -2.5px; }
  .reading-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 42px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-grid section + section { border-top: 1px solid var(--line); padding-top: 20px; }
}
@media (max-width: 760px) {
  .masthead, .editorial-hero, .article-meta, .guide-pathways, .reading-layout, .closing, .site-footer { width: calc(100% - 40px); }
  .masthead { padding-block: 20px; }
  .brand { font-size: 17px; }
  .guide-link { display: none; }
  .app-link { padding: 12px 16px; gap: 16px; font-size: 12px; }
  .editorial-hero { grid-template-columns: 1fr; padding-block: 26px 32px; gap: 24px; }
  h1 { max-width: 580px; font-size: clamp(43px, 9vw, 62px); letter-spacing: -2.4px; }
  .hero-copy { padding: 0; }
  .hero-copy > p:not(.eyebrow) { max-width: 560px; font-size: 16px; }
  .cover { aspect-ratio: 4 / 3; border-radius: 18px; }
  .article-meta { font-size: 10px; gap: 10px 18px; }
  .article-meta time { margin-left: 0; }
  .guide-pathways { grid-template-columns: 1fr; gap: 18px; padding-block: 28px 0; }
  .guide-pathways a { font-size: 16px; padding-block: 0 18px; border-bottom: 1px solid var(--line); }
  .guide-pathways a + a { border-left: 0; padding-left: 0; }
  .guide-pathways a span { margin-bottom: 7px; }
  .guide-pathways b { bottom: 18px; }
  .reading-layout { display: block; margin-top: 36px; }
  .contents { position: static; display: flex; overflow-x: auto; gap: 22px; padding-bottom: 18px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
  .contents p { display: none; }
  .contents a { white-space: nowrap; font-size: 11px; flex-shrink: 0; gap: 6px; }
  .chapter { margin-bottom: 64px; }
  .chapter-heading { gap: 14px; margin-bottom: 24px; }
  h2 { font-size: 32px; letter-spacing: -1.2px; }
  .chapter > p { font-size: 15px; }
  .topic-grid { gap: 0 24px; }
  .topic h3 { font-size: 16px; }
  .topic p { font-size: 13px; }
  .exercise-spread { gap: 16px; }
  .editorial-figure img { border-radius: 12px; }
  .closing { grid-template-columns: 1fr; gap: 26px; padding-block: 44px; }
  .site-footer { flex-wrap: wrap; gap: 16px; }
  .site-footer > span { order: 3; width: 100%; }
}
@media (max-width: 430px) {
  .topic-grid { grid-template-columns: 1fr; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand img { width: 25px; height: 25px; }
  .exercise-spread { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
