/* Qanto — theme switch. Light is default; dark uses soft greys (never pure black). */
.nav-right{display:flex;align-items:center;gap:10px}
.theme-btn{width:44px;height:44px;border-radius:6px;border:1.5px solid var(--line);background:transparent;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;transition:background-color .25s ease,border-color .25s ease,color .25s ease}
.theme-btn:hover{background:var(--purple,#7C3AED);border-color:var(--purple,#7C3AED);color:#fff}
.theme-btn .i-sun{display:none}
html[data-theme="dark"] .theme-btn .i-sun{display:block}html[data-theme="dark"] .theme-btn .i-moon{display:none}
html.theme-anim body,html.theme-anim body *{transition:background-color .45s ease,color .45s ease,border-color .45s ease!important}

html[data-theme="dark"]{
  --ink:#F1F1F3;--soft:#2A2A2F;--line:#3A3A41;--muted:#A3A3AD;--t2:#D6D6DB;--t3:#B8B8C0;
  --acc-soft:#3A2327;--acc-ink:#FF8C96;--paper:#202024;color-scheme:dark
}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .nav{background:rgba(32,32,36,.92);border-bottom-color:var(--line)}
html[data-theme="dark"] .soft{background:#26262B}
html[data-theme="dark"] .marq{background:var(--paper);border-color:var(--line)}
html[data-theme="dark"] .foot{border-top-color:var(--line)}
/* surfaces that are white in light mode */
html[data-theme="dark"] .opt,html[data-theme="dark"] .pbadge,html[data-theme="dark"] .badge,html[data-theme="dark"] .form,html[data-theme="dark"] .prod,html[data-theme="dark"] .step-panel{background:#2E2E34;border-color:var(--line)}
html[data-theme="dark"] .soft .svc,html[data-theme="dark"] .svc,html[data-theme="dark"] .step,html[data-theme="dark"] .feat,html[data-theme="dark"] .ftag,html[data-theme="dark"] .lbl{background:#2E2E34}
html[data-theme="dark"] #products .feat{background:#36363D}
html[data-theme="dark"] .tile{background:#3A3A42;color:var(--ink)}
html[data-theme="dark"] .tile.white{background:#3A3A42}
html[data-theme="dark"] .tile.acc{background:var(--acc);color:#fff}
html[data-theme="dark"] .form input,html[data-theme="dark"] .form textarea{background:#26262B;border-color:#45454D;color:var(--ink)}
html[data-theme="dark"] .form input::placeholder,html[data-theme="dark"] .form textarea::placeholder{color:#8E8E98}
html[data-theme="dark"] .stage .imgs{background:#2E2E34}
html[data-theme="dark"] .shot{border-color:var(--line)}
/* places that used ink as a fill */
html[data-theme="dark"] .opt[aria-pressed="true"]{background:#F1F1F3;border-color:#F1F1F3;color:#202024}
html[data-theme="dark"] .menu-btn{background:#3A3A42;color:#F1F1F3}
html[data-theme="dark"] .btn-s{background:transparent;color:var(--ink);border-color:#F1F1F3}
html[data-theme="dark"] .btn::before{background:#F1F1F3}
html[data-theme="dark"] .btn-p:hover,html[data-theme="dark"] .btn-s:hover,html[data-theme="dark"] .btn-p:focus-visible,html[data-theme="dark"] .btn-s:focus-visible{color:#202024}
html[data-theme="dark"] .btn-s:hover{background-color:transparent}
html[data-theme="dark"] .step[aria-pressed="true"]{background:color-mix(in srgb,var(--c,var(--acc)) 22%,#2E2E34)}
html[data-theme="dark"] .step::before{background:color-mix(in srgb,var(--c) 22%,#2E2E34)}
html[data-theme="dark"] .prod .feat:hover{background:color-mix(in srgb,var(--pc) 25%,#2E2E34)}
html[data-theme="dark"] .mrow .o{-webkit-text-stroke-color:#F1F1F3}
html[data-theme="dark"] .mrow .o:hover{color:#F1F1F3}
html[data-theme="dark"] .scrollbar{opacity:.9}
html[data-theme="dark"] .studio{background:var(--acc-soft);color:var(--acc-ink)}
html[data-theme="dark"] .hero .panel{background:#2E2E34}
html[data-theme="dark"] .tipt{background:#F1F1F3;color:#202024}
@media (max-width:720px){.nav-right{gap:8px}}
html[data-theme="dark"] .cards4 .svc>.tile.acc{background:var(--c)}
html[data-theme="dark"] .cards4 .svc:hover>.tile.acc{background:#fff;color:var(--c)}
html[data-theme="dark"] .lbl.acc{background:var(--acc);color:#fff}
html[data-theme="dark"] .step[aria-pressed="true"] .tile,html[data-theme="dark"] .step.lit .tile{background:var(--c)}
