/* Shared light palette and chapter bands. Legacy body classes retain layout only. */
body.site-light {
 --paper:#eef2f4;--surface:#e2e8ed;--tint:#dce8f0;
 --heading-surface:#005990;--intro-surface:var(--heading-surface);
 --ink:#172e40;--muted:#536774;--brand:#005990;--brand-hover:#004674;
 --accent:#047789;--line:#cfdae2;--focus:#a65f00;
 background:var(--paper);color:var(--ink);
}
body.site-light .button,body.site-light .back-to-top {background:var(--brand);border-color:var(--brand);color:#fff}
body.site-light .button:hover,body.site-light .back-to-top:hover {background:var(--brand-hover)}
body.site-light .button.secondary {background:transparent;color:var(--brand);border-color:var(--brand)}
body.site-light .button.secondary:hover {background:var(--tint)}
body.site-light .chapter-heading {
 padding:clamp(24px,3vw,40px) 0;margin-bottom:32px;background:var(--heading-surface);color:#fff;
 box-shadow:0 0 0 100vmax var(--heading-surface);clip-path:inset(0 -100vmax);text-align:left;
}
body.site-light .chapter-heading :is(h1,h2) {margin:0;color:#fff;line-height:1.5;text-wrap:balance}
body.site-light .chapter-heading .eyebrow {color:#d3e9f6;margin-bottom:10px}
body.site-light main>.chapter-section {padding-top:0}
body.site-light .chapter-section .section-intro {max-width:none}
body.site-light .section-intro>.chapter-heading {margin-bottom:0}
body.site-light.home-dark .chapter-heading {margin-bottom:0}
body.site-light:not(.home-dark) main>section:has(h1) {background:var(--paper)}
/* More specific than the model layout's alternating section backgrounds. */
body.site-light.model-dark #main>.model-hero {background:var(--paper)}
body.site-light .model-contact {display:block}
body.site-light .model-contact-actions {margin-top:24px}
body.site-light .axis-record {color:#fff}
body.site-light .software-teaser {border:0;background:transparent;padding-inline:0}

/* Introduction copy shares the chapter blue; photos, TOCs and specs stay light. */
body.site-light .intro-heading {
 padding-block:clamp(28px,4vw,48px);margin-bottom:32px;background:var(--intro-surface);color:#fff;
 box-shadow:0 0 0 100vmax var(--intro-surface);clip-path:inset(0 -100vmax);
}
body.site-light .intro-heading h1 {color:#fff;margin:0;text-wrap:balance}
body.site-light .intro-heading .eyebrow {color:#d3e9f6;margin-bottom:12px}
body.site-light .intro-heading p {color:#e4eef5;margin-top:20px}
body.site-light .intro-heading a:not(.button) {color:#fff}
body.site-light .intro-heading .compact-tagline span {color:#fff}
body.site-light .intro-heading--contained {padding:28px;box-shadow:none;clip-path:none}
body.site-light.home-dark .intro-heading {margin-bottom:0}
body.site-light main>section:has(>.container>.intro-heading:first-child),
body.site-light main>section:has(>.container>.section-intro:first-child>.intro-heading) {padding-top:0}
@media(max-width:700px){
 body.site-light .intro-heading--contained {padding-inline:0;box-shadow:0 0 0 100vmax var(--intro-surface);clip-path:inset(0 -100vmax)}
}
