/* Standalone reading experience; deliberately independent of the site's global theme. */
:root {
  --paper: #f7f7f2;
  --ink: #293c32;
  --muted: #626e62;
  --green: #41644e;
  --light: #e8ede2;
  --line: #d9dfd3;
  --coral: #aa5339;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
button:disabled, input:disabled, select:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: #dfc8b0; color: #24372d; }
svg { display: block; max-width: 100%; }
p { line-height: 1.75; margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin-top: 0; }
h1, h2 { font-weight: 400; font-family: var(--serif); }
h2 { font-size: clamp(36px, 4.2vw, 60px); letter-spacing: -.045em; line-height: 1.08; margin-bottom: 28px; }
h3 { font-size: 23px; line-height: 1.3; font-weight: 500; letter-spacing: -.035em; margin-bottom: 20px; }
h4 { font-size: 16px; margin-bottom: 12px; font-weight: 600; }
em { font-family: var(--serif); font-weight: 400; }
strong, b { font-weight: 600; }
sub, sup { font-size: .73em; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.micro, .eyebrow, .section-index, .hero-byline, .axis-label, .number-label { font-family: var(--mono); font-size: 10px; letter-spacing: .055em; }
.micro { text-transform: uppercase; line-height: 1.5; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; background: var(--ink); color: white; padding: 14px; }
.skip-link:focus { top: 10px; }
.site-nav { height: 80px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 max(30px, calc((100vw - 1320px)/2)); border-bottom: 1px solid var(--line); background: rgba(247,247,242,.97); backdrop-filter: blur(15px); }
.guide-brand { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.guide-brand svg { color: var(--green); fill: var(--green); flex-shrink: 0; }
.chapter-nav { display: flex; gap: 24px; height: 100%; align-items: center; }
.chapter-nav a { font-size: 12px; text-decoration: none; color: var(--muted); position: relative; padding: 31px 0; white-space: nowrap; }
.chapter-nav a[aria-current] { color: var(--ink); }
.chapter-nav a[aria-current]::after { content: ''; position: absolute; height: 2px; background: var(--green); bottom: 0; left: 0; right: 0; }
.back-link { font-size: 12px; text-decoration: none; white-space: nowrap; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: center; padding-block: 72px 85px; min-height: 760px; }
.eyebrow { text-transform: uppercase; display: flex; align-items: center; gap: 9px; color: var(--muted); margin-bottom: 30px; }
.status-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e8ece2; flex-shrink: 0; }
h1 { font-size: clamp(64px, 6.8vw, 94px); line-height: .99; letter-spacing: -.065em; margin-bottom: 26px; }
h1 em { color: var(--coral); }
.hero-lede { font-size: 22px; line-height: 1.45; letter-spacing: -.025em; margin-bottom: 18px; }
.hero-context { color: var(--muted); font-size: 14px; max-width: 350px; line-height: 1.7; margin-bottom: 26px; }
.text-link { display: inline-flex; gap: 30px; text-decoration: none; font-size: 13px; padding-bottom: 9px; border-bottom: 1px solid var(--green); }
.hero-byline { color: var(--muted); line-height: 1.9; margin-top: 30px; font-size: 10px; letter-spacing: 0; }
.hero-byline a { text-decoration: none; }
.explorer { min-width: 0; border: 1px solid #d6ded1; background: #edf1e8; border-radius: 7px; box-shadow: 0 18px 45px -35px #40553f66; padding: 22px; }
.experiment-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.motion-button { display: flex; align-items: center; gap: 7px; background: none; font-size: 10px; white-space: nowrap; padding: 8px 0 8px 8px; }
.motion-icon { font-size: 13px; }
.segmented { display: flex; padding: 4px; border: 1px solid var(--line); background: #e3e9dc; border-radius: 5px; gap: 3px; }
.segmented button { background: transparent; padding: 11px 14px; border-radius: 3px; font-size: 12px; flex: 1; line-height: 1.3; }
.segmented button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px #293c3212; color: #253b2e; }
.segmented button:hover { color: var(--coral); }
#scatter { width: 100%; height: auto; margin-top: 10px; }
.plot-axis { stroke: #9da994; stroke-width: 1; }
.axis-label { fill: var(--muted); font-size: 13px; }
.plot-hint { font: 10px var(--mono); fill: #596650; }
#covariance-ellipse { stroke: var(--green); stroke-width: 2; fill: #456d5310; }
#covariance-axis { stroke: var(--coral); stroke-width: 2; stroke-dasharray: 5 5; }
#focus-point { fill: none; stroke: #b36a48; stroke-width: 1.7; }
.plot-controls { border-top: 1px solid #d3ddca; border-bottom: 1px solid #d3ddca; padding-block: 14px; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.check-label { display: flex; gap: 8px; align-items: center; font-size: 12px; cursor: pointer; }
.check-label input { accent-color: var(--green); width: 15px; height: 15px; }
.plot-readout { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding-top: 22px; align-items: center; }
.plot-readout strong { display: block; font: 32px var(--serif); margin-top: 5px; }
.plot-readout .micro { font-size: 9px; }
.plot-readout p { font-size: 12px; line-height: 1.6; margin: 0; }
.lab-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 18px 0 0; }
.no-script { padding: 20px; background: var(--light); }
.reading-map { padding-block: 60px 72px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px 90px; }
.reading-map h2 { font-size: 43px; margin-top: 22px; }
.reading-intro { font-size: 15px; }
.roadmap { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 10px; }
.roadmap a { display: flex; flex-direction: column; border-top: 1px solid var(--line); text-decoration: none; padding-top: 18px; }
.roadmap a:hover strong { color: var(--coral); }
.roadmap span { font: 10px var(--mono); color: var(--coral); margin-bottom: 18px; }
.roadmap strong { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.roadmap small { font-size: 11px; color: var(--muted); }
.chapter { padding-block: 80px 90px; border-top: 1px solid var(--line); }
.section-index { display: flex; align-items: center; gap: 16px; font-size: 12px; margin-bottom: 38px; color: var(--coral); }
.section-index span { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.section-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 100px; margin-bottom: 48px; }
.section-intro h2 { margin: 0; }
.section-intro > p { font-size: 16px; color: var(--muted); max-width: 430px; margin-bottom: 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 730px) minmax(180px, 270px); gap: 95px; justify-content: space-between; }
.prose { min-width: 0; font-size: 16px; }
.prose h3:not(:first-child) { margin-top: 42px; }
.prose > p:last-child { margin-bottom: 0; }
.equation { font-family: var(--serif); font-size: 22px; line-height: 1.8; letter-spacing: -.015em; padding: 23px 28px; border-left: 2px solid #a7b79a; background: #edf0e8; margin: 26px 0; overflow-x: auto; max-width: 100%; }
.equation > span { display: block; width: max-content; min-width: 0; }
.equation small { display: block; font: 10px/1.6 var(--mono); color: var(--muted); margin-top: 12px; letter-spacing: 0; }
.equation-indent { padding-left: 30px; }
.margin-note { align-self: start; border-top: 1px solid #b5c2ac; padding-top: 23px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.margin-note .micro { display: block; margin-bottom: 24px; }
.margin-note dl { margin: 0 0 24px; }
.margin-note dt { font: italic 23px var(--serif); color: var(--green); }
.margin-note dd { margin: 5px 0 19px; line-height: 1.6; }
.margin-note h4 { color: var(--ink); }
.margin-note h4:not(:first-child) { margin-top: 26px; }
.margin-note p { line-height: 1.75; }
.aside-equation { color: var(--ink); font-family: var(--serif); font-size: 15px; margin-block: 18px; line-height: 1.9; }
.evidence-tag { display: inline-block; font: 9px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .03em; padding: 6px 8px; background: #e2e9db; color: #43543b; margin-bottom: 7px; }
details { margin-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { padding: 18px 25px 18px 0; cursor: pointer; font-size: 13px; line-height: 1.5; list-style-position: outside; margin-left: 16px; }
summary::marker { color: var(--coral); }
.details-body { padding: 6px 0 10px; font-size: 14px; }
.details-body p { line-height: 1.8; }
.details-body .equation { font-size: 18px; padding: 18px; }
.concept-panel { background: #e9eee3; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 44px; margin-top: 60px; border-radius: 6px; }
.concept-panel h3 { font: 34px/1.15 var(--serif); letter-spacing: -.04em; margin-block: 20px; }
.concept-panel p { font-size: 14px; }
.concept-panel > div > p:last-child { margin-bottom: 0; }
.piecewise { display: flex; gap: 22px; align-items: center; margin-bottom: 24px; font: 22px var(--serif); }
.piecewise div { border-left: 2px solid #9cab8d; padding-left: 20px; }
.piecewise p { font-size: 17px; margin-bottom: 8px; }
.piecewise p:last-child { margin-bottom: 0; }
.subchapter { margin-top: 65px; }
.pull-quote { font: 32px/1.3 var(--serif); letter-spacing: -.03em; padding-top: 20px; color: #87917c; }
.pull-quote em { color: var(--green); }
.source-link { font-size: 12px; white-space: nowrap; }
.encoder-section { background: #293c32; color: #f0f1e6; padding-block: 76px 85px; --line: #506054; --muted: #bec8b8; --coral: #e2a483; }
.encoder-section h2 em { color: #d4dda9; }
.encoder-section .section-index { color: #d4dda9; }
.encoder-section .margin-note { border-color: #65755c; }
.encoder-section .equation { background: #334a3b; border-color: #a5b484; }
.encoder-section .margin-note h4 { color: #f0f1e6; }
.encoder-section .section-intro { margin-bottom: 45px; }
.architecture { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1.3fr; align-items: center; padding: 32px 0; margin-bottom: 45px; border-top: 1px solid #506054; border-bottom: 1px solid #506054; gap: 30px; }
.architecture .micro { display: block; color: #bdc9b4; margin-bottom: 14px; }
.architecture strong { font: 24px var(--serif); }
.architecture-arrow { color: #adbe91; font-size: 28px; }
.neuron-lab { margin-top: 45px; border: 1px solid #596a56; border-radius: 6px; background: #24372d; padding: 28px; }
.neuron-lab .experiment-top { border-bottom: 1px solid #4c604e; padding-bottom: 20px; }
.neuron-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 45px; }
.vector-stage { align-self: center; min-width: 0; }
#neuron-plot { width: 100%; }
#neuron-plot text { font: 12px var(--mono); fill: #c4d1b7; }
.neuron-axis { stroke: #52634e; }
#decoder-line { stroke: #9cb186; stroke-width: 1.5; }
#weight-arrow { stroke: #cddca6; stroke-width: 2.5; }
#error-line { stroke: #d69f7c; stroke-width: 2; }
#projection-line { stroke: #a7ba93; stroke-width: 1.5; stroke-dasharray: 4 5; }
#input-dot { fill: #e1a383; }
#projection-dot { fill: #24372d; stroke: #bdcfa7; stroke-width: 2; }
#reconstruction-dot { fill: #e4eaa7; }
.vector-legend { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: 10px; color: #becbb5; margin-top: 10px; }
.vector-legend span { display: flex; align-items: center; gap: 6px; }
.vector-legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.input-key { background: #e1a383; }
.projection-key { border: 1px solid #bdcfa7; }
.reconstruction-key { background: #e4eaa7; }
.neuron-controls { padding-top: 10px; }
.neuron-controls > label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 14px; }
input[type="range"] { width: 100%; accent-color: #b7c994; cursor: pointer; margin: 0 0 30px; }
.neuron-controls select { background: #344c3c; border: 1px solid #64765b; border-radius: 3px; width: 100%; padding: 12px; font-size: 13px; color: #eef2e5; margin-bottom: 15px; }
.neuron-values { font-size: 12px; }
.neuron-values > div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #445a45; }
.neuron-values output { font-family: var(--mono); }
.neuron-values .total { color: #e1e9ae; border-bottom: 0; }
.neuron-lab .lab-note { border-top: 1px solid #4c604e; padding-top: 20px; }
.subheading { display: flex; gap: 20px; align-items: baseline; }
.subheading h3 { margin-top: 0; }
.number-label { color: var(--coral); flex-shrink: 0; }
.activation-panel { margin-top: 60px; border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.activation-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.activation-heading h3 { margin: 12px 0 0; font-size: 24px; }
.activation-heading .segmented { min-width: 180px; }
.table-scroll, .figure-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.activation-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.activation-table caption { text-align: left; font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.activation-table th, .activation-table td { padding: 17px 14px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.activation-table thead th { color: var(--muted); font-size: 11px; font-weight: 400; }
.activation-table tbody th { font-weight: 500; }
.activation-table .yes { color: #32613e; }
.activation-table .conditional { color: #965138; }
.activation-table[data-selected="2"] [data-k="2"], .activation-table[data-selected="3"] [data-k="3"] { background: #e8eddf; }
.activation-insight { font-size: 14px; margin: 25px 0 0; }
.results-section { background: #e9ede4; padding-block: 80px; }
.paper-figure { margin: 35px 0 0; border: 1px solid var(--line); background: #fff; border-radius: 5px; overflow: hidden; }
.figure-toolbar { display: flex; justify-content: space-between; gap: 20px; padding: 20px 26px; border-bottom: 1px solid #e6e9e2; color: #4c5e4a; }
.figure-toolbar a { font-size: 11px; }
.figure-scroll { padding: 24px; }
.paper-figure img { display: block; width: 100%; min-width: 680px; height: auto; }
.paper-figure figcaption { background: #fafbf7; font-size: 10px; color: #697360; padding: 16px 26px; line-height: 1.7; border-top: 1px solid #e6e9e2; }
.figure-reading { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 40px; }
.figure-reading h3 { font-size: 20px; margin-block: 15px; }
.figure-reading p { font-size: 14px; }
.result-caption { font-size: 12px; color: var(--muted); max-width: 900px; margin: 15px 0 0; }
.scorecard { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; padding: 35px; border: 1px solid var(--line); border-radius: 5px; margin-top: 55px; }
.scorecard .segmented { margin-top: 20px; }
.scorecard-answer h3 { font: 30px/1.2 var(--serif); margin-bottom: 12px; }
.scorecard-answer p { font-size: 13px; margin-bottom: 13px; }
.scorecard-answer .micro { font-size: 9px; color: var(--muted); }
.limits-section { padding-block: 80px; background: #eceee5; }
.appendix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 55px; }
.appendix-grid h3 { margin-block: 20px 16px; font-size: 22px; }
.appendix-grid p { font-size: 14px; }
.appendix-detail { margin-top: 35px; }
.appendix-detail .details-body { max-width: 850px; }
.limits-list { margin-block: 50px 65px; }
.limits-list > div { display: grid; grid-template-columns: 80px 1fr; padding: 24px 0; border-top: 1px solid #cfd7c7; }
.limits-list span { font: 11px var(--mono); color: var(--coral); padding-top: 6px; }
.limits-list p { font-size: 15px; max-width: 920px; margin: 0; }
.closing-insight { text-align: center; border-top: 1px solid #cfd7c7; padding-top: 65px; }
.closing-insight > p { font: 58px/1.12 var(--serif); letter-spacing: -.05em; margin: 30px 0; }
.closing-insight p em { color: var(--coral); }
.closing-insight > div { max-width: 540px; margin-inline: auto; font-size: 14px; line-height: 1.8; color: var(--muted); }
.paper-section { padding-block: 70px; }
.paper-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.paper-grid h2 { font-size: 38px; margin-top: 22px; }
.paper-grid p { font-size: 13px; color: var(--muted); }
.paper-grid .license-note { font-size: 11px; }
.paper-reference { border-left: 1px solid var(--line); padding-left: 50px; }
.paper-tag { font: 9px var(--mono); letter-spacing: .08em; color: var(--muted); }
.paper-reference h3 { font: 26px/1.35 var(--serif); letter-spacing: -.02em; margin-top: 23px; }
.reference-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; margin-top: 26px; }
.page-footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 30px; font-size: 10px; color: var(--muted); }
.page-footer a { text-decoration: none; }
@media (max-width: 1150px) {
  .chapter-nav { gap: 16px; }
  .hero { gap: 35px; }
  .article-grid { grid-template-columns: minmax(0, 1fr) 220px; gap: 55px; }
  .section-intro { gap: 55px; }
  .reading-map { gap: 30px 55px; }
  .neuron-grid { gap: 25px; }
}
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .site-nav { flex-wrap: wrap; height: auto; padding: 16px 32px 0; gap: 12px; }
  .guide-brand { order: 0; }
  .back-link { order: 1; }
  .chapter-nav { order: 2; width: 100%; justify-content: space-between; gap: 16px; }
  .chapter-nav a { padding: 12px 0 15px; font-size: 11px; }
  html { scroll-padding-top: 125px; }
  .hero { grid-template-columns: .8fr 1.2fr; padding-block: 60px; gap: 30px; }
  h1 { font-size: 64px; }
  .hero-lede { font-size: 20px; }
  .hero-context { font-size: 13px; }
  .eyebrow { font-size: 9px; }
  .explorer { padding: 16px; }
  .experiment-top > .micro { font-size: 9px; }
  .plot-readout { grid-template-columns: 1fr; gap: 10px; }
  .plot-readout > div { display: flex; align-items: center; justify-content: space-between; }
  .plot-readout strong { margin: 0; font-size: 28px; }
  .hero .lab-note { font-size: 10px; }
  .reading-map { gap: 30px; }
  .reading-map h2 { font-size: 36px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .article-grid { grid-template-columns: minmax(0, 1fr) 190px; gap: 40px; }
  .prose { font-size: 15px; }
  .concept-panel { padding: 30px; gap: 35px; }
  .section-intro { gap: 35px; }
  .architecture { gap: 18px; }
  .architecture strong { font-size: 21px; }
  .neuron-lab { padding: 22px; }
  .neuron-grid { grid-template-columns: 1.2fr 1fr; }
  .pull-quote { font-size: 27px; }
  .figure-reading, .appendix-grid { gap: 28px; }
  .scorecard { gap: 35px; padding: 28px; }
  .paper-grid { gap: 45px; }
  .paper-reference { padding-left: 30px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-nav { padding: 15px 20px 0; }
  .guide-brand { font-size: 12px; gap: 8px; }
  .guide-brand svg { width: 22px; height: 22px; }
  .back-link { font-size: 10px; }
  .chapter-nav { gap: 9px; }
  .chapter-nav a { font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 55px; gap: 40px; }
  h1 { font-size: clamp(64px, 15vw, 88px); }
  .hero-context { max-width: 360px; font-size: 14px; }
  .hero-lede { font-size: 21px; }
  .hero-byline { margin-top: 22px; }
  .eyebrow { margin-bottom: 25px; font-size: 9px; }
  .explorer { padding: 18px; }
  .plot-readout { grid-template-columns: 110px 1fr; gap: 15px; }
  .plot-readout > div { display: block; }
  .plot-readout strong { margin-top: 5px; }
  .reading-map { grid-template-columns: 1fr; padding-block: 45px 50px; gap: 20px; }
  .reading-map h2 { font-size: 38px; }
  .roadmap { gap: 30px 20px; }
  .roadmap strong { font-size: 13px; }
  .roadmap small { line-height: 1.5; }
  .chapter, .results-section, .encoder-section, .limits-section { padding-block: 55px; }
  .section-index { margin-bottom: 28px; gap: 12px; }
  .section-index span { font-size: 9px; }
  .section-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 35px; }
  h2 { font-size: 42px; }
  .section-intro > p { font-size: 15px; }
  .article-grid { grid-template-columns: 1fr; gap: 30px; }
  .prose { font-size: 15px; }
  .margin-note { padding: 22px; background: #edf0e7; border-top: 0; border-left: 2px solid #b5c2ac; }
  .margin-note dl { display: grid; grid-template-columns: 65px 1fr; gap: 12px; }
  .margin-note dd, .margin-note dt { margin: 0; }
  .margin-note p:last-child { margin-bottom: 0; }
  .encoder-section .margin-note { background: #34483a; }
  .equation { font-size: 20px; padding: 19px; }
  .concept-panel { grid-template-columns: 1fr; gap: 25px; padding: 25px; margin-top: 40px; }
  .concept-panel h3 { font-size: 32px; }
  .concept-panel p { font-size: 14px; }
  .piecewise { gap: 15px; }
  .piecewise div { padding-left: 14px; }
  .piecewise p { font-size: 16px; }
  .subchapter { margin-top: 45px; }
  .pull-quote { font-size: 30px; padding: 24px; border-left: 2px solid #b5c2ac; }
  .architecture { grid-template-columns: 1fr; text-align: center; gap: 18px; padding-block: 24px; }
  .architecture-arrow { transform: rotate(90deg); }
  .architecture .micro { margin-bottom: 10px; }
  .architecture strong { font-size: 25px; }
  .neuron-grid { grid-template-columns: 1fr; gap: 20px; }
  .neuron-lab { padding: 18px; }
  .neuron-lab .experiment-top { align-items: start; }
  .neuron-lab .experiment-top > .micro:last-child { text-align: right; max-width: 70px; }
  .vector-legend { gap: 12px; font-size: 9px; }
  .neuron-controls { padding: 10px; }
  .activation-panel { padding: 20px; margin-top: 40px; }
  .activation-heading { flex-direction: column; align-items: stretch; }
  .activation-heading .segmented { max-width: 230px; }
  .activation-table { min-width: 520px; }
  .activation-table th, .activation-table td { padding: 14px 10px; }
  .activation-heading h3 { font-size: 22px; }
  .figure-toolbar { padding: 16px; gap: 15px; }
  .figure-toolbar .micro, .figure-toolbar a { font-size: 9px; }
  .figure-scroll { padding: 14px; }
  .paper-figure figcaption { padding: 14px 16px; }
  .figure-reading { grid-template-columns: 1fr; gap: 22px; }
  .figure-reading > div { border-bottom: 1px solid #d0dac9; padding-bottom: 10px; }
  .result-caption { font-size: 11px; }
  .scorecard { grid-template-columns: 1fr; gap: 26px; padding: 23px; }
  .scorecard .segmented button { padding-inline: 9px; }
  .appendix-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 35px; }
  .appendix-grid > div { border-top: 1px solid #d0dac9; padding-top: 24px; }
  .appendix-grid h3 { margin-block: 13px; }
  .limits-list > div { grid-template-columns: 35px 1fr; }
  .limits-list p { font-size: 14px; }
  .closing-insight > p { font-size: 43px; }
  .closing-insight { padding-top: 45px; }
  .paper-grid { grid-template-columns: 1fr; gap: 25px; }
  .paper-section { padding-block: 50px; }
  .paper-reference { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .page-footer { flex-wrap: wrap; gap: 20px; line-height: 1.5; }
  .page-footer span { order: 3; width: 100%; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { padding-inline: 16px; }
  .chapter-nav { gap: 6px; }
  .chapter-nav a { font-size: 9px; }
  .guide-brand { font-size: 11px; }
  .back-link { font-size: 9px; }
  .explorer { padding: 14px; }
  .plot-readout { grid-template-columns: 1fr; }
  .plot-readout > div { display: flex; align-items: center; justify-content: space-between; }
  .segmented button { padding-inline: 10px; font-size: 11px; }
  h2 { font-size: 36px; }
  .closing-insight > p { font-size: 36px; }
  .piecewise p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-nav, .skip-link, .page-footer, .motion-button { display: none; }
  .wrap { width: 100%; }
  .hero { min-height: 0; padding: 20px 0; }
  .chapter, .encoder-section, .results-section, .limits-section { padding-block: 30px; }
  .article-grid { grid-template-columns: 3fr 1fr; gap: 30px; }
  .paper-figure img { min-width: 0; }
  .figure-scroll, .equation { overflow: visible; }
  .equation > span { width: auto; }
  details::details-content { content-visibility: visible; }
  h2, h3, figure, .neuron-lab { break-inside: avoid; }
}
