/* Nexus static pages: shared frame, type scale and section rhythm (same values as the React pages, see client/src/styles/nexus-frame.css).
   An override layer loaded after each page's inline styles; colors, components, copy, schema and meta are untouched. */
:root{--nx-g:24px;--nx-sec:80px;--nx-sec-sm:64px;--nx-content:1440px;--nx-max:calc(var(--nx-content) + 2 * var(--nx-g))}
@media(min-width:768px){:root{--nx-g:40px;--nx-sec:96px;--nx-sec-sm:72px}}
@media(min-width:1012px){:root{--nx-g:64px}}
@media(min-width:1280px){:root{--nx-g:80px;--nx-sec:128px;--nx-sec-sm:96px}}
@media(min-width:1600px){:root{--nx-sec:144px;--nx-sec-sm:112px}}

/* One frame: header, nav, hero, sections and footer share the same edge (x=80 at 1440, 24 on phones) */
body .wrap{max-width:var(--nx-max);padding-left:var(--nx-g);padding-right:var(--nx-g)}

/* Hero title and lede */
body h1{font-size:clamp(56px,4.4vw,64px);line-height:1.04;letter-spacing:-.025em}
body .hero p.lede{font-size:clamp(17px,1.35vw,22px);line-height:1.6}
body .hero{padding-top:clamp(40px,5vw,72px);padding-bottom:clamp(48px,6vw,88px)}
@media(max-width:860px){body h1{font-size:36px;letter-spacing:-.022em}}

/* Section headings and rhythm */
body main h2{font-size:clamp(34px,calc(1.4rem + 2vw),60px);line-height:1.06;letter-spacing:-.012em}
body main .card h2{font-size:1.5rem;line-height:1.15;letter-spacing:-.02em}
body main section.band{padding-top:var(--nx-sec);padding-bottom:var(--nx-sec)}
body main h3{font-size:22px;line-height:1.25}
