/* V20 – FINAL LIGHT-LED prototype correction, 24 Nov 2026.
   Runs after legacy styles and V19. Page-specific: homepage + Discover.
   Forest = ink, buttons, small decorative details; NOT large section canvas. */
:root{--lb-ivory:#F7F5EF;--lb-stone:#E7E4DD;--lb-skin:#E6C8B1;--lb-forest:#263B3A;--lb-bronze:#A47A56;--lb-champagne:#D6BD96}
body.page-homepage,body.page-discover{background:#F7F5EF!important;color:#263B3A!important}
body.page-homepage main,body.page-discover main{background:#F7F5EF!important}
/* Explicitly enumerate ALL Homepage sections, rather than relying on legacy default green canvas. */
body.page-homepage main>section.hero,
body.page-homepage main>section.reveal,
body.page-homepage main>section.video-feature,
body.page-homepage main>section.endorsements,
body.page-homepage main>section.pathways,
body.page-homepage main>section.close,
body.page-homepage main>section.photo-band{background:#F7F5EF!important;color:#263B3A!important}
body.page-homepage main>section.media-strip,
body.page-homepage main>section.brent{background:#E7E4DD!important;color:#263B3A!important}
body.page-homepage main>section.close{border-top:1px solid #D6BD96!important}
body.page-homepage main>section.close :is(h2,h3,p,small,.kicker,.label){color:#263B3A!important;text-shadow:none!important}
body.page-homepage main>section.close .btn{background:#263B3A!important;color:#F7F5EF!important;border:1px solid #263B3A!important}
body.page-homepage .photo-band{border:0!important}
body.page-homepage .photo-band::before,body.page-homepage .photo-band::after{background:transparent!important}
body.page-homepage .photo-band :is(h2,h3,p,small){color:#263B3A!important}
body.page-homepage .pathgrid .path{background:#E7E4DD!important;color:#263B3A!important}
body.page-homepage .pathgrid .path :is(h3,p,a){color:#263B3A!important}
body.page-homepage .revealgrid-v17 .revealitem{background:#E7E4DD!important}
body.page-homepage .revealgrid-v17 .revealitem:nth-child(2){background:#E6C8B1!important}
body.page-homepage .revealgrid-v17 .revealitem:nth-child(3){background:#E7E4DD!important}
/* Cover late embedded/inherited layout surfaces on Discover without rewriting any copy. */
body.page-discover main>section.hero,
body.page-discover main>section.what-analysis,
body.page-discover main>section.brain-v14,
body.page-discover main>section.demonstration-v14,
body.page-discover main>section.offers,
body.page-discover main>section.faq,
body.page-discover main>section.v17-ending{background:#F7F5EF!important;color:#263B3A!important}
body.page-discover main>section.v17-language,
body.page-discover main>section.v17-sample,
body.page-discover main>section.after{background:#E7E4DD!important;color:#263B3A!important}
body.page-discover main>section.journey-pains{background:#E6C8B1!important;color:#263B3A!important}
body.page-discover main>section.v17-ending{border-top:1px solid #D6BD96!important}
body.page-discover main>section.v17-ending :is(h2,h3,p,.label,small){color:#263B3A!important;text-shadow:none!important}
body.page-discover main>section.v17-ending .btn{background:#263B3A!important;color:#F7F5EF!important;border:1px solid #263B3A!important}
body.page-discover .offers .offer-card,body.page-discover .offers .offer-card.featured{background:#E7E4DD!important;border-color:#D6BD96!important;color:#263B3A!important}
body.page-discover .offers .offer-card.featured{background:#E6C8B1!important}
body.page-discover .offers .offer-card :is(h3,p,li,strong,small,[class*=price]){color:#263B3A!important;opacity:1!important}
/* Footer and auxiliary panels inherited from the previous green design. */
body.page-homepage .hq-contact-section,body.page-discover .hq-contact-section,
body.page-homepage .hq-discover-library,body.page-discover .hq-discover-library{background:#E7E4DD!important;color:#263B3A!important;border-top:1px solid #D6BD96!important}
body.page-homepage .hq-contact-section :is(h2,p,a),body.page-discover .hq-contact-section :is(h2,p,a),
body.page-homepage .hq-discover-library :is(h2,p,a),body.page-discover .hq-discover-library :is(h2,p,a){color:#263B3A!important}
/* Shared text and buttons: proper contrast on light surfaces. */
body.page-homepage :is(.media-strip,.reveal,.brent,.video-feature,.endorsements,.pathways,.close) :is(h1,h2,h3,h4,p),
body.page-discover :is(.what-analysis,.v17-language,.brain-v14,.journey-pains,.v17-sample,.demonstration-v14,.offers,.after,.faq,.v17-ending) :is(h1,h2,h3,h4,p){text-shadow:none!important;opacity:1!important}
body.page-homepage :is(.btn,.cta):focus-visible,body.page-discover :is(.btn,.cta):focus-visible{outline:3px solid #A47A56!important;outline-offset:3px!important}
/* Modal overlays remain dimmed, but content surfaces are neutral and readable. */
body.page-discover [role=dialog],body.page-discover .v17-offer-modal,body.page-discover .struggle-modal,
body.page-homepage [role=dialog],body.page-homepage .struggle-modal{color:#263B3A}
/* Maintain a modest amount of green only in small actions/accents, never large panels. */
@media(max-width:760px){body.page-homepage .close,body.page-discover .v17-ending{padding-block:55px!important}}
