/* Day theme: the toggle, plus hand-tuned fixes on top of the generated light.css. */
.themebtn{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#f2f2f4;cursor:pointer;padding:0;position:relative;overflow:hidden;transition:background .25s,border-color .25s,transform .3s cubic-bezier(.2,1.4,.4,1)}
.themebtn:hover{background:rgba(255,255,255,.14);transform:rotate(-12deg)}
.themebtn:active{transform:scale(.92)}
.themebtn svg{grid-area:1/1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .3s}
.themebtn .t-moon{fill:currentColor;stroke:none}
.themebtn .t-sun{opacity:1;transform:none}.themebtn .t-moon{opacity:0;transform:rotate(-70deg) scale(.5)}
html[data-theme=light] .themebtn{border-color:rgba(11,11,12,.14);background:rgba(11,11,12,.04);color:#131415}
html[data-theme=light] .themebtn:hover{background:rgba(11,11,12,.09)}
html[data-theme=light] .themebtn .t-sun{opacity:0;transform:rotate(70deg) scale(.5)}
html[data-theme=light] .themebtn .t-moon{opacity:1;transform:none}
@media(max-width:700px){.themebtn{width:36px;height:36px}.themebtn svg{width:16px;height:16px}}
/* the circular reveal when switching */
html.vt-theme::view-transition-old(root),html.vt-theme::view-transition-new(root){animation:none;mix-blend-mode:normal}

/* ---------- hand-tuned day theme fixes ---------- */
/* second half of every headline: a readable graphite shimmer instead of silver */
html[data-theme=light] .hl,html[data-theme=light] .lm,html[data-theme=light] .hl .w,html[data-theme=light] .lm .w{background:linear-gradient(110deg,#4a4a50 0%,#7c7c84 30%,#4a4a50 45%,#8a8a92 70%,#4a4a50 100%)!important;background-size:250% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
/* the two hero lines keep the brand orange */
html[data-theme=light] .hero h1 .hl,html[data-theme=light] .hero h1 .hl .w,html[data-theme=light] .pend .hl,html[data-theme=light] .pend .hl .w{background:linear-gradient(110deg,#e4500f 0%,#ff7a3d 40%,#e4500f 70%)!important;background-size:250% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
/* stat cards that turn light on phones */
@media(max-width:700px){html[data-theme=light] .scard b{color:#0b0b0c!important;-webkit-text-fill-color:#0b0b0c}}
/* the live status pill in report cards stays a dark chip, like the app */
html[data-theme=light] .rsnip{background:#0b0b0c!important;color:#f2f2f4!important}
/* Mitra: a clean white chat card with a quiet green edge */
html[data-theme=light] #mitra .chatbox{background:#fff!important;border:1px solid rgba(11,11,12,.08)!important;box-shadow:0 1px 0 rgba(11,11,12,.04),0 30px 70px -38px rgba(11,11,12,.28)!important}
html[data-theme=light] #mitra .chatbox.mglow::before{background:linear-gradient(130deg,rgba(22,163,74,.5),transparent 38%,transparent 62%,rgba(255,106,43,.35))!important}
html[data-theme=light] #mitra .chathead{border-bottom-color:rgba(11,11,12,.08)!important}
html[data-theme=light] #mitra .sugg button{background:#f6f7f8!important;border-color:rgba(11,11,12,.1)!important;color:#131415!important}
html[data-theme=light] #mitra .sugg button svg{color:#16a34a!important}
html[data-theme=light] #mitra .sugg button:hover{background:#eefaf2!important;border-color:rgba(22,163,74,.45)!important}
html[data-theme=light] #mitra .sugg button.nudge{border-color:rgba(22,163,74,.55)!important}
/* logo bars: the lime needs a touch more depth on white */
html[data-theme=light] .logo svg [stroke="#d2f53c"],html[data-theme=light] .fwm svg [stroke="#d2f53c"]{stroke:#a8c814}
/* store feed on the live floor: the tag word reads in olive, not neon */
html[data-theme=light] .feed div b{color:#5f7800!important}
/* the hanging pendant cord passes behind a frosted header and status text, never over the words */
html[data-theme=light] .nav{background:rgba(253,253,255,.74);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html[data-theme=light] .hero .hud{background:rgba(253,253,255,.8);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:12px;padding:8px 12px;margin:-8px -12px}
/* orange buttons: in day mode the hover wipe is ink, so the words turn white */
html[data-theme=light] .btn.or:not(.light *):hover,html[data-theme=light] .btn.or:not(.light *):focus-visible{color:#fff}
html[data-theme=light] .btn.or:not(.light *):hover .ar,html[data-theme=light] .btn.or:not(.light *):focus-visible .ar{background:#ff6a2b;color:#0b0b0c}
html[data-theme=light] .btn.dk:hover,html[data-theme=light] .btn.dk:focus-visible{color:#0b0b0c}
/* inner pages on phones carry Home + switch + CTA + menu: tighten so nothing clips */
@media(max-width:700px){body:has(.homebtn) .themebtn{width:32px;height:32px}body:has(.homebtn) .themebtn svg{width:15px;height:15px}body:has(.homebtn) .nav .wrap{gap:6px!important}}
@media(max-width:360px){.themebtn{width:30px;height:30px}}

/* ---------- contrast pass 2 (full text audit) ---------- */
/* header: the section pill is ink in day mode, so the active link turns white; hover gets a soft tint */
html[data-theme=light] .nav .pill a.on{color:#fff!important}
html[data-theme=light] .nav .pill a:not(.on):not(.here):hover{color:#0b0b0c!important;background:rgba(11,11,12,.06)}
html[data-theme=light] .nav .pill a.here:hover{color:#fff!important}
/* small labels above headings: solid graphite, no fade */
html[data-theme=light] body .kick.kick:not(.gbox *):not(.ph4 *):not(.e3 *):not(.dform *){color:#55555c!important;opacity:1!important}
html[data-theme=light] body .bcat.bcat.bcat,html[data-theme=light] body .rrole.rrole.rrole{color:#55555c!important;opacity:1!important}
/* orange micro-labels on light cards: deeper orange that passes contrast */
html[data-theme=light] body .tn.tn.tn{color:#c2410c!important}
/* "You / Convo" step chips in How it works */
html[data-theme=light] .morph .who,html[data-theme=light] .mlist .who{background:#0b0b0c!important;color:#fff!important}
html[data-theme=light] .morph .who.cv,html[data-theme=light] .mlist .who.cv{background:#d2f53c!important;color:#0b0b0c!important}
/* comparison table: secondary cells */
html[data-theme=light] #compare td.n{color:#5c5c63!important}
/* Mitra answers: customer details in deep green, not neon */
html[data-theme=light] .m.ai .row span:last-child{color:#3f6212!important}
/* orange buttons keep ink text at rest everywhere outside light bands */
html[data-theme=light] .btn.or:not(.light *):not(:hover):not(:focus-visible){color:#0b0b0c!important}
html[data-theme=light] .btn.dk:hover,html[data-theme=light] .btn.dk:focus-visible{color:#0b0b0c!important}
/* phone forms turn light: labels and the promoter count need ink */
@media(max-width:700px){html[data-theme=light] .dform label{color:#55555c!important}html[data-theme=light] .dform b{color:#c2410c!important}}
/* 404 page has its own inline styles */
html[data-theme=light]:not(:has(#nav)) .k{color:#5c5c63}
html[data-theme=light]:not(:has(#nav)) main p,html[data-theme=light]:not(:has(#nav)) p{color:#45454b}
html[data-theme=light]:not(:has(#nav)) .l{color:#0b0b0c;border-color:rgba(11,11,12,.25)}
/* phones: near-solid header in day mode so content sliding underneath doesn't shimmer through */
@media(max-width:700px){html[data-theme=light] body .nav.nav{background:rgba(253,253,255,.96)!important;border-bottom:1px solid rgba(11,11,12,.07)!important}}

/* ---------- forms in day mode: one deliberate design for the demo form on every page and width ---------- */
html[data-theme=light] .dform{background:#fff!important;color:#0b0b0c!important;border:1px solid rgba(11,11,12,.08)!important;box-shadow:0 1px 0 rgba(11,11,12,.03),0 30px 70px -40px rgba(11,11,12,.28)!important}
html[data-theme=light] .dform label{color:#55555c!important}
html[data-theme=light] .dform input[type=text],html[data-theme=light] .dform input[type=tel],html[data-theme=light] .dform input[type=email],html[data-theme=light] .dform textarea,html[data-theme=light] .dform select{background:#f4f5f7!important;color:#0b0b0c!important;-webkit-text-fill-color:#0b0b0c!important;caret-color:#ff6a2b;border:1px solid rgba(11,11,12,.12)!important}
html[data-theme=light] .dform input:focus,html[data-theme=light] .dform textarea:focus{background:#fff!important;border-color:#ff6a2b!important;box-shadow:0 0 0 3px rgba(255,106,43,.16)!important}
html[data-theme=light] .dform input::placeholder,html[data-theme=light] .dform textarea::placeholder{color:#6b6b72!important;-webkit-text-fill-color:#6b6b72!important;opacity:1}
html[data-theme=light] .dform b,html[data-theme=light] .dform output{color:#c2410c!important}
html[data-theme=light] .dform .btn.or{background:#ff6a2b!important;color:#0b0b0c!important}
/* the chat box input */
html[data-theme=light] .cform input{background:#f4f5f7!important;color:#0b0b0c!important;-webkit-text-fill-color:#0b0b0c!important;caret-color:#ff6a2b;border-color:rgba(11,11,12,.14)!important}
html[data-theme=light] .cform input::placeholder{color:#6b6b72!important;-webkit-text-fill-color:#6b6b72!important;opacity:1}
html[data-theme=light] .cform input:focus{border-color:#ff6a2b!important}
/* browser autofill paints its own yellow/blue box: keep our colours */
html[data-theme=light] .dform input:-webkit-autofill,html[data-theme=light] .cform input:-webkit-autofill{-webkit-text-fill-color:#0b0b0c!important;box-shadow:0 0 0 100px #f4f5f7 inset!important;caret-color:#ff6a2b}
/* last two light-mode labels: blog category and the game card label */
html[data-theme=light] .crumbs,html[data-theme=light] .crumbs span,html[data-theme=light] .crumbs a{color:#55555c}
html[data-theme=light] .gbox .kick{color:#9a9aa2!important}
