/* Light theme. Generated by genlight.py from the dark v4 CSS, then hand rules at the end. Default site theme is dark. */
html[data-theme=light]{color-scheme:light;--bg:#f5f1ea;--bg2:#ece6dc;--fg:#141414;--g1:#4f4f55;--g2:#6c6c72;--line:#e2dcd2;--glass:rgba(255,252,247,.62);--glass-b:rgba(20,20,22,.12);--ink:#f5f1ea;--paper:#141414}
html[data-theme=light] .cx{--ink:#f5f1ea;--paper:#141414;--g1:#4f4f55;--g2:#6c6c72;--line:#e2dcd2}
html[data-theme=light] .nav.scrolled{background:rgba(255,252,247,0.92)}
html[data-theme=light] .nav nav a.on{color:var(--fg)}
html[data-theme=light] .filters button.on{color:var(--fg)}
html[data-theme=light] .ig-m{background:#fffcf7}
html[data-theme=light] .seg button.on{color:var(--fg)}
html[data-theme=light] .device{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .vl text{fill:var(--fg)}
html[data-theme=light] .ln{stroke:var(--fg)}
html[data-theme=light] .pts circle{stroke:var(--fg)}
html[data-theme=light] .tools .mono{color:var(--fg)}
html[data-theme=light] .tl dd{color:var(--fg)}
html[data-theme=light] .wordmark{color:var(--fg)}
html[data-theme=light] .sheet{background:#fffcf7}
html[data-theme=light] .grab{background:#fffcf7}
html[data-theme=light] .opts span{border:1px solid #e2dcd2}
html[data-theme=light] .fld input,html[data-theme=light] .fld textarea{border-bottom:1px solid #e2dcd2;color:var(--fg)}
html[data-theme=light] .viewer{background:#fffcf7}
@media (max-width:760px){html[data-theme=light] .tabbar{background:rgba(255,252,247,0.92)}}
@media (max-width:760px){html[data-theme=light] .tabbar .on{color:var(--fg)}}
html[data-theme=light] .wsub-h .wl{color:var(--fg)}
html[data-theme=light] .pf{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .follow{color:var(--fg)}
html[data-theme=light] .pf{background:#fffcf7;border-color:#e2dcd2}
html[data-theme=light] body{color:var(--fg)}
html[data-theme=light] a.mono,html[data-theme=light] .mono.ul,html[data-theme=light] .wx,html[data-theme=light] .follow,html[data-theme=light] .wsub-h .wl{color:var(--fg)}
html[data-theme=light] .chapters{background:rgba(255,252,247,0.92)}
html[data-theme=light] .chapters a.on{color:var(--fg);background:#fffcf7}
html[data-theme=light] .wsub-h .proves{color:var(--fg)}
html[data-theme=light] .wnext{color:var(--fg)}
@media (max-width:760px){html[data-theme=light] .chapters a{border:1px solid #e2dcd2}}
@media (max-width:760px){html[data-theme=light] .chapters a:last-child{border-right:1px solid #e2dcd2}}
html[data-theme=light] .rc{background:#fffcf7}
html[data-theme=light] .rp{border:1px solid rgba(20,20,22,0.2);background:rgba(255,252,247,0.799)}
html[data-theme=light] .rp svg{fill:var(--fg)}
html[data-theme=light] .fld select{border-bottom:1px solid #e2dcd2;color:var(--fg)}
html[data-theme=light] .rv{background:#fffcf7}
html[data-theme=light] .rv-ig{color:var(--fg);border:1px solid rgba(20,20,22,0.2);background:rgba(255,252,247,0.6)}
html[data-theme=light] .rv-prog{background:rgba(20,18,16,0.144)}
html[data-theme=light] .rv-n{color:var(--fg)}
html[data-theme=light] .rv-x{border:1px solid rgba(20,20,22,0.2);background:rgba(255,252,247,0.6)}
html[data-theme=light] .rv-x svg{stroke:var(--fg)}
html[data-theme=light] .rv-snd{color:var(--fg);border:1px solid rgba(20,20,22,0.2);background:rgba(255,252,247,0.6)}
html[data-theme=light] .rv-hint{color:rgba(20,20,22,0.6)}
html[data-theme=light] .wnext{border-top:1px solid var(--line,#e2dcd2);border-bottom:1px solid var(--line,#e2dcd2);color:var(--fg)}
html[data-theme=light] .wnext .wn-l{color:#55555b}
html[data-theme=light] .ln-part{stroke:var(--fg)}
html[data-theme=light] .btn.btn-acc,html[data-theme=light] .btn.btn-solid,html[data-theme=light] .cx .btn.btn-acc{color:var(--fg)}
html[data-theme=light] .btn.btn-acc .arr,html[data-theme=light] .btn.btn-solid .arr{color:#55555b}
html[data-theme=light] .btn.btn-acc:focus-visible,html[data-theme=light] .btn.btn-solid:focus-visible{color:var(--fg)}
html[data-theme=light] .cx-bar a.q{color:var(--fg)!important}
html[data-theme=light] body{background:var(--bg)}
html[data-theme=light] .v3-pill{background:rgba(255,252,247,0.67);border:1px solid rgba(20,20,22,0.128);box-shadow:0 10px 40px rgba(70,50,30,0.098),inset 0 1px 0 rgba(255,255,255,0.24)}
html[data-theme=light] .nav.scrolled .v3-pill{background:rgba(255,252,247,0.92);box-shadow:0 14px 44px rgba(70,50,30,0.154),inset 0 1px 0 rgba(255,255,255,0.24)}
html[data-theme=light] .v3-links a{color:#55555b}
html[data-theme=light] .v3-links a.on{color:var(--fg);background:rgba(20,18,16,0.064)}
html[data-theme=light] .v3-menu{border:1px solid rgba(20,20,22,0.2)}
html[data-theme=light] .v3-msheet{background:rgba(255,252,247,0.92);border:1px solid rgba(20,20,22,0.128);box-shadow:0 20px 60px rgba(70,50,30,0.168)}
html[data-theme=light] .v3-msheet nav a{border-bottom:1px solid rgba(20,20,22,0.074)}
html[data-theme=light] .v3-eyebrow{color:var(--fg)!important}
html[data-theme=light] .v3-h .mono{color:var(--accent,#55555b)!important}
html[data-theme=light] .v3-theme{background:#fffcf7;border:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] .v3-tm{background:#fffcf7}
html[data-theme=light] .v3-price b{color:var(--fg)}
html[data-theme=light] .v3-strip{border:1px solid rgba(20,20,22,0.11);background:#fffcf7}
html[data-theme=light] .v3-lp b{color:var(--fg)}
html[data-theme=light] .v3-stat{background:#fffcf7;border:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] .v3-stat.acc{background:radial-gradient(120% 120% at 0 0,rgba(255,91,46,.22),#fffcf7 60%)}
html[data-theme=light] .v3-stat.acc b{color:#55555b}
html[data-theme=light] .v3-seg{background:rgba(20,18,16,0.032);border:1px solid rgba(20,20,22,0.11)}
html[data-theme=light] .v3-pr{background:#fffcf7;border:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] .v3-case{border:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] .v3-case-in>.mono{color:var(--fg)!important}
html[data-theme=light] .v3-kv b{color:var(--fg)}
html[data-theme=light] .v3-kv>span:first-child b{color:#55555b}
html[data-theme=light] .v3-kv .mono{color:#55555b!important}
html[data-theme=light] #process .steps li{background:#fffcf7;border:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] .v3-tools{border:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] .v3-tools>.mono{color:#55555b!important}
@media (max-width:760px){html[data-theme=light] .tabbar.v3-tab{background:rgba(255,252,247,0.85);border:1px solid rgba(20,20,22,0.128);box-shadow:0 10px 30px rgba(70,50,30,0.14)}}
@media (max-width:760px){html[data-theme=light] .tabbar.v3-tab .on{color:var(--fg)}}
html[data-theme=light] .v4-sheet{background:rgba(255,252,247,0.92);border:1px solid rgba(20,20,22,0.128);box-shadow:0 -20px 60px rgba(70,50,30,0.154),inset 0 1px 0 rgba(255,255,255,0.28)}
html[data-theme=light] .v4-grab{background:rgba(20,18,16,0.224)}
html[data-theme=light] .v4-sh .mono{color:#55555b!important}
html[data-theme=light] .v4-x{border:1px solid rgba(20,20,22,0.164)}
html[data-theme=light] .v4-x svg{stroke:var(--fg)}
html[data-theme=light] .v4-tc,html[data-theme=light] .v4-proof,html[data-theme=light] .v4-vc,html[data-theme=light] .v4-wc .v4-wm{background:#fffcf7;border:1px solid rgba(20,20,22,0.101);box-shadow:0 12px 32px rgba(70,50,30,0.126)}
html[data-theme=light] .v4-chip{border:1px solid rgba(20,20,22,0.164)}
html[data-theme=light] .v4-chip.acc{color:var(--fg)}
html[data-theme=light] .v4-line{border:1px solid rgba(20,20,22,0.11);background:rgba(20,18,16,0.024);color:var(--fg)}
html[data-theme=light] .v4-line b{color:var(--fg)}
html[data-theme=light] .v4-line .mono{color:#55555b!important}
html[data-theme=light] .v4-wt .mono:first-child{color:#55555b!important}
html[data-theme=light] .v4-proof{background:radial-gradient(120% 140% at 0 0,rgba(255,91,46,.2),#fffcf7 60%)}
html[data-theme=light] .v4-proof>.mono{color:var(--fg)!important}
html[data-theme=light] .v4-kv>span:first-child b{color:#55555b}
html[data-theme=light] .v4-vc .mono{color:var(--fg)!important}
html[data-theme=light] .v4-pr{background:rgba(20,18,16,0.028);border:1px solid rgba(20,20,22,0.101)}
html[data-theme=light] .tabbar.v3-tab [aria-expanded=true]{color:var(--fg)}
html[data-theme=light] .s4-pill{box-shadow:0 10px 40px rgba(70,50,30,0.098),inset 0 1px 0 rgba(255,255,255,0.24)}
html[data-theme=light] .s4-nav.scrolled .s4-pill{background:rgba(255,252,247,0.92)}
html[data-theme=light] .s4-links a{color:#55555b}
html[data-theme=light] .s4-links a[aria-current]{color:var(--fg);background:rgba(20,18,16,0.064)}
html[data-theme=light] .s4-ic{border:1px solid rgba(20,20,22,0.2);color:var(--fg)}
html[data-theme=light] .s4-msheet{background:rgba(255,252,247,0.92);box-shadow:0 20px 60px rgba(70,50,30,0.168)}
html[data-theme=light] .s4-msheet nav a{color:var(--fg);border-bottom:1px solid rgba(20,20,22,0.074)}
html[data-theme=light] .ck-nav{box-shadow:0 10px 40px rgba(70,50,30,0.098)}
html[data-theme=light] .cx :is(.card,html[data-theme=light] .cx-card,html[data-theme=light] .faq details,html[data-theme=light] .toc,html[data-theme=light] aside),html[data-theme=light] .lp :is(.card,html[data-theme=light] .faq details),html[data-theme=light] .tp-lc,html[data-theme=light] .tp-inc li,html[data-theme=light] .tp-feat li,html[data-theme=light] .st-card{background:#fffcf7;border:1px solid rgba(20,20,22,0.101)!important;box-shadow:0 12px 32px rgba(70,50,30,0.098)}
@media (max-width:760px){html[data-theme=light] .s4-tab{background:rgba(255,252,247,0.85);box-shadow:0 10px 30px rgba(70,50,30,0.14)}}
@media (max-width:760px){html[data-theme=light] .s4-tab a{color:var(--g2,#55555b)}}
@media (max-width:760px){html[data-theme=light] .s4-tab a[aria-current]{color:var(--fg)}}
html[data-theme=light] body.s4 .lp-sec.paper{background:var(--bg);color:var(--fg);border-bottom:1px solid rgba(20,20,22,0.092)}
html[data-theme=light] body.s4 .lp-sec.paper .lp-head h2,html[data-theme=light] body.s4 .lp-sec.paper .lp-steps h3{color:var(--fg)}
html[data-theme=light] body.s4 .lp-sec.paper .lp-head .intro,html[data-theme=light] body.s4 .lp-sec.paper .lp-note,html[data-theme=light] body.s4 .lp-sec.paper .lp-steps p{color:#55555b}
html[data-theme=light] body.s4.cx .lp-sec.paper p.cx-lab,html[data-theme=light] body.s4 .lp-sec.paper .cx-lab{color:#55555b!important}
html[data-theme=light] body.s4 .lp-sec.paper .cx-lab b,html[data-theme=light] body.s4 .lp-sec.paper .lp-steps .n{color:#55555b}
html[data-theme=light] body.s4 .lp-sec.paper .lp-note a{color:var(--fg)}
html[data-theme=light] body.s4 .lp-sec.paper .lp-steps li{background:rgba(20,18,16,0.032);border:1px solid rgba(20,20,22,0.101)!important}
html[data-theme=light] body.s4 .lp-sec.paper .btn.btn-acc,html[data-theme=light] body.s4 .lp-sec.paper .btn.btn-solid{color:var(--fg)}
html[data-theme=light] .cr-meta{background:rgba(20,18,16,0.032);border:1px solid rgba(20,20,22,0.101)}
html[data-theme=light] .cr-meta .cr-n{color:var(--accent,#55555b)}
html[data-theme=light] .cr-btn{background:rgba(20,18,16,0.048);border:1px solid rgba(20,20,22,0.146)}
html[data-theme=light] .cr-bar{background:rgba(20,18,16,0.08)}
html[data-theme=light] .cr-tc{background:#fffcf7}
html[data-theme=light] .v4-proof.v4-proof2{background:radial-gradient(90% 120% at 0% 0%,rgba(255,91,46,.22),rgba(255,91,46,0) 60%) padding-box,linear-gradient(#fffcf7,#fffcf7) padding-box,
 linear-gradient(135deg,rgba(255,91,46,.75),rgba(255,255,255,.07) 38%,rgba(255,255,255,.05) 62%,rgba(255,91,46,.35)) border-box;box-shadow:0 18px 44px rgba(70,50,30,0.14),0 0 40px -12px rgba(255,91,46,.35),inset 0 1px 0 rgba(255,255,255,0.24)}
html[data-theme=light] .pf-brand{color:var(--fg)}
html[data-theme=light] .pf-kv b{color:var(--fg)}
html[data-theme=light] .v4-foot{border-top:1px solid rgba(20,20,22,0.11)}
html[data-theme=light] .v4-soc a{color:var(--fg);background:rgba(20,18,16,0.048);border:1px solid rgba(20,20,22,0.2)}
html[data-theme=light] .v4-soc a:focus-visible{color:#55555b}
html[data-theme=light] .btn-2nd{border-color:rgba(20,20,22,0.2)}
html[data-theme=light] .cart-btn{border:1px solid rgba(20,20,22,0.2)}
html[data-theme=light] .cart-drawer{background:var(--bg2,#fffcf7)}
html[data-theme=light] .st-card{background:var(--bg2,#fffcf7)}
html[data-theme=light] .st-card .m43{background:#fffcf7}
html[data-theme=light] .tp-phone{border:1px solid #e2dcd2;box-shadow:0 40px 120px -30px rgba(255,91,46,.35),0 0 0 8px rgba(70,50,30,0.28),0 0 0 9px rgba(70,50,30,0.28)}
html[data-theme=light] .tp-feat li{background:linear-gradient(180deg,#fffcf7,#fffcf7)}
html[data-theme=light] .tp-st-in{background:rgba(255,252,247,0.92);border:1px solid #e2dcd2;box-shadow:0 20px 60px rgba(70,50,30,0.14)}
html[data-theme=light] .st-gal img{background:#fffcf7}
html[data-theme=light] .tp-buy .st-deal{color:var(--acc,#55555b)}
html[data-theme=light] .tp-st-cd{color:var(--acc,#55555b)}
html[data-theme=light] .cx-nav{background:rgba(255,252,247,0.92)}
html[data-theme=light] .cx .btn-wa{background:#fffcf7}
html[data-theme=light] .cx-hero .lede{color:#55555b}
html[data-theme=light] .cx-by{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .cx-prose p,html[data-theme=light] .cx-prose li{color:#55555b}
html[data-theme=light] .cx .tw{border:1px solid #e2dcd2}
html[data-theme=light] .cx th,html[data-theme=light] .cx td{border-bottom:1px solid #e2dcd2;color:#55555b}
html[data-theme=light] .cx th{background:#fffcf7}
html[data-theme=light] .cx .tiers>div{background:#fffcf7;border:1px solid #e2dcd2}
html[data-theme=light] .cx-stats{background:#fffcf7;border:1px solid #e2dcd2}
html[data-theme=light] .cx-stats>.big{background:#fffcf7}
html[data-theme=light] .cx-fig{background:#fffcf7;border:1px solid #e2dcd2}
html[data-theme=light] .cx-fig img{background:#fffcf7}
html[data-theme=light] .cx-fig figcaption{border-top:1px solid #e2dcd2}
html[data-theme=light] .cx-card{background:linear-gradient(135deg,rgba(255,91,46,.10),rgba(255,91,46,0) 60%),#fffcf7}
html[data-theme=light] .cx-toc{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .cx-toc li{border-bottom:1px solid #e2dcd2}
html[data-theme=light] .cx-faq{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .cx-rel a{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .cx-author{border:1px solid #e2dcd2;background:#fffcf7}
html[data-theme=light] .cx-post{border:1px solid #e2dcd2;background:#fffcf7}
@media (max-width:760px){html[data-theme=light] .cx-bar{background:rgba(255,252,247,0.92);border-top:1px solid #e2dcd2}}
@media (max-width:760px){html[data-theme=light] .cx-bar .wa{background:#fffcf7}}
html[data-theme=light] .lp-frame{box-shadow:0 40px 80px -30px rgba(70,50,30,0.28)}
html[data-theme=light] .lp-phone{box-shadow:0 40px 70px -24px rgba(70,50,30,0.28)}
html[data-theme=light] .lp-ad{box-shadow:0 30px 60px -20px rgba(70,50,30,0.28)}
html[data-theme=light] .lp-chip{box-shadow:0 20px 40px -16px rgba(70,50,30,0.28)}
html[data-theme=light] .c4-eye{color:#55555b!important}
html[data-theme=light] .c4-cur{border:1px solid rgba(20,20,22,0.146);background:rgba(20,18,16,0.032)}
html[data-theme=light] .c4-filter button{border:1px solid rgba(20,20,22,0.146)}
html[data-theme=light] .c4-card{background:#fffcf7;border:1px solid rgba(20,20,22,0.101);box-shadow:0 18px 50px rgba(70,50,30,0.126)}
html[data-theme=light] .c4-m{background:#fffcf7}
html[data-theme=light] .c4-pill{background:rgba(255,252,247,0.75);border:1px solid rgba(20,20,22,0.182);color:var(--fg)!important}
html[data-theme=light] .c4-demo{color:var(--fg)!important}
html[data-theme=light] .c4-soon{border:1px dashed rgba(20,20,22,0.164);background:rgba(20,18,16,0.016)}
html[data-theme=light] .c4-thumbs img{border:2px solid #e2dcd2}
html[data-theme=light] .c4-soon .mono{color:#55555b!important}
html[data-theme=light] .c4-up{background:radial-gradient(120% 160% at 0 0,rgba(255,91,46,.16),#fffcf7 55%)}
html[data-theme=light] .c4-up .mono{color:#55555b!important}
html[data-theme=light] .c4-faq details{background:#fffcf7;border:1px solid rgba(20,20,22,0.101)!important}
html[data-theme=light] .p4-specs li{background:rgba(20,18,16,0.028);border:1px solid rgba(20,20,22,0.101)}
html[data-theme=light] .p4-specs b{color:var(--fg)}
html[data-theme=light] .tp-feat li{border:1px solid rgba(20,20,22,0.101)!important;box-shadow:0 12px 32px rgba(70,50,30,0.098)}
html[data-theme=light] .tp-feat li .mono{color:#55555b!important}
html[data-theme=light] .tp-inc li{background:#fffcf7!important;border:1px solid rgba(20,20,22,0.101)!important}
html[data-theme=light] .tp-tick{color:#55555b!important}
html[data-theme=light] .tp-lc{background:#fffcf7!important;border:1px solid rgba(20,20,22,0.101)!important}
html[data-theme=light] .tp-guar{background:radial-gradient(120% 140% at 0 0,rgba(255,91,46,.14),#fffcf7 60%)!important}
html[data-theme=light] .st-gal figure{border:1px solid rgba(20,20,22,0.101);box-shadow:0 14px 40px rgba(70,50,30,0.126)}
html[data-theme=light] .tp-band{background:radial-gradient(120% 160% at 0 0,rgba(255,91,46,.14),#fffcf7 55%)!important}
html[data-theme=light] #faq details{background:#fffcf7;border:1px solid rgba(20,20,22,0.101)!important}
html[data-theme=light] .vh-frame{box-shadow:0 40px 120px -30px rgba(255,91,46,.4),0 0 0 8px rgba(70,50,30,0.28),0 0 0 9px rgba(70,50,30,0.28)}
@media (max-width:760px){html[data-theme=light] .vh{background:#fffcf7}}
@media (max-width:760px){html[data-theme=light] .vh-frame{box-shadow:0 30px 90px -20px rgba(255,91,46,.45),0 0 0 6px rgba(70,50,30,0.28),0 0 0 7px rgba(70,50,30,0.28)}}
html[data-theme=light] .nt-cur{border:1px solid rgba(20,20,22,0.2)}
html[data-theme=light] .nt-p b{color:var(--fg)}
html[data-theme=light] .nt-card ul{color:var(--fg)}
html[data-theme=light] .nt-card li:before{color:#55555b}
html[data-theme=light] .nt-fit>div{border-top:1px solid rgba(20,20,22,0.2)}
html[data-theme=light] .nt-guar .nt-seal{color:#55555b}
html[data-theme=light] #ck-form{background:#fffcf7}
html[data-theme=light] .ck-deal{color:#55555b}
html[data-theme=light] .ck-wa a{color:#55555b}
html[data-theme=light] .ck-btn:not(.ck-btn-2){color:var(--fg)}
html[data-theme=light] .ck-btn:not(.ck-btn-2) .arr{color:#55555b}
html[data-theme=light] .ck-btn:not(.ck-btn-2):focus-visible{color:var(--fg)}
html[data-theme=light] .vy-frame{box-shadow:0 40px 120px -30px rgba(255,255,255,0.9),0 0 0 8px rgba(70,50,30,0.28),0 0 0 9px rgba(70,50,30,0.28)}
@media (max-width:760px){html[data-theme=light] .vy-frame{box-shadow:0 30px 90px -20px rgba(255,255,255,0.9),0 0 0 6px rgba(70,50,30,0.28),0 0 0 7px rgba(70,50,30,0.28)}}
html[data-theme=light] .vy-frame{background:#fffcf7}
html[data-theme=light] .vy-cur{border:1px solid rgba(20,20,22,0.182)!important}
html[data-theme=light] .vy-cur button{color:rgba(20,20,22,0.6)!important}
html[data-theme=light] .vy-cur button[aria-pressed=true]{background:rgba(20,18,16,0.112)!important;color:var(--fg)!important}
html[data-theme=light] ::view-transition{background:#fffcf7}
html[data-theme=light] .wa-hd{border:1px solid rgba(20,20,22,0.2)}
html[data-theme=light] .lp .tiers>div{background:var(--ink,#fffcf7)}
html[data-theme=light] .lp .tiers b{color:var(--fg)}
/* ---- hand rules ---- */
html[data-theme=light] body{background:var(--bg);color:var(--fg)}
/* keep media surfaces and the hero dark + legible */
html[data-theme=light] :is(.v3-hero,.hero,.tp-hero,.noir-hero,.v3-float,.v3-card,.cr-card,.cr-lb,.cr-open,.v4-media,.wa-fab,.tp-sticky){--fg:#fff;--g1:#a1a1a1;--g2:#8a8a8e;--line:#1f1f1f;--glass:rgba(18,18,20,.5);--glass-b:rgba(255,255,255,.12)}
html[data-theme=light] :is(.v3-hero,.hero,.tp-hero){color:#fff}
html[data-theme=light] .cr-card{background:#0d0d0f}
/* wordmark is white-on-dark: flip luminance, keep the orange */
html[data-theme=light] :is(.v3-pill,.s4-nav,header,footer,.v4-sheet,.s4-msheet) img[src*="wordmark-dark"]{filter:invert(1) hue-rotate(180deg)}
html[data-theme=light] :is(.s4-tab,.v3-tab) a[aria-current],html[data-theme=light] .v3-tab .on,html[data-theme=light] :is(.s4-tab,.v3-tab) [aria-expanded=true]{color:#141414}
html[data-theme=light] .s4-tab [aria-expanded=true]{color:#141414}
html[data-theme=light] ::selection{background:#ff5b2e;color:#fff}
html[data-theme=light] .v4-grab{background:rgba(20,20,22,.2)}
html.th-anim,html.th-anim *{transition:background-color .35s ease,color .35s ease,border-color .35s ease!important}
/* toggle (both themes) */
.th-tg{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:none;margin:0;padding:0;border-radius:999px;cursor:pointer;color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(242,242,245,.22);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:hidden;transition:border-color .25s,background .25s}
.th-tg:hover{border-color:rgba(255,91,46,.7)}
.th-tg:focus-visible{outline:1px solid #ff5b2e;outline-offset:3px}
.th-i{position:absolute;inset:0;display:grid;place-items:center;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s}
.th-i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.th-sun{transform:translateY(120%) rotate(-90deg);opacity:0}
html[data-theme=light] .th-sun{transform:none;opacity:1;color:#ff5b2e}
html[data-theme=light] .th-moon{transform:translateY(-120%) rotate(90deg);opacity:0}
html[data-theme=light] .th-tg{color:#141414;background:rgba(255,255,255,.6);border-color:rgba(20,20,22,.14)}
.th-tg.th-fix{position:fixed;z-index:146;left:calc(16px + env(safe-area-inset-left));bottom:calc(20px + env(safe-area-inset-bottom))}
@media (prefers-reduced-motion:reduce){.th-i{transition:none}}
/* hero stays dark: restore its light-on-dark controls */
html[data-theme=light] :is(.v3-hero,.tp-hero) :is(.btn,.btn-acc){color:#F2F2F5}
html[data-theme=light] :is(.v3-hero,.tp-hero) .btn:not(.btn-acc){border-color:rgba(255,255,255,.45)}
html[data-theme=light] :is(.s4-menu,.v3-menu) span{background:#141414}
html[data-theme=light] .v4-x svg{stroke:#141414}
html[data-theme=light] .btn-acc{color:#141414}
html[data-theme=light] .btn-acc .arr{color:#FF5B2E}
html[data-theme=light] :is(.v3-hero,.cr-card,.cr-lb,.v3-card,.v3-float){--ink:#0A0A0A;--paper:#F2F2F5}
html[data-theme=light] .tp-hero{background:#0a0a0a;color:#fff;--ink:#0A0A0A;--paper:#F2F2F5}
html[data-theme=light] .tp-hero .btn-acc{color:#F2F2F5}
html[data-theme=light] :is(.v3-hero,.tp-hero,.noir-hero){--bg:#0a0a0a;--bg2:#111}

/* b7: dark-feature cards (Launchpad .c4-up etc.) get a light panel from genlight; keep accents and secondary button visible */
html[data-theme=light] .c4-up .mono{color:#d9481f!important}
html[data-theme=light] .c4-up .btn:not(.btn-acc){border:1px solid rgba(20,20,22,.28);color:var(--fg)}

/* b9: deck cards in light mode get a soft warm shadow instead of the dark-mode halo; side cards dim less */
html[data-theme=light] .cr-card{box-shadow:0 10px 24px -8px rgba(60,40,20,.22),0 2px 6px rgba(60,40,20,.08);border-color:rgba(20,20,22,.1)}
html[data-theme=light] .cr-card.side{box-shadow:0 8px 18px -8px rgba(60,40,20,.18)}
html[data-theme=light] .cr-card.side::after{opacity:.28}
html[data-theme=light] .v4-proof.v4-proof2{box-shadow:0 8px 22px -10px rgba(60,40,20,.18),inset 0 1px 0 rgba(255,255,255,.7)}
html[data-theme=light] .v4-proof2 .pf-brand{color:var(--g1)}
html[data-theme=light] .cr-hth .v3-theme.cr-card{background:#fffcf7}
html[data-theme=light] .cr-hth .v3-theme.cr-card .v3-tb{--fg:#141414;--g1:#4f4f55;--g2:#6c6c72;--ink:#f5f1ea;--paper:#141414;color:var(--fg)}
/* b10: contact sheet socials in light mode */
html[data-theme=light] .v4-soc a{color:#141414;background:rgba(255,255,255,.6);border-color:rgba(20,20,22,.14)}
html[data-theme=light] .v4-soc a:hover,html[data-theme=light] .v4-soc a:focus-visible{color:#ff5b2e;border-color:rgba(255,91,46,.7)}
html[data-theme=light] .v4-foot{border-top-color:rgba(20,20,22,.1)}
