/* Public-site theme. Light is the default; dark applies only when html[data-theme="dark"]
   (set by the header toggle and remembered in localStorage). Pages opt in with $BODYCLASS = 'pub-dark'. */
.theme-toggle{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;padding:0}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
.theme-toggle .ic-sun{display:none}
html[data-theme="dark"] .theme-toggle .ic-sun{display:block}
html[data-theme="dark"] .theme-toggle .ic-moon{display:none}

html[data-theme="dark"] body.pub-dark{--ink:#f2f5fb;--body:#c9d1e3;--muted:#9aa4bc;--faint:#7c869f;--line:#252f45;--line-2:#1c2438;--bg:#0b1220;--surface:#121a2c;--sh-lg:0 14px 40px rgba(0,0,0,.45);background:#0b1220;color:var(--body)}
html[data-theme="dark"] body.pub-dark .nav{background:rgba(11,18,32,.88);border-bottom-color:var(--line)}
html[data-theme="dark"] body.pub-dark .foot{background:#0e1626;border-top-color:var(--line)}
html[data-theme="dark"] body.pub-dark .theme-toggle{background:#162036;color:var(--ink)}
html[data-theme="dark"] body.pub-dark .btn-ghost,html[data-theme="dark"] body.pub-dark .btn-light{background:#162036;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] body.pub-dark .hm-hero,html[data-theme="dark"] body.pub-dark .hm-phero{background:radial-gradient(900px 380px at 50% -10%,rgba(22,131,255,.2),transparent 70%),#0b1220}
html[data-theme="dark"] body.pub-dark .hm-gal{background:linear-gradient(180deg,#0b1220,#0f1a30 50%,#0b1220)}
/* every card-like surface */
html[data-theme="dark"] body.pub-dark :is(.hm-chip,.hm-plan,.hm-plan.hot,.hm-group,.hm-faq details,.hm-compare,.hm-legal-card,.hm-toggle,.hm-panel,.hm-step,.hm-tcard,.hm-soon,.hm-vs .paper,.hm-aud div,.hm-fact,.hm-facts,.hm-feat){background:#121a2c;border-color:var(--line);color:var(--body)}
html[data-theme="dark"] body.pub-dark .hm-feat,html[data-theme="dark"] body.pub-dark .hm-facts{background:#0e1626}
html[data-theme="dark"] body.pub-dark .hm-plan{background:#0f1728}
html[data-theme="dark"] body.pub-dark .hm-compare thead th{background:#0f1728}
/* inner boxes and the soft halo behind each showcase panel */
html[data-theme="dark"] body.pub-dark .hm-note{background:#1a2540;color:var(--body)}
html[data-theme="dark"] body.pub-dark .hm-note b,html[data-theme="dark"] body.pub-dark .hm-note small,html[data-theme="dark"] body.pub-dark .hm-note strong{color:var(--ink)}
html[data-theme="dark"] body.pub-dark .hm-show-visual::before{background:linear-gradient(145deg,rgba(22,131,255,.22),rgba(124,92,255,.2))}
html[data-theme="dark"] body.pub-dark .hm-act span{background:#1a2540}
html[data-theme="dark"] body.pub-dark .hm-pill{background:rgba(22,131,255,.2);color:#6db3ff}
html[data-theme="dark"] body.pub-dark .hm-pill.g{background:rgba(25,164,99,.2);color:#4cd694}
html[data-theme="dark"] body.pub-dark .hm-pill.o{background:rgba(245,158,11,.2);color:#f5b94a}
html[data-theme="dark"] body.pub-dark .hm-pill.r{background:rgba(239,68,68,.2);color:#ff8a80}
html[data-theme="dark"] body.pub-dark .hm-eyebrow{background:rgba(22,131,255,.16);color:#6db3ff}
html[data-theme="dark"] body.pub-dark .hm-toggle a.on{color:#fff}
html[data-theme="dark"] body.pub-dark .hm-phone{background:#050a14}
html[data-theme="dark"] body.pub-dark .hm-plan .btn:not(.btn-primary){background:#1a2540;color:#f2f5fb;border-color:var(--line)}
html[data-theme="dark"] body.pub-dark :is(.hm h1,.hm h2,.hm h3,.hm-plan-p,.hm-faq summary,.hm-chip,.hm-panel-t){color:var(--ink)}
html[data-theme="dark"] body.pub-dark .hm-legal a{color:#6db3ff}
html[data-theme="dark"] body.pub-dark .hm-vs .nt{background:#1a2a4d}
