.rs-page { color:var(--ink); padding-bottom:2rem; }
.rs-page :is(article,section) { scroll-margin-top:18px; }
.rs-page h1,.rs-page h2,.rs-page h3 { margin:.22em 0 .6em; font-family:var(--serif); line-height:1.46; }
.rs-page h1 { font-size:clamp(1.95rem,3.9vw,3.15rem); }
.rs-page h2 { font-size:clamp(1.45rem,2.8vw,2.05rem); }
.rs-page h3 { font-size:clamp(1.17rem,2vw,1.49rem); }
.rs-page h4 { color:var(--blue); font-size:1.03rem; margin:0 0 .4em; }
.rs-page p { line-height:1.9; margin:.4em 0 .8em; }
.rs-hero { padding:clamp(1.4rem,4vw,3rem) 0 1rem; }
.rs-hero .eyebrow { margin-top:1.3rem; }
.rs-hero .lead { max-width:48em; font-size:clamp(1.02rem,1.75vw,1.18rem); }
.rs-lens { margin:1.1rem 0; padding:1rem 1.2rem; border-inline-start:3px solid var(--rust); background:#f8f4ee; }
.rs-lens strong { color:#75472f; }
.rs-lens p { margin:.25rem 0 0; }
.rs-links { display:flex; gap:.2rem 1.35rem; flex-wrap:wrap; }
.rs-links a,.rs-citation a { color:#295271; text-decoration:underline; text-underline-offset:.23em; }
.rs-links a { display:inline-flex;align-items:center;min-height:44px;font-weight:650;font-size:.94rem; }
.rs-index,.rs-stages,.rs-theme { border-top:1px solid var(--rule); padding:clamp(1.5rem,3vw,2.3rem) 0; }
.rs-index ol { list-style:none; padding:0; margin:1rem 0 .45rem; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.6rem; }
.rs-index li a { min-height:3.8rem; display:flex; align-items:center; gap:.85rem; padding:.6rem .85rem; border:1px solid #cfdee8; border-radius:4px; color:#244861; background:#f2f7fa; text-decoration:none; }
.rs-index li a:hover { background:#e8f1f7; text-decoration:underline; }
.rs-index li b { white-space:nowrap;color:#785038; }
.rs-study { background:#fff; border:1px solid var(--rule); border-top:3px solid #809aaa; margin:1.2rem 0; padding:clamp(1rem,2.6vw,1.65rem); border-radius:3px; }
.rs-study header { display:flex; gap:.95rem; align-items:flex-start; margin-bottom:1rem; }
.rs-mark { display:inline-block; padding:.35rem .6rem; background:#eaf1f6; border-radius:4px; color:#284a60; font-size:1.06rem; font-weight:650; white-space:nowrap; }
.rs-study header p { color:#5c6269; font-size:.89rem; margin:0; }
.rs-study header h3 { margin:.15rem 0 0; }
.rs-byline { color:#59646b; font-size:.9rem; }
.rs-byline a { color:#345974; text-underline-offset:.23em; }
.rs-pair,.rs-foundation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(.9rem,2.6vw,1.8rem); }
.rs-pair>section { min-width:0; }
.rs-pair>section+section { border-inline-start:2px solid #d7e2e7; padding-inline-start:clamp(.8rem,2vw,1.5rem); }
.rs-study footer { margin-top:1rem; border-top:1px solid var(--rule); }
.rs-study summary { min-height:44px; padding:.7em 0; color:#355a73; font-weight:650;cursor:pointer; }
.rs-citation,.rs-note { font-size:.91rem; color:var(--muted); overflow-wrap:anywhere; }
.rs-foundation-grid { gap:1rem; }
.rs-foundation-grid article { padding:1.15rem 1.25rem; background:#f5f8fa; border:1px solid var(--rule); border-radius:4px; }
.rs-foundation-grid small { color:#785038; font-weight:650; }
.rs-theme>p { max-width:64em; }
@media(max-width:760px) {
 .rs-index ol { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .rs-index li a { display:grid; gap:.15rem; align-content:center; height:100%; }
 .rs-pair,.rs-foundation-grid { grid-template-columns:minmax(0,1fr); }
 .rs-pair>section+section { border-inline:0; border-top:1px solid var(--rule); padding:.8rem 0 0; }
 .rs-study header { gap:.65rem; }
 .rs-mark { padding:.25rem .4rem; }
}
