/* 17 Nov (Shali): "bg more light", then "more light bg overall site": every section is white, including the hero, the
   closing call and the top bar (dark before); cards and panels take a soft warm grey (#F5F3EF) so they read without
   strokes or shadows. Text on the former dark sections switches to ink. Header stays in its light state everywhere
   (inline script). v2 of this file (light tints, dark hero) is in work/backups/2026-11-17-joey-copy-before/. */
:root { --lt-page: #ffffff; --lt-card: #f5f3ef; --lt-panel: #efebe4; --ink: #141414; --ink-2: #5d5a55; --ink-3: #8c8882; }
html, body { background: var(--lt-page) !important; }

/* sections */
html[lang] body :is(section#quiet-story, #quiet-story .quiet-stage, section#beyond, #beyond.da-addons, section#care, #care .care-canvas,
  section#programs, section#myhealth, section#about, section#faq, section#final-cta, .home-hero-track, section#top) { background: var(--lt-page) !important; }
html[lang] body :is(footer.ft, footer.legal-footer) { background: #faf9f6 !important; }

/* cards and panels */
html[lang][data-cards] body :is(#myhealth.mh-pastel .mh-card, #programs.pg .pg-card),
html[lang] body :is(#myhealth.mh-pastel .mh-card, #programs.pg .pg-card) { background: var(--lt-card) !important; }
html[lang] body #quiet-story .qx-card.qx-path { background: var(--lt-card) !important; }
html[lang] body #care .cf-fig { background: var(--lt-panel) !important; }
html[lang] body #beyond :is(.dd-addon.yl-addon-card, .dd-addon-image) { background: var(--lt-card) !important; color: var(--ink) !important; }
html[lang] body #beyond .dd-addon.yl-addon-card :is(h3, p, span, li) { color: var(--ink) !important; }
html[lang] body #beyond .dd-addon.yl-addon-card :is(p, .dd-focus) { color: var(--ink-2) !important; }
html[lang] body #beyond .dd-addon.yl-addon-card :is(.dd-addon-category, .dd-focus) { border-color: rgba(20, 20, 20, .2) !important; background: transparent !important; }
html[lang] body #beyond .dd-addon-image::after, html[lang] body #beyond .dd-addon-image::before { display: none !important; }

/* top bar: see-through over the hero film, light once the header turns light */
html[lang] body .masthead:not(.is-light) .ann { background: rgba(14, 14, 15, .28) !important; }
html[lang] body .masthead:not(.is-light) .ann * { color: rgba(245, 243, 239, .9) !important; }
html[lang] body .masthead.is-light .ann { background: var(--lt-card) !important; }
html[lang] body .masthead.is-light .ann * { color: var(--ink) !important; }

/* header: light state everywhere, on white */
html[lang] body .masthead.is-light { background: rgba(255, 255, 255, .86) !important; }

/* hero on white */
html[lang] body #top::before, html[lang] body #top::after { display: none !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_) #top #hero-h, html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_) #top #hero-h * {
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; background: none !important;
}
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_) #top .hero-sub { color: var(--ink-2) !important; }
html[lang] body #top .hero-ctas .hero-assess { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .35) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
@media (hover: hover) and (pointer: fine) { html[lang] body #top .hero-ctas .hero-assess:hover { background: rgba(20, 20, 20, .04) !important; } }
html[lang] body #top .hero-facts { background: none !important; border-top-color: rgba(20, 20, 20, .12) !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_) #top .hero-facts li { color: var(--ink-2) !important; }
html[lang] body #top .hero-tip { background: var(--ink) !important; color: #f5f3ef !important; }

/* closing call on white */
html[lang] body #final-cta::before, html[lang] body #final-cta::after, html[lang] body #final-cta .fc-media { display: none !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_) #final-cta :is(.fc-h, .fc-h *, .neo-word) { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; background: none !important; }
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_) #final-cta .fc-lead { color: var(--ink-2) !important; }
html[lang] body #final-cta .fc-cta { background: var(--gold, #e7c089) !important; color: var(--ink) !important; }

/* hero on white (film off): the secondary button keeps a thin ink outline */
html[lang] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #top .hero-ctas .hero-assess { box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .35) !important; background: transparent !important; color: #141414 !important; }
