.scn-page [hidden]{display:none!important}
.scn-page h1{font-size:clamp(2.625rem,4vw,3.2rem);line-height:var(--lh-display)}
.scn-page h3{font-size:var(--text-card);line-height:var(--lh-heading)}
.scn-hero{text-align:center}
.scn-hero>.scn-hero-note{max-width:46rem;margin:var(--space-4) auto 0;font-size:var(--text-lg);line-height:var(--lh-body);color:#5B6068}
.scn-hero>.c-actions{justify-content:center;margin-top:var(--space-5)}
.scn-hero-foot{margin-top:var(--space-4);font-size:var(--text-sm);line-height:var(--lh-body);color:#626873}
.scn-head{margin-bottom:var(--space-5)}
.scn-head>p{max-width:52rem;margin-top:var(--space-3);font-size:var(--text-lg);line-height:var(--lh-body);color:#5B6068}
.scn-usecases{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.scn-workflow{min-width:0;display:flex;flex-direction:column;gap:var(--space-3)}
.scn-card-mark{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3)}
.scn-label{font-size:var(--text-sm);line-height:var(--lh-body);color:#5B6068}
.scn-workflow>.scn-spec{font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--lh-body);font-variant-numeric:tabular-nums;color:#5B6068}
.scn-flow{display:grid;gap:var(--space-3);margin:0;padding-left:var(--space-4)}
.scn-flow li{min-width:0;padding-left:var(--space-1)}
.scn-flow strong{display:block;font-size:var(--text-base);line-height:var(--lh-body);font-weight:var(--weight-bold)}
.scn-flow span{display:block;margin-top:var(--space-2);font-size:var(--text-base);line-height:var(--lh-body);color:#5B6068}
.scn-workflow>.scn-card-note{font-size:var(--text-sm);line-height:var(--lh-body);color:#5B6068;font-variant-numeric:tabular-nums}
.scn-workflow>.c-actions{margin-top:auto;gap:var(--space-2);justify-content:flex-start}
.scn-memory{width:100%;min-width:0;height:auto;border-radius:var(--radius-md);overflow:hidden;background:#F5F5F7;color:#14161A;--muted:#5B6068;--line:#ECEDF0}
.scn-memory-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-5);background:#F1EEFB;color:#3B2F6B;--muted:#3B2F6B;--line:color-mix(in srgb,#3B2F6B 14%,transparent)}
.scn-memory-heading{min-width:0;display:grid;gap:var(--space-2)}
.scn-memory-heading>p{font-size:var(--text-sm);line-height:var(--lh-body);font-variant-numeric:tabular-nums;color:#3B2F6B}
.scn-memory-body{min-width:0;padding:var(--space-5)}
.scn-stage-buttons{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.scn-memory-scale{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-5);font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--lh-body);color:#5B6068;font-variant-numeric:tabular-nums}
.scn-memory-track{display:flex;align-items:stretch;min-width:0;width:100%;height:var(--space-8);margin-top:var(--space-2);border-radius:var(--radius-sm);overflow:hidden;background:#FFFFFF;color:#14161A;--muted:#5B6068;--line:#ECEDF0}
.scn-memory-segment{display:block;min-width:0;flex-shrink:0;transition:width var(--transition)}
.scn-memory-segment--weights{width:56.25%;background:#2B2E35;color:#FFFFFF}
.scn-memory-segment--kv{width:21.875%;background:#8FD0B3;color:#14161A}
.scn-memory-segment--system{width:9.375%;background:#C9BFF0;color:#14161A}
.scn-memory-segment--free{width:12.5%;background:#FFFFFF;color:#14161A}
.scn-memory-track[data-stage="ready"] .scn-memory-segment--weights,
.scn-memory-track[data-stage="ready"] .scn-memory-segment--kv{width:0}
.scn-memory-track[data-stage="ready"] .scn-memory-segment--free{width:90.625%}
.scn-memory-track[data-stage="loaded"] .scn-memory-segment--kv{width:0}
.scn-memory-track[data-stage="loaded"] .scn-memory-segment--free{width:34.375%}
.scn-memory-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin-top:var(--space-4)}
.scn-memory-value{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);min-width:0;padding:var(--space-4);border-radius:var(--radius-md);overflow-wrap:break-word}
.scn-memory-value--weights{background:#2B2E35;color:#FFFFFF;--muted:#B9BDC5;--line:color-mix(in srgb,#F5F5F7 18%,transparent)}
.scn-memory-value--kv{background:#E8F5EF;color:#1F4D3A;--muted:#1F4D3A;--line:#C1DACE}
.scn-memory-value--system{background:#F1EEFB;color:#3B2F6B;--muted:#3B2F6B;--line:color-mix(in srgb,#3B2F6B 14%,transparent)}
.scn-memory-value--free{background:#FFFFFF;color:#14161A;--muted:#5B6068;--line:#ECEDF0}
.scn-memory-value dt{min-width:0;font-size:var(--text-sm);line-height:var(--lh-body)}
.scn-memory-value dd{min-width:0;margin:0;font-family:var(--font-mono);font-size:var(--text-lead);line-height:var(--lh-heading);font-variant-numeric:tabular-nums}
.scn-memory-status{margin-top:var(--space-4);font-size:var(--text-base);line-height:var(--lh-body);color:#14161A}
.scn-memory-caption{padding:var(--space-4) var(--space-5);background:#EAF3FA;color:#1B4466;--muted:#1B4466;--line:#C4D8E8;font-size:var(--text-sm);line-height:var(--lh-body)}
.scn-observations{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:var(--space-5);align-items:start;margin-top:var(--space-5)}
.scn-observation{min-width:0}
.scn-observation>p{margin-top:var(--space-2);font-size:var(--text-base);line-height:var(--lh-body);color:#5B6068}
.scn-match-table{min-width:60rem}
.scn-match-table th:first-child{width:18%;min-width:11rem}
.scn-match-table td{font-variant-numeric:tabular-nums}
.scn-table-note{margin-top:var(--space-4);font-size:var(--text-base);line-height:var(--lh-body);color:#5B6068}
.scn-nodes{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.scn-node-action{margin-top:auto}
.scn-last-section{padding-bottom:var(--space-close)}
.scn-closing.c-closing{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,.35fr);align-items:center;gap:var(--space-7);padding:var(--space-7);border-radius:var(--radius-lg);background:#14161A;color:#F5F5F7;--muted:#B9BDC5;--line:color-mix(in srgb,#F5F5F7 18%,transparent);text-align:left}
.scn-closing>.scn-closing-copy{min-width:0;text-align:left}
.scn-closing-copy>h2{font-size:var(--text-section);line-height:var(--lh-heading);color:#F5F5F7}
.scn-closing-copy>p{margin-top:var(--space-3);font-size:var(--text-base);line-height:var(--lh-body);color:#B9BDC5}
.scn-closing>.scn-closing-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:var(--space-3);margin-top:0;min-width:0}
.scn-closing-actions>.c-btn{width:100%}
.scn-closing-actions>.c-btn--secondary{background:#14161A;color:#F5F5F7;border-color:#B9BDC5}
.scn-closing-actions>.c-btn--secondary:hover{background:#2B2E35;color:#FFFFFF;border-color:#B9BDC5}
@media(max-width:64rem){
.scn-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}
.scn-memory-values{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:42rem){
.scn-usecases,.scn-nodes{grid-template-columns:minmax(0,1fr)}
.scn-memory-top,.scn-memory-body{padding:var(--space-4)}
.scn-memory-caption{padding:var(--space-4)}
.scn-closing.c-closing{grid-template-columns:minmax(0,1fr);gap:var(--space-5);padding:var(--space-4)}
.scn-closing>.scn-closing-actions{margin-top:0}
}
@media(prefers-reduced-motion:reduce){
.scn-memory-segment{transition:none}
}
