* { box-sizing: border-box; letter-spacing: 0; }
html { color-scheme: dark; scroll-padding-top: 28px; }
html.light-mode { color-scheme: light; }
body { margin: 0; font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--home-mint); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
svg { width: 18px; height: 18px; flex: 0 0 18px; vertical-align: middle; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--home-mint); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 25px; text-decoration: none; }
.brand img { border-radius: 6px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-header nav a { text-decoration: none; }
.site-header nav a[aria-current] { color: var(--home-mint); }
.icon-button { border: 0; background: transparent; padding: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; }
.icon-button:hover { background: var(--home-surface); }
.moon, .light-mode .sun { display: none; }
.light-mode .moon { display: inline; }
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 600; color: var(--home-mint); }
.eyebrow span { color: var(--home-muted); margin-left: 18px; font-weight: 400; }
h1, h2, h3 { line-height: 1.2; font-weight: 500; margin: 0; overflow-wrap: break-word; }
.library-header { padding-block: 44px 54px; }
.library-header h1 { font-size: 52px; margin-bottom: 16px; }
.library-lede { font-size: 26px; margin: 0 0 14px; }
.library-description { max-width: 680px; color: var(--home-muted); font-size: 17px; margin: 0; }
.approach-band { background: var(--home-proof); }
.approach-inner { padding-block: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.approach-inner h2 { font-size: 28px; max-width: 460px; }
.approach-inner h2 a { text-decoration: none; }
.approach-inner p:not(.eyebrow) { margin: 0 0 18px; color: var(--home-proof-muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: none; font-weight: 600; }
.library-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 64px; padding-block: 54px 72px; }
.library-sidebar { position: sticky; top: 32px; align-self: start; }
.library-sidebar h2 { font-size: 16px; font-weight: 600; }
.library-sidebar p { font-size: 13px; color: var(--home-muted); margin: 16px 0 22px; }
.library-sidebar a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 13px; margin: 16px 0; }
.library-tools { display: flex; gap: 12px; align-items: center; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--home-surface); border-radius: 6px; flex: 1; min-width: 0; }
.search-field svg { color: var(--home-muted); }
input { width: 100%; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; color: var(--home-text); font-size: 14px; }
input::placeholder { color: var(--home-muted); opacity: 1; }
select { min-height: 48px; max-width: 205px; padding: 0 30px 0 14px; border: 0; border-radius: 6px; color: var(--home-text); background: var(--home-surface); font-size: 14px; }
.result-count { font-size: 12px; color: var(--home-muted); margin: 14px 0 32px; min-height: 20px; }
.research-entry { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding-bottom: 44px; }
.entry-number { font-size: 12px; color: var(--home-accent); padding-top: 2px; font-variant-numeric: tabular-nums; }
.entry-meta { font-size: 12px; color: var(--home-mint); margin: 0 0 10px; }
.entry-meta span { color: var(--home-muted); margin-left: 16px; }
.research-entry h2 { font-size: 24px; max-width: 680px; }
.research-entry h2 a { text-decoration: none; }
.entry-deck { color: var(--home-muted); margin: 12px 0; font-size: 15px; }
.paper-credit { font-size: 12px; color: var(--home-muted); margin: 16px 0 0; line-height: 1.7; }
.paper-credit a { text-decoration: none; }
.paper-credit svg { width: 13px; height: 13px; }
.empty-state { padding: 24px 0; }
.empty-state button { border: 0; background: none; text-decoration: underline; color: var(--home-mint); padding: 12px; }
.article-wrap { width: min(740px, calc(100% - 80px)); margin-inline: auto; padding: 28px 0 72px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--home-muted); text-decoration: none; font-size: 13px; margin-bottom: 44px; min-height: 32px; }
.article-header h1 { font-size: 42px; line-height: 1.18; }
.deck { color: var(--home-muted); font-size: 19px; margin: 22px 0 24px; }
.byline { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; margin: 0 0 44px; color: var(--home-muted); }
.prose { font-size: 17px; line-height: 1.85; }
.prose h2 { font-size: 23px; margin: 38px 0 14px; }
.prose p { margin: 0 0 24px; }
.prose a { color: var(--home-mint); }
.reference-mark { font-size: 12px; vertical-align: super; text-decoration: none; white-space: nowrap; }
.prose .limits { color: var(--home-muted); }
.limits h2 { color: var(--home-accent); }
.source { margin-top: 44px; padding: 26px 28px; border-radius: 6px; background: var(--home-surface); font-size: 13px; line-height: 1.7; }
.source h2 { margin: 0 0 18px; font-size: 13px; font-weight: 600; }
.source p { margin: 8px 0; }
.source .source-title { font-size: 17px; line-height: 1.5; }
.source-title a { color: var(--home-text); text-decoration: none; }
.source-meta { color: var(--home-muted); overflow-wrap: anywhere; }
.source-meta svg { width: 14px; height: 14px; }
.source-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.source-actions a, .source-actions button { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; min-height: 36px; }
.copy-citation { padding: 0; border: none; background: none; color: var(--home-mint); }
.copy-status { min-height: 22px; font-size: 12px; overflow-wrap: anywhere; }
.editorial-note { color: var(--home-muted); font-size: 12px; line-height: 1.75; margin: 24px 0 30px; }
.article-destinations { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 10px 0 24px; }
.article-destinations a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; min-height: 44px; }
.article-destinations a:first-child { color: var(--home-mint); }
.related { margin-top: 36px; }
.related h2 { font-size: 14px; color: var(--home-muted); margin: 0 0 14px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-decoration: none; padding: 12px 0; font-size: 16px; }
.sequence { margin: 36px 0; padding: 24px 0; }
.sequence figcaption { color: var(--home-mint); font-size: 13px; margin-bottom: 18px; }
.sequence ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.sequence li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }
.sequence img { filter: brightness(0) invert(1); margin-bottom: 8px; }
.light-mode .sequence img { filter: brightness(0); }
.sequence small { font-size: 11px; color: var(--home-muted); }
.sequence p { font-size: 12px; color: var(--home-muted); line-height: 1.6; margin: 20px 0 0; }
.evaluation-questions { padding-left: 24px; }
.evaluation-questions li { padding-left: 8px; margin-bottom: 20px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 32px; color: var(--home-muted); }
.wordmark { text-decoration: none; font-size: 23px; font-weight: 600; color: var(--home-text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.site-footer nav a { text-decoration: none; }
.site-footer small { font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--home-surface); padding: 12px 18px; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .library-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .library-sidebar { position: static; }
  .library-sidebar h2, .library-sidebar p:nth-of-type(2) { display: none; }
  .library-sidebar p { margin: 0 0 12px; }
  .library-sidebar a { display: inline-flex; margin: 0 24px 8px 0; }
  .approach-inner { gap: 32px; }
  .article-wrap { width: min(680px, calc(100% - 48px)); }
}
@media (max-width: 560px) {
  .site-header { min-height: 84px; gap: 8px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand img { width: 22px; height: 22px; }
  .site-header nav { gap: 12px; font-size: 12px; }
  .site-header nav > a:nth-child(2) { display: none; }
  .library-header { padding-block: 30px 34px; }
  .library-header h1 { font-size: 40px; }
  .library-lede { font-size: 22px; }
  .library-description { font-size: 15px; }
  .approach-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
  .approach-inner h2 { font-size: 26px; }
  .approach-inner p:not(.eyebrow) { font-size: 15px; }
  .library-tools { flex-direction: column; align-items: stretch; }
  .search-field { flex: auto; }
  select { max-width: none; width: 100%; }
  .research-entry { grid-template-columns: 22px minmax(0,1fr); gap: 10px; padding-bottom: 36px; }
  .research-entry h2 { font-size: 21px; }
  .entry-deck { font-size: 14px; }
  .article-wrap { padding-top: 16px; }
  .back-link { margin-bottom: 28px; }
  .article-header h1 { font-size: 32px; }
  .deck { font-size: 17px; }
  .byline { gap: 10px 16px; margin-bottom: 30px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .prose h2 { font-size: 22px; }
  .source { padding: 22px 20px; }
  .source .source-title { font-size: 16px; }
  .article-destinations { gap: 16px; }
  .article-destinations a { font-size: 13px; gap: 4px; }
  .sequence ol { grid-template-columns: 1fr; gap: 16px; }
  .sequence li { display: grid; grid-template-columns: 24px 90px 1fr; gap: 12px; align-items: center; }
  .sequence img { margin: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { gap: 12px 24px; }
}
@media (prefers-reduced-motion: no-preference) { a, button { transition: color 120ms, background-color 120ms; } }
