/* The light palette stays unchanged; the same brand has a separately tuned dark palette. */
.brand img.brand-logo-dark{display:none}
.theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);transition:background .18s,border-color .18s}
.theme-toggle[hidden]{display:none}
.theme-toggle svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{background:var(--pink-soft);border-color:var(--pink-text)}
.theme-toggle .theme-sun{display:none}
.header{gap:clamp(12px,2vw,25px)}
.header nav{margin-left:auto}
.theme-toggle{order:4}
html[data-theme=dark]{color-scheme:dark;--canvas:#100e10;--paper:#191619;--ink:#f8f4f7;--muted:#c1b5be;--pink:#f36bb4;--pink-text:#f68bc5;--pink-soft:#392332;--line:#54464f;--peach:#e7b99f}
html[data-theme=dark] .brand img.brand-logo-light{display:none}
html[data-theme=dark] .brand img.brand-logo-dark{display:block}
html[data-theme=dark] .theme-moon{display:none}
html[data-theme=dark] .theme-sun{display:block}
html[data-theme=dark] :is(.header-cta,.primary,.form-submit){background:var(--ink);color:var(--paper)}
html[data-theme=dark] :is(.header-cta,.primary,.form-submit):hover{background:var(--pink-text);color:#191619}
html[data-theme=dark] .capability-strip{background:#292129;color:var(--ink)}
html[data-theme=dark] .process-section{background:#231d22}
html[data-theme=dark] .contact-form{background:#241e23;border-color:var(--line)}
html[data-theme=dark] :is(.field input,.field select,.field textarea){background:#191619;border-color:#80717b;color:var(--ink)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#b9aab5;opacity:1}
html[data-theme=dark] .floating-label{background:#30252e;color:var(--ink);border-color:var(--line);box-shadow:0 12px 25px #0003}
html[data-theme=dark] .label-two{background:#382330;color:var(--ink)}
html[data-theme=dark] .label-two .idea-text{color:var(--ink)}
html[data-theme=dark] .legal-hero{background:#2a2028}
html[data-theme=dark] .skip{color:var(--paper)}
html[data-theme=dark] .mascot-disc{background:#402936}
html[data-theme=dark] .mascot-disc:before{border-color:#97617e}
html[data-theme=dark] :is(.mascot-play,.ideas-pause,.greeting-bubble,.steps article){border-color:var(--line)}
html[data-theme=dark] .form-status[data-state=success]{color:#a1e5bc;background:#163625;border-color:#4d926b}
html[data-theme=dark] .form-status[data-state=error]{color:#ffb5c1;background:#3d1c28;border-color:#b25770}
html[data-theme=dark] .form-status[data-state=verifying],html[data-theme=dark] .form-status[data-state=sending]{color:var(--muted)}
html[data-theme=dark] .contact-form[aria-busy=true] .form-submit:after{border-color:#19161955;border-top-color:#191619}
html[data-theme=dark] .whatsapp-hint{background:var(--ink);color:var(--paper)}
@media(max-width:760px){
 .header.nav-ready .theme-toggle{order:1;margin-left:0}
 .header.nav-ready .menu-toggle{order:2}
 .header.nav-ready .brand{max-width:calc(100% - 112px)}
}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
