/* Exact shared measurements from procedural-pretraining-page/static/css/style.css.
   Page-specific diagrams retain their own functional layout. */
@font-face{font-family:'Source Serif 4';src:url('assets/source-serif-800.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--color-bg:#fff;--color-bg-alt:#f7f8fa;--color-text:#1a1a2e;--color-text-secondary:#555770;--color-border:#e2e4e9;--color-code-bg:#f1f3f5;--max-width:960px;--nav-height:56px;--ink:var(--color-text);--muted:var(--color-text-secondary);--line:var(--color-border);--canvas:var(--color-bg-alt)}
html{scroll-padding-top:72px;overflow-x:hidden}body{font-size:16px;line-height:1.7;color:var(--color-text);background:#fff;overflow-x:hidden}
body .container{box-sizing:border-box;max-width:960px;width:100%;padding-left:24px;padding-right:24px;margin-left:auto;margin-right:auto}
body .section{padding-top:80px;padding-bottom:80px}
body .header,body .site-header{height:56px;position:fixed;top:0;left:0;right:0;width:100%;max-width:none;margin:0;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #e2e4e9;z-index:1000;padding:0}
body .header-inner,body .nav-wrap{box-sizing:border-box;max-width:960px;margin:0 auto;padding:0 24px;display:flex;align-items:center;height:100%;gap:32px;width:100%}
body .wordmark,body .brand{font-size:.95rem;font-weight:700;letter-spacing:normal;white-space:nowrap;color:#1a1a2e;flex-shrink:0;gap:0}
body .header .brand-icon,body .brand>svg{display:none}
body .header nav,body .nav-links{display:flex;gap:24px;margin-left:auto;align-items:center}
body .header nav a,body .nav-links a{font-size:.85rem;font-weight:500;color:#555770;white-space:nowrap;position:relative;padding:4px 0;border:0;border-radius:0;line-height:1.7}
body .header nav a:hover,body .nav-links a:hover{color:var(--accent)}body .nav-paper svg,body .nav-paper span{display:none}
body .hero.container{padding-top:136px;padding-bottom:80px;text-align:center;position:relative;isolation:isolate}
body .hero::before{background:linear-gradient(180deg,#fff 0%,var(--hero-fill) 100%)}
body .hero>.eyebrow{display:none}
body .hero h1{font-size:3.2rem;font-weight:800;line-height:1.15;letter-spacing:normal;margin:0 auto 20px;color:var(--hero-accent);max-width:none}
body .hero h1 em{font:inherit;color:inherit}
body .paper-subtitle,body .hero-summary{font-family:Inter,Arial,sans-serif;font-size:1.15rem;font-weight:400;line-height:1.6;color:#555770;max-width:680px;margin:0 auto 28px;letter-spacing:normal}
body .paper-subtitle br{display:none}
body .hero .institution-row{display:flex;justify-content:center;align-items:center;gap:40px;margin:0 auto 28px;flex-wrap:wrap;padding:0;background:none;border:0;border-radius:0;width:auto}
body .hero .institution-row img,body .hero .institution-row img.adelaide{height:40px;width:auto;max-width:220px;opacity:.85;object-fit:contain}
body .hero .paper-overview{margin:36px auto 28px;max-width:780px;text-align:center;padding:0;background:#fff;border:1px solid #e2e4e9;border-radius:12px;overflow:hidden}
body .hero .paper-overview figcaption{font-size:.82rem;line-height:1.5;text-align:left;padding:12px 16px;margin:0;color:#555770;border-top:1px solid #e2e4e9}
body .hero .authors{font-size:.95rem;line-height:1.7;margin:0;padding:0;color:#1a1a2e}
body .authors p,body .hero>.authors{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
body .hero .authors p>.author,body .hero .authors a{color:#1a1a2e;font-weight:500;margin:0}
body .hero .authors sup{font-size:.7em;color:#555770}
body .hero .authors>div,body .affiliations{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px;font-size:.9rem;line-height:1.7;color:#555770;margin:0 0 32px;padding:0}
body .hero-copy p{font-size:1.05rem;line-height:1.7;color:#1a1a2e;max-width:620px;margin:0 auto 32px}
body .hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:0}
body .button,body .hero-actions .text-action{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;font-size:.9rem;font-weight:600;font-family:Inter,Arial,sans-serif;line-height:1.7;border-radius:8px;border:2px solid var(--accent);background:var(--accent);color:#fff;letter-spacing:normal}
body .button:not(.primary),body .hero .button:not(.primary),body .hero-actions .text-action{background:transparent;color:var(--accent);border:2px solid var(--accent)}
body .button:hover,body .hero .button:hover,body .hero-actions .text-action:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff;transform:translateY(-1px)}
body .section-heading,body .overview-layout{display:block;margin-bottom:40px}
body .section-heading h2,body .overview-layout>h2,body .abstract-copy h2,body .resource-heading h2{font-family:'Source Serif 4',Georgia,serif;font-size:2rem;font-weight:700;line-height:1.7;letter-spacing:normal;text-align:center;color:#1a1a2e;margin:0 0 40px}
body .section-heading h2 br,body .overview-layout>h2 br{display:none}
body .section-heading h2 span,body .overview-layout h2 em{font:inherit;color:inherit}
body .section-heading>p,body .overview-layout>.prose,body .abstract-copy{max-width:760px;margin:0 auto 48px;font-size:1.05rem;line-height:1.7;color:#1a1a2e}
body .prose p,body .abstract-copy p{font-size:1.05rem;line-height:1.7;color:#1a1a2e}
body .section-number,body .section-kicker{display:none}
body .metrics{display:grid;gap:20px;border:0;background:none;margin-top:40px}
body .metrics>div,body .metrics>article{background:#fff;border:1px solid #e2e4e9;border-radius:12px;padding:28px 20px;text-align:center}
body .metrics strong{font-family:Inter,Arial,sans-serif;font-size:2.2rem;font-weight:800;line-height:1.1;margin-bottom:8px;color:var(--accent)}
body .metrics p,body .metrics span{font-size:.88rem;line-height:1.45;color:#555770}
body .results-panel,body .paper-figure,body .paper-card,body .reasoning-type{border:1px solid #e2e4e9;border-radius:12px;background:#fff;box-shadow:none}
body .paper-card{padding:32px 28px}body .hx-explorer{box-shadow:none;border-color:#e2e4e9;border-radius:12px;margin-top:48px}body .pipeline{margin-top:48px}
body .citation,body .citation-box{background:#f1f3f5;border:1px solid #e2e4e9;border-radius:12px;padding:20px 24px}
body .citation pre,body .citation-box pre{font-size:.82rem;line-height:1.7;color:#1a1a2e}
body .method-takeaway,body .scope-note{border:1px solid var(--takeaway-border);background:var(--hero-fill);border-radius:12px;padding:20px 24px}
body .method-takeaway .small-number{color:var(--hero-accent);font-weight:700}
body .discussion-band{background:#f7f8fa;color:#1a1a2e}body .discussion h2{font-size:2rem;font-weight:700;letter-spacing:normal}body .discussion em{color:var(--accent)}body .discussion .prose p,body .discussion .prose .limitations,body .limitations strong{color:#555770}
body .nav-toggle,body .menu-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;margin-left:auto;flex-direction:column;gap:4px;font-size:0}
body .nav-toggle span,body .menu-toggle span{display:block;width:20px;height:2px;background:#1a1a2e;border-radius:1px}
@media(max-width:768px){body .section{padding-top:56px;padding-bottom:56px}body .hero.container{padding-top:104px;padding-bottom:56px}body .hero h1{font-size:2.2rem}body .hero-summary,body .paper-subtitle{font-size:1rem}body .section-heading h2,body .overview-layout>h2,body .abstract-copy h2,body .resource-heading h2{font-size:1.6rem}body .header nav,body .nav-links{display:none;position:absolute;top:56px;left:0;right:0;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);flex-direction:column;align-items:stretch;padding:16px 24px;gap:12px;border-bottom:1px solid #e2e4e9;box-shadow:0 4px 16px #0000000f}body .header nav.open,body .nav-links.open{display:flex}body .nav-toggle,body .menu-toggle{display:flex}body .metrics{grid-template-columns:repeat(2,1fr)}body .hero .institution-row{gap:40px}body .hero .institution-row img{max-width:180px}body .header-inner,body .nav-wrap{gap:0}}
@media(max-width:480px){body .hero h1{font-size:1.8rem}body .hero-actions{flex-direction:column;align-items:stretch}body .hero-actions .button,body .hero-actions .text-action{justify-content:center;justify-self:stretch}body .metrics{grid-template-columns:1fr}}

:root{--accent:#2563eb;--accent-dark:#1d4ed8;--hero-accent:#2563eb;--hero-fill:#eff6ff;--takeaway-border:#bfdbfe;--soft:#dbeafe}

body .hero>.authors{display:block}

body .hero .authors>div>span{margin:0}body .hero .institution-row img:last-child{grid-column:auto}

@font-face{font-family:'JetBrains Mono';src:url('assets/jetbrains-400.ttf');font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('assets/jetbrains-500.ttf');font-weight:500;font-display:swap}
:root{--mono:'JetBrains Mono',monospace}body .citation pre,body .citation-box pre{font-family:var(--mono)}

:root{--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body .hero.container{padding-left:24px;padding-right:24px}

/* Give all three result cards matching borders, including the last card. */
body .metrics>div,body .metrics>div:first-child,body .metrics>div:last-child{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;border:1px solid #e2e4e9;padding:28px 20px;min-width:0}
body .metrics strong{min-width:0;letter-spacing:-.04em}
body .metrics strong>span{color:var(--accent)}
body .metrics .parameter-comparison{display:flex;flex-direction:column;align-items:center;gap:3px;letter-spacing:0}
body .metrics .parameter-comparison .parameter-size{font-size:1.05rem;line-height:1.35;font-weight:700;letter-spacing:0;margin:0;color:var(--accent)}
body .metrics .parameter-comparison .parameter-arrow{font-size:1.25rem;line-height:1;margin:0;color:var(--accent)}
body .metrics p{margin:8px 0 0}

/* Compact result comparisons: zero-origin bars with visible values and labels. */
body .comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body .comparison-grid>article,body .comparison-grid>article:first-child,body .comparison-grid>article:last-child{padding:24px;border:1px solid #e2e4e9;border-radius:12px;background:#fff;min-width:0}
body .comparison-grid h4{font-family:Inter,Arial,sans-serif;font-size:1.15rem;line-height:1.4;margin:8px 0}
body .comparison-grid .eyebrow{font-size:.72rem;margin:0;letter-spacing:.08em}
body .comparison-grid .mini-chart-metric{font-size:.78rem;line-height:1.5;margin:0 0 22px;color:#555770}
body .mini-chart-row+.mini-chart-row{margin-top:17px}
body .mini-chart-label{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:3px 10px;font-size:.8rem;line-height:1.5;margin-bottom:6px;color:#555770}
body .mini-chart-label strong{font-size:.85rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;color:#1a1a2e}
body .mini-bar-track{height:12px;background:#edf0f5;border-radius:3px;overflow:hidden}
body .mini-bar{display:block;height:100%;border-radius:3px;background:#78859a}
body .mini-bar.core{background:var(--accent)}
body .mini-chart-axis{display:flex;justify-content:space-between;font-size:.68rem;font-variant-numeric:tabular-nums;color:#555770;line-height:1.5;margin-top:7px}
body .comparison-grid .gain{font-size:.8rem;margin-top:18px;color:var(--accent)}
@media(max-width:600px){body .comparison-grid{grid-template-columns:1fr;gap:16px}body .comparison-grid>article,body .comparison-grid>article:first-child,body .comparison-grid>article:last-child{padding:20px}}

body #results .tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
body #results .tabs button{padding:16px 10px;text-align:center}
.comparison-legend{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:.8rem;color:#555770;margin:14px 0 36px}
.comparison-legend>span{display:inline-flex;align-items:center;gap:8px}
.comparison-legend i{display:inline-block;width:12px;height:12px;border-radius:2px;background:#78859a}
.comparison-legend i.core{background:var(--accent)}
.dino-metric{font-size:.85rem;color:#555770;margin:0}
.dino-chart{padding:10px 12px 0 0;margin:0 0 22px}
.dino-plot{position:relative;height:240px;margin-left:38px}
.dino-gridline{position:absolute;left:0;right:0;border-top:1px solid #e2e4e9;pointer-events:none}
.dino-gridline>span{position:absolute;right:calc(100% + 9px);top:-10px;font-size:.75rem;line-height:20px;color:#555770;font-variant-numeric:tabular-nums}
.dino-groups{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.dino-group{height:100%;position:relative;min-width:0}
.dino-pair{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:0 12px}
.dino-bar{position:relative;flex:1;max-width:64px;min-width:0;background:#78859a;border-radius:3px 3px 0 0}
.dino-bar.core{background:var(--accent)}
.dino-bar>span{position:absolute;left:50%;transform:translateX(-50%);top:-24px;font-size:.85rem;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums;color:#1a1a2e;white-space:nowrap}
.dino-epoch{position:absolute;top:calc(100% + 10px);left:0;right:0;text-align:center;font-size:.8rem;color:#555770}
body .dino-axis-label{margin:42px 0 0 38px;text-align:center;font-size:.8rem;color:#555770}
@media(max-width:600px){body #results .tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.dino-groups{gap:12px}.dino-pair{gap:7px;padding:0 3px}.dino-bar>span{font-size:.72rem}.dino-plot{height:210px;margin-left:30px}.dino-chart{padding-right:0}.dino-gridline>span{font-size:.68rem;right:calc(100% + 5px)}}

/* Scientific qualifications read as plain supporting copy. */
body .scope-note{background:none;border:0;border-radius:0;padding:0;color:var(--muted);margin-top:24px}

/* Result descriptions are unboxed prose, with no badge or callout styling. */
body #results .result-note,body #results .result-metric{display:block;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;color:var(--muted);font-weight:400}
body #results .result-note{font-size:13px;line-height:1.8;margin:24px 0 0}
body #results .result-metric{font-size:.85rem;line-height:1.7;margin:0}
@media(max-width:600px){body #results .result-note{font-size:12px}}

/* The method steps use neutral rounded cards, separate from the results. */
body .steps{gap:20px;align-items:stretch}
body .steps article{background:#f7f8fa;border:1px solid #e2e4e9;border-radius:16px;padding:24px;min-width:0}
body .steps article>span{position:static;display:block;margin-bottom:16px}
body .steps h3{margin:0 0 12px;font-size:20px;line-height:1.4}
body .steps p{margin:0;font-size:14px;line-height:1.75}
@media(max-width:768px){body .steps{grid-template-columns:1fr;gap:16px}body .steps article{padding:22px}}

/* Keep results compact after removing their descriptor and caption rows. */
body #results .result-intro{margin-bottom:18px}
body #results .language-grid{margin-bottom:0}
body #results .dino-chart{margin-bottom:0}

/* Promote the existing attention statistic above the token-norm explorer. */
body .attention-result{text-align:center;margin:0 auto 36px;max-width:720px}
body .attention-result .eyebrow{font-size:.72rem;line-height:1.7}
body .attention-result .value-pair{justify-content:center;font-size:52px;gap:22px;margin:12px 0}
body .attention-result p{font-size:.8rem;color:var(--muted);line-height:1.7;margin:8px 0 0}
body .attention-result a{color:var(--accent);white-space:nowrap}
body .insight-summary{display:block;max-width:760px;margin:36px auto 0;padding-top:28px}
body .insight-summary>div:first-child p{font-size:15px}
@media(max-width:480px){body .attention-result .value-pair{font-size:40px;gap:14px}}

/* The paper overview occupies the full card after removing its sidebar. */
body .paper-card{display:block;padding:40px}
body .paper-card>div{width:100%;min-width:0}
body .paper-card h2{max-width:none;font-size:2.75rem;line-height:1.2;letter-spacing:-.025em;margin:24px 0}
body .paper-card p{font-size:.95rem;line-height:1.8}
@media(max-width:600px){body .paper-card{padding:24px}body .paper-card h2{font-size:1.8rem;margin:20px 0}body .paper-card p{font-size:.85rem}body .paper-card .button{padding:10px 16px}}

/* Tighten only the overview-to-method boundary. */
body #overview{padding-bottom:24px}
body #overview .abstract-copy{margin-bottom:0}
body #overview .abstract-copy>p:last-child{margin-bottom:0}
body #method{padding-top:40px}
/* A clear subsection hierarchy within the attention analysis. */
body #insights .insight-summary{margin-top:36px;padding-top:32px}
body #insights .insight-summary h3{font-family:'Source Serif 4',Georgia,serif;font-weight:700;font-size:1.8rem;line-height:1.35;letter-spacing:0;margin:0 0 18px}
body #insights .insight-summary p{font-size:1.05rem;line-height:1.75;color:var(--ink)}
body #insights .mechanism-link{display:inline-flex;align-items:center;gap:10px;font-size:.9rem;font-weight:600;line-height:1.7;margin-top:20px;padding:4px 0;color:var(--accent);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
body #insights .mechanism-link:hover{color:var(--accent-dark);text-decoration-thickness:2px}
body #insights .mechanism-link:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
@media(max-width:768px){body #overview{padding-bottom:20px}body #method{padding-top:28px}body #insights .insight-summary h3{font-size:1.5rem}body #insights .insight-summary p{font-size:1rem}}
