/* Shared appearance controls. Light is the first-visit and no-script default.
   Existing page styles remain the dark palette; light overrides are explicit.
   Only the monochrome brand mark is inverted, never product imagery or reports. */
html[data-theme="light"] {
  --ink:#fbfcf8; --panel:#f0f4eb; --panel-2:#fff; --line:#d6ded0;
  --white:#192b20; --soft:#506052; --muted:#5c685e;
  --green:#315b24; --green-soft:#315b24; --lime:#c8f135;
  color-scheme:light;
}
html[data-theme="dark"] { color-scheme:dark; }
html[data-theme="light"], html[data-theme="light"] body {
  background-color:#fbfcf8!important; color:#192b20!important;
}
html[data-theme="dark"], html[data-theme="dark"] body { background-color:#0a0a0c!important; }
.theme-toggle {
  appearance:none; display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center;
  min-height:44px; padding:9px 12px; border:1px solid var(--line,#d6ded0); border-radius:4px;
  color:var(--white,#192b20); background:transparent; cursor:pointer;
  font:500 12px/1.4 'DM Sans',sans-serif; white-space:nowrap; letter-spacing:0;
}
.theme-toggle:hover { border-color:var(--green,#315b24); }
.theme-toggle:focus-visible { outline:3px solid var(--green,#315b24); outline-offset:3px; }
html[data-theme="light"] .theme-logo { filter:none!important; }
html[data-theme="dark"] .theme-logo { filter:invert(1)!important; }
html[data-theme="light"] nav { background:rgba(255,255,255,.97); border-bottom-color:#d6ded0; }
html[data-theme="light"] :is(.nav-links,.site-menu,.nav-panel-card) { background:#fbfcf8!important; border-color:#d6ded0!important; }
html[data-theme="light"] :is(.nav-links>a:not(.nav-cta),.site-menu-utility a,.site-menu-legal a,.nav-panel li a) { color:#506052; }
html[data-theme="light"] :is(.site-menu-primary a,.nav-panel-close) { color:#192b20!important; }
html[data-theme="light"] :is(.nav-links>a:hover,.site-menu-primary a:hover,.site-menu-primary a[aria-current="page"],.nav-panel li a:hover) { color:#315b24!important; }
html[data-theme="light"] :is(.nav-cta,.btn,.skip) { background:#315b24!important; color:#fff!important; border-color:#315b24!important; }
html[data-theme="light"] :is(.nav-cta,.btn):hover { background:#24451b!important; border-color:#24451b!important; box-shadow:0 6px 20px #315b2418; }
html[data-theme="light"] :is(.menu,.nav-burger,.nav-panel-close) { color:#315b24; border-color:#a9b99e; }
html[data-theme="light"] :is(.menu span,.nav-burger span) { background:#315b24!important; }
html[data-theme="light"] :is(.grid-bg,.bg-grid,.site-menu::before) {
  background-image:linear-gradient(to right,rgba(49,91,36,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(49,91,36,.035) 1px,transparent 1px);
}
html[data-theme="light"] :is(.hero-card,.quote,.free-offer) { background:#f0f4e9; border-color:#d5dfcc; }
html[data-theme="light"] :is(.footer-links a,footer,.site-menu-label) { color:#506052; }
html[data-theme="light"] :is(a,button,[tabindex]):focus-visible { outline-color:#315b24; }
@media(max-width:620px) {
  .theme-toggle { font-size:11px; padding-inline:8px; }
  .nav-actions,.nav-right { gap:7px; }
  .nav-inner { gap:10px; }
}
@media(max-width:380px) {
  .theme-toggle { padding-inline:6px; font-size:10px; }
  .nav-actions,.nav-right { gap:5px; }
  nav .nav-cta { font-size:10px!important; padding-inline:9px!important; letter-spacing:.02em!important; }
  .nav-inner { gap:7px; }
}

/* Reviewed homepage light palette, scoped so its dark version stays available. */
html[data-theme="light"]{--ink:#fbfcf8;--panel:#f0f4eb;--line:#d6ded0;--white:#192b20;--soft:#506052;--green:#315b24;--lime:#c8f135}
html[data-theme="light"],html[data-theme="light"] body.theme-home{background:#fbfcf8!important;color:#192b20;color-scheme:light}
html[data-theme="light"] body.theme-home nav{background:#fff;border-bottom-color:#dce3d7}
html[data-theme="light"] body.theme-home .nav-links{background:#fff}
html[data-theme="light"] body.theme-home .btn{background:#315b24;border-color:#315b24;color:#fff!important;box-shadow:0 2px 0 #18361818}
html[data-theme="light"] body.theme-home .btn:hover{background:#24451b;border-color:#24451b}
html[data-theme="light"] body.theme-home .skip{background:#315b24;color:white}
html[data-theme="light"] body.theme-home .hero{padding-top:54px;padding-bottom:54px}
html[data-theme="light"] body.theme-home .hero h1{color:#192b20}
html[data-theme="light"] body.theme-home .hero h1 em{color:#315b24}
html[data-theme="light"] body.theme-home .hero-pain{color:#293d2d}
html[data-theme="light"] body.theme-home .hero .lead{color:#506052}
html[data-theme="light"] body.theme-home .eyebrow{color:#315b24}
html[data-theme="light"] body.theme-home .quiet-link{border-bottom-color:#7e996e}
html[data-theme="light"] body.theme-home .rhythm{background:#f0f4e9;border:1px solid #d5dfcc;border-top:4px solid #a8cb45;box-shadow:0 12px 32px #23461a06;padding:28px}
html[data-theme="light"] body.theme-home .rhythm-step{border-bottom-color:#d0dbc7}
html[data-theme="light"] body.theme-home .rhythm h2{color:#192b20}
html[data-theme="light"] body.theme-home .rhythm p:not(.eyebrow){color:#506052}
html[data-theme="light"] body.theme-home .rhythm-step>span{color:#315b24}
html[data-theme="light"] body.theme-home .report-section{background:#fff}
html[data-theme="light"] body.theme-home .report{background:#fff;border:1px solid #d4ded0;box-shadow:0 10px 30px #243b1c0a;border-radius:8px}
html[data-theme="light"] body.theme-home .report-heading{background:#f3f6ed;border-bottom:1px solid #d4ded0}
html[data-theme="light"] body.theme-home .report figcaption{background:#f7f9f4}
html[data-theme="light"] body.theme-home .report thead{background:#315b24}
html[data-theme="light"] body.theme-home .report th,html[data-theme="light"] body.theme-home .report td{border-bottom-color:#dce3d7}
html[data-theme="light"] body.theme-home .report tbody tr:not(:has(.source-label)) th{background:#fff}
html[data-theme="light"] body.theme-home .report .good{background:#e4f0df;color:#245329}
html[data-theme="light"] body.theme-home .report .watch{background:#fff0c4;color:#634a0a}
html[data-theme="light"] body.theme-home .report .bad{background:#fce4df;color:#8b3025}
html[data-theme="light"] body.theme-home .push-story .operator-view{background:#f4f7ef;border-left:3px solid #a8cb45;padding:16px 18px;color:#304631}
html[data-theme="light"] body.theme-home .green{background:#44864c}
html[data-theme="light"] body.theme-home .yellow{background:#bc8b13}
html[data-theme="light"] body.theme-home .red{background:#bb5142}
html[data-theme="light"] body.theme-home #proof{background:#fbfcf8}
html[data-theme="light"] body.theme-home .quote{background:#f0f4e9;border-color:#d5dfcc;border-top:3px solid #a8cb45}
html[data-theme="light"] body.theme-home blockquote{color:#24412b}
html[data-theme="light"] body.theme-home .advisory-card{background:#f0f4e9;border-color:#d5dfcc;border-left:3px solid #729447}
html[data-theme="light"] body.theme-home .advisory-copy .setup-invitation{color:#192b20}
html[data-theme="light"] body.theme-home .advisory-copy .access-note{color:#506052}
html[data-theme="light"] body.theme-home .details{background:#fff}
html[data-theme="light"] body.theme-home .detail-links a:hover{background:#f5f8ef}
html[data-theme="light"] body.theme-home .trial{background:#eaf0df;border-top-color:#d0dbc7!important}
html[data-theme="light"] body.theme-home .trial h2{color:#192b20}
html[data-theme="light"] body.theme-home footer{color:#506052}
html[data-theme="light"] body.theme-home .menu{color:#315b24;border-color:#b7c5af;background:#f7f9f3}
html[data-theme="light"] body.theme-home a:focus-visible,html[data-theme="light"] body.theme-home button:focus-visible,html[data-theme="light"] body.theme-home [tabindex]:focus-visible{outline-color:#315b24}
@media(max-width:760px){html[data-theme="light"] body.theme-home .hero{padding-top:40px;padding-bottom:40px}
html[data-theme="light"] body.theme-home .rhythm{padding:24px}
html[data-theme="light"] body.theme-home .push-story .operator-view{padding:17px 18px}
}
