@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #142b36;
  --muted: #526670;
  --paper: #f3f5f4;
  --white: #fff;
  --line: #dce5e2;
  --deep: #0b1e2d;
  --mint: #bbf2dc;
  --green: #196b59;
  --wash: #e5f2eb;
  --radius: 1.15rem;
  --sans: Inter, system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #318770; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #c8ebda; color: var(--ink); }
.wrap { width: min(calc(100% - 3.5rem), 77.5rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; white-space: nowrap; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; z-index: 5; top: .65rem; left: .75rem; transform: translateY(-170%); padding: .55rem .9rem; background: var(--white); color: var(--ink); border-radius: .45rem; }
.skip:focus { transform: none; }

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.4vw, 5.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.65rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.65rem); }
.kicker { display: block; color: var(--green); font: 650 .7rem/1.5 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.meta { margin: 0; color: var(--muted); font: .77rem/1.55 var(--mono); }
.lede { max-width: 44rem; margin: 1rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.19rem); }
.text-link { display: inline-flex; align-items: baseline; gap: .45em; color: var(--green); font-size: .9rem; font-weight: 650; text-decoration-color: #8bb5a6; }
.text-link:hover { text-decoration-color: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.95rem; padding: .58rem 1rem; color: var(--white); background: var(--ink); border: 1px solid var(--ink); border-radius: .65rem; font-size: .86rem; font-weight: 650; text-decoration: none; }
.button:hover { background: #24504f; border-color: #24504f; }
.chip { display: inline-flex; align-items: center; min-height: 2.2rem; padding: .32rem .66rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); color: var(--ink); font-size: .81rem; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: #529486; }
.chip[aria-pressed="true"] { color: #144e43; border-color: #8dcbb6; background: #dff2e9; }
.filter-group { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .42rem; }

.header { position: relative; z-index: 3; background: #f8faf9; box-shadow: 0 1px #1a49361a; }
.home-page .header { background: #0b2130; color: #e7f5f3; box-shadow: 0 1px #d0fff51a; }
.header-inner { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.3rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; justify-self: start; width: max-content; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.64rem; height: 2.64rem; border-radius: .65rem; color: #d5fff1; background: linear-gradient(142deg, #1c5d56, #182f46 78%); font-weight: 700; letter-spacing: -.09em; }
.home-page .brand-mark { color: #092820; background: var(--mint); }
.brand-name { width: 10ch; font-size: .73rem; font-weight: 650; line-height: 1.23; }
.nav { display: flex; align-items: center; justify-content: center; gap: .35rem; }
.nav a, .header-search { display: inline-flex; min-height: 2.35rem; align-items: center; padding: .34rem .75rem; border-radius: .52rem; text-decoration: none; white-space: nowrap; font-size: .85rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: #dfebe6; color: #185e50; }
.home-page .nav a:hover { background: #caf3e622; color: var(--mint); }
.header-search { justify-self: end; gap: .5rem; border: 1px solid var(--line); }
.header-search:hover { background: #e9f2ee; }
.home-page .header-search { border-color: #e0fcf438; }
.home-page .header-search:hover { background: #b0ded723; }
.search-symbol { position: relative; flex: 0 0 auto; width: .8rem; height: .8rem; border: 1.6px solid currentColor; border-radius: 50%; }
.search-symbol::after { content: ''; position: absolute; width: .33rem; height: 1.6px; border-radius: 1px; background: currentColor; transform: rotate(45deg); left: .54rem; top: .64rem; }

.launchpad {
  position: relative;
  isolation: isolate;
  color: #eaf8f5;
  padding-block: clamp(2.8rem, 5.4vw, 5.6rem);
  background:
    radial-gradient(ellipse at 90% -5%, #237169 0%, transparent 60%),
    radial-gradient(ellipse at 45% 118%, #255569 0%, transparent 55%),
    linear-gradient(112deg, #0c2131 6%, #102d3d 61%, #153f4c 100%);
}
.launchpad::before {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; content: '';
  background: repeating-linear-gradient(115deg, transparent 0 99px, #e2fff51a 100px 101px, transparent 102px 159px);
  mask-image: linear-gradient(110deg, transparent 0%, #000 85%);
}
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: clamp(1.9rem, 5vw, 4.5rem); align-items: center; }
.launch-copy { min-width: 0; }
.signal-kicker { display: flex; align-items: center; gap: .62rem; color: var(--mint); }
.signal-kicker::before { content: ''; display: inline-block; width: 1.4rem; height: 1px; background: currentColor; }
.launch-copy h1 { margin: .16em 0 .3em; font-size: clamp(3rem, 5.2vw, 5.35rem); text-wrap: unset; font-weight: 650; letter-spacing: -.07em; }
.launch-copy h1 em { display: block; color: var(--mint); font-style: normal; }
.launch-description { max-width: 47ch; margin: 0 0 1.55rem; color: #d0e4e6; font-size: clamp(.95rem, 1.39vw, 1.08rem); }
.launch-search { position: relative; margin: 0; max-width: 36rem; }
.launch-input { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .35rem .38rem .35rem 1rem; border-radius: .86rem; background: #f9fcfb; color: var(--ink); box-shadow: 0 10px 30px #071b2b35; }
.launch-input .search-symbol { color: #3d615f; }
.launch-input input { width: 100%; min-height: 2.4rem; min-width: 0; border: 0; outline-offset: 2px; background: transparent; color: var(--ink); font-size: .93rem; }
.launch-input .button { min-height: 2.55rem; background: #1c6356; border-color: #1c6356; }
.launch-input .button:hover { background: #255a50; border-color: #255a50; }
.lookup-results { position: absolute; z-index: 4; top: calc(100% + .35rem); left: 0; right: 0; padding: .65rem; border: 1px solid var(--line); border-radius: .64rem; background: var(--white); color: var(--ink); box-shadow: 0 8px 21px #0b20363c; }
.lookup-results .meta { padding: .18rem .45rem .4rem; }
.lookup-results ul { margin: 0; padding: 0; list-style: none; }
.lookup-results li a { display: block; padding: .45rem; text-decoration: none; font-size: .86rem; font-weight: 620; border-radius: .35rem; }
.lookup-results li a:hover, .lookup-results li a:focus-visible { background: #e9f4ee; }
.quick-queries { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .75rem; }
.quick-queries a { min-height: 2.1rem; display: inline-flex; align-items: center; padding: .2rem .58rem; border: 1px solid #c7eee24a; border-radius: .43rem; color: #e4f2ef; font-size: .76rem; font-weight: 580; text-decoration: none; }
.quick-queries a:hover { color: #0b2e26; background: var(--mint); border-color: var(--mint); }
.launch-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin: 1.15rem 0 0; color: #cee5e2; font-size: .77rem; }
.launch-facts b { margin-right: .13rem; color: #f2fffb; font-size: .87rem; }
.launchpad :focus-visible { outline-color: #a0eed2; }
.launch-input input:focus-visible, .lookup-results :focus-visible { outline-color: #20705f; }

.case-spotlight {
  margin: 0;
  padding: .92rem;
  border: 1px solid #b9e3d745;
  border-radius: 1.28rem;
  background: linear-gradient(149deg, #13283b, #12383ce8);
  box-shadow: 0 23px 72px #06131d55, inset 0 1px #ddfff319;
}
.spotlight-heading, .case-spotlight figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem .8rem; padding: .16rem .36rem .72rem; }
.spotlight-heading .kicker { color: var(--mint); }
.spotlight-heading a { color: #d4ede8; font-size: .77rem; text-decoration: none; }
.spotlight-heading a:hover { text-decoration: underline; }
.motion-stage { position: relative; aspect-ratio: 2; overflow: hidden; border-radius: .7rem; background: #03070a; }
.motion-stage video, .motion-stage > img { width: 100%; height: 100%; object-fit: contain; }
.motion-toggle {
  position: absolute; right: .52rem; bottom: .52rem; width: 2.45rem; height: 2.45rem; display: grid; place-items: center;
  border: 1px solid #acddd74d; border-radius: 50%; color: #e7fff3; background: #0c2630e8;
}
.motion-toggle:hover { background: #1b5e58; }
.motion-toggle > span:first-child { width: 0; height: 0; margin-left: .15rem; border-block: .33rem solid transparent; border-left: .51rem solid currentColor; }
.motion-toggle[data-playing="true"] > span:first-child { width: .53rem; height: .7rem; margin: 0; border: 0; border-inline: .15rem solid currentColor; }
.case-spotlight figcaption { padding-block: .66rem .05rem; }
.case-spotlight figcaption strong { font-size: .87rem; letter-spacing: -.018em; }
.case-spotlight figcaption > span { color: #bfdbd7; font-size: .69rem; }

.decision-workbench { min-width: 0; padding: clamp(.98rem, 2.7vw, 1.8rem); border: 1px solid #a6dacc42; border-radius: 1.35rem; color: #eaf8f5; background: linear-gradient(145deg, #0e2337e8, #0f2c37d6 58%, #163e40eb); box-shadow: 0 26px 70px #071a293e, inset 0 1px #e4fffa14; }
.decision-top { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem 1rem; }
.decision-top h2 { font-size: 1rem; letter-spacing: -.025em; }
.decision-top a { flex: 0 0 auto; color: var(--mint); font-size: .75rem; text-decoration: none; }
.decision-top .arrow { margin-left: .2rem; }
.decision-top a:hover, .decision-open:hover { text-decoration: underline; }
.decision-tabs { display: grid; position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.1rem 0 1.05rem; }
.decision-tabs::before { content: ''; position: absolute; top: .93rem; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, #5fac9c, #4f776f); }
.decision-tabs button { display: grid; color: #cde2e0; grid-template-rows: 1.09rem 1fr; justify-items: center; align-items: start; gap: .38rem; position: relative; min-height: 3.45rem; padding: .45rem .18rem .25rem; border-radius: .5rem; border: 0; background: transparent; font-size: .73rem; font-weight: 600; line-height: 1.15; text-align: center; }
.decision-tabs button:hover { color: #fff; background: #e9fff91a; }
.decision-node { display: inline-block; width: .93rem; height: .93rem; border-radius: 50%; border: 2px solid #73a79f; background: #17383e; transition: box-shadow .2s, background-color .2s; }
.decision-tabs button[aria-selected="true"] { color: #f4fffa; }
.decision-tabs button[aria-selected="true"] .decision-node { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 4px #b8f4dc32, 0 0 16px #95e7cc68; }
.decision-content { min-width: 0; animation: come-forward .25s ease-out both; }
@keyframes come-forward { from { opacity: .62; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.decision-content h3 { color: #f4fffb; font-size: clamp(1.25rem, 2.22vw, 1.85rem); }
.decision-content p { min-height: 3em; margin: .48rem 0 .85rem; color: #c9e1dd; font-size: .87rem; line-height: 1.5; }
.decision-evidence { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .75rem .86rem; border-radius: .63rem; background: #c4f4e124; color: #e9fff5; font-size: .87rem; line-height: 1.36; font-weight: 650; text-decoration: none; }
.decision-evidence:hover { background: #b8eed63c; }
.decision-evidence small { display: block; color: #bcdfd5; margin-bottom: .2rem; font-size: .69rem; font-weight: 600; }
.decision-evidence > span:last-child { color: var(--mint); }
.decision-open { display: inline-flex; align-items: center; gap: .38rem; margin-top: .7rem; color: var(--mint); font-size: .83rem; font-weight: 650; text-decoration: none; }

.desk-band { background: linear-gradient(115deg, #e8f3ee, #f4f7f5 60%, #e6eef4); padding-block: clamp(1.9rem, 5vw, 4.35rem); }
.home-desk { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); align-items: stretch; gap: 1rem; }
.case-desk, .tool-desk { min-width: 0; border-radius: var(--radius); box-shadow: 0 14px 30px #112c3310; }
.case-desk { display: grid; align-content: start; padding: clamp(1.15rem, 2.5vw, 2rem); background: #fbfdfc; }
.case-desk h2, .tool-desk h2 { margin: .27rem 0 .55rem; font-size: clamp(1.42rem, 2.65vw, 2.34rem); }
.case-desk .text-link, .tool-desk .text-link { justify-self: start; margin-top: .85rem; }
.tool-desk { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.15rem, 2.5vw, 2rem); background: linear-gradient(135deg, #dbf0e4, #c8e9e0); }
.tool-desk .text-link { margin-top: auto; }
.tool-preview { display: grid; gap: .42rem; padding: 0; margin: .35rem 0 1rem; list-style: none; }
.tool-preview li { display: flex; align-items: baseline; gap: .58rem; color: #264d46; font-weight: 600; font-size: .85rem; }
.tool-preview li::before { width: .7rem; height: .7rem; border: 1.4px solid #358473; border-radius: .15rem; content: ''; }
.case-route { --rail: #6eae99; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; gap: .65rem; list-style: none; margin: .5rem 0 .15rem; padding: .7rem .85rem .62rem; border-radius: .62rem; background: #e9f3ee; }
.case-route::before { content: ''; position: absolute; left: 1.05rem; right: 23%; top: 1rem; height: 1px; background: var(--rail); }
.case-route li { display: grid; align-content: start; gap: .22rem; position: relative; font-size: .8rem; line-height: 1.3; }
.case-route li > span { width: .65rem; height: .65rem; border-radius: 50%; border: 1px solid #eaf9f3; background: #287963; }
.case-route small { color: var(--muted); font-size: .72rem; }
.case-detail { margin-bottom: 1.9rem; padding: 1.22rem; border-radius: .85rem; background: #e7f1ec; }
.case-detail .case-route { margin-block: .85rem; background: #f8fdfb; }
.case-gallery { margin-bottom: 1.75rem; }
.case-view-controls { display: flex; gap: .38rem; flex-wrap: wrap; margin-top: .75rem; }
.case-gallery figure { margin: .72rem 0 0; padding: .62rem; border-radius: .72rem; background: #0e202a; }
.case-gallery img { width: 100%; aspect-ratio: 1.66; object-fit: contain; border-radius: .36rem; background: #03070a; }
.case-gallery figcaption { padding: .38rem .18rem .05rem; color: #dbebec; font: .72rem/1.5 var(--mono); }

.index-band { background: linear-gradient(135deg, #f4f7f5 54%, #edf2f3); padding-block: clamp(2.45rem, 5.7vw, 5rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: .8rem 1.5rem; margin-bottom: 1.2rem; }
.section-head .text-link { flex: 0 0 auto; }
.card-grid, .entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.home-index .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .27rem .6rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--white); text-decoration: none; }
.topic h3 { font-size: 1rem; letter-spacing: -.02em; }
.topic-count { color: var(--muted); font-size: .78rem; }
.topic .arrow { color: var(--green); }
.topic:hover, .entry:hover, .pathway-card:hover { border-color: #76af9e; }
.entry { position: relative; display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding: 1rem 1.12rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--white); }
.entry h3 { font-size: clamp(1.08rem, 1.72vw, 1.38rem); line-height: 1.28; }
.entry a { text-decoration: none; }
.entry a::after { position: absolute; inset: 0; border-radius: inherit; content: ''; }
.entry a:focus-visible { outline: 0; }
.entry:focus-within { outline: 3px solid #318770; outline-offset: 3px; }
.entry-topic { align-self: flex-start; border-radius: .38rem; padding: .16rem .42rem; color: #205f50; background: #e6f3eb; font-size: .71rem; font-weight: 650; }
.entry-summary { margin: 0 0 .4rem; color: var(--muted); font-size: .89rem; line-height: 1.55; }
.entry-meta { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-top: auto; }
.entry-arrow { color: var(--green); font-size: 1.02rem; }

.page-head { padding-block: clamp(2.15rem, 5.6vw, 4.7rem) clamp(1.75rem, 3.6vw, 3rem); }
.page-head h1 { max-width: 21ch; margin-top: .16em; font-size: clamp(2.45rem, 5.3vw, 4.9rem); }
.page-head .back { margin-bottom: 1.15rem; }
.feature-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 1.45rem clamp(1.4rem, 4vw, 3rem); }
.catalog { padding-bottom: clamp(2.6rem, 6.7vw, 5.7rem); }
.catalog-workspace { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: start; gap: 1.1rem; }
.catalog-workspace:has(.controls[hidden]) { grid-template-columns: minmax(0, 1fr); }
.controls { position: sticky; display: grid; gap: 1.05rem; top: 1rem; border: 1px solid var(--line); border-radius: .85rem; padding: 1rem; background: var(--white); }
.controls .filter-group { display: grid; align-items: stretch; }
.controls .chip { justify-content: flex-start; text-align: left; min-height: 2.35rem; }
.search { display: grid; gap: .4rem; min-width: 0; }
.search label { font-size: .84rem; font-weight: 650; }
.search input { min-height: 2.55rem; width: 100%; min-width: 0; border-radius: .5rem; border: 1px solid #a9c3ba; color: var(--ink); background: #f8fbf9; padding: .48rem .55rem; font-size: .84rem; }
.results-label { min-height: 1rem; padding: .15rem 0 .6rem; }
.empty { padding: 1.05rem; border: 1px dashed #9eb9ae; border-radius: .8rem; }
.empty p { margin: 0 0 .62rem; }

.pathways-index { display: grid; gap: 1.2rem; }
.pathway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
[data-track] { --track: #287963; --track-bg: #e4f2e9; }
[data-track="loading"] { --track: #426893; --track-bg: #e8f0f8; }
[data-track="tissue"] { --track: #9e593b; --track-bg: #f6eadf; }
[data-track="maintenance"] { --track: #605884; --track-bg: #eeebf4; }
.pathway-card { display: grid; align-content: start; gap: .85rem; background: linear-gradient(155deg, var(--white) 40%, var(--track-bg)); padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pathway-card-copy { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .45rem .65rem; }
.pathway-card-copy p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .92rem; }
.pathway-arrow { color: var(--track); }
.mini-route { --stem: var(--track, #287963); position: relative; display: grid; gap: .45rem; padding: 0 0 0 1rem; margin: 0; border-left: 1px solid var(--stem); list-style: none; }
.mini-route li { position: relative; font-size: .82rem; font-weight: 610; line-height: 1.46; }
.mini-route li::before { content: ''; position: absolute; left: -1.24rem; top: .31rem; width: .43rem; height: .43rem; border-radius: 50%; background: var(--stem); }
.route-summary { padding: 1.24rem; border-radius: .9rem; background: var(--track-bg); }
.route-summary h2 { margin-bottom: .85rem; font-size: 1.18rem; }
.article-grid { display: grid; grid-template-columns: minmax(0, 48rem) minmax(0, 1fr); gap: clamp(1.2rem, 4.8vw, 4.25rem); padding-bottom: clamp(2.7rem, 6vw, 5rem); }
.article-body { min-width: 0; }
.article-body h2 { font-size: clamp(1.32rem, 2.6vw, 2rem); }
.article-body p { max-width: 76ch; margin: .58rem 0 1.65rem; }
.aside { align-self: start; border-top: 1px solid var(--line); padding-top: .8rem; }
.aside h2 { margin-bottom: .65rem; font-size: 1.2rem; }
.reading-aside { position: sticky; top: 1rem; }
.reading-aside ol { margin: .55rem 0 1rem; padding-left: 1.1rem; font-size: .86rem; }
.pathway-steps { padding: 0 0 0 1.38rem; margin: .2rem 0 2rem; border-left: 1px solid #88b7a4; list-style: none; }
.pathway-steps > li { position: relative; margin-bottom: 1.85rem; }
.pathway-steps > li::before { content: ''; position: absolute; left: -1.69rem; top: .48rem; width: .56rem; height: .56rem; border: 1px solid var(--paper); border-radius: 50%; background: #398470; }
.pathway-steps p { margin-bottom: .85rem; }
.review-question { margin: 1rem 0 .75rem; padding: .7rem .9rem; border-radius: .55rem; background: #e5efeb; }
.review-question .kicker { margin-bottom: .22rem; }
.reading-links { display: grid; gap: .34rem; padding: 0; margin: .5rem 0 0; list-style: none; }
.reading-links a { color: var(--green); font-weight: 620; font-size: .88rem; }

.reading-hero { padding-block: clamp(2rem, 4.3vw, 4rem); background: radial-gradient(ellipse at 97% 15%, #cde8e8, transparent 62%), linear-gradient(114deg, #e6f1e9, #f2f7f4 55%, #e0edf0); }
.reading-hero h1 { margin: .5rem 0 0; max-width: 23ch; font-size: clamp(2.4rem, 5.35vw, 5.1rem); }
.reading-back { margin-bottom: .45rem; }
.reading-deck { margin: .87rem 0 1rem; max-width: 69ch; color: #395760; font-size: clamp(1.02rem, 1.65vw, 1.18rem); }
.reading-meta { display: flex; flex-wrap: wrap; gap: .27rem .8rem; margin: .7rem 0 0; color: #456468; font-size: .82rem; }
.reading-publisher { color: #176551; font-weight: 650; }
.reading-topics { display: flex; flex-wrap: wrap; gap: .38rem; padding: 0; margin: .75rem 0 0; list-style: none; }
.reading-topic { background: #fafffcaa; border-color: #bedace; }
.reading-quick-nav { display: none; }
.reading-workspace { display: grid; grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(1.75rem, 4.1vw, 3.4rem); }
.reading-rail { align-self: start; position: sticky; top: 1.1rem; }
.reading-toc { padding: .85rem; border: 1px solid var(--line); border-radius: .78rem; background: #ffffffae; }
.reading-toc h2 { font-size: .96rem; letter-spacing: -.02em; }
.reading-index-list { display: grid; gap: .18rem; padding: 0; margin: .65rem 0 0; list-style: none; font-size: .82rem; line-height: 1.36; }
.reading-index-list a { display: block; padding: .4rem .48rem; border-radius: .36rem; text-decoration: none; }
.reading-index-list a:hover { color: #1c6455; background: #e3efe8; }
.reading-index-special { color: var(--green); font-weight: 650; }
.reading-stream { min-width: 0; max-width: 56rem; }
.reading-summary { margin-bottom: 1.7rem; padding: clamp(1rem, 2.5vw, 1.7rem); border-radius: .9rem; background: linear-gradient(144deg, #e2f3e9, #e8f0f3); }
.reading-summary h2 { font-size: clamp(1.32rem, 2.4vw, 1.9rem); }
.reading-summary-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.reading-summary-list li { border-left: 2px solid #80ad9c; padding-left: .68rem; font-size: .86rem; line-height: 1.52; }
.reading-prose section, #takeaways, .pathway-steps > li { scroll-margin-top: 1rem; }
.reading-prose section[id^="section-"] { padding: .7rem 0 .1rem; }
.reading-prose section[id^="section-"] + section[id^="section-"] { border-top: 1px solid var(--line); }
.reading-end { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; margin-top: 1.35rem; }
.reading-related { padding-block: 2.3rem; background: linear-gradient(126deg, #e7f1eb, #edf5f3); }
.citation { font: 600 .71rem/1.2 var(--mono); }
.citation a { color: var(--green); }
.bibliography { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.bibliography ol { padding-left: 1.45rem; }
.bibliography li { padding: .34rem .25rem; overflow-wrap: anywhere; }
.bibliography li::marker { color: var(--green); font: 600 .78rem/1.35 var(--mono); }
.bibliography li:target { background: #dcefe4; }
.evidence-comparison { margin: 1.3rem 0 1.8rem; }
.table-scroll { margin-top: .78rem; border: 1px solid #cbded8; border-radius: .75rem; overflow: auto; }
.evidence-comparison table { border-collapse: collapse; width: 100%; min-width: 30rem; background: var(--white); font-size: .89rem; line-height: 1.52; }
.evidence-comparison th, .evidence-comparison td { padding: .75rem .83rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.evidence-comparison thead th { background: #214c51; color: #eefaf8; }
.evidence-comparison tbody tr:nth-child(even) { background: #f0f6f2; }
.evidence-comparison tbody tr:last-child > * { border-bottom: 0; }
.evidence-comparison tbody th { width: 24%; font-size: .85rem; }
.mobile-column-label { display: none; }

.review-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 1.5rem; padding: clamp(1.1rem, 3.1vw, 2.6rem); border-radius: var(--radius); background: linear-gradient(135deg, #ddefe3, #e2eef2); }
.review-card h2 { font-size: clamp(1.45rem, 2.7vw, 2.3rem); }
.review-card p { margin: .55rem 0 0; color: var(--muted); }
.review-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .85rem; margin-bottom: 1.15rem; }
.review-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.review-group { min-width: 0; margin: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .72rem; background: var(--white); }
.review-group legend { padding: 0 .3rem; font-weight: 650; }
.review-group label { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start; padding-block: .42rem; cursor: pointer; }
.review-group input { margin: .25rem 0 0; width: 1.05rem; height: 1.05rem; accent-color: var(--green); }
.review-group label:has(input:checked) span { color: var(--green); }
.review-notes { margin: 1.3rem 0 .2rem; font-weight: 650; }
.review-lines { height: 4rem; background: repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), var(--line) calc(2rem - 1px) 2rem); }

.footer { padding: 1.65rem 0 1.3rem; background: #e6eeea; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .32rem 1.1rem; font-size: .81rem; }
.footer .meta { margin-top: .92rem; }

@media (max-width: 57rem) {
  .launch-grid { gap: 1.45rem; }
  .launch-copy h1 { font-size: clamp(2.55rem, 5.45vw, 4.6rem); }
  .catalog-workspace { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  .catalog-workspace .entries { grid-template-columns: minmax(0, 1fr); }
  .reading-workspace { grid-template-columns: minmax(0, 11.4rem) minmax(0, 1fr); gap: 1.3rem; }
  .reading-summary-list { grid-template-columns: minmax(0, 1fr); gap: .68rem; }
}

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: auto; grid-template-columns: 1fr auto; gap: .45rem .65rem; padding-block: .66rem .45rem; }
  .header-search { grid-row: 1; grid-column: 2; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; gap: .12rem; }
  .nav a, .header-search { font-size: .78rem; padding-inline: .55rem; }
  .brand-mark { width: 2.3rem; height: 2.3rem; }
  .launchpad { padding-block: 2.15rem; }
  .launch-grid, .home-desk, .feature-head, .article-grid, .reading-workspace, .review-card { grid-template-columns: minmax(0, 1fr); }
  .launch-grid { gap: 1.6rem; }
  .launch-copy h1 { font-size: clamp(2.25rem, 8.15vw, 4.1rem); }
  .launch-description { margin-bottom: 1rem; }
  .case-spotlight { padding: .66rem; }
  .decision-workbench { padding: .9rem; }
  .decision-tabs { margin-block: .75rem; }
  .decision-tabs button { font-size: .69rem; }
  .decision-content p { min-height: 0; }
  .home-index .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-workspace { grid-template-columns: minmax(0, 1fr); }
  .controls, .reading-aside { position: static; }
  .controls .filter-group { display: flex; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .reading-rail { display: none; }
  .reading-quick-nav { display: grid; gap: .55rem; padding: .8rem 0 0; }
  .reading-quick-links { display: flex; flex-wrap: wrap; gap: .42rem; }
  .reading-quick-links a { display: inline-flex; align-items: center; min-height: 2.2rem; padding: .26rem .52rem; background: #e5f1eb; color: #246656; border-radius: .45rem; font-size: .77rem; font-weight: 650; text-decoration: none; }
  .reading-mobile-index { padding: .43rem .6rem; border: 1px solid var(--line); border-radius: .53rem; background: var(--white); font-size: .82rem; }
  .reading-mobile-index summary { cursor: pointer; font-weight: 630; }
  .review-card { justify-items: start; }
}

@media (max-width: 33rem) {
  .home-index .card-grid, .entries, .pathway-grid, .review-group-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-input { gap: .52rem; padding-left: .7rem; }
  .launch-input input, .launch-input .button { font-size: .82rem; }
  .decision-top h2 { font-size: .92rem; }
  .case-route { grid-template-columns: minmax(0, 1fr); gap: .62rem; }
  .case-route::before { top: 1rem; bottom: 1.1rem; left: 1.15rem; right: auto; width: 1px; height: auto; }
  .case-route li { grid-template-columns: auto 1fr; align-items: start; gap: .12rem .57rem; }
  .case-route li > span { margin-top: .19rem; }
  .case-route small { grid-column: 2; }
  .evidence-comparison table, .evidence-comparison tbody { display: block; min-width: 0; }
  .evidence-comparison thead { position: absolute; height: 1px; width: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .evidence-comparison tbody tr { display: block; border-bottom: 1px solid var(--line); }
  .evidence-comparison tbody tr:last-child { border: 0; }
  .evidence-comparison tbody th, .evidence-comparison tbody td { display: block; width: 100%; border: 0; padding: .62rem .75rem; }
  .evidence-comparison tbody th { background: #214c51; color: #f0fcf8; }
  .mobile-column-label { display: block; margin-bottom: .13rem; color: var(--green); font-size: .72rem; font-weight: 650; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  body:has(.review-sheet) { background: white; color: black; font-size: 11pt; }
  body:has(.review-sheet) .header, body:has(.review-sheet) .footer, .review-controls { display: none; }
  body:has(.review-sheet) .wrap { width: 100%; }
  body:has(.review-sheet) .page-head, .review-sheet { padding: 0 0 .85rem; }
  body:has(.review-sheet) .page-head h1 { font-size: 25pt; }
  .review-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-group { break-inside: avoid; background: #fff; border-color: #aaa; }
  .review-lines { border-block: 1px solid #aaa; }
}

