@charset "UTF-8";
:root {
  --page: #f9fbfe;
  --ink: #1d2c45;
  --muted: #6c7b92;
  --line: #dce4ef;
  --blue: #2c5596;
  --blue-bright: #3b73bb;
  --indigo: #7d82b7;
  --toc-width: 216px;
  --header-height: 56px;
  --section-gap: 72px;
  --section-padding: calc(var(--section-gap) / 2);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --brand-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --brand-weight: 700;
  --brand-tracking: -.035em;
  --brand-color: #254785;
  --brand-logo-ratio: 1.25;
  --brand-logo-gap: .35em;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, [role=button]:focus-visible { outline: 3px solid #7f9fce; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
::selection { background: #d5e3f7; }
.container { max-width: 1000px; margin-inline: auto; padding-inline: 40px; }
.section-pad { padding-block: var(--section-padding); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 15px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; background: rgb(249 251 254 / 60%); -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); transition: opacity .35s, transform .35s, visibility .35s; }
.nav-shell { max-width: 1080px; height: var(--header-height); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: var(--brand-logo-gap); font-family: var(--brand-font); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: var(--brand-tracking); font-weight: var(--brand-weight); color: var(--brand-color); white-space: nowrap; }
.site-header .brand > span { font-size: .875em; letter-spacing: var(--brand-tracking); }
.brand-mark { width: var(--brand-mark-size, .77em); height: var(--brand-mark-size, .77em); flex-shrink: 0; mix-blend-mode: multiply; }
.brand-hyphen { font-weight: 400; color: var(--blue); }
.resource-links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.resource-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border-radius: 5px; color: var(--ink); font-size: .875rem; white-space: nowrap; }
.resource-link img { display: block; flex-shrink: 0; object-fit: contain; }
.resource-link:hover { color: var(--blue); }
.resource-link:hover img { opacity: .8; }
.report-link { white-space: nowrap; font-size: .875rem; }
.language-switch { display: inline-flex; align-items: center; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid #adc6ff; border-radius: 999px; background: #fff; box-shadow: 0 3px 12px #3864ab14; font-size: .8125rem; }
.language-switch button { min-width: 42px; min-height: 26px; padding: 2px 7px; border: 0; border-radius: 999px; background: transparent; color: #63718a; line-height: 1.4; transition: background-color .15s, color .15s, box-shadow .15s; }
.language-switch button:hover { background: #f0f5ff; color: #245de7; }
.language-switch button[aria-pressed="true"] { background: #245de7; color: #fff; box-shadow: 0 2px 6px #285ce835; font-weight: 550; }
.language-switch button[aria-pressed="true"]:hover { background: #1e50d0; }
.page-content { position: relative; z-index: 2; padding-inline: var(--toc-width); margin-top: calc(-1 * var(--introduction-overlap, 0px)); }
.page-toc { position: fixed; z-index: 20; inset: var(--header-height) auto 0 0; width: var(--toc-width); padding: 42px 25px; background: var(--page); overflow-y: auto; transition: opacity .35s, transform .35s, visibility .35s; }
.toc-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-left: 16px; }
.toc-heading h2 { color: #7e8da5; font-size: .875rem; font-weight: 500; }
.toc-nav { display: flex; flex-direction: column; gap: 5px; }
.toc-link { padding: 11px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 1rem; color: #6b7e9c; transition: color .2s, background .2s; }
.toc-link:hover { color: var(--blue); background: #edf3fc; }
.toc-link.active { color: var(--blue); border-left-color: var(--blue); font-weight: 550; }
.toc-group, .toc-subnav { display: flex; flex-direction: column; }
.toc-subnav { gap: 2px; }
.toc-sublink { padding: 8px 12px 8px 28px; font-size: .875rem; line-height: 1.5; }
.toc-link.toc-parent-active { color: var(--blue); font-weight: 550; }
#math-case { scroll-margin-top: calc(var(--header-height) + 20px); }
.toc-toggle, .toc-close { display: none; }
.toc-backdrop { position: fixed; z-index: 40; inset: 0; background: #142b4d40; backdrop-filter: blur(3px); }
.toc-backdrop[hidden] { display: none; }
.cover-opening .site-header { opacity: 0; visibility: hidden; transform: translateY(-100%); pointer-events: none; }
.cover-opening .page-toc { opacity: 0; visibility: hidden; transform: translateX(-24px); pointer-events: none; }
.intro-shell { position: relative; height: calc(132svh + clamp(1200px, 160svh, 2000px) + clamp(600px, 100svh, 1000px) + clamp(760px, 110svh, 1200px)); background: #f8fafc; }
.intro-pin { position: sticky; top: 0; height: 100svh; }
.intro-card { position: relative; width: 100%; height: 100%; overflow: hidden; background: #f8fafc; isolation: isolate; }
#cover-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#cover-canvas:focus-visible { outline: 3px solid #7f9fce; outline-offset: -6px; }
.cover-subtitle { position: absolute; top: calc(50% + clamp(64px, 10svh, 112px)); left: 50%; width: calc(100% - 48px); color: #345582; font-size: clamp(1.375rem, 3vw, 2.75rem); font-weight: 450; line-height: 1.4; letter-spacing: .06em; text-align: center; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
.cover-scroll-hint { position: absolute; left: 50%; color: #7b91b2; opacity: 0; transform: translateX(-50%); pointer-events: none; }
.cover-scroll-hint svg { width: 32px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cover-scroll-hint path { opacity: .25; animation: cover-chevron-pulse 2s ease-in-out infinite; }
.cover-scroll-hint path:nth-child(2) { animation-delay: .18s; }
.cover-scroll-hint path:nth-child(3) { animation-delay: .36s; }
.cover-entry-hint { bottom: calc(clamp(24px, 4svh, 48px) + env(safe-area-inset-bottom, 0px)); z-index: 1; display: grid; place-items: center; width: 56px; height: 64px; color: #5676a3; opacity: 1; pointer-events: auto; border-radius: 12px; }
.cover-entry-hint svg { animation: cover-scroll-nudge 2s ease-in-out infinite; }
.cover-entry-hint:hover { color: var(--blue); }
@keyframes cover-scroll-nudge {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
}
@keyframes cover-chevron-pulse {
  0%, 70%, 100% { opacity: .25; }
  35% { opacity: 1; }
}
.cover-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.research-introduction { padding-block: 0 var(--section-padding); }
.introduction-copy { position: relative; max-width: 48rem; margin-inline: auto; color: #000; font-size: 1.125rem; line-height: 2.05; letter-spacing: .015em; }
.introduction-copy p + p { margin-top: 1.75rem; }
@media (max-width: 600px) {
  .nav-shell { padding-inline: 20px; gap: 14px; }
  .introduction-copy { font-size: 1rem; line-height: 1.95; }
  .introduction-copy p + p { margin-top: 1.5rem; }
}
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; column-gap: 16px; min-height: 640px; padding-block: 75px 90px; }
.hero h1 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.4; letter-spacing: -2.6px; font-weight: 600; white-space: nowrap; }
.accent { color: var(--blue); }
.hero-description { margin-top: 28px; font-size: 1.125rem; line-height: 1.95; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 23px; border: 1px solid transparent; border-radius: 7px; font-size: .9375rem; font-weight: 500; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #23477f; }
.button-secondary { border-color: #ced9ea; }
.button-secondary:hover { background: #eff4fc; }
.hero-art { height: 440px; position: relative; min-width: 0; }
.hero-orbits { width: 100%; height: 100%; }
.hero-stream { animation: orbit-stream 20s linear infinite; }
.hero-stream-obs { animation-direction: reverse; animation-duration: 25s; }
.art-label { position: absolute; background: #f9fbfeed; padding: 10px 16px; border: 1px solid #d6dfed; border-radius: 7px; font-size: .9375rem; font-weight: 500; color: var(--blue); }
.label-model { right: 5%; top: 15%; }
.label-obs { left: 3%; bottom: 14%; color: var(--indigo); border-color: #d9dcef; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-bottom: 40px; }
.section-heading h2 { font-size: 2.25rem; line-height: 1.45; font-weight: 560; letter-spacing: -1.2px; }
.muted-heading { color: #7b91b2; }
.section-intro { color: #000; font-size: 1.0625rem; line-height: 1.9; }
.section-status { color: #7b8da8; font-size: .875rem; white-space: nowrap; }
.mechanism { background: var(--page); }
.section-heading.mechanism-heading { display: block; margin-bottom: 28px; }
.mechanism-heading .section-intro { margin-top: 14px; }
.demos .section-intro { margin-top: 14px; }
.engine { background: white; border: 1px solid #d8e1ef; border-radius: 14px; overflow: hidden; }
.engine-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 28px; border-bottom: 1px solid #e5ebf4; }
.engine-caption { font-size: 1rem; font-weight: 550; }
.engine-controls { display: flex; align-items: center; gap: 9px; }
.control-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 5px; padding: 8px 11px; min-height: 38px; background: none; font-size: .875rem; color: #687e9f; }
.control-button:hover { background: #eff4fc; color: var(--blue); }
.control-button:first-child { border-color: #dce5f2; background: #f9fbfe; color: var(--blue); min-width: 76px; }
.speed-control { min-width: 46px; }
.diagram-frame { padding: 14px 22px 0; }
#loop-diagram { width: 100%; height: auto; }
.loop-track { fill: none; stroke-width: 1.5; }
.model-track { stroke: #c2d4ed; }
.obs-track { stroke: #d2d5e8; }
.loop-flow { fill: none; stroke-width: 2; stroke-dasharray: 5 14; animation: flow-track 10s linear infinite; opacity: .2; }
.model-flow { stroke: var(--blue-bright); }
.obs-flow { stroke: var(--indigo); }
.engine:not(.observation-mode) .model-flow, .engine.observation-mode .obs-flow { opacity: .65; }
.engine:not(.is-playing) .loop-flow { animation-play-state: paused; }
.bridge { fill: none; stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.plateau-bridge { stroke: var(--indigo); }
.feedback-bridge { stroke: var(--blue-bright); }
.bridge-label { font: 17px var(--sans); }
.plateau-label { fill: #7d82b7; }
.feedback-label { fill: #4c79b1; }
.engine.plateau-phase .plateau-bridge, .engine.feedback-phase .feedback-bridge { opacity: 1; stroke-width: 2.5; }
.engine.plateau-phase .plateau-label, .engine.feedback-phase .feedback-label { font-weight: 600; }
.loop-direction { fill: none; stroke-width: 1.5; opacity: .7; }
.loop-center rect, .loop-center circle, .loop-center path { fill: none; stroke-width: 1.5; }
.loop-center path { stroke-linecap: round; }
.model-center rect, .model-center path { stroke: #608dc4; }
.obs-center circle, .obs-center path { stroke: #9299c5; }
.center-title { font: 550 26px var(--sans); letter-spacing: -.5px; fill: #355b90; }
.obs-center .center-title { fill: #6b72a3; }
.diagram-node { cursor: pointer; outline: none; }
.diagram-node rect { fill: white; stroke: #dce5f3; stroke-width: 1; transition: fill .3s, stroke .3s; }
.diagram-node .node-title { font: 500 18px var(--sans); fill: #5e789c; pointer-events: none; }
.diagram-node.obs-node rect { stroke: #dfe2f1; }
.diagram-node.obs-node .node-title { fill: #7a82ab; }
.diagram-node:hover rect, .diagram-node:focus-visible rect { stroke: #7da3d3; }
.diagram-node.obs-node:hover rect, .diagram-node.obs-node:focus-visible rect { stroke: #969fca; }
.diagram-node.active rect { fill: #edf4ff; stroke: var(--blue-bright); stroke-width: 1.5; }
.diagram-node.active .node-title { fill: var(--blue); }
.diagram-node.obs-node.active rect { fill: #f0f2fc; stroke: var(--indigo); }
.diagram-node.obs-node.active .node-title { fill: #6e76aa; }
.compact-loop-map { display: none; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.demo-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.demo-art { height: 260px; position: relative; overflow: hidden; }
.documents-art { background: radial-gradient(ellipse at center, #eef4fd 0%, #fff 70%); }
.document-sheet { position: absolute; width: 154px; height: 175px; border: 1px solid #d5dfed; border-radius: 5px; background: white; box-shadow: 0 10px 22px #254b8110; padding: 18px; }
.document-back { left: calc(50% - 112px); top: 45px; transform: rotate(-9deg); }
.document-front { left: calc(50% - 21px); top: 62px; transform: rotate(8deg); }
.document-sheet i { display: block; height: 3px; background: #e7edf7; margin-bottom: 9px; border-radius: 2px; }
.document-sheet i:nth-of-type(2n) { width: 72%; }
.doc-mini-title { width: 63%; height: 5px; background: #b0c7e6; margin-bottom: 21px; }
.doc-highlight, .doc-evidence { background: #e6effc; height: 22px; margin: 11px 0 14px; border-left: 2px solid #b5cdeb; }
.document-link { position: absolute; width: 75px; border-top: 1px dashed #a0bade; transform-origin: left; }
.link-first { left: calc(50% - 46px); top: 146px; transform: rotate(5deg); }
.link-second { left: calc(50% - 51px); top: 163px; transform: rotate(16deg); }
.math-art { background: radial-gradient(ellipse at center, #f0f2fc 0%, #fff 70%); }
.math-book { position: absolute; width: 156px; height: 186px; left: calc(50% - 94px); top: 46px; background: #e6e9f5; border: 1px solid #ccd3e8; border-radius: 3px 8px 8px 3px; transform: rotate(-9deg); box-shadow: 7px 8px 0 -3px #f5f7fc, 7px 8px 0 -2px #d8deed, 0 15px 23px #455d8913; padding: 24px; }
.book-spine { position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: #cbd3ea; }
.book-formula { font: 40px/1.3 Georgia, serif; color: #7e8bb3; margin-top: 26px; white-space: nowrap; }
.book-formula span { font-size: 22px; }
.book-lines { height: 1px; width: 31px; background: #afbddd; margin-top: 16px; }
.math-note { position: absolute; top: 137px; left: calc(50% + 12px); padding: 16px; background: white; border: 1px solid #d8deee; border-radius: 5px; box-shadow: 0 6px 22px #445c900a; transform: rotate(8deg); }
.chapter-grid { display: grid; grid-template-columns: repeat(4, 15px); gap: 5px; }
.chapter-grid i { height: 15px; border-radius: 2px; background: #edf0fa; border: 1px solid #dbe1f3; }
.chapter-grid i:nth-child(3n+1) { background: #bdc9e8; border-color: #bdc9e8; }
.chapter-grid i:nth-child(4n) { background: #d9e0f4; border-color: #d0daf1; }
.math-formula { position: absolute; font: 20px Georgia, serif; color: #b0bcdb; }
.formula-one { left: calc(50% + 82px); top: 71px; transform: rotate(8deg); }
.formula-two { left: calc(50% - 172px); top: 185px; transform: rotate(-8deg); }
.demo-card-body { padding: 18px 32px 30px; }
.demo-card-body h3 { font-size: 1.625rem; line-height: 1.5; font-weight: 550; letter-spacing: -.5px; }
.demo-card-body p { color: var(--muted); font-size: 1rem; line-height: 1.9; margin-top: 12px; }
.demo-detail-button { display: block; margin-top: 28px; width: 100%; padding: 19px 0 0; border: 0; border-top: 1px solid #e7edf6; background: none; text-align: left; font-size: .875rem; color: var(--blue); }
.demo-detail-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.results { background: var(--page); }
.results-number { font-weight: 550; }
.benchmark-panel { background: white; border: 1px solid #dbe4f2; border-radius: 12px; overflow: hidden; }
.benchmark-tabs { display: flex; gap: 34px; padding-inline: 32px; border-bottom: 1px solid #e8edf6; }
.benchmark-tab { border: 0; border-bottom: 2px solid transparent; padding: 22px 0 19px; background: none; color: #788ca9; font-size: 1rem; white-space: nowrap; }
.benchmark-tab.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 550; }
.benchmark-tab:hover { color: var(--blue); }
.chart-placeholder { position: relative; height: 320px; margin: 25px 32px; }
.chart-grid { position: absolute; inset: 30px 0; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid span { border-top: 1px dashed #e7edf6; }
.chart-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: radial-gradient(ellipse at center, white 20%, #ffffffc0 55%, #ffffff00 75%); }
.chart-empty h3 { font-size: 1.375rem; color: #5f7caa; font-weight: 500; }
.chart-empty p { font-size: 1rem; color: #8092af; margin-top: 12px; }
.chart-empty span { margin-top: 27px; font-size: .875rem; color: #8d9fba; }
.report-section { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 75px; }
.report-section h2 { font-size: 1.75rem; font-weight: 550; letter-spacing: -.6px; }
.report-section .button { white-space: nowrap; }
.site-footer { padding-block: 26px 35px; }
.footer-brand { color: #738cab; font-size: 1.125rem; font-weight: 500; }
body.dialog-open { overflow: hidden; }
dialog { max-width: 620px; width: calc(100% - 40px); border: 1px solid #d8e2f1; border-radius: 15px; padding: 34px; color: var(--ink); background: var(--page); box-shadow: 0 25px 90px #142b4d33; }
dialog::backdrop { background: #132a4d55; backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
dialog h2 { font-size: 1.5rem; line-height: 1.5; font-weight: 550; }
.dialog-close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #dbe4f1; border-radius: 50%; background: none; color: #7b90af; font-size: 24px; line-height: 1; }
.dialog-close:hover { background: #e9f1fc; }
.dialog-description { margin-top: 16px; color: var(--muted); font-size: 1rem; }
.dialog-stages { margin-top: 28px; border-top: 1px solid var(--line); }
.dialog-stage { display: grid; grid-template-columns: 100px 1fr; gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dialog-stage strong { font-size: .9375rem; color: var(--blue); font-weight: 550; }
.dialog-stage p { font-size: .9375rem; line-height: 1.8; color: var(--muted); }
dialog > .button { width: 100%; margin-top: 28px; }
@keyframes orbit-stream { to { stroke-dashoffset: -1035; } }
@keyframes flow-track { to { stroke-dashoffset: -380; } }
@keyframes compact-orbit { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  :root { --section-gap: 64px; }
  .container { padding-inline: 32px; }
  .nav-shell { padding-inline: 32px; gap: 24px; }
  .hero { min-height: 570px; padding-block: 65px 80px; }
  .hero-description { font-size: 1rem; }
  .hero-art { height: 370px; }
  .section-heading h2 { font-size: 2rem; }
  .section-intro { font-size: 1rem; }
  .demo-card-body { padding-inline: 26px; }
  .demo-card-body h3 { font-size: 1.5rem; }
}
@media (max-width: 1440px) {
  #loop-diagram { display: none; }
  .compact-loop-map { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 25px 10px; }
  .compact-loop { padding: 20px 18px; border: 1px solid #dce7f7; border-radius: 10px; background: #f6f9fe; }
  .compact-observation { background: #f8f9fe; border-color: #e3e7f6; }
  .compact-loop-header { display: flex; align-items: center; gap: 10px; margin: 0 7px 15px; }
  .compact-loop-header strong { font-size: 1rem; font-weight: 550; color: #6886af; }
  .compact-observation .compact-loop-header strong { color: #808cb8; }
  .compact-orbit { display: block; font-size: 25px; line-height: 1; color: #90aed7; }
  .compact-observation .compact-orbit { color: #a9b7db; }
  .engine.is-playing .compact-loop.is-active .compact-orbit { animation: compact-orbit 2s linear infinite; }
  .compact-node { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid transparent; border-radius: 6px; background: none; text-align: left; font-size: 1rem; color: #748eb4; }
  .compact-node::before { content: ''; display: block; width: 6px; height: 6px; flex-shrink: 0; border: 1px solid #bfcee5; border-radius: 50%; }
  .compact-node:hover { background: #eaf2fe; }
  .compact-node.active { background: #e5efff; border-color: #bed3ef; color: var(--blue); font-weight: 550; }
  .compact-node.active::before { background: var(--blue); border-color: var(--blue); }
  .compact-observation .compact-node { color: #8b97bb; }
  .compact-observation .compact-node::before { border-color: #ccd6ef; }
  .compact-observation .compact-node:hover { background: #eef2fd; }
  .compact-observation .compact-node.active { background: #e9effe; color: #6e7dad; border-color: #cbd7f2; }
  .compact-observation .compact-node.active::before { background: var(--indigo); border-color: var(--indigo); }
}
@media (max-width: 800px) {
  .container { padding-inline: 25px; }
  .nav-shell { padding-inline: 25px; gap: 18px; }
  .brand { font-size: 1.375rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { column-gap: 6px; min-height: 490px; padding-block: 60px; }
  .hero h1 { letter-spacing: -1.7px; }
  .hero-description { font-size: 1rem; line-height: 1.85; }
  .desktop-break { display: none; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding: 12px 15px; font-size: .875rem; }
  .hero-art { height: 310px; }
  .art-label { padding: 8px 12px; font-size: .875rem; }
  .label-model { right: 0; top: 17%; }
  .label-obs { left: 0; bottom: 17%; }
  .section-heading h2 { font-size: 1.75rem; }
  .section-heading { gap: 25px; }
  .engine-toolbar { padding: 8px 22px; gap: 15px; }
  .engine-controls { gap: 2px; }
  .control-button { padding-inline: 9px; }
  .demo-grid { gap: 20px; }
  .demo-art { height: 240px; }
  .demo-card-body { padding: 15px 24px 25px; }
  .demo-card-body h3 { font-size: 1.375rem; }
  .benchmark-tabs { gap: 26px; padding-inline: 26px; }
  .report-section { padding-block: 55px; }
  .report-section h2 { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: calc(var(--header-height) + 16px); }
  .container { padding-inline: 22px; }
  :root { --header-height: 52px; --section-gap: 56px; }
  .nav-shell { padding-inline: 20px; }
  .brand { font-size: 1.3125rem; }
  .brand-mark { width: 28px; height: 28px; }
  .report-link { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 15px; padding-block: 55px 35px; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 49px); line-height: 1.5; letter-spacing: -1.8px; }
  .hero-description { margin-top: 25px; font-size: 1rem; max-width: 380px; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .hero-actions .button { padding: 12px 17px; }
  .hero-art { height: 300px; width: 100%; max-width: 420px; align-self: center; }
  .label-model { right: 4%; top: 15%; }
  .label-obs { left: 4%; bottom: 14%; }
  .section-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 1.75rem; line-height: 1.5; letter-spacing: -.8px; }
  .mechanism-heading { display: block; }
  .mechanism-heading h2 { font-size: clamp(1.125rem, 6.4vw, 1.75rem); }
  .section-intro { margin-top: 20px; font-size: 1rem; }
  .section-intro br { display: none; }
  .section-status { font-size: .875rem; margin-top: 8px; }
  .demos .section-heading { flex-wrap: wrap; gap: 12px; }
  .demos .section-status { margin-top: 0; }
  .engine { margin-inline: -8px; border-radius: 10px; }
  .engine-toolbar { flex-wrap: wrap; padding: 8px 14px; gap: 6px; }
  .engine-caption { font-size: 1rem; }
  .engine-controls { width: 100%; justify-content: space-between; }
  .control-button { font-size: .875rem; padding: 8px 10px; }
  .diagram-frame { padding: 0 12px; }
  .compact-loop-map { gap: 10px; padding: 12px 0 22px; }
  .compact-loop { padding: 14px 7px 11px; border-radius: 8px; }
  .compact-loop-header { gap: 6px; margin: 0 4px 12px; }
  .compact-loop-header strong { font-size: .875rem; white-space: nowrap; }
  .compact-orbit { font-size: 21px; }
  .compact-node { font-size: .9375rem; gap: 8px; padding: 9px 9px; min-height: 46px; }
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .demo-art { height: 250px; }
  .demo-card-body { padding: 15px 26px 28px; }
  .demo-card-body h3 { font-size: 1.5rem; }
  .demo-card-body p { font-size: 1rem; }
  .demo-detail-button { font-size: .875rem; margin-top: 25px; }
  .benchmark-panel { margin-inline: -8px; border-radius: 10px; }
  .benchmark-tabs { gap: 8px; padding-inline: 20px; justify-content: space-between; }
  .benchmark-tab { font-size: .875rem; padding-block: 20px 17px; }
  .chart-placeholder { height: 280px; margin: 20px; }
  .chart-empty h3 { font-size: 1.25rem; }
  .chart-empty p { font-size: 1rem; }
  .report-section { align-items: flex-start; flex-direction: column; gap: 25px; padding-block: 50px; }
  .report-section h2 { font-size: 1.5rem; }
  .site-footer { padding-block: 25px 30px; }
  dialog { width: calc(100% - 30px); max-height: calc(100dvh - 40px); padding: 26px 24px; }
  dialog h2 { font-size: 1.375rem; }
  .dialog-description { font-size: .9375rem; }
  .dialog-stage { grid-template-columns: 90px 1fr; padding-block: 20px; gap: 15px; }
  .dialog-stage strong, .dialog-stage p { font-size: .875rem; }
}
@media (max-width: 1280px) {
  .page-content { padding-inline: 0; }
  .resource-links { margin-left: 0; }
  .toc-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 13px; margin-left: auto; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: .875rem; color: var(--blue); }
  .toc-toggle:hover { background: #edf3fc; }
  .report-link { margin-left: 0; }
  .page-toc { inset: 0 auto 0 0; z-index: 50; width: 260px; padding: 26px 24px; border-right: 0; box-shadow: 15px 0 60px #15366515; visibility: hidden; transform: translateX(-100%); transition: transform .25s, visibility .25s; }
  .toc-heading { padding-left: 16px; margin-bottom: 28px; }
  .toc-heading h2 { font-size: 1rem; }
  .toc-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: #7b90af; }
  .toc-close:hover { background: #edf3fc; }
  .toc-link { padding-block: 14px; }
  .toc-sublink { display: flex; align-items: center; min-height: 44px; padding-block: 10px; }
  body.toc-open { overflow: hidden; }
  body.toc-open .page-toc { visibility: visible; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-shell { height: 100svh !important; }
  .intro-pin { position: relative; }
  .cover-subtitle { opacity: 1 !important; }
  .page-content { margin-top: 0; }
  .research-introduction { padding-top: 72px; }
  .cover-scroll-hint { display: none; }
  .cover-entry-hint { display: grid; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}

/* English labels share the same figures and geometry as the Chinese view. */
html[lang="en"] .cover-subtitle { font-size: clamp(1.25rem, 2.65vw, 2.4rem); letter-spacing: .015em; }
html[lang="en"] .diagram-node .node-title { font-size: 15px; }
html[lang="en"] .center-title { font-size: 21px; }
html[lang="en"] .observation-radar { overflow: hidden; }
html[lang="en"] .compact-loop-header strong { white-space: normal; }
html[lang="en"] .compact-node { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  html[lang="en"] .observation-radar-label { font-size: 16px; }
}
@media (max-width: 600px) {
  .site-header .nav-shell { gap: 6px; padding-inline: 10px; }
  .site-header .brand { gap: 5px; }
  .language-switch { gap: 2px; padding: 2px; }
  .language-switch button { min-width: 36px; min-height: 24px; padding: 2px 5px; }
  .toc-toggle { min-width: 32px; padding-inline: 7px; font-size: 0; }
  .toc-toggle::before { content: ''; display: block; width: 16px; height: 14px; background: linear-gradient(currentColor, currentColor) top / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) bottom / 100% 1.5px no-repeat; }
  .resource-links { gap: 2px; }
  .resource-link { width: 32px; }
  html[lang="en"] .compact-loop-map { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .resource-link span { display: none; }
}
@media (max-width: 360px) {
  .site-header .nav-shell { gap: 5px; padding-inline: 8px; }
  .site-header .brand { font-size: 1rem; gap: 4px; }
  .site-header .brand-mark { width: 24px; height: 24px; }
  .resource-links { gap: 2px; }
  .resource-link { width: 28px; }
  .language-switch { gap: 0; padding: 2px; }
  .language-switch button { min-width: 34px; padding-inline: 4px; }
}

/* Allow academic English labels to wrap within the existing case players. */
html[lang="en"] #math-demo .demo-interactive #math-player-panel,
html[lang="en"] .reading-evolution-layout.demo-interactive #reading-panel { grid-template-rows: max-content minmax(0, 1fr); }
html[lang="en"] #math-demo .math-evolution-layout .model-analysis { display: block; }
html[lang="en"] #math-demo .analysis-heading { display: flex; flex-wrap: wrap; gap: 4px 10px; }
html[lang="en"] #math-demo .analysis-heading > span { white-space: normal; }
html[lang="en"] #math-demo .analysis-heading h3 { order: 2; flex-basis: 100%; white-space: normal; overflow: visible; text-overflow: clip; }
html[lang="en"] #math-demo .analysis-heading .reader-toggle { margin-left: auto; }
html[lang="en"] #math-demo .math-evolution-layout #math-analysis-copy { margin-top: 5px; white-space: normal; overflow: visible; text-overflow: clip; }
html[lang="en"] #math-demo .analysis-sources { margin-top: 4px; }
html[lang="en"] .reading-analysis-heading { flex-wrap: wrap; padding-right: 0; }
html[lang="en"] .reading-analysis-heading > span { padding-right: 130px; }
html[lang="en"] .reading-evolution-layout .reading-stage-title { flex-basis: 100%; white-space: normal; overflow: visible; text-overflow: clip; }
html[lang="en"] .reading-evolution-layout .reading-stage-subtitle { white-space: normal; overflow: visible; text-overflow: clip; }
html[lang="en"] .reading-evolution-layout .reading-analysis-sources { flex-wrap: wrap; }
html[lang="en"] .demo-interactive .reading-feedback-header { height: auto; min-height: 44px; }
.book-source-note { margin-block: 12px; color: #61758f; font-size: .875rem; line-height: 1.7; }
