/* One public-page frame, with comfortable line lengths inside it. */
:root { --ink:#f1eee7; --secondary:#c5cdd8; --muted:#a8b4c4; --atlas-width:1080px; --atlas-gutter:56px; }
body > .masthead { width:min(100%,var(--atlas-width)); margin-inline:auto; padding:20px var(--atlas-gutter); gap:25px; }
body > main,body > main[class] { width:min(100%,var(--atlas-width)); max-width:var(--atlas-width); padding-inline:var(--atlas-gutter); }
.masthead .brand { flex-shrink:0; }
.masthead nav { gap:27px; font-size:13px; }
.masthead nav .section-pill { font-size:13px; }
.masthead nav a { min-height:40px; display:inline-flex; align-items:center; }
.masthead .section-switch { padding:4px; border-color:var(--line); background:#101c2b; }
body > main > footer { margin-top:40px; padding:26px 0 32px; border-top:1px solid var(--line); align-items:flex-start; }
footer p,.footer-links a,.footer-links button { font-size:12px; }
.footer-links { flex-wrap:wrap; gap:8px 22px; }
.footer-links a,.footer-links button { min-height:32px; display:inline-flex; align-items:center; }

/* A gold note, with less visual weight than the navigation and article. */
.atlas-banner { background:#151e29; color:var(--gold); border-bottom:1px solid #c7ae783d; font-size:11px; letter-spacing:.01em; }
.atlas-banner-window { padding:6px 0; }
.atlas-banner-track { animation-duration:72s; }
.atlas-banner-group { gap:56px; padding-right:56px; }
.atlas-banner-dot { opacity:.5; }
.atlas-banner-toggle { flex-basis:38px; color:var(--gold); border-left:1px solid #c7ae7833; min-height:32px; font-size:12px; }
.atlas-banner-toggle:hover { background:#c7ae7812; }
.atlas-banner-toggle:focus-visible { outline-color:var(--gold); }

/* Section titles share the library's scale and vertical rhythm. */
.stacks-heading,.about-heading { padding:25px 0 30px; }
.stacks-heading h1,.about-heading h1 { font-size:46px; line-height:1.16; letter-spacing:-1.8px; margin:0 0 12px; }
.stacks-heading .eyebrow,.about-kicker { font-size:11px; line-height:1.6; letter-spacing:1.4px; color:var(--muted); margin:0 0 14px; }
.stacks-heading .dek,.about-heading .dek { font-size:15px; line-height:1.7; color:var(--secondary); }
.stacks-intro { margin-top:18px; max-width:76ch; font-size:14px; line-height:1.85; }
.about-section { grid-template-columns:190px minmax(0,1fr); gap:45px; padding:27px 0 38px; border-top:1px solid var(--line); }
.about-section .about-copy { padding-top:0; max-width:72ch; }
.about-label span { color:var(--muted); }
.about-label h2 { font-size:23px; }
.about-copy p { font-size:15px; line-height:1.85; }
.about-copy .donate-note { font-size:12px; }
.donate-button { min-height:44px; }
.research-back { margin-top:18px; }
.guide-heading { padding:27px 0 30px; }
.guide-heading h1 { font-size:46px; line-height:1.16; letter-spacing:-1.6px; margin:14px 0 18px; overflow-wrap:anywhere; }
.guide-heading .eyebrow { color:var(--muted); font-size:11px; letter-spacing:1.3px; }
.guide-intro { font-size:16px; line-height:1.85; margin-bottom:0; }
.guide-check { margin-top:18px; }
.guide-body p { font-size:15px; line-height:1.85; }
.guide-assessment { color:var(--secondary); border-color:var(--line); font-size:11px; }
.stack-type,.stack-evidence,.stack-number { color:var(--muted); }
.stack-evidence { font-size:12px; line-height:1.8; }
.stack-side { padding-top:4px; }
.stack-body h2 { font-size:32px; }
.stack-focus-pills button { border-color:#405169; color:var(--secondary); }
.stack-focus-pills button.active { border-color:var(--gold); }
.stack-topic-pills button.active { background:#c7ae7812; color:var(--gold); }

@media(max-width:760px) {
 :root { --atlas-gutter:6%; }
 body > .masthead { padding:18px var(--atlas-gutter); gap:12px; }
 .stacks-heading,.about-heading { padding:16px 0 25px; }
 .stacks-heading h1,.about-heading h1,.guide-heading h1 { font-size:37px; letter-spacing:-1.1px; }
 .stacks-heading .dek,.about-heading .dek { font-size:14px; }
 .stacks-heading .eyebrow,.about-kicker { font-size:10px; margin-bottom:11px; }
 .stacks-intro { font-size:13px; margin-top:16px; }
 .about-section { grid-template-columns:1fr; gap:15px; padding:23px 0 30px; }
 .about-copy p { font-size:14px; }
 .guide-heading { padding:24px 0 26px; }
 .guide-intro { font-size:15px; }
 .guide-heading h1 { margin:12px 0 17px; }
 .stack-body h2 { font-size:28px; }
 body > main > footer { margin-top:28px; padding:24px 0 30px; gap:18px; }
}
@media(max-width:600px) {
 .masthead nav { gap:14px; font-size:12px; }
 .masthead nav .section-pill { font-size:12px; min-height:36px; }
 .atlas-banner { font-size:11px; }
 .atlas-banner-toggle { min-height:36px; flex-basis:40px; }
 .atlas-banner-window { padding:8px 0; }
}
@media(prefers-reduced-motion:reduce) {
 .atlas-banner-group { padding:2px 6%; gap:6px; }
}
@media print {
 .atlas-banner,body > .masthead { display:none!important; }
 body > main,body > main[class] { max-width:none; width:100%; padding:0; }
}
