@font-face {
  font-family: SUIT;
  src: url("../assets/fonts/SUIT-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f9fc;
  --ink: #18263d;
  --muted: #53657d;
  --green: #176779;
  --line: #dce3ee;
  --accent: #245dd6;
  --blue: #245dd6;
  --focus: var(--blue);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  overflow-anchor: none;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.85 SUIT,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Malgun Gothic",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #dbe7ff;
  color: #18263d;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
.skip {
  position: fixed;
  top: -90px;
  left: 20px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
}
.skip:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1080px;
  margin: auto;
  min-height: 82px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  font-size: 25px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark span {
  color: var(--accent);
  margin: 0 3px;
}
.back-link {
  font-size: 12px;
  text-decoration: none;
  margin-right: auto;
}
.languages {
  display: flex;
  gap: 3px;
  padding: 0 0 0 15px;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}
.languages button {
  border: 0;
  padding: 7px 11px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  min-height: 36px;
}
.languages button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
}
.reading {
  max-width: 780px;
  margin: auto;
  padding: 64px 30px 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 5vw, 53px);
  line-height: 1.18;
  letter-spacing: -1.7px;
  font-weight: 620;
  max-width: 720px;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  margin: 25px 0 26px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  font-size: 12px;
  margin: 22px 0 8px;
}
.contents a {
  text-decoration: none;
}
.reading-section {
  padding-top: 46px;
  scroll-margin-top: 110px;
}
h2 {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 650;
  margin-bottom: 22px;
  word-break: keep-all;
}
.section-number {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}
.prose p + p,
.prose p + ul,
.prose p + ol,
.prose ul + p,
.prose ol + p {
  margin-top: 18px;
}
.prose p,
.prose li {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.prose ul,
.prose ol {
  padding-left: 23px;
  margin-bottom: 0;
}
.prose li + li {
  margin-top: 12px;
}
strong {
  font-weight: 650;
}
code {
  font:
    0.9em/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  background: #eaf0f8;
  padding: 2px 4px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.code-label {
  font-size: 11px;
  color: var(--muted);
  margin: 24px 0 7px;
}
pre {
  margin: 0 0 20px;
  padding: 20px 22px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #edf2f9;
  font-size: 13px;
  line-height: 1.8;
  tab-size: 2;
}
pre code {
  font: inherit;
  background: none;
  padding: 0;
  overflow-wrap: normal;
  white-space: pre;
}
.takeaway {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-size: 21px;
  line-height: 1.65;
  font-weight: 570;
  word-break: keep-all;
}
.figure {
  margin: 32px 0 28px;
}
.figure-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #f1f5fb;
  scrollbar-color: #7b8fae #e3ebf6;
  scrollbar-width: auto;
}
.figure-scroll img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 720px;
  max-width: none;
}
.figure-scroll.trace img {
  min-width: 920px;
  background: #fafcff;
}
.figure-hint {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 12px;
}
figcaption {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.figure-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
}
.evidence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.evidence-actions a {
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 3px;
  padding: 9px 14px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}
.evidence-actions a:first-child {
  background: var(--ink);
  color: #fff;
}
details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 26px 0;
}
summary {
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink);
}
dl {
  font-size: 12px;
  line-height: 1.7;
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 12px 18px;
  margin: 18px 0 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
dd code {
  font-size: 11px;
}
.sources {
  font-size: 13px;
  line-height: 1.8;
}
.publication {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 0;
}
.next-note {
  margin-top: 52px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
}
.note-footer {
  max-width: 1080px;
  margin: 45px auto 0;
  border-top: 1px solid var(--line);
  padding: 24px 28px 36px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1000px) {
  .figure {
    margin-left: -85px;
    margin-right: -85px;
  }
  .figure-scroll img {
    min-width: 0;
  }
  .figure-scroll.trace img {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
    line-height: 1.85;
  }
  .header-inner {
    padding: 12px 18px;
    min-height: 73px;
    gap: 16px;
  }
  .back-link {
    font-size: 11px;
  }
  .wordmark {
    font-size: 23px;
  }
  .languages button {
    padding: 7px 8px;
    font-size: 11px;
  }
  .reading {
    padding: 39px 22px 0;
  }
  .lead {
    font-size: 18px;
  }
  .byline {
    font-size: 11px;
  }
  .reading-section {
    padding-top: 38px;
  }
  h1 {
    letter-spacing: -1.15px;
  }
  h2 {
    font-size: 23px;
  }
  .takeaway {
    font-size: 19px;
    padding-left: 18px;
  }
  .contents {
    gap: 9px 18px;
  }
  .figure {
    margin: 26px -4px;
  }
  .figure-scroll img {
    min-width: 720px;
  }
  .figure-scroll.trace img {
    min-width: 920px;
  }
  pre {
    padding: 16px;
    font-size: 12px;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  dd + dt {
    margin-top: 12px;
  }
  .note-footer {
    padding: 22px;
  }
  .next-note {
    margin-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
