/* Shared dark-mode corrections. The light palette remains in each page. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  html { background: #121016; }

  h1, h2, h3, h4, h5, h6,
  h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
  .hero h1, .hero h1 span,
  .feat b, .feat b span, .cta a b, .cta a b span,
  .card b, .card b span, .flow b, .flow b span,
  .hero small, .hero small span, .btn.alt, .btn.alt span {
    color: #fff;
  }

  .window i { background: #1F74CE; }
  .window i::before, .window i::after, .window i b { background: #fff; }

  .tbl th, .tbl td { background: #2a2135; border-color: #4b3c5d; }
  .tbl tbody tr:nth-child(even) > * { background: #342841; }
  .tbl thead th { background: #6940A5; }
  .tbl code { background: #201929; }

  .dlc { background: #2a2135; border-color: #4b3c5d; }
  .dlc.off { background: #302839; }
  .dlc.off .btn.off { background: #302839; }

  .langmenu { background: #211b2a; }
  .langopt:hover { background: #342841; }
}
