/* Theme toggle widget + light-mode overrides for the home page. Dark is the default brand look. */
.themeBtn{position:fixed;right:16px;bottom:16px;z-index:9990;width:46px;height:46px;border-radius:50%;border:2px solid #BFFF2E;background:#0A0A0A;color:#BFFF2E;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.35);padding:0;transition:transform .15s}
.themeBtn:hover{transform:scale(1.08)}
.themeBtn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.themeBtn svg{width:22px;height:22px;display:block}
.themeBtn .sun{display:none}
html[data-theme=light] .themeBtn{background:#fff;color:#0A0A0A;border-color:#0A0A0A}
html[data-theme=light] .themeBtn .sun{display:block}
html[data-theme=light] .themeBtn .moon{display:none}

/* ---------- home page, light mode ---------- */
html[data-theme=light]{color-scheme:light}
html[data-theme=light] body{background:#F4F2EE;color:#0a0a0a}
html[data-theme=light] .cream{background:#fff}
html[data-theme=light] .topbar{background:rgba(244,242,238,.94);border-bottom-color:#d9d5c9}
html[data-theme=light] .tb-burger{border-color:#bdb8aa}
html[data-theme=light] .tb-burger span{background:#0a0a0a}
html[data-theme=light] :is(.topbar,.hero,.proofbar,section.sec:not(.cream):not(.cases-sec):not(#surfaces),.final,footer){--neon:#2a7000;--mute:#5c5c55;--line:#d9d5c9;--ink2:#fff}
/* neon used as a background stays lime */
html[data-theme=light] :is(.tb-cta,.nav .mini,.way .price){background:#BFFF2E;color:#0a0a0a}
html[data-theme=light] .tb-links{background:#F4F2EE}
html[data-theme=light] :is(.nav .links a,.tb-links a):hover{color:#0a0a0a}
/* secondary text */
html[data-theme=light] :is(.hero,.proofbar,section.sec:not(.cream):not(.cases-sec):not(#surfaces),.final) :is(.checks,.proofline,.sub,.lede,.mrow p,.cp p,.way p,details p,.tl p,.wnote,.fnote,.stats span,.langline span,.chips i,.note,.fnote2){color:#44443f}
html[data-theme=light] .mrow p b{color:#0a0a0a}
html[data-theme=light] h1 s{color:#8a8a82}
html[data-theme=light] .tag{border-color:rgba(42,112,0,.5);background:rgba(42,112,0,.07)}
html[data-theme=light] .scarce{border-color:rgba(42,112,0,.4);background:rgba(42,112,0,.07)}
html[data-theme=light] .chips span{border-color:rgba(42,112,0,.6)}
html[data-theme=light] .way.hi{box-shadow:0 0 0 4px rgba(42,112,0,.1)}
html[data-theme=light] .cp,html[data-theme=light] .way,html[data-theme=light] .price-box{background:#fff}
html[data-theme=light] .stats{border-color:#d9d5c9}
html[data-theme=light] footer{color:#55554f}
html[data-theme=light] footer :is(.legal a,a){color:#33332e}
html[data-theme=light] .hero::before,html[data-theme=light] .final::before{opacity:.5}
/* audit form */
html[data-theme=light] .afm{background:#fff;border-color:#d9d5c9}
html[data-theme=light] .afm label{color:#5c5c55}
html[data-theme=light] .afm input,html[data-theme=light] .afm select{background:#fff;color:#0a0a0a;border-color:#bdb8aa}
html[data-theme=light] .afm .ck{color:#44443f}
html[data-theme=light] .afm .ck a{color:#2a7000}
html[data-theme=light] .afm .msg{color:#a3261a}
html[data-theme=light] .afm .msg.ok{color:#2a7000}
html[data-theme=light] .final .afm .cta-note,html[data-theme=light] .final .afm .proofline{color:#2a7000}
html[data-theme=light] .final .afm .checks{color:#44443f}

html[data-theme=light] #surfaces{background:#0a0a0a;color:#fff}
html[data-theme=light] .sc{--ink2:#141414;--neon:#BFFF2E;--mute:#8C8C84;--line:#2A2A28;color:#fff;background:#141414}
html[data-theme=light] :is(.st .dot,.tier.sale .nodes b,.vt::before,.dc .bub.me,.st .dot){background:#BFFF2E}
html[data-theme=light] footer .legal a.on{color:#2a7000}
html[data-theme=light] .fit .no li{color:#66665e}
/* ---------- shell pages (legal, case studies, tools) ---------- */
html[data-theme=light]{--bg:#F4F2EE;--card:#fff;--acc:#2a7000;--mut:#5c5c55;--ln:#d9d5c9;--text:#26261f;--head:#0a0a0a;--soft:#44443f;--card2:#fafaf7;--hdr:rgba(244,242,238,.94);--track:#e4e0d4;--bar:#bdb8aa}
html[data-theme=light] body.shell .hb .tr b.n+u{color:#fff}
html[data-theme=light] body.shell footer a{color:#33332e}
html[data-theme=light] body.shell .box{background:#fff}
html[data-theme=light] body.shell .cta{border-color:#0a0a0a}
html[data-theme=light] body.shell .chg.bad{color:#b3261e}
