/* Larger section labels, an explicit title break, and inspectable paper charts. */
.hero h1 .title-accent{display:block;margin-bottom:9px}.title-remainder{display:block}
.eyebrow,.figure-index,.lab-copy .eyebrow,.cite-layout .eyebrow{font-size:16px!important;line-height:1.5;letter-spacing:1.2px}
.problem-subheading .eyebrow{font-size:16px!important}.step-index{font-size:17px}.chart-card-heading{font-size:14px;letter-spacing:.75px}
.domain-flow{font-size:12px}.math-training,.transfer-heading{padding-block:7px}
.live-trajectory{margin:auto 0;width:100%}.live-trajectory svg{width:100%;display:block;overflow:visible}
.chart-grid{stroke:var(--line);stroke-width:1}.chart-tick{fill:var(--muted);font-family:var(--sans);font-size:18px}.chart-axis-title{fill:var(--ink);font-family:var(--sans);font-size:18px;font-weight:550}
.trajectory-band{fill:var(--violet);opacity:.1}.trajectory-line{fill:none;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}.quest-line{stroke:var(--violet)}.zero-line{stroke:#579a90;stroke-dasharray:7 5}
.quest-dot{fill:var(--violet);stroke:var(--paper);stroke-width:1.5}.zero-dot{fill:#579a90;stroke:var(--paper);stroke-width:1.5}.chart-head{stroke-width:2.5}.chart-guide{stroke:var(--muted);stroke-opacity:.45;stroke-width:1;stroke-dasharray:4 5}
.trajectory-end{font-size:18px;font-weight:650;fill:var(--violet)}.quest-label{color:var(--violet)}.trajectory-end.zero-label{fill:#579a90}.zero-label{color:#579a90}.trajectory-robot{transition:opacity .35s}
.trajectory-legend,.curve-legend{display:flex;justify-content:center;gap:20px;font-size:16px;color:var(--muted);flex-wrap:wrap}.trajectory-legend>span,.curve-legend>span{display:flex;align-items:center;gap:8px}.trajectory-legend i{display:block;width:21px;border-top:3px solid var(--violet)}.trajectory-legend .zero-key{border-color:#579a90;border-top-style:dashed}
.trajectory-scrubber{display:flex;gap:15px;align-items:center;margin-top:13px}.trajectory-scrubber label{font-size:15px;white-space:nowrap;min-width:70px;font-weight:600}.trajectory-scrubber input{flex:1;margin:0;min-width:0}
.trajectory-readout{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:12px}.trajectory-readout>div{display:flex;flex-direction:column;gap:5px}.trajectory-readout span{font-size:14px;color:var(--muted)}.trajectory-readout output{font-size:18px;font-weight:650;white-space:nowrap;letter-spacing:-.3px}
.trajectory-card figcaption{margin-top:19px}.source-figure-link{border:0;background:none;color:var(--blue);font-size:15px;margin-top:10px;padding:3px 6px;text-decoration:underline;text-underline-offset:4px}
#trajectory-chart,#probability-chart{touch-action:pan-y;border-radius:5px}#trajectory-chart:focus-visible,#probability-chart:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.method-comparisons{display:grid;grid-template-columns:1fr 1fr;gap:28px}.method-comparison{min-width:0;padding:25px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.method-comparison>.eyebrow{margin-bottom:13px}.method-comparison h3{font-size:28px;line-height:1.25;margin-bottom:22px;letter-spacing:-.55px}.method-comparison .paper-figure{max-width:none}.method-comparison .figure-button img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.method-contrast{display:grid;gap:17px;margin-top:24px}.method-contrast>div{display:grid;grid-template-columns:79px minmax(0,1fr);gap:16px;padding-top:17px;border-top:1px solid var(--line);align-items:start}.method-contrast p{font-size:18px;line-height:1.65;color:var(--muted);margin:0}.method-contrast>div>span{font-size:15px;font-weight:650;line-height:1.7;border-radius:5px;padding:2px 8px;text-align:center}.contrast-baseline{background:#e88b7b18;color:#bd6555}.contrast-ours{background:var(--soft-blue);color:var(--blue)}.novelty-comparison .contrast-ours{background:var(--soft-violet);color:var(--violet)}
.method-steps{gap:30px;margin-top:37px}.method-steps h3{font-size:23px;line-height:1.35}.method-steps p{font-size:18px;line-height:1.75}
.novelty-lab{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:44px;align-items:start}.lab-copy h3{font-size:32px}.lab-copy>p:not(.eyebrow):not(.small-note){font-size:19px;line-height:1.75}.lab-copy .formula{margin-block:22px}.lab-copy>p{margin-bottom:22px}.lab-copy .small-note{font-size:16px!important;line-height:1.7}
.curve-controls{padding:24px;min-width:0}.curve-controls .control-heading{font-size:17px;margin-bottom:13px}.curve-controls select{font-size:16px;min-height:40px;max-width:195px}.probability-metrics{display:flex;gap:5px;background:var(--surface);padding:5px;border:1px solid var(--line);border-radius:8px;margin-top:19px}.probability-metrics button{flex:1;padding:8px 5px;border:0;border-radius:5px;font-size:15px;color:var(--muted);background:none}.probability-metrics button[aria-pressed=true]{background:var(--paper);color:var(--violet);font-weight:600;box-shadow:0 1px 5px #00000008}
.curve-legend{margin-top:20px;gap:12px 22px;font-size:15px}.curve-key{width:25px;height:0;border-top:3px solid var(--violet)}.reference-key{border-color:#b38b43;border-top-style:dashed}
.probability-plot{position:relative;margin-top:10px}.probability-plot svg{width:100%;display:block;cursor:crosshair}.probability-area{fill:var(--violet);opacity:.055}.probability-selected{fill:none;stroke:var(--violet);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.probability-reference{fill:none;stroke:#b38b43;stroke-width:2.6;stroke-dasharray:7 4;stroke-linecap:round;stroke-linejoin:round}.probability-reference-dot{fill:#b38b43;stroke:var(--paper);stroke-width:2}
.probability-tip{position:absolute;background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:10px 12px;box-shadow:0 4px 20px #12284d18;pointer-events:none;z-index:2;max-width:232px;font-size:13px;line-height:1.65}.probability-tip strong,.probability-tip span{display:block}.probability-tip strong{color:var(--violet);font-weight:600}
.chart-hint{font-size:15px;color:var(--muted);margin:8px 0 23px;line-height:1.6}.probability-readout{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid var(--line);margin-top:12px;padding-top:17px}.probability-readout>div{display:flex;justify-content:space-between;align-items:baseline;gap:9px}.probability-readout span{font-size:16px;color:var(--muted)}.probability-readout output{font-size:27px;font-weight:650;color:var(--violet);letter-spacing:-.7px}.probability-readout>div+div{padding-left:15px;border-left:1px solid var(--line)}
.share-examples{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:21px;font-size:15px;color:var(--muted)}.share-examples button{font-size:14px;padding:6px 10px;border:1px solid var(--line);background:var(--paper);border-radius:20px;color:var(--muted)}.share-examples button[aria-pressed=true]{border-color:var(--violet);color:var(--violet);background:var(--soft-violet)}.lab-result-note{font-size:16px;line-height:1.65;margin-top:17px}
@media(max-width:1150px){.chart-card-heading{font-size:12px;letter-spacing:.4px}.domain-flow{font-size:11px}.trajectory-readout output{font-size:16px}.trajectory-readout span{font-size:13px}.method-contrast>div{grid-template-columns:72px minmax(0,1fr);gap:12px}.method-comparison{padding:21px}.method-comparison h3{font-size:25px}.method-contrast p{font-size:17px}}
@media(max-width:1050px){.method-comparisons{grid-template-columns:1fr}.method-comparison .paper-figure{max-width:700px;margin-inline:auto}.method-contrast{grid-template-columns:1fr 1fr;gap:24px}.method-contrast>div{display:block}.method-contrast p{margin-top:12px;font-size:18px}.novelty-lab{grid-template-columns:1fr;gap:26px}.curve-controls{max-width:850px}.hero h1{font-size:42px}.live-trajectory{margin:auto 0}.trajectory-readout output{font-size:15px}.trajectory-legend{font-size:15px}}
@media(max-width:760px){.hero h1{font-size:34px}.hero h1 .title-accent{margin-bottom:12px}.eyebrow,.figure-index,.lab-copy .eyebrow,.cite-layout .eyebrow,.problem-subheading .eyebrow{font-size:15px!important}.chart-card-heading{font-size:12px;flex-wrap:wrap;gap:8px}.chart-card-heading button{font-size:14px}.domain-flow{font-size:11px}.method-contrast{grid-template-columns:1fr;gap:18px}.method-comparison h3{font-size:26px}.method-steps p{font-size:18px}.method-steps h3{font-size:23px}.curve-controls{padding:20px}.lab-copy>p:not(.eyebrow):not(.small-note){font-size:18px}.trajectory-readout output{font-size:19px}.trajectory-readout span{font-size:14px}.trajectory-scrubber label{font-size:16px}}
@media(max-width:560px){.hero h1{font-size:31px}.chart-card-heading{font-size:11px}.trajectory-readout output{font-size:17px}.method-comparison{padding:18px}.method-contrast p{font-size:17px}.probability-metrics button{font-size:14px}.curve-legend{font-size:14px}.probability-readout{gap:9px}.probability-readout>div{flex-direction:column;gap:2px}.probability-readout>div+div{padding-left:12px}.curve-controls select{max-width:100%;font-size:15px}.probability-tip{font-size:12px}.math-trained::before,.mini-group.transfer-target:nth-child(2)::before{font-size:12px}.chart-tick,.chart-axis-title{font-size:21px}}
@media(max-width:380px){.title-nobreak{white-space:normal}.hero h1{font-size:28px}.trajectory-readout output{font-size:14px}.trajectory-readout span{font-size:12px}.trajectory-legend{font-size:14px}.curve-controls{padding:14px}}
@media(prefers-reduced-motion:reduce){#replay-trajectory{display:none}}
.probability-tip{max-width:min(232px,calc(100% - 16px))}
/* Compact, simultaneous rejection curves. K=8 is the visual anchor. */
.novelty-lab{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:36px;align-items:center}
.rejection-only{padding:22px}.rejection-heading{font-size:21px;font-weight:600;margin:0;text-align:center}
.rejection-only .curve-legend{margin-top:14px;gap:12px 23px;font-size:16px}.default-budget{font-weight:650;color:var(--violet)}
.curve-key.budget-4{border-color:#648cb0;border-top-style:dashed}.curve-key.budget-8{border-color:var(--violet);border-top-width:4px}.curve-key.budget-16{border-color:#479d8a;border-top-style:dashed}
.rejection-curve{fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:6 4}.rejection-curve.budget-4{stroke:#648cb0}.rejection-curve.budget-8{stroke:var(--violet);stroke-width:4.4;stroke-dasharray:none}.rejection-curve.budget-16{stroke:#479d8a}
.rejection-dot{stroke:var(--paper);stroke-width:2}.rejection-dot.budget-4{fill:#648cb0}.rejection-dot.budget-8{fill:var(--violet)}.rejection-dot.budget-16{fill:#479d8a}
.rejection-only .probability-plot{max-width:540px;margin:13px auto 0}.rejection-only .chart-hint{font-size:14px;text-align:center;margin:3px 0 16px}
.rejection-readout-label{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:14px;font-size:15px;color:var(--muted)}.rejection-readout-label output{color:var(--violet);font-weight:650;white-space:nowrap}
.rejection-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px;text-align:center}.rejection-readout>div{display:flex;flex-direction:column;gap:5px;padding:8px 3px;border-radius:6px}.rejection-readout .default-budget{background:var(--soft-violet)}.rejection-readout span{font-size:15px;color:var(--muted)}.rejection-readout output{font-size:25px;font-weight:600;letter-spacing:-.6px}.rejection-readout .budget-4 output{color:#648cb0}.rejection-readout .budget-8 output{color:var(--violet)}.rejection-readout .budget-16 output{color:#479d8a}
.probability-tip .tip-budget{display:flex;align-items:center;justify-content:space-between;gap:18px}.tip-budget.budget-4{color:#648cb0}.tip-budget.budget-8{color:var(--violet);font-weight:650}.tip-budget.budget-16{color:#479d8a}
/* Results now use the same reading scale as the method and problem sections. */
.result-story p,.evidence-copy p{font-size:20px;line-height:1.7}.subsection-heading h3{font-size:30px}.subsection-heading p{font-size:19px}.benchmark-block .segmented button,.evidence-tabs .tab{font-size:18px;padding:11px 17px}.benchmark-domains{margin-bottom:22px}
#benchmark-table{font-size:18px}#benchmark-table thead th{font-size:16px}#benchmark-table th,#benchmark-table td{padding:17px 15px}#benchmark-table[data-domain=math]{min-width:1170px}#benchmark-table[data-domain=general]{min-width:780px}.benchmark-scroll-hint{font-size:16px!important}
.evidence-block{margin-top:58px}.evidence-copy h3{font-size:34px}.evidence-panel .paper-figure figcaption{font-size:16px;line-height:1.6}
@media(max-width:1050px){.novelty-lab{grid-template-columns:1fr;gap:25px}.rejection-only{max-width:650px;width:100%;margin-inline:auto}.evidence-copy h3{font-size:30px}}
@media(max-width:760px){.rejection-only{padding:18px}.rejection-heading{font-size:20px}.result-story p,.evidence-copy p{font-size:18px}.subsection-heading h3{font-size:26px}.subsection-heading p{font-size:18px}.benchmark-block .segmented button,.evidence-tabs .tab{font-size:16px;padding:10px 13px}#benchmark-table{font-size:17px}#benchmark-table thead th{font-size:15px}.evidence-panel .paper-figure figcaption{font-size:15px}}
@media(max-width:380px){.rejection-only{padding:14px}.rejection-only .curve-legend{font-size:14px;gap:10px}.rejection-readout output{font-size:21px}.rejection-readout span{font-size:12px}.rejection-readout-label{font-size:14px}}
/* Keep the curve directly under its heading, where its reveal is visible. */
.trajectory-card .live-trajectory{position:relative;flex:1 0 auto;min-height:0;aspect-ratio:4/3;margin:0 0 8px}
.trajectory-card{align-self:stretch}
.trajectory-card .live-trajectory svg{position:absolute;inset:0;width:100%;height:100%}
.hero-charts>.hero-chart-card>figcaption{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
.trajectory-card figcaption{text-align:center;line-height:1.3}
.trajectory-card figcaption strong{display:block;font-size:clamp(17.82px,1.458vw,21.06px);font-weight:650;letter-spacing:-.4px;text-wrap:balance}
.trajectory-card .trajectory-context{display:block;margin:9px auto 0;font-size:14.58px;line-height:1.55;color:var(--muted);text-wrap:balance}
.trajectory-card .trajectory-readout{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));padding-block:16px 4px}
.trajectory-card .trajectory-readout output{font-size:22px}
@media(max-width:1050px){.trajectory-card .trajectory-context{font-size:12.96px}.trajectory-card .trajectory-readout output{font-size:19px}}
@media(max-width:380px){.trajectory-card figcaption strong{font-size:18.63px}.trajectory-card .trajectory-readout output{font-size:16px}}
/* A quiet paper control and a clear code link form one centered resource row. */
.hero-actions{gap:14px}
.hero-actions .button{margin:0;min-height:56px;padding:13px 20px;border-radius:14px;gap:12px;font-size:17px;line-height:1.4;box-shadow:0 3px 10px #13284d08;transition:transform .2s,box-shadow .2s,border-color .2s}
.hero-actions .resource-icon{width:21px;height:21px;flex-shrink:0}
.hero-actions .resource-label{font-size:17px;font-weight:600;color:inherit}
.hero-actions .paper-button{background:var(--paper);color:var(--ink);border-color:var(--line);opacity:1}
.hero-actions .paper-button .resource-icon{color:var(--blue)}
.hero-actions .resource-status{font-size:11px;font-weight:550;color:var(--muted);background:var(--surface);padding:5px 8px;border-radius:6px;white-space:nowrap;line-height:1.3}
.hero-actions .code-button{min-width:166px;background:linear-gradient(135deg,#306fe0,#2258bd);border-color:#2b63ca;color:#fff;box-shadow:0 4px 12px #2868ce24}
.hero-actions .resource-arrow{width:17px;height:17px;margin-left:10px;opacity:.75;transition:transform .2s,opacity .2s}
.hero-actions .code-button:hover{box-shadow:0 7px 18px #2868ce35;border-color:#2356b6}
.hero-actions .code-button:hover .resource-arrow{transform:translate(2px,-2px);opacity:1}
.hero-actions .code-button:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
@media(max-width:560px){.hero-actions{gap:12px}.hero-actions .button{min-height:52px;padding:12px 16px;border-radius:12px}.hero-actions .code-button{min-width:145px}}
