/* Shared appearance controls; dark is the default; an explicit saved choice is preserved. */
.header-actions{display:flex;align-items:center;gap:24px;flex-shrink:0}
.theme-toggle{display:grid;place-items:center;width:38px;height:38px;padding:9px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);transition:background .2s,border-color .2s}
.theme-toggle:hover{background:var(--sage)}
.theme-toggle svg{width:19px;height:19px}
.theme-sun{display:none}
html[data-theme="dark"]{--paper:#121613;--ink:#edf0e7;--muted:#a3ada1;--line:#30392f;--sage:#253025;color-scheme:dark}
[data-theme="dark"] .theme-moon{display:none}
[data-theme="dark"] .theme-sun{display:block}
[data-theme="dark"] .site-header{background:rgba(18,22,19,.94);border-color:var(--line)}
[data-theme="dark"] .brand img{opacity:.95}
[data-theme="dark"] :is(a,button,summary):focus-visible{outline-color:#b1ce9a}
[data-theme="dark"] :is(.header-inner nav a,.header-link,.site-footer a):hover{color:#b1ce9a}
[data-theme="dark"] :is(.intro-copy,.article-content p,.about-story p){color:#b8c0b4}
[data-theme="dark"] .button.dark{color:var(--paper);background:var(--ink)}
[data-theme="dark"] .button.dark:hover{background:#cbdac0}
[data-theme="dark"] .button.light{background:#273128;color:var(--ink)}
[data-theme="dark"] .button.light:hover{background:#354236}
[data-theme="dark"] .visual-card{background:radial-gradient(ellipse at 65% 30%,#31432e 0,#1e3128 45%,#18241f 85%)}
[data-theme="dark"] .visual-card::after{background:linear-gradient(90deg,rgba(23,36,28,.45),transparent 55%),linear-gradient(0deg,rgba(24,38,29,.9),transparent 65%)}
[data-theme="dark"] :is(.animation-toggle,.circle-link){background:#253b2c99;color:#e5eddc;border-color:#89a77a66}
[data-theme="dark"] .circle-link:hover{background:#3b513c}
[data-theme="dark"] .status{background:#273c2a99;border-color:#97b38644}
[data-theme="dark"] .status i{background:#b2cf99}
[data-theme="dark"] :is(.label,.benchmark-change){color:#adca94}
[data-theme="dark"] .benchmark-change.negative{color:#e0ad93}
[data-theme="dark"] :is(.model-icon,.mini-art,.cluster-art,.eval-art){background:#232c23}
[data-theme="dark"] .model-icon span{background:linear-gradient(130deg,#496041,#2a3828);border-color:#6c8260}
[data-theme="dark"] .model-icon span:nth-child(2){background:#35492f}
[data-theme="dark"] .model-icon span:nth-child(3){background:#435d37}
[data-theme="dark"] .token-art span{background:#33412c;border-color:#627254;color:#edf0e7}
[data-theme="dark"] .token-art span:nth-child(even){background:#293727}
[data-theme="dark"] :is(.cluster-art i,.machine-art i){background:linear-gradient(135deg,#596b4f,#31442b);border-color:#819574;box-shadow:0 8px 0 -1px #263622,0 9px 0 #7a8d6c}
[data-theme="dark"] .eval-art i{background:#9bb088}
[data-theme="dark"] .pipeline>div{background:#253225}
[data-theme="dark"] .pipeline>div:nth-child(n+3){background:#322f27}
[data-theme="dark"] :is(.benchmark-chart,.code-block){background:#1e271f}
[data-theme="dark"] .segmented{background:#202921;border-color:var(--line)}
[data-theme="dark"] .segmented button[aria-pressed=true]{background:#36422f;color:var(--ink)}
[data-theme="dark"] .bar-track{background:#323e2e}
[data-theme="dark"] :is(.bar-fill,.legend i){background:#6f8062}
[data-theme="dark"] :is(.bar-line.instruct .bar-fill,.legend span:last-child i){background:#b0ca96}
[data-theme="dark"] .chart-axis{border-color:#424f39;color:#a3ada1}
[data-theme="dark"] .data-table th{border-color:var(--line)}
[data-theme="dark"] .copy-code{background:#2b3729;border-color:#526449;color:var(--ink)}
[data-theme="dark"] .resource-list a:hover{color:#b1ce9a}
[data-theme="dark"] .skip-link{background:#253025;color:var(--ink)}
[data-theme="dark"] :is(.cluster-stage,.cluster-mini,.token-equation){background:#1e2a20}
[data-theme="dark"] :is(.cluster-note,.cluster-node>span:not(.machine-art),.cluster-node small,.ring-order,.cluster-detail p,.cluster-detail dt,.token-equation span){color:#acbda0}
[data-theme="dark"] .cluster-node:hover{background:#2b3b29}
[data-theme="dark"] .cluster-node[aria-pressed=true]{background:#32422d;border-color:#738a61}
[data-theme="dark"] .cluster-detail{border-color:var(--line)}
[data-theme="dark"] .cluster-mini span{background:linear-gradient(135deg,#43583b,#2a3827);border-color:#728965;color:#edf0e7}
[data-theme="dark"] .cluster-mini::before{background:#697e5d}
[data-theme="dark"] .cluster-nodes::before{border-color:#697e5d}
[data-theme="dark"] .release-model::before,[data-theme="dark"] .release-model::after{-webkit-text-stroke-color:#b4cc9a}
@media(max-width:1000px) and (min-width:701px){.header-inner{gap:20px;padding-inline:30px}.header-inner nav{gap:20px}.header-actions{gap:14px}.header-link{font-size:12px}}
/* Two calm rows keep every navigation link and the toggle usable on phones. */
@media(max-width:700px){.site-header{height:112px}.header-inner{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px 22px}.header-actions{grid-column:2;grid-row:1}.header-inner nav{grid-column:1/-1;grid-row:2;justify-content:space-between;font-size:12px;gap:12px}.header-inner nav a:nth-child(2){display:inline}.theme-toggle{width:34px;height:34px;padding:7px}html{scroll-padding-top:125px}.article-content section{scroll-margin-top:135px}}

/* Keep the five navigation destinations readable on narrower screens. */
@media(min-width:701px) and (max-width:900px){.header-link{display:none}.header-inner nav{gap:16px}}
@media(max-width:400px){.header-inner nav{gap:6px;font-size:11px}}

/* Training uses the same one-pass terminal treatment as About. */
.release-intro h1.training-terminal{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(19px,4.4vw,64px);font-weight:400;letter-spacing:-.045em;line-height:1.22}
.training-terminal .terminal-line.is-settling .terminal-text::after{animation:terminal-blink .8s steps(1,end) 5}
@media(max-width:700px){.release-intro h1.training-terminal{font-size:clamp(19px,5.2vw,36px)}}
