@font-face {
  font-family: Inter;
  src: url("./inter-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --coral: #F06A6A;
  --green: #62D26F;
  --paper: #FFFFFF;
  --soft: #F9F8F8;
  --ink: #1E1F21;
  --raised: #252628;
  --muted: #6D6E6F;
  --line: #dedddd;
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16pt; line-height: 1.5; }
body[data-view="map"] { background: var(--soft); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
a, summary { -webkit-tap-highlight-color: #f6baba; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
::selection { background: #f9bcbc; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1 { font-size: 32pt; font-weight: 800; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: 29px; font-weight: 700; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
p + p { margin-top: 18px; }
ul, ol { margin: 0; padding: 0; }
section { scroll-margin-top: 28px; }

[data-role="sr-only"] {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
[data-role="skip-link"] {
  position: fixed; z-index: 10; left: 20px; top: -120px; padding: 16px 24px;
  background: var(--ink); color: var(--paper); font-size: 18px; border-radius: 8px;
}
[data-role="skip-link"]:focus { top: 16px; }
[data-role="site-header"] { max-width: 1296px; margin-inline: auto; padding: 28px var(--gutter) 0; }
[data-role="masthead"] { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
[data-role="wordmark"] { font-size: 22px; font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
[data-role="wordmark"] > span { display: block; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); padding-top: 5px; }
[data-role="masthead-note"] { font-size: 16px; color: var(--muted); }
[data-role="breadcrumb"] { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 16px; padding-top: 9px; min-height: 62px; }
[data-role="breadcrumb"] a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 2px; }
[data-role="breadcrumb"] [aria-current="page"] { color: var(--muted); }
[data-role="breadcrumb"] > [aria-hidden] { color: var(--muted); }
[data-role="manuscript"] { max-width: 1296px; margin-inline: auto; padding: 33px var(--gutter) 0; }
body[data-view="entry"] article { max-width: 850px; margin: 0 auto; }
[data-role="entry-head"] { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
[data-role="eyebrow"] { display: block; font-size: 16px; font-weight: 650; letter-spacing: .075em; text-transform: uppercase; line-height: 1.35; }
[data-role="date-pill"] { display: inline-block; font-size: 16px; font-weight: 550; padding: 8px 13px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); margin: 16px 0 26px; }
[data-role="entry-head"] h1 { max-width: 23ch; }
[data-role="deck"] { font-size: 22px; color: var(--muted); margin-top: 22px; max-width: 62ch; }
[data-role="first-answer"] { margin-top: 30px; max-width: 720px; }
[data-role="first-answer"] p { max-width: 720px; }
body[data-view="map"] [data-role="entry-head"] {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 348px);
  column-gap: 56px; align-items: start; padding-bottom: 58px;
}
body[data-view="map"] [data-role="entry-head"] > [data-role="eyebrow"] { grid-column: 1; grid-row: 1; align-self: center; }
body[data-view="map"] [data-role="date-pill"] { grid-column: 2; grid-row: 1; justify-self: start; margin: 0 0 28px; background: var(--paper); }
body[data-view="map"] [data-role="entry-head"] h1 { grid-column: 1; grid-row: 2; max-width: 18ch; }
body[data-view="map"] [data-role="deck"] { grid-column: 1; grid-row: 3; max-width: 45ch; margin-top: 21px; }
body[data-view="map"] [data-role="first-answer"] {
  grid-column: 2; grid-row: 2 / 5; margin-top: 0; padding: 25px 27px 28px;
  background: var(--ink); color: var(--paper); border-radius: 16px; font-size: 20px;
  box-shadow: 0 6px 0 -2px #62D26F;
}
body[data-view="map"] [data-role="first-answer"] p + p { color: #e0e0e1; margin-top: 18px; }
[data-role="coral-action"] { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; width: fit-content; min-height: 52px; padding: 13px 19px; font-size: 18px; font-weight: 600; border-radius: 9px; background: var(--coral); text-decoration: none; }
body[data-view="map"] [data-role="coral-action"] { grid-column: 1; grid-row: 4; margin-top: 28px; }
[data-role="coral-action"]:hover { background: #f58e8e; }
[data-role="entry-body"] { padding-bottom: 50px; }
body[data-view="entry"] [data-role="entry-body"] { max-width: 720px; }
[data-role="answer-section"] { padding-block: 40px; border-bottom: 1px solid var(--line); }
[data-role="answer-section"] h2 { margin-bottom: 21px; }
[data-role="answer-section"] > p { max-width: 720px; }
[data-role="list"] { list-style: none; margin-block: 22px; }
[data-role="list"] li { position: relative; padding: 16px 0 16px 37px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 500; line-height: 1.5; }
[data-role="list"] li::before { content: ""; position: absolute; left: 0; top: 25px; width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--muted); }
[data-role="list"] li:last-child { border-bottom: 0; }
[data-role="route-list"] { list-style: none; margin-top: 26px; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
[data-role="route-list"] li + li { border-top: 1px solid var(--line); }
[data-role="route-row"] { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 24px; gap: 20px; align-items: center; padding: 24px; min-height: 98px; text-decoration: none; }
[data-role="route-row"]:hover { background: #fff2f2; }
[data-role="route-row"]:focus-visible { outline-offset: -5px; }
[data-role="completion-circle"] { width: 25px; height: 25px; border: 2px solid #b7b7b8; border-radius: 50%; position: relative; }
[data-role="route-row"]:hover [data-role="completion-circle"] { border-color: var(--ink); background: var(--green); }
[data-role="route-copy"] { min-width: 0; }
[data-role="route-title"] { display: block; font-size: 15pt; font-weight: 500; line-height: 1.4; }
[data-role="route-description"] { display: block; margin-top: 4px; color: var(--muted); font-size: 17px; line-height: 1.5; }
[data-role="pill"] { display: inline-block; background: var(--soft); font-size: 16px; font-weight: 600; border-radius: 24px; padding: 5px 12px; white-space: nowrap; }
[data-role="route-arrow"] { font-size: 25px; font-weight: 500; }
[data-role="source-notes"] { margin-top: 38px; padding: 28px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
[data-role="source-notes"] h2 { font-size: 22px; }
[data-role="source-notes"] ul { list-style: none; margin-top: 14px; }
[data-role="source-notes"] li + li { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
[data-role="source-notes"] a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; font-size: 17px; font-weight: 600; }
[data-role="source-notes"] p { font-size: 16px; line-height: 1.5; color: var(--muted); }
[data-role="next-page"] { margin-top: 30px; padding: 24px; background: var(--ink); color: var(--paper); border-radius: 14px; }
[data-role="next-page"] > span { color: #e0e0e1; }
[data-role="next-page"] a { display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 20px; font-weight: 500; min-height: 52px; padding-top: 8px; text-decoration: none; }
[data-role="next-page"] a > span { color: var(--coral); font-size: 28px; }
[data-role="next-page"] a:focus-visible { outline-color: var(--paper); }
[data-role="next-page"] a:hover { text-decoration: underline; }
[data-role="related-links"] { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
[data-role="related-links"] a { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; font-size: 18px; }
[data-role="site-footer"] { max-width: 1296px; margin: 0 auto; padding: 30px var(--gutter) 110px; border-top: 1px solid var(--line); }
[data-role="site-footer"] p { font-size: 16px; max-width: 65ch; line-height: 1.5; color: var(--muted); }
[data-role="site-footer"] a { display: inline-flex; align-items: center; gap: 16px; font-size: 16px; min-height: 48px; margin-top: 12px; }
[data-role="section-jump"] { position: fixed; right: max(20px, calc((100vw - 1296px) / 2)); bottom: 23px; z-index: 8; }
[data-role="section-jump"] > summary { display: flex; justify-content: center; align-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--coral); color: var(--ink); font-size: 32px; font-weight: 500; line-height: 1; cursor: pointer; list-style: none; box-shadow: 0 4px 16px #1e1f2126; }
[data-role="section-jump"] > summary::-webkit-details-marker { display: none; }
[data-role="section-jump"][open] > summary { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink); }
[data-role="jump-panel"] { position: absolute; bottom: 82px; right: 0; width: min(380px, calc(100vw - 40px)); max-height: min(65vh, 540px); overflow-y: auto; overscroll-behavior: contain; border-radius: 14px; background: var(--raised); color: var(--paper); padding: 20px; box-shadow: 0 12px 40px #1e1f2140; }
[data-role="jump-panel"] > p { font-size: 17px; font-weight: 650; padding: 0 10px 14px; }
[data-role="jump-panel"] ul { list-style: none; }
[data-role="jump-panel"] a { display: flex; align-items: center; min-height: 48px; padding: 10px; border-radius: 6px; font-size: 16px; text-decoration: none; line-height: 1.4; }
[data-role="jump-panel"] a:hover, [data-role="jump-panel"] a[aria-current="location"] { background: #424345; }
[data-role="jump-panel"] a:focus-visible { outline-color: var(--paper); outline-offset: -2px; }
[data-role="study-graphic"] { margin: 26px 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 24px; padding: 26px; background: var(--soft); border-radius: 14px; border: 1px solid var(--line); }
[data-role="study-graphic"] img { width: 200px; aspect-ratio: 1; }
[data-role="study-graphic"] figcaption { grid-column: 1 / -1; font-size: 17px; line-height: 1.5; }
[data-role="graphic-key"] p { font-size: 18px; }
[data-role="graphic-key"] p + p { margin-top: 16px; }
[data-role="graphic-key"] [data-mark]::before { content: ""; display: inline-block; width: 17px; height: 17px; margin-right: 10px; border: 1px solid var(--ink); vertical-align: -1px; }
[data-mark="night"]::before { background: var(--green); border-radius: 50%; }
[data-mark="eye"]::before { background: var(--coral); }
[data-role="graphic-key"] p:last-child { font-size: 16px; color: var(--muted); }
[data-role="timeline"] { list-style: none; border-left: 2px solid var(--ink); margin: 30px 0 28px 10px; }
[data-role="timeline"] li { position: relative; padding: 0 0 25px 29px; font-size: 20px; }
[data-role="timeline"] li::before { content: ""; position: absolute; top: 7px; left: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); }
[data-role="timeline"] li:last-child { padding-bottom: 0; }

@media (max-width: 960px) {
  body[data-view="map"] [data-role="entry-head"] { column-gap: 30px; grid-template-columns: minmax(0, 1fr) 290px; }
  [data-role="route-row"] { gap: 16px; }
  [data-role="pill"] { white-space: normal; max-width: 135px; }
}
@media (max-width: 740px) {
  :root { --gutter: 22px; }
  [data-role="site-header"] { padding-top: 23px; }
  [data-role="masthead"] { gap: 14px; }
  [data-role="masthead-note"] { max-width: 130px; text-align: right; line-height: 1.35; }
  [data-role="manuscript"] { padding-top: 24px; }
  h1 { font-size: 32pt; }
  h2 { font-size: 27px; }
  [data-role="deck"] { font-size: 21px; }
  [data-role="entry-head"] { padding-bottom: 32px; }
  body[data-view="map"] [data-role="entry-head"] { display: block; padding-bottom: 33px; }
  body[data-view="map"] [data-role="date-pill"] { margin: 17px 0 24px; }
  body[data-view="map"] [data-role="entry-head"] h1 { max-width: 18ch; }
  body[data-view="map"] [data-role="first-answer"] { margin-top: 27px; padding: 24px; }
  body[data-view="map"] [data-role="coral-action"] { margin-top: 27px; }
  [data-role="answer-section"] { padding-block: 33px; }
  [data-role="route-row"] { grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 12px; padding: 21px 17px; }
  [data-role="route-copy"] { grid-column: 2; }
  [data-role="pill"] { grid-column: 2; margin-top: 1px; width: fit-content; max-width: none; }
  [data-role="route-arrow"] { grid-column: 3; grid-row: 1 / 3; }
  [data-role="completion-circle"] { align-self: start; margin-top: 4px; width: 23px; height: 23px; }
  [data-role="route-title"] { font-size: 20px; }
  [data-role="route-description"] { font-size: 17px; margin-top: 8px; }
  [data-role="source-notes"], [data-role="next-page"] { padding: 22px; }
  [data-role="source-notes"] a { line-height: 1.45; }
  [data-role="study-graphic"] { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  [data-role="study-graphic"] img { width: 180px; margin-inline: auto; }
  [data-role="graphic-key"] { border-top: 1px solid var(--line); padding-top: 18px; }
  [data-role="section-jump"] { bottom: 20px; right: 20px; }
  [data-role="section-jump"] > summary { width: 58px; height: 58px; }
  [data-role="jump-panel"] { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
@media print {
  [data-role="section-jump"], [data-role="skip-link"] { display: none; }
  body { font-size: 12pt; }
  [data-role="site-header"], [data-role="manuscript"], [data-role="site-footer"] { padding-inline: 0; }
  [data-role="answer-section"], [data-role="source-notes"] { break-inside: avoid; }
  [data-role="next-page"] { color: var(--ink); background: var(--paper); border: 1px solid var(--ink); }
  a { text-decoration: underline; }
}
