/* aims-device.css · 2026-11-25, his rule: all pages on all sites follow the device's light/dark setting.
   Most of these pages were dark only. This adds the LIGHT version (device set to light) & a DARK version for the few that were light only.
   It resets the colour tokens the pages already use; the page's own colours stay otherwise. Link it AFTER the page's own styles.
   (index, search & help have their own light/dark switch and do not use this file.) */
:root{color-scheme:light dark}
@media (prefers-color-scheme:light){
  :root{--bg:#F8FAFC;--bg2:#ffffff;--bg3:#eef2f7;--surface:#ffffff;--surface2:#eef2f7;--card:#ffffff;
    --text:#0f172a;--dim:#475569;--muted:#5b6b80;--line:rgba(15,23,42,.14);--border:rgba(14,116,144,.2);
    --accent:#0d6e6a;--accent-glow:transparent;--hot:#be185d;--gold:#8a5a00;--green:#047857;--purple:#6d28d9}
  html,body{background:var(--bg)!important;color:var(--text)}
  *,*::before,*::after{text-shadow:none!important}
  /* the top bar & bottom bar stayed dark while their words followed the light theme; headlines were hardcoded white */
  nav,header,#rsAppNav,.bar{background:rgba(248,250,252,.96)!important}
  h1,h2,h3,.h1,.steps-hd,.step-ttl,.faq-a,.section-eyebrow,.fcp,.powered,.logo-txt,strong,p{color:var(--text)}
  nav a,header a,.fcp a,.bar a,footer a,footer span,.back-link,a.back{color:var(--text)}
  .drawer-item.gold,.drawer-item.accent,#paidChip,#status{color:var(--text)!important}
  .section-eyebrow{color:var(--dim)}
  /* 2026-11-25 contrast sweep (verify.html): these pages set their own light-on-dark text with more specific selectors, so the device light text lost to them */
  .disclosure p{color:var(--dim)!important}
  .riq-badge,.riq-badge strong{color:var(--text)!important}
  /* 2026-11-27 (K2): light-theme contrast. Teal buttons & gold badges take white words; small footer links & eyebrows go darker */
  .bt-opt.is-active,.btn-primary,.pt-badge,button[data-checkout-tier="pro"],button[data-checkout-tier="pro_annual"]{color:#fff!important}
  .bt-opt.is-active .bt-save{color:#fff!important;background:transparent!important}
  .bt-save{color:#6f4f00!important}
  /* 2026-12-02 (#3254): /verify's answer text was hard-set to pale-on-dark & vanished on the light page; the Verify button kept pale words on a white hover face (so it looked switched off after a click) */
  .r-txt{color:var(--text)!important}
  .btn-verify{color:#fff!important}
  .btn-verify:hover:not(:disabled){background:#0a5a57!important;color:#fff!important}
  .fcp,.fcp a{color:#3b4656!important;opacity:1!important}
  .hero-eyebrow,.section-eyebrow,.eyebrow{color:#0b5c58!important;opacity:1!important}
  .pt-rise a{color:#0b5c58!important}
  /* 2026-11-30 audit: the "Powered by ReallySolved" link in the top bar kept its dark-theme teal (1.9:1 on the light bar) */
  html:not([data-mode="dark"]) .powered a{color:#0b5c58!important}
}
html[data-mode="light"] .powered a{color:#0b5c58!important}
@media (prefers-color-scheme:dark){
  :root{--bg:#050810;--bg2:#0b1020;--bg3:#0e1424;--surface:#0e1622;--surface2:#131c2c;--card:#0e1622;
    --text:#e8eaf0;--dim:#a3aec2;--muted:#8591a8;--line:rgba(232,234,240,.12);--border:rgba(95,191,180,.16);
    --accent:#5FBFB4;--hot:#ff3d6e;--gold:#f5c842;--green:#00ff88;--purple:#a78bfa}
  html,body{background:var(--bg)!important;color:var(--text)}
  .btn,a.btn,button.btn,.btn-accent,.btn-primary,.searchbox button,.viral a,.capture-form button,.contact a.btn{color:#050810}   /* bright buttons need dark words */
  .powered,span.powered,footer span{color:var(--dim)}
  /* 2026-11-27 (K2): dark-theme contrast */
  .fcp a{opacity:1!important;color:#a9afba!important}
  .section-eyebrow,.hero-eyebrow{opacity:1!important}
  button[data-checkout-tier="premium"],button[data-checkout-tier="premium_annual"]{background:#d62a58!important}
}
