/*! Full-site dark mode — scoped to html[data-theme="dark"]. Light mode untouched. */
html[data-theme="dark"]{
  color-scheme:dark;
  --text:#f3f4f6;
  --muted:#9ca3af;
  --dim:#9ca3af;
  --bg:#000000;
  --bg2:#0a0a0b;
  --card:#121316;
  --line:#23262d;
  --line-soft:#23262d;
  --glass:rgba(0,0,0,.72);
  --shadow:0 1px 2px rgba(0,0,0,.45),0 10px 28px rgba(0,0,0,.35);
  --shadow-lg:0 24px 60px -12px rgba(0,0,0,.65);
  --accent:#3b82f6;
  --accent-d:#2563eb;
  --accent-2:#60a5fa;
  --on-accent:#fff;
}

html[data-theme="dark"] body,
html[data-theme="dark"] body.wm{
  background:#000!important;
  color:var(--text);
}

/* Undo white-mock section light palette */
html[data-theme="dark"] body.wm main > section:not(.hero):not(.phero){
  --text:#f3f4f6;
  --muted:#9ca3af;
  --dim:#9ca3af;
  --bg:#000;
  --bg2:#0a0a0b;
  --card:#121316;
  --line:#23262d;
  --line-soft:#23262d;
  --navy:#3b82f6;
  --accent:#3b82f6;
  --accent-d:#2563eb;
  --accent-2:#60a5fa;
  --on-accent:#fff;
  --shadow:0 1px 2px rgba(0,0,0,.45),0 10px 28px rgba(0,0,0,.35);
  --shadow-lg:0 24px 60px -12px rgba(0,0,0,.65);
  background:#000;
  color:var(--text);
}
html[data-theme="dark"] body.wm main > section.alt:not(.hero):not(.phero),
html[data-theme="dark"] .alt{
  background:#0a0a0b;
}
html[data-theme="dark"] body.wm main > section:not(.hero):not(.phero) .lead{
  color:var(--muted);
}
html[data-theme="dark"] body.wm main > section:not(.hero):not(.phero) .eyebrow,
html[data-theme="dark"] body.wm main > section:not(.hero):not(.phero) .hero-note,
html[data-theme="dark"] body.wm main > section:not(.hero):not(.phero) .stage-tag{
  color:#ff7a1a;
}

/* Header / scrolled glass / flat pages */
html[data-theme="dark"] body.wm.scrolled header,
html[data-theme="dark"] body.wm header.hdr-solid{
  --glass:rgba(0,0,0,.78);
}
html[data-theme="dark"] body.wm .top.scrolled,
html[data-theme="dark"] body.wm-flat .top{
  --text:#f3f4f6;
  --muted:#9ca3af;
  --line-soft:#23262d;
  --card:#121316;
  --bg:#000;
  --bg2:#0a0a0b;
  --line:#23262d;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom-color:#23262d;
}
html[data-theme="dark"] body.wm .top.scrolled .logo .on-dark,
html[data-theme="dark"] body.wm-flat .top .logo .on-dark{display:block}
html[data-theme="dark"] body.wm .top.scrolled .logo .on-light,
html[data-theme="dark"] body.wm-flat .top .logo .on-light{display:none}
html[data-theme="dark"] body.wm .top.scrolled .logo::before,
html[data-theme="dark"] body.wm-flat .top .logo::before{
  background-image:url('../img/brand/logo-light.png');
}
html[data-theme="dark"] .top,
html[data-theme="dark"] header.top{
  background:transparent;
  color:var(--text);
}
html[data-theme="dark"] .nav > a,
html[data-theme="dark"] .nav .more > button{
  color:var(--muted);
}
html[data-theme="dark"] .nav > a:hover,
html[data-theme="dark"] .nav .more > button:hover,
html[data-theme="dark"] .nav .more.open > button{
  color:var(--text);
  background:rgba(255,255,255,.06);
}
html[data-theme="dark"] .drop{
  background:#121316;
  border-color:#23262d;
  box-shadow:var(--shadow-lg);
}
html[data-theme="dark"] .drop a{color:var(--text)}
html[data-theme="dark"] .drop a:hover{background:rgba(255,255,255,.06)}
html[data-theme="dark"] .icon-btn{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
}
html[data-theme="dark"] .look,
html[data-theme="dark"] .mode{
  background:#0a0a0b;
  border-color:#23262d;
}
html[data-theme="dark"] .mode::before{background:#23262d}
html[data-theme="dark"] .mode button{color:var(--muted)}
html[data-theme="dark"] .mode button[aria-pressed="true"]{color:var(--text)}

/* Mobile sheet / menu */
html[data-theme="dark"] body.wm .sheet,
html[data-theme="dark"] .sheet{
  --text:#f3f4f6;
  --muted:#9ca3af;
  --bg:#000;
  --bg2:#0a0a0b;
  --card:#121316;
  --line-soft:#23262d;
  --accent:#3b82f6;
  background:#000;
  border-bottom-color:#23262d;
  color:var(--text);
}
html[data-theme="dark"] body.wm .sheet a,
html[data-theme="dark"] .sheet a{
  color:#f3f4f6;
  border-bottom-color:#23262d;
}
html[data-theme="dark"] body.wm .sheet .sheet-label,
html[data-theme="dark"] .sheet .sheet-label{
  color:#3b82f6;
}

/* Footer */
html[data-theme="dark"] body.wm footer,
html[data-theme="dark"] footer{
  --text:#f3f4f6;
  --muted:#9ca3af;
  --dim:#9ca3af;
  --line-soft:#23262d;
  --accent:#3b82f6;
  background:#000;
  border-top:1px solid #23262d;
  color:var(--muted);
}
html[data-theme="dark"] body.wm footer a,
html[data-theme="dark"] footer a{color:var(--muted)}
html[data-theme="dark"] body.wm footer a:hover,
html[data-theme="dark"] footer a:hover{color:#ff7a1a}
html[data-theme="dark"] body.wm footer .foot-logo::before,
html[data-theme="dark"] body.wm footer .logo::before{
  background-image:url('../img/brand/logo-light.png');
}

/* Cards / tiles / chips / generic surfaces */
html[data-theme="dark"] .card,
html[data-theme="dark"] .tile,
html[data-theme="dark"] .app,
html[data-theme="dark"] .summary,
html[data-theme="dark"] .tool,
html[data-theme="dark"] .pill,
html[data-theme="dark"] .rue-chip,
html[data-theme="dark"] .float,
html[data-theme="dark"] .browser,
html[data-theme="dark"] .nextpage a,
html[data-theme="dark"] .legal .toc{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
  box-shadow:var(--shadow);
}
html[data-theme="dark"] .chip,
html[data-theme="dark"] .lg,
html[data-theme="dark"] .row-item,
html[data-theme="dark"] .total,
html[data-theme="dark"] .bar,
html[data-theme="dark"] .chead,
html[data-theme="dark"] .pilltag{
  background:#0a0a0b;
  border-color:#23262d;
  color:var(--muted);
}
html[data-theme="dark"] .answer,
html[data-theme="dark"] .h2,
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{
  color:var(--text);
}
html[data-theme="dark"] .note,
html[data-theme="dark"] .fine,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .muted{color:var(--muted)}

/* Buttons */
html[data-theme="dark"] .btn.ghost{
  color:var(--text);
  box-shadow:inset 0 0 0 1.5px #23262d;
  background:transparent;
}
html[data-theme="dark"] .btn:not(.ghost):not(.sm){
  /* primary stays accent/orange from existing rules */
}

/* Forms */
html[data-theme="dark"] .form,
html[data-theme="dark"] .pq,
html[data-theme="dark"] .chat{
  background:#121316;
  color:var(--text);
  border-color:#23262d;
}
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .ctrl input[type=number],
html[data-theme="dark"] .tool select,
html[data-theme="dark"] input[type=text],
html[data-theme="dark"] input[type=email],
html[data-theme="dark"] input[type=tel],
html[data-theme="dark"] input[type=number],
html[data-theme="dark"] input[type=search],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:#0a0a0b;
  color:var(--text);
  border-color:#23262d;
}
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .form textarea:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] input:focus{
  border-color:#ff7a1a;
  outline-color:#ff7a1a;
}
html[data-theme="dark"] .field label,
html[data-theme="dark"] label{color:var(--muted)}
html[data-theme="dark"] ::placeholder{color:#6b7280}

/* Contact / endcta */
html[data-theme="dark"] body.wm .contact,
html[data-theme="dark"] .contact{
  background:linear-gradient(160deg,#0a0a0b,#121316 55%,#0a0a0b);
  color:var(--text);
}
html[data-theme="dark"] body.wm .contact .lead,
html[data-theme="dark"] .contact .lead{color:var(--muted)}
html[data-theme="dark"] body.wm .contact .eyebrow{color:#ff7a1a}
html[data-theme="dark"] .endcta .box,
html[data-theme="dark"] .endcta{
  background:transparent;
  color:var(--text);
}

/* Integrations band + marquee tiles */
html[data-theme="dark"] #integrations-band{
  background:#0a0a0b;
}
html[data-theme="dark"] .wm-tile{
  background:#121316;
  border-color:#23262d;
  box-shadow:0 18px 34px -14px rgba(0,0,0,.55);
}
html[data-theme="dark"] .wm-tile b{color:#f3f4f6}
html[data-theme="dark"] .int-logos span{
  background:#0a0a0b;
  border-color:#23262d;
}

/* Module explorer / AIW cards */
html[data-theme="dark"] .mx-tabs button{
  background:#121316;
  border-color:#23262d;
  color:var(--muted);
}
html[data-theme="dark"] .mx-panel,
html[data-theme="dark"] .mx-fig,
html[data-theme="dark"] .mx-txt{
  color:var(--text);
}
html[data-theme="dark"] #aiw .aiw-card{
  background:#121316!important;
  border:1px solid #23262d!important;
  box-shadow:0 12px 34px rgba(0,0,0,.45)!important;
  color:var(--text);
}
html[data-theme="dark"] #aiw .aiw-card.aiw-rue{
  background:radial-gradient(110% 80% at 100% 0%,rgba(255,122,26,.18),transparent 60%),linear-gradient(160deg,#121316,#1a120c)!important;
  border-color:rgba(255,122,26,.35)!important;
}
html[data-theme="dark"] #aiw .aiw-card h3,
html[data-theme="dark"] .aiw-card h3,
html[data-theme="dark"] .int-card h3{color:#ff7a1a!important}
html[data-theme="dark"] #aiw .ws-tile{
  background:#0a0a0b!important;
  border:1px solid #23262d!important;
  color:var(--text);
}

/* Comparison / vs cards — keep yes/no readable */
html[data-theme="dark"] .vs-yes{
  background:linear-gradient(150deg,#ff7a1a 0%,#ea580c 55%,#c2410c 100%);
  color:#fff;
}
html[data-theme="dark"] .vs-no{
  background:linear-gradient(150deg,#3b82f6 0%,#1d4ed8 55%,#1e3a8a 100%);
  border:0;
  color:#fff;
}
html[data-theme="dark"] .vs-yes li b,
html[data-theme="dark"] .vs-yes li p,
html[data-theme="dark"] .vs-no li b,
html[data-theme="dark"] .vs-no li p,
html[data-theme="dark"] .vs-yes .vs-sub,
html[data-theme="dark"] .vs-no .vs-sub{color:#fff}
html[data-theme="dark"] .vs-badge{
  background:#0a0a0b;
  color:#fff;
  border-color:#000;
}
html[data-theme="dark"] .vs-no .vs-mk{background:#fff;color:#dc2626}
html[data-theme="dark"] .vs-yes .vs-mk{background:#fff;color:#ea580c}
html[data-theme="dark"] .k-yes,
html[data-theme="dark"] .mark.yes,
html[data-theme="dark"] [class*="k-yes"]{
  color:#4ade80;
}
html[data-theme="dark"] .k-no,
html[data-theme="dark"] .mark.no,
html[data-theme="dark"] [class*="k-no"]{
  color:#f87171;
}

/* FAQ / feature accordions / careers cards */
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .faq details.fq-acc,
html[data-theme="dark"] details.fq-acc,
html[data-theme="dark"] .ft-acc,
html[data-theme="dark"] details.ccard{
  background:#121316!important;
  border-color:#23262d!important;
  box-shadow:0 8px 22px rgba(0,0,0,.35)!important;
  color:var(--text);
}
html[data-theme="dark"] .fq-sum,
html[data-theme="dark"] .ft-h,
html[data-theme="dark"] .fq-t,
html[data-theme="dark"] .ft-acc>summary,
html[data-theme="dark"] details.ccard summary{
  color:var(--text);
}
html[data-theme="dark"] .faq details.fq-acc p,
html[data-theme="dark"] .ft-acc p,
html[data-theme="dark"] details.ccard p{color:var(--muted)}
html[data-theme="dark"] .ft-acc>summary.ft-h:hover,
html[data-theme="dark"] .ft-acc[open]>summary.ft-h{
  background:color-mix(in srgb,var(--c,#3b82f6) 12%,#121316)!important;
}
html[data-theme="dark"] .fq-ic,
html[data-theme="dark"] .ft-ic{
  background:rgba(255,255,255,.06);
}

/* Case study */
html[data-theme="dark"] body.page-case-study.wm main > section#what-changed,
html[data-theme="dark"] html[data-theme=dark] body.page-case-study.wm main > section#what-changed,
html[data-theme="dark"] body.page-case-study.wm main > section#what-changed{
  background:linear-gradient(180deg,#0a0a0b 0%,#000 100%)!important;
  color:var(--text);
}
html[data-theme="dark"] .wc-save{
  background:linear-gradient(135deg,#121316 0%,#13201a 100%)!important;
  border-color:#14532d!important;
  box-shadow:0 10px 30px rgba(0,0,0,.4)!important;
  color:var(--text);
}
html[data-theme="dark"] .wc-save-ic{
  background:#14532d;
  color:#4ade80;
}
html[data-theme="dark"] .wc-card,
html[data-theme="dark"] .wc-panel{
  background:#121316;
  border-color:#23262d;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
  color:var(--text);
}
html[data-theme="dark"] #what-changed .ba-more{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
}
html[data-theme="dark"] .cs-more>summary.cs-btn{
  background:#121316!important;
  border-color:#23262d!important;
  color:var(--text)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.35);
}
html[data-theme="dark"] .trust-pills .tp{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

/* Pricing / tags / CTA bands / price notes */
html[data-theme="dark"] .price-note,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .cta-band{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

/* Calculator */
html[data-theme="dark"] .tool.on{
  background:color-mix(in srgb,var(--accent) 14%,#121316);
  border-color:var(--accent);
}
html[data-theme="dark"] .tool input[type=checkbox]{
  background:#0a0a0b;
  border-color:#23262d;
}

/* Tables */
html[data-theme="dark"] table,
html[data-theme="dark"] .table,
html[data-theme="dark"] .cmp,
html[data-theme="dark"] .matrix{
  background:#121316;
  color:var(--text);
  border-color:#23262d;
}
html[data-theme="dark"] th,
html[data-theme="dark"] td{
  border-color:#23262d;
  color:var(--text);
}
html[data-theme="dark"] th{background:#0a0a0b;color:var(--muted)}
html[data-theme="dark"] tr:nth-child(even) td{background:rgba(255,255,255,.02)}

/* CRM-style mock / status panels (site copy, not screenshots) */
html[data-theme="dark"] .st-card,
html[data-theme="dark"] .status-card,
html[data-theme="dark"] .mock,
html[data-theme="dark"] .crm-card,
html[data-theme="dark"] .shot-cap,
html[data-theme="dark"] .stage,
html[data-theme="dark"] .st-list,
html[data-theme="dark"] .st-row{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
}
html[data-theme="dark"] .st-ic{
  background:#1a1d24;
  color:#e5e7eb;
}

/* Hero mobile rc-stack cards already dark-ish; ensure prog dashes */
html[data-theme="dark"] .rc-stack .rc-card{
  background:#121316;
  border-color:#23262d;
}
html[data-theme="dark"] button.rc-dash{
  background:#23262d;
}

/* Badges / marks */
html[data-theme="dark"] .badge-line span,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .mark,
html[data-theme="dark"] .sol{
  color:#ff7a1a;
}
html[data-theme="dark"] .badge-line.spark-badge span,
html[data-theme="dark"] .spark-badge span{
  background:rgba(255,122,26,.15);
  color:#ffb070;
  border:1px solid rgba(255,122,26,.35);
}

/* Orange accent helpers used in CTAs */
html[data-theme="dark"] .btn.cta,
html[data-theme="dark"] a.btn.sm.cta,
html[data-theme="dark"] .btn[href="get-started.html"]:not(.ghost){
  /* leave existing orange/blue btn paint; ensure contrast */
}

/* Spark chat panel — dark chrome, keep orange accents */
html[data-theme="dark"] #spark-chat-root{color:#f3f4f6}
html[data-theme="dark"] .sc-panel{
  background:#121316;
  border-color:#23262d;
  box-shadow:0 28px 60px -18px rgba(0,0,0,.75),0 0 0 1px rgba(255,122,26,.12);
}
html[data-theme="dark"] .sc-head{
  background:linear-gradient(180deg,#16181d 0%,#121316 100%);
  border-bottom-color:#23262d;
}
html[data-theme="dark"] .sc-htext b{color:#f3f4f6}
html[data-theme="dark"] .sc-close,
html[data-theme="dark"] .sc-speak{
  background:#1a1d24;
  color:#9ca3af;
}
html[data-theme="dark"] .sc-close:hover,
html[data-theme="dark"] .sc-speak:hover,
html[data-theme="dark"] .sc-speak.on{
  background:rgba(255,122,26,.12);
  color:#ff7a1a;
}
html[data-theme="dark"] .sc-body{
  background:#0a0a0b;
}
html[data-theme="dark"] .sc-msg.bot{
  background:#121316;
  border-color:#23262d;
  color:#f3f4f6;
}
html[data-theme="dark"] .sc-msg.user{
  background:#ff7a1a;
  color:#fff;
}
html[data-theme="dark"] .sc-chips{
  background:#0a0a0b;
}
html[data-theme="dark"] .sc-chip{
  background:#121316;
  border-color:rgba(255,122,26,.45);
  color:#ffb070;
}
html[data-theme="dark"] .sc-chip:hover{
  background:rgba(255,122,26,.12);
  border-color:#ff7a1a;
}
html[data-theme="dark"] .sc-foot{
  background:#121316;
  border-top-color:#23262d;
}
html[data-theme="dark"] .sc-foot input{
  background:#0a0a0b;
  border-color:#23262d;
  color:#f3f4f6;
}
html[data-theme="dark"] .sc-foot input:focus{
  border-color:#ff7a1a;
  background:#121316;
}
html[data-theme="dark"] .sc-mic{
  background:rgba(255,122,26,.12);
  border-color:rgba(255,122,26,.45);
  color:#ff7a1a;
}
html[data-theme="dark"] .sc-mic.listening{
  background:#ff7a1a;
  color:#fff;
  border-color:#ff7a1a;
}
html[data-theme="dark"] .sc-send{background:#ff7a1a}
html[data-theme="dark"] .sc-typing{
  background:#121316;
  border-color:#23262d;
}
html[data-theme="dark"] .sc-msg .sc-cta{background:#ff7a1a;color:#fff!important}

/* Legal pages */
html[data-theme="dark"] .legal article,
html[data-theme="dark"] .legal{color:var(--text)}
html[data-theme="dark"] .legal article h3{color:var(--text)}
html[data-theme="dark"] .legal a{color:#60a5fa}

/* Fix explicit light override that forced case-study section white in dark */
html[data-theme="dark"] body.page-case-study.wm main > section#what-changed{
  background:linear-gradient(180deg,#0a0a0b 0%,#000 100%)!important;
}

/* Soften white-heavy status / invoice mock chrome from v-extra without touching <img> */
html[data-theme="dark"] .st-panel,
html[data-theme="dark"] .inv,
html[data-theme="dark"] .invoice-mock,
html[data-theme="dark"] .mock-frame{
  background:#121316;
  border-color:#23262d;
  color:var(--text);
}

/* Selection */
html[data-theme="dark"] ::selection{
  background:rgba(255,122,26,.35);
  color:#fff;
}

/* Code / mono bits */
html[data-theme="dark"] code,
html[data-theme="dark"] pre{
  background:#0a0a0b;
  color:#e5e7eb;
  border-color:#23262d;
}

/* Ensure section separators */
html[data-theme="dark"] hr{
  border-color:#23262d;
}

/* Links in body */
html[data-theme="dark"] main a.link,
html[data-theme="dark"] .v-link a,
html[data-theme="dark"] a.link{
  color:#ff7a1a;
}

/* Hero fade into black page bg */
html[data-theme="dark"] .hero{
  --fade-in:color-mix(in srgb,#000 88%,transparent);
  --fade-out:color-mix(in srgb,#000 45%,transparent);
}
html[data-theme="dark"] body.wm main > section.phero{
  /* keep dark photo heroes; blend to black */
  color:#f3f4f6;
}

/* Tables used in features comparison often have check cells */
html[data-theme="dark"] .yes,
html[data-theme="dark"] td.yes,
html[data-theme="dark"] .check-yes{color:#4ade80}
html[data-theme="dark"] .no,
html[data-theme="dark"] td.no,
html[data-theme="dark"] .check-no{color:#f87171}

/* Career / about cards if any leftover white */
html[data-theme="dark"] .person,
html[data-theme="dark"] .bio,
html[data-theme="dark"] .job,
html[data-theme="dark"] .role-card,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .box{
  color:var(--text);
}

/* Endcta boxes often inherit section bg — ensure text */
html[data-theme="dark"] .endcta h2,
html[data-theme="dark"] .endcta .box h2{color:var(--text)}

/* Case-study metric contrast fixes */
html[data-theme="dark"] .wc-h{color:#ff7a1a}
html[data-theme="dark"] .wc-head .eyebrow{color:#60a5fa}
html[data-theme="dark"] .wc-ctx svg{color:#60a5fa}
html[data-theme="dark"] .wc-save-lbl{color:#86efac}
html[data-theme="dark"] .wc-big{color:#4ade80}
html[data-theme="dark"] .wc-lbl{color:#93c5fd}
html[data-theme="dark"] .wc-card b{color:#f3f4f6}
html[data-theme="dark"] .wc-card b.o{color:#ff7a1a}
html[data-theme="dark"] .wc-pair>div+div{border-left-color:#23262d}
html[data-theme="dark"] .wc-row,
html[data-theme="dark"] #baExtra .wc-row{border-top-color:#23262d}
html[data-theme="dark"] .wc-ic{background:#1e3a5f;color:#93c5fd}
html[data-theme="dark"] .wc-cat{color:#93c5fd}
html[data-theme="dark"] .wc-sub em{color:#ff7a1a}
html[data-theme="dark"] .wc-panel{border-color:#23262d}

/* Sections that inherit light text from white-mock quirks */
html[data-theme="dark"] #aiw,
html[data-theme="dark"] #modules,
html[data-theme="dark"] #addons,
html[data-theme="dark"] #problem,
html[data-theme="dark"] #calc-entry{
  color:#f3f4f6;
}
html[data-theme="dark"] #aiw .lead,
html[data-theme="dark"] #modules .lead{color:#9ca3af}
html[data-theme="dark"] body.wm main > section#aiw,
html[data-theme="dark"] body.wm main > section#modules{
  background:#000;
  color:#f3f4f6;
}

/* Hardcoded light orange headings that stay ok; ensure body copy */
html[data-theme="dark"] body.wm:not(.page-calculator) main > section:not(.hero):not(.phero):not(#problem):not(#calc-entry) .card h3,
html[data-theme="dark"] body.wm:not(.page-calculator) main > section:not(.hero):not(.phero):not(#problem):not(#calc-entry) .mx-txt h3{
  color:#ff7a1a;
}

html[data-theme="dark"] .hero .hero-proof{color:rgba(243,244,246,.9)}
html[data-theme="dark"] .hero .hero-proof a:hover{color:#ff7a1a}
