:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #dedee3;
  --canvas: #f5f5f7;
  --green: #167d68;
  --blue: #0071e3;
  --coral: #9c633d;
  --policy-surface: #edf5ff;
  --memory-surface: #edf8f4;
  --display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: var(--display);
  --editorial: var(--display);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --motion-fast: 180ms;
  --motion-state: 380ms;
}

/* Shared surfaces and controls. */
html { scroll-padding-top: 90px; }
body { letter-spacing: -.015em; }
.page-width { width: min(100% - 80px, 1200px); }
::selection { background: #cce4ff; }
.site-header { height: 64px; border-bottom: 1px solid #00000012; background: #ffffffd6; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.header-inner { gap: 22px; }
.brand { gap: 9px; font-size: 21px; font-weight: 650; letter-spacing: -.05em; }
.brand img { width: 27px; height: 27px; }
.brand-version { color: var(--ink); font-weight: 400; }
.site-nav { gap: 3px; }
.site-nav a { padding-inline: 11px; color: #57575c; font-size: 12px; font-weight: 400; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a::after, .site-nav a.is-active::after { display: none; }
.language-switch { height: 32px; padding: 3px; border: 0; border-radius: 18px; background: #efeff1; }
.language-switch button { min-width: 31px; padding-inline: 8px; border-radius: 15px; font-size: 11px; font-weight: 500; }
.language-switch button.is-active { box-shadow: 0 1px 5px #00000012; }
.icon-button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #eaeaec; }
.icon-button:hover, .toolbar-button:hover { border-color: transparent; background: #dedee2; }
.button { min-height: 48px; padding: 0 23px; gap: 8px; border-radius: 30px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.button-dark { background: var(--blue); }
.button-dark:hover { background: #0077ed; box-shadow: 0 4px 14px #0071e318; }
.button-text { color: var(--blue); }
.button-text:hover { background: #eaf4ff; }
.button-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.button-outline:hover { border-color: var(--blue); background: #eaf4ff; }
.button img { width: 16px; height: 16px; }
.toolbar-button { border-radius: 20px; min-height: 36px; font-weight: 500; }
.segmented { border: 0; padding: 4px; border-radius: 24px; background: #eaeaec; }
.segmented button { min-height: 36px; padding-inline: 17px; border-radius: 20px; font-weight: 500; }
.button, .icon-button, .toolbar-button, .language-switch button, .segmented button { transition: background-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast); }
.button img, .paper-row > a img, .section-source img, .guide-source img { transition: transform var(--motion-state) var(--ease-out); }
.button-text:hover > img:last-child, .section-source:hover img { transform: translateX(3px); }
.paper-row > a:hover img, .guide-source:hover img { transform: translate(2px, -2px); }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header.has-scrolled { box-shadow: 0 4px 22px #00000004; }

/* A single idea, then the two state carriers that make it concrete. */
.lead-section { padding-top: 70px; padding-bottom: 35px; }
.lead-composition { display: block; padding: 0; }
.lead-copy { max-width: 1040px; margin-inline: auto; text-align: center; }
.lead-product { margin: 0 0 24px; font-size: 25px; font-weight: 650; letter-spacing: -.05em; }
.lead-product > span { margin-left: 1px; font-weight: 400; }
.lead-heading { display: block; margin: 0; }
.lead-section h1 { margin: 0; font-family: var(--display); font-size: clamp(54px, 5.5vw, 80px); font-weight: 650; line-height: 1.14; letter-spacing: -.045em; }
.lead-section h1 span { color: var(--ink); }
.lead-section h1 .hero-accent { color: #6e6e73; }
.lead-intro { display: block; margin-top: 25px; }
.lead-description { max-width: 760px; margin-inline: auto; color: var(--muted); font-size: 20px; font-weight: 400; line-height: 1.65; }
.lead-actions { display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.lead-actions .button-dark > img:first-child { display: none; }
.lead-meta { justify-content: center; gap: 9px 24px; margin-top: 52px; padding-top: 22px; border-color: #ededf0; color: #86868b; font-size: 11px; text-align: center; }
.lead-meta > span:first-child { color: var(--muted); font-weight: 400; }
.lead-meta > span:last-child { margin-left: 0; }
.state-study { --study-accent: var(--blue); max-width: 880px; margin: 58px auto 0; border: 0; text-align: center; }
.study-heading { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 400; }
.study-index { color: #aaaab0; font-size: 13px; }
.study-map { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); grid-template-rows: 28px 24px 255px 42px auto; margin: 26px auto 0; max-width: 760px; align-items: center; }
.physics-field { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.study-map > *:not(.physics-field) { position: relative; z-index: 1; }
.study-policy { --lane-color: var(--blue); grid-column: 1; }
.study-memory { --lane-color: var(--green); grid-column: 3; }
.study-trigger { grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.study-point { width: 5px; height: 5px; border-radius: 50%; background: var(--lane-color); }
.study-wire { position: relative; justify-self: center; width: 24px; height: 1px; background: #d8d8dd; transform: rotate(90deg); }
.study-wire::after { position: absolute; top: -2px; right: 0; width: 5px; height: 5px; border: 1px solid #aaaab0; border-left: 0; border-bottom: 0; transform: rotate(45deg); content: ""; }
.study-wire i { position: absolute; inset: 0; background: var(--lane-color); transform: scaleX(0); transform-origin: left; }
.study-input-wire { grid-row: 2; }
.study-output-wire { grid-row: 4; width: 42px; }
.study-output-wire::after { display: none; }
.study-carrier { --physics-x: 0px; --physics-y: 0px; --physics-rx: 0deg; --physics-ry: 0deg; grid-row: 3; align-self: stretch; position: relative; padding: 28px 34px 22px; overflow: hidden; isolation: isolate; border: 1px solid #e7edf5; border-radius: 28px; background: linear-gradient(145deg, #fbfdff, #edf4fd); color: var(--lane-color); box-shadow: 0 18px 36px -20px #345b9738, inset 0 2px 0 #fff, inset 0 0 0 1px #ffffff80; transform: perspective(900px) rotateX(var(--physics-rx)) rotateY(var(--physics-ry)) translate3d(var(--physics-x), var(--physics-y), 0); transform-style: preserve-3d; transition: box-shadow 500ms var(--ease-out), border-color 500ms; }
.physics-active .study-carrier { will-change: transform; }
.study-carrier::before { position: absolute; z-index: 0; inset: -45% -70%; background: linear-gradient(108deg, transparent 40%, #ffffffb8 47%, transparent 54%); opacity: .32; transform: translateX(-58%) rotate(8deg); pointer-events: none; content: ""; }
.study-carrier::after { position: absolute; z-index: 0; inset: 0; border: 1px solid #ffffff70; border-radius: inherit; content: ""; pointer-events: none; }
.study-carrier > * { position: relative; z-index: 1; }
.study-carrier.study-memory { border-color: #e2ece8; background: linear-gradient(145deg, #fbfdfc, #ecf6f1); box-shadow: 0 18px 36px -20px #1f645038, inset 0 2px 0 #fff; }
.study-carrier > div:first-child { display: flex; align-items: center; justify-content: center; gap: 17px; }
.study-carrier strong { font: 76px/.95 Georgia, serif; font-weight: 400; letter-spacing: -.06em; }
.study-carrier.study-memory strong { font-family: var(--display); font-weight: 500; font-size: 69px; }
.study-carrier > div > span { max-width: 100px; color: var(--lane-color); font-size: 16px; font-weight: 500; text-align: left; line-height: 1.4; }
.study-carrier small { display: block; margin-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.study-values { display: flex; align-items: end; gap: 8px; height: 58px; margin: 23px 0 0; }
.study-values i { flex: 1; height: 70%; border-radius: 5px 5px 2px 2px; background: linear-gradient(#87b9f8, #a9cbf3); transform-origin: bottom; }
.study-values i:nth-child(3n) { height: 42%; }
.study-values i:nth-child(3n + 1) { height: 90%; }
.study-values i:nth-child(4n) { height: 58%; }
.study-rows { display: grid; gap: 7px; margin: 25px 0 0; }
.study-rows > i { display: flex; gap: 10px; align-items: center; height: 15px; padding: 4px 7px; border-radius: 5px; background: #dceee5; }
.study-rows b { display: block; width: 34%; height: 3px; border-radius: 2px; background: #91bfaa; }
.study-rows b:first-child { width: 55%; }
.study-rows .study-write-row { background: #cae5d8; }
.study-join { grid-column: 1 / -1; grid-row: 4; align-self: end; justify-self: center; width: calc(50% + 45px); height: 1px; background: #d8d8dd; }
.study-reader { position: relative; grid-column: 1 / -1; grid-row: 5; justify-self: center; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 17px; min-width: 290px; margin-top: 22px; padding: 14px 27px; border: 1px solid #e8e8ed; border-radius: 22px; background: #fafafa; text-align: left; }
.study-reader::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; width: 1px; background: #d8d8dd; }
.study-reader-symbol { grid-row: 1 / 3; font: 30px/1.4 Georgia, serif; color: #505056; white-space: nowrap; }
.study-reader-symbol > span { margin-inline: 6px; color: #aaaab0; font: 17px var(--body); }
.study-reader strong { color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.7; }
.study-reader > span:last-child { color: var(--muted); font-size: 10px; line-height: 1.7; }
.study-paths { display: inline-flex; align-items: center; justify-content: center; gap: 3px; margin-top: 30px; padding: 5px; border-radius: 30px; background: #f0f0f3; }
.study-paths button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 19px; border: 0; border-radius: 24px; background: transparent; color: var(--muted); font-size: 12px; transition: color 200ms, background-color 200ms, box-shadow 200ms; }
.study-paths [aria-pressed="true"] { color: var(--study-accent); background: white; box-shadow: 0 2px 7px #0000000b; }
.study-path-symbol { font: 18px Georgia, serif; }
.study-paths .study-replay { width: 39px; padding: 0; border-radius: 50%; }
.study-replay:hover { background: #fff; }
.study-replay img { width: 15px; height: 15px; opacity: .65; transition: transform 400ms var(--ease-out); }
.study-replay:hover img { transform: rotate(-45deg); }
.study-caption { display: grid; margin-top: 18px; min-height: 43px; }
.study-caption p { grid-area: 1 / 1; max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.7; }
.study-caption [hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.study-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 5px; color: #86868b; font-size: 11px; line-height: 1.6; }
.study-footer a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); }
.study-footer img { width: 12px; height: 12px; transform: rotate(90deg); }
.state-study[data-path="memory"] { --study-accent: var(--green); }
.state-study[data-path="policy"] .study-carrier.study-policy { border-color: #c3dbfa; box-shadow: 0 20px 45px -20px #2e70be45, inset 0 2px 0 #fff; }
.state-study[data-path="memory"] .study-carrier.study-memory { border-color: #b9dccc; box-shadow: 0 20px 45px -20px #1f7f5745, inset 0 2px 0 #fff; }
.state-study.physics-pulsing[data-path="policy"] .study-carrier.study-policy,
.state-study.physics-pulsing[data-path="memory"] .study-carrier.study-memory { box-shadow: 0 22px 42px -18px color-mix(in srgb, var(--lane-color) 36%, transparent), inset 0 2px 0 #fff; }
.state-study.physics-pulsing[data-path="policy"] .study-carrier.study-policy::before,
.state-study.physics-pulsing[data-path="memory"] .study-carrier.study-memory::before { animation: study-specular-sweep 1480ms var(--ease-out) both; }
@keyframes study-specular-sweep {
  from { opacity: .05; transform: translateX(-58%) rotate(8deg); }
  42% { opacity: .56; }
  to { opacity: .12; transform: translateX(58%) rotate(8deg); }
}

/* Give each mechanism a clear beginning and space for its explanation. */
.implementation-section, .architecture-section, .evidence-section, .papers-section, .citation-section { padding-block: 110px; }
.implementation-section { background: var(--canvas); }
.section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .7fr); gap: 55px; margin-bottom: 52px; }
.section-index, .sub-index { color: var(--muted); font-size: 13px; font-weight: 500; text-transform: none; }
.section-heading h2, .boundary-section h2 { margin-top: 15px; font-size: clamp(36px, 4.1vw, 56px); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
.section-summary { max-width: 390px; font-size: 17px; line-height: 1.7; }
.state-definitions { gap: 24px; border: 0; margin-bottom: 32px; }
.state-definition, .state-definition + .state-definition { display: flex; flex-direction: column; gap: 25px; align-items: start; padding: 40px; border: 0; border-radius: 30px; background: white; }
.state-symbol { flex: none; text-align: left; font-size: 72px; line-height: 1; }
.state-kicker { color: var(--muted); font-size: 11px !important; font-weight: 500; letter-spacing: .035em; }
.state-definition h3 { margin-top: 11px; font-size: 27px; font-weight: 600; letter-spacing: -.025em; }
.state-facts > div { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; margin-top: 19px; font-size: 14px; line-height: 1.7; }
.state-facts dt { font-weight: 500; color: var(--ink); }
.state-facts dd { color: var(--muted); }
.update-schedule { padding: 35px 40px; border-radius: 30px; background: #fff; }
.schedule-heading { gap: 20px; margin-bottom: 24px; }
.schedule-heading h3 { font-size: 23px; font-weight: 600; }
.schedule-heading > span { font-size: 12px; }
.schedule-lane { padding: 23px 24px; gap: 22px; border: 0; border-radius: 18px; font-size: 13px; }
.schedule-lane + .schedule-lane { margin-top: 10px; }
.policy-lane { background: var(--policy-surface); }
.memory-lane { background: var(--memory-surface); }
.schedule-note { margin-top: 20px; font-size: 12px; }
.worked-example { margin-top: 0; padding-top: 0; padding-bottom: 35px; border: 0; }
.worked-example .section-index { font-size: 13px; }
.worked-example h3 { max-width: 520px; margin-top: 15px; font-size: 31px; font-weight: 600; line-height: 1.4; }
.worked-example > p { font-size: 16px; color: var(--muted); }
#mechanism-explorer { margin-top: 80px; padding: 36px; border-radius: 30px; background: #fff; }
.flow-tabs { position: relative; border: 0; border-radius: 18px; background: #f0f0f3; padding: 5px; gap: 4px; }
.flow-tabs button { justify-content: center; padding: 12px; min-height: 54px; gap: 9px; border-radius: 14px; font-size: 13px; }
.flow-tabs button:hover { background: #e8e8ed; }
.flow-tabs button[aria-selected="true"] { background: white; box-shadow: 0 2px 7px #00000008; }
.flow-tabs button::after { display: none; }
.flow-tab-number { color: #86868b; font-size: 11px; }
.flow-tab-marker { position: absolute; bottom: 2px; left: 0; width: var(--tab-width, 25%); height: 2px; transform: translateX(var(--tab-left, 0px)); background: var(--green); border-radius: 3px; transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), background-color 320ms; pointer-events: none; }
[data-step="adapt"] .flow-tab-marker { background: var(--blue); }
.flow-panel { gap: 40px; padding: 35px 0; }
.flow-copy-stack h3 { font-size: 32px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.flow-copy-stack h3 + p, .flow-copy-stack .example-detail { font-size: 15px; color: var(--muted); }
.flow-phase { color: var(--blue); font-weight: 500; }
.flow-visual { border: 0; border-radius: 24px; background: var(--canvas); overflow: hidden; }
.visual-heading { min-height: 51px; border-color: #e2e2e7; }
.flow-scene { padding: 26px; }
.read-state { border: 0; border-radius: 16px; padding: 20px 10px; }
.reasoning-node { border-radius: 18px; background: #252529; }
.node-eyebrow, .example-generation > div > span { color: #bcbcc3; }
.policy-update { border: 0; border-radius: 18px; }
.flow-rule { border-color: #d8d8de; }
.flow-footnote { font-size: 12px; }
.target-row { position: relative; border-radius: 8px; transition: background-color 300ms, color 300ms; }
.admission-section { margin-top: 104px; padding-top: 0; border: 0; gap: 64px; }
.admission-copy h3 { font-size: 43px; font-weight: 600; line-height: 1.18; letter-spacing: -.03em; }
.admission-copy > p:not(.section-index) { font-size: 16px; }
.admission-objective { padding: 22px; border: 0; border-radius: 20px; background: #ebe8e4; }
.admission-objective strong { color: #7b553b; font-size: 18px; }
.admission-path { padding: 27px 30px; border: 0; border-radius: 24px; background: white; }
.admission-method strong { font-size: 15px; }
.admission-method li > span { color: var(--muted); font-size: 14px; }
.training-boundary { margin: 9px 0; padding: 11px 22px; border: 0; }
.path-heading { gap: 12px; }
.mechanism-footnote { margin-top: 32px; font-size: 12px; border: 0; }
.paper-mechanism-guide { margin-top: 100px; padding-top: 0; border: 0; }
.paper-guide-heading h3 { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.paper-guide-topics { gap: 20px; margin-top: 35px; }
.paper-guide-topics > a { padding: 28px 29px 52px; border: 0; border-radius: 24px; background: #fff; transition: transform 400ms var(--ease-out), box-shadow 400ms; }
.paper-guide-topics > a:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #00000006; }
.paper-guide-topics > a > span { color: var(--muted); font-size: 10px; font-weight: 500; }
.paper-guide-topics strong { margin-top: 17px; font-size: 20px; font-weight: 600; line-height: 1.45; }
.paper-guide-topics p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.paper-guide-topics img { top: auto; right: 25px; bottom: 20px; }
.paper-guide-topics a:hover strong { color: var(--ink); }

/* Architecture, evidence, and the paper itself. */
.architecture-section { border: 0; }
.diagram-toolbar { padding: 16px 22px; border-color: #e5e5ea; border-radius: 22px 22px 0 0; background: var(--canvas); }
.diagram-preview { position: relative; overflow: hidden; border-color: #e5e5ea; border-radius: 0 0 22px 22px; transition: box-shadow 400ms; }
.diagram-preview:hover { border-color: #e5e5ea; box-shadow: 0 16px 40px #00000006; }
.diagram-preview::after { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; background: white url("assets/icons/maximize-2.svg") center / 16px no-repeat; border: 1px solid var(--line); border-radius: 50%; content: ""; }
.architecture-caption { margin-top: 7px; font-size: 12px; }
.architecture-principles { border: 0; gap: 35px; margin-top: 55px; }
.architecture-principles article, .architecture-principles article + article { padding: 0; border: 0; }
.architecture-principles h3 { margin-top: 17px; font-size: 21px; font-weight: 600; }
.architecture-principles p { font-size: 15px; line-height: 1.75; }
.evidence-section { border-top: 1px solid #e8e8ed; }
.evidence-stats { gap: 22px; border: 0; }
.evidence-stats article:nth-child(n) { border: 0; border-radius: 28px; padding: 30px; background: var(--canvas); }
.stat-index { color: var(--muted); font-size: 11px; font-weight: 500; }
.evidence-stats strong { margin-top: 38px; color: var(--blue); font-size: clamp(34px, 3.7vw, 50px); font-weight: 600; letter-spacing: -.045em; }
.evidence-stats p { margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.evidence-stats a { color: var(--blue); font-weight: 500; }
.results-section { margin-top: 70px; }
.results-heading h3 { font-size: 32px; font-weight: 600; letter-spacing: -.025em; }
.section-source { color: var(--blue); font-weight: 500; }
.results-caption { margin-top: 25px; color: var(--muted); font-weight: 500; }
.results-table-wrap { border-color: #e2e2e7; }
.results-table th, .results-table td { padding-block: 23px; border-color: #e8e8ed; }
.results-table tbody th { font-size: 14px; font-weight: 500; }
.results-table tbody td { font-size: 15px; }
.results-table .result-focus { background: #f0f7ff; }
.results-table .result-focus th, .results-table .result-focus td { color: #0066cc; }
.result-track { background: #e8e8ed; height: 7px; }
.result-fill { background: #b6beca; transition: width 550ms var(--ease-out); }
.result-focus .result-fill { background: var(--blue); }
.results-note { font-size: 12px; }
.boundary-section { padding: 104px 0; background: #161618; }
.boundary-layout { align-items: center; gap: 90px; }
.boundary-section .section-index { color: #a1a1a6; }
.boundary-section h2 { max-width: 550px; font-size: 48px; line-height: 1.2; }
.boundary-copy { color: #a1a1a6; font-size: 16px; line-height: 1.9; }
.boundary-copy strong, .boundary-copy a { color: #f5f5f7; }
.papers-section { background: #fff; }
.featured-paper { grid-template-columns: minmax(210px, .65fr) minmax(0, 1fr); align-items: center; padding: 50px; gap: 64px; border: 0; border-radius: 32px; background: var(--canvas); }
.paper-cover { justify-self: center; width: min(100%, 275px); padding: 0; border: 1px solid #e5e5ea; background: white; box-shadow: 0 20px 35px -15px #00000025; transform: rotate(-3deg); transition: transform 600ms var(--ease-out), box-shadow 600ms; }
.paper-cover:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 25px 40px -15px #00000030; }
.featured-paper h3 { margin-top: 22px; font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.featured-authors { font-size: 13px; color: var(--muted); }
.featured-paper-copy > p:not(.featured-authors) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.paper-tags { gap: 7px; }
.paper-tags span { padding: 5px 9px; border: 0; border-radius: 6px; background: #e7e7ec; color: var(--muted); font-size: 9px; font-weight: 500; }
.paper-links { flex-wrap: wrap; gap: 10px; }
.paper-links .button { min-height: 44px; padding-inline: 17px; font-size: 13px; }
.companion-head { padding-top: 65px; }
.companion-head h3 { font-size: 27px; font-weight: 600; }
.companion-head p { max-width: 690px; font-size: 14px; line-height: 1.8; }
.companion-head > a { color: var(--blue); font-size: 13px; font-weight: 500; }
.paper-row { min-height: 135px; border-color: #e2e2e7; transition: background-color 250ms; }
.paper-row:hover { background: #fafafa; }
.paper-topic { color: var(--muted); font-weight: 500; }
.paper-row h4 { font-size: 19px; font-weight: 600; }
.paper-row p { font-size: 13px; }
.paper-row > a { border: 0; border-radius: 50%; background: var(--canvas); }
.citation-section { padding-top: 0; }
.citation-section .section-heading { margin-bottom: 30px; }
.citation-section .section-heading h2 { font-size: 37px; }
.citation-box { border: 0; border-radius: 24px; background: var(--canvas); overflow: hidden; }
.citation-top { padding: 16px 25px; border-color: #e2e2e7; font-weight: 500; }
.citation-box pre { padding: 25px 30px; color: #505056; font-size: 12px; }
.site-footer { padding: 40px 0; border: 0; background: var(--canvas); }
.footer-links a { color: var(--muted); font-weight: 400; }
.diagram-dialog { border: 0; border-radius: 22px; }
.diagram-dialog::backdrop { background: #00000080; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.diagram-stage { background: var(--canvas); }

@media (max-width: 1100px) {
  .page-width { width: min(100% - 64px, 1200px); }
  .header-inner { gap: 15px; }
  .site-nav a { padding-inline: 8px; font-size: 11px; }
  .section-heading { gap: 36px; }
  .section-summary { font-size: 16px; }
  .state-definition, .state-definition + .state-definition { padding: 32px; }
  .state-definition h3 { font-size: 23px; }
  .state-facts > div { gap: 12px; }
  .update-schedule { padding: 30px; }
  .schedule-lane { gap: 12px; padding: 22px 18px; }
  .flow-panel { gap: 28px; }
  #mechanism-explorer { padding: 28px; }
  .admission-section { gap: 40px; }
  .admission-copy h3 { font-size: 36px; }
  .admission-path { padding: 24px; }
  .paper-guide-topics { gap: 16px; }
  .paper-guide-topics > a { padding: 25px 23px 50px; }
  .evidence-stats article:nth-child(n) { padding: 25px; }
  .evidence-stats strong { font-size: 36px; }
  .featured-paper { gap: 45px; padding: 40px; }
  .featured-paper h3 { font-size: 26px; }
}
@media (max-width: 820px) {
  .site-nav { top: 63px; padding: 12px 32px 22px; background: #fafafc; border-color: #e2e2e7; }
  .site-nav a { min-height: 48px; font-size: 17px; font-weight: 500; }
  .header-controls { margin-left: auto; }
  .lead-section { padding-top: 55px; }
  .lead-section h1 { font-size: 59px; }
  .lead-description { font-size: 18px; }
  .state-study { margin-top: 48px; }
  .study-map { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); }
  .study-join { width: calc(50% + 24px); }
  .study-carrier { padding-inline: 25px; }
  .section-heading { display: block; margin-bottom: 38px; }
  .section-heading h2 { font-size: 44px; }
  .section-summary { max-width: 590px; margin-top: 23px; font-size: 16px; }
  .implementation-section, .architecture-section, .evidence-section, .papers-section { padding-block: 85px; }
  .state-definitions { gap: 18px; }
  .state-definition, .state-definition + .state-definition { padding: 28px; }
  .state-definition h3 { font-size: 23px; }
  .state-facts > div { display: block; font-size: 14px; }
  .state-facts dt { margin-bottom: 5px; }
  .schedule-heading { display: block; }
  .schedule-heading > span { display: block; margin-top: 10px; }
  .schedule-lane { grid-template-columns: 85px minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr); font-size: 12px; }
  #mechanism-explorer { margin-top: 72px; }
  .worked-example { gap: 30px; }
  .worked-example h3 { font-size: 27px; }
  .worked-example > p { font-size: 14px; }
  .flow-panel { grid-template-columns: minmax(0, 1fr); }
  .flow-visual { order: -1; }
  .flow-narrative { padding-top: 0; }
  .flow-copy-stack h3 + p { max-width: none; }
  .flow-scene { min-height: 385px; padding: 30px 45px; }
  .admission-section { grid-template-columns: 1fr; gap: 30px; margin-top: 72px; }
  .admission-copy h3 { font-size: 38px; }
  .admission-objective { max-width: 540px; }
  .paper-mechanism-guide { margin-top: 72px; }
  .paper-guide-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper-guide-heading h3 { font-size: 31px; }
  .evidence-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .evidence-stats article:nth-child(3) { grid-column: auto; }
  .evidence-stats article:nth-child(n) { padding: 22px; }
  .evidence-stats strong { font-size: 27px; }
  .evidence-stats p { font-size: 13px; }
  .stat-index { font-size: 10px; }
  .boundary-section { padding-block: 75px; }
  .boundary-layout { grid-template-columns: 1fr; gap: 30px; }
  .boundary-section h2 { max-width: 640px; font-size: 44px; }
  .featured-paper { grid-template-columns: 190px minmax(0, 1fr); padding: 32px; gap: 35px; }
  .paper-cover { width: 100%; }
  .featured-paper h3 { font-size: 23px; }
  .featured-paper-copy > p:not(.featured-authors) { font-size: 14px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 84px; }
  .page-width { width: calc(100% - 40px); }
  .brand { font-size: 20px; }
  .brand img { width: 26px; height: 26px; }
  .site-nav { padding-inline: 20px; }
  .header-inner { gap: 10px; }
  .header-controls { gap: 9px; }
  .menu-toggle { width: 34px; height: 34px; background: transparent; }
  .lead-section { padding-top: 43px; padding-bottom: 30px; }
  .lead-product { margin-bottom: 22px; font-size: 22px; }
  .lead-section h1 { font-size: clamp(34px, 8.6vw, 51px); line-height: 1.2; letter-spacing: -.045em; }
  body[data-lang="en"] .lead-section h1 { font-size: clamp(31px, 8.1vw, 49px); }
  .lead-intro { margin-top: 21px; }
  .lead-description { max-width: 390px; font-size: 16px; line-height: 1.75; }
  .lead-description br { display: none; }
  .lead-actions { margin-top: 24px; gap: 2px; }
  .lead-actions .button { min-height: 44px; padding-inline: 17px; font-size: 13px; }
  .lead-actions .button-text { padding-inline: 12px; }
  .lead-meta { margin-top: 35px; padding-top: 22px; gap: 7px 14px; font-size: 10px; }
  .lead-meta > span:last-child { display: block; }
  .state-study { margin-top: 42px; }
  .study-heading { gap: 9px; font-size: 11px; }
  .study-index { font-size: 11px; }
  .study-map { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); grid-template-rows: 26px 22px 215px 30px auto; margin-top: 19px; }
  .study-trigger { gap: 5px; font-size: 11px; }
  .study-input-wire { width: 22px; }
  .study-output-wire { width: 30px; }
  .study-carrier { padding: 20px 17px 16px; border-radius: 22px; }
  .study-carrier > div:first-child { flex-direction: column; gap: 10px; }
  .study-carrier strong { font-size: 52px; }
  .study-carrier.study-memory strong { font-size: 49px; }
  .study-carrier > div > span { max-width: none; text-align: center; font-size: 12px; line-height: 1.4; }
  .study-carrier small { margin-top: 13px; font-size: 11px; line-height: 1.4; }
  .study-values { height: 33px; gap: 4px; margin-top: 17px; }
  .study-values i { border-radius: 3px 3px 1px 1px; }
  .study-rows { gap: 5px; margin-top: 17px; }
  .study-rows > i { height: 9px; padding: 3px 4px; border-radius: 3px; gap: 5px; }
  .study-rows b { height: 2px; }
  .study-join { width: calc(50% + 11px); }
  .study-reader { min-width: 245px; max-width: 100%; padding: 12px 21px; gap: 0 15px; border-radius: 18px; }
  .study-reader-symbol { font-size: 27px; }
  .study-reader strong { font-size: 12px; }
  .study-reader > span:last-child { font-size: 11px; }
  .study-paths { margin-top: 26px; padding: 4px; }
  .study-paths button { min-height: 38px; padding-inline: 13px; gap: 6px; font-size: 11px; }
  .study-caption { margin-top: 16px; min-height: 52px; }
  .study-caption p { font-size: 12px; line-height: 1.8; }
  .study-footer { gap: 6px 18px; font-size: 10px; }
  .implementation-section, .architecture-section, .evidence-section, .papers-section { padding-block: 65px; }
  .section-index, .sub-index { font-size: 12px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 35px; line-height: 1.2; }
  .section-summary { margin-top: 18px; font-size: 15px; }
  .state-definitions { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
  .state-definition, .state-definition + .state-definition { flex-direction: column; gap: 20px; padding: 30px; border: 0; border-radius: 26px; }
  .state-symbol { font-size: 62px; }
  .state-definition h3 { font-size: 24px; line-height: 1.35; }
  .state-facts > div { display: grid; grid-template-columns: 49px minmax(0, 1fr); gap: 10px; margin-top: 17px; font-size: 14px; }
  .state-facts dt { margin-bottom: 0; }
  .update-schedule { padding: 26px 22px; border-radius: 26px; }
  .schedule-heading h3 { font-size: 23px; line-height: 1.4; }
  .schedule-heading > span { font-size: 11px; }
  .schedule-lane { grid-template-columns: 1fr; gap: 10px; padding: 22px; font-size: 13px; }
  .schedule-lane > strong { grid-row: auto; margin-bottom: 3px; font-size: 14px; }
  .schedule-lane > span, .schedule-lane > img { grid-column: 1; }
  .schedule-lane > img { width: 15px; height: 15px; margin: 0; }
  .schedule-note { font-size: 12px; }
  .worked-example { grid-template-columns: 1fr; gap: 18px; padding-bottom: 29px; }
  .worked-example h3 { font-size: 28px; }
  .worked-example > p { font-size: 15px; }
  #mechanism-explorer { margin-top: 64px; padding: 16px; border-radius: 26px; }
  .flow-tabs { position: sticky; top: 70px; z-index: 4; padding: 4px; border-radius: 14px; gap: 2px; }
  .flow-tabs button { align-items: center; justify-content: center; gap: 5px; min-height: 73px; padding: 9px 4px; border-radius: 11px; font-size: 10px; text-align: center; }
  .flow-tab-number { font-size: 10px; }
  .flow-panel { display: flex; padding: 23px 0; gap: 24px; }
  .flow-scene { min-height: 350px; padding: 23px 17px; }
  .flow-visual { border-radius: 20px; }
  .visual-heading { padding-inline: 17px; font-size: 9px; }
  .flow-copy-stack h3 { font-size: 27px; }
  .flow-copy-stack h3 + p, .flow-copy-stack .example-detail { font-size: 14px; }
  .flow-rule { font-size: 12px; }
  .flow-footnote { display: block; font-size: 11px; }
  .flow-footnote a { margin-top: 12px; font-size: 11px; }
  .candidate-fields > div { grid-template-columns: 75px minmax(0, 1fr); gap: 8px; font-size: 11px; }
  .candidate-fields .canonical-field dd { font-size: 17px; }
  .memory-choice { align-items: start; gap: 7px; }
  .memory-choice > span { font-size: 9px; padding-top: 8px; }
  .memory-choice .segmented button { font-size: 10px; padding-inline: 9px; }
  .read-pair { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
  .read-state > span:last-child { font-size: 10px; }
  .example-generation { gap: 7px; grid-template-columns: minmax(0, 1.2fr) 15px minmax(0, .8fr); }
  .example-generation code { font-size: 12px; }
  .example-generation img { width: 15px; }
  .reasoning-node { padding: 20px 14px; }
  .admission-section { margin-top: 64px; gap: 28px; }
  .admission-copy h3 { font-size: 36px; }
  .admission-copy > p:not(.section-index) { font-size: 15px; }
  .admission-objective { padding: 22px; }
  .admission-objective strong { font-size: 17px; }
  .admission-path { padding: 24px; }
  .path-heading { display: block; }
  .path-heading > span:last-child { display: block; margin-top: 5px; }
  .admission-method li { padding-left: 28px; }
  .admission-method li > span { font-size: 13px; }
  .deployment-flow { grid-template-columns: 1fr; gap: 14px; text-align: left; font-size: 13px; }
  .deployment-flow img { transform: rotate(90deg); }
  .deployment-flow strong, .admission-action { text-align: left; font-size: 13px; }
  .training-boundary { padding-inline: 8px; }
  .mechanism-footnote { font-size: 11px; }
  .paper-mechanism-guide { margin-top: 64px; }
  .paper-guide-heading h3 { font-size: 30px; }
  .paper-guide-heading .button { min-height: 44px; font-size: 13px; }
  .paper-guide-topics { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .paper-guide-topics > a { padding: 28px 28px 52px; }
  .paper-guide-topics strong { font-size: 22px; }
  .paper-guide-topics p { font-size: 14px; }
  .diagram-toolbar { padding: 13px 10px; border-radius: 18px 18px 0 0; }
  .diagram-toolbar p { max-width: 100px; font-size: 9px; }
  .diagram-actions .toolbar-button { min-height: 34px; padding-inline: 5px; font-size: 10px; }
  .diagram-preview { border-radius: 0 0 18px 18px; }
  .diagram-preview::after { width: 29px; height: 29px; bottom: 10px; right: 10px; background-size: 13px; }
  .architecture-caption { font-size: 11px; }
  .architecture-principles { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .architecture-principles h3 { margin-top: 12px; font-size: 22px; }
  .architecture-principles p { font-size: 14px; }
  .evidence-stats { grid-template-columns: 1fr; gap: 18px; }
  .evidence-stats article:nth-child(n) { padding: 30px; }
  .evidence-stats strong { margin-top: 26px; font-size: 50px; }
  .evidence-stats p { font-size: 14px; }
  .stat-index { font-size: 11px; }
  .results-section { margin-top: 50px; }
  .results-heading { display: block; }
  .results-heading h3 { font-size: 29px; }
  .results-heading > a { margin-top: 15px; }
  .results-caption { font-size: 12px; }
  .results-table th, .results-table td { padding: 19px 6px; }
  .results-table tbody th, .results-table tbody td { font-size: 11px; }
  .results-table thead th { font-size: 10px; }
  .results-table th:first-child { width: 39%; }
  .results-table thead th:nth-child(2) { width: 36%; }
  .results-table thead th:last-child { width: 25%; }
  .results-note { font-size: 11px; }
  .boundary-section { padding-block: 68px; }
  .boundary-section h2 { font-size: 36px; }
  .boundary-copy { font-size: 15px; }
  .featured-paper { display: flex; flex-direction: column; align-items: stretch; gap: 35px; padding: 32px 25px; border-radius: 26px; }
  .paper-cover { align-self: center; width: 190px; margin: 0; }
  .featured-paper h3 { margin-top: 18px; font-size: 27px; }
  .featured-paper-copy > p:not(.featured-authors) { font-size: 14px; }
  .paper-links { gap: 7px; }
  .paper-links .button { padding-inline: 13px; font-size: 12px; }
  .companion-head { flex-direction: column; gap: 18px; padding-top: 50px; }
  .companion-head h3 { font-size: 25px; }
  .companion-head p { font-size: 14px; }
  .paper-row { grid-template-columns: 20px minmax(0, 1fr) 33px; gap: 10px; min-height: 145px; }
  .paper-row h4 { font-size: 17px; }
  .paper-row p { font-size: 12px; line-height: 1.65; }
  .paper-number { padding-top: 30px; }
  .citation-section { padding-top: 0; padding-bottom: 65px; }
  .citation-section .section-heading h2 { font-size: 31px; }
  .citation-top { padding: 13px 17px; font-size: 8px; }
  .citation-box pre { padding: 20px; font-size: 10px; }
  .site-footer { padding-block: 32px; }
  .site-footer p { font-size: 11px; }
  .diagram-dialog { border-radius: 0; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  .lead-actions .button { padding-inline: 13px; font-size: 12px; }
  .study-carrier { padding-inline: 12px; }
  .study-paths button { padding-inline: 11px; font-size: 10px; }
  .study-reader { min-width: 230px; }
  .state-definition, .state-definition + .state-definition { padding: 26px; }
  .state-facts > div { grid-template-columns: 44px minmax(0, 1fr); font-size: 13px; }
  #mechanism-explorer { padding: 12px; }
  .flow-tabs button { font-size: 9px; }
  .flow-scene { padding-inline: 13px; }
  .evidence-stats strong { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
  .physics-field { display: none !important; }
  .study-carrier { transform: none !important; will-change: auto !important; }
  .paper-guide-topics > a:hover, .paper-cover, .paper-cover:hover { transform: none; }
}
