/* Kixxo Stage 9: dark public About / legal / common header. */
html[data-kixxo-theme="dark"] {color-scheme:dark;background:#141c28;--ink:#ecf0f8;--muted:#b0bdd1;--line:#3a4960;--blue:#b5c3fa;}
html[data-kixxo-theme="dark"] body {background:#141c28 radial-gradient(ellipse 76% 330px at 90% 0%,rgba(124,130,194,.11),transparent 75%) no-repeat;color:#e9edf7;}
html[data-kixxo-theme="dark"] :is(nav,.document,.feature,.community) {background:#202c3d;border-color:#38475e;box-shadow:0 12px 34px rgba(0,0,0,.18);color:#e9edf7;}
html[data-kixxo-theme="dark"] :is(.document th,nav a[aria-current=page]) {background:#303e55;color:#dae2ff;}
html[data-kixxo-theme="dark"] nav a {color:#b8c5d8;}
html[data-kixxo-theme="dark"] nav a:hover {background:#303e56;color:#fff;}
html[data-kixxo-theme="dark"] :is(.document a,.note a,footer a) {color:#c0ccff;}
html[data-kixxo-theme="dark"] :is(.feature p,.community p,.section-heading p,.note,footer,.meta,.document-footer) {color:#b0bdd1;}
html[data-kixxo-theme="dark"] .document :is(h1,h2,h3) {color:#edf1f9;border-color:#3a4960;}
html[data-kixxo-theme="dark"] .community .cta {background:#697ab5;color:#fff;}
html[data-kixxo-theme="dark"] .community .cta:hover {background:#7a8ac5;}
html[data-kixxo-theme="dark"] .kixxo-public-header {background:rgba(29,39,55,.95);border-color:#354258;box-shadow:0 8px 22px rgba(0,0,0,.15);}
html[data-kixxo-theme="dark"] .kixxo-public-header__action {background:#273348;color:#e4eaf5;border-color:#43516b;}
html[data-kixxo-theme="dark"] .kixxo-public-header__action:hover {background:#344158;}
html[data-kixxo-theme="dark"] .kixxo-public-header__action--primary {background:#53639c;color:#fff;border-color:#6879b4;}
html[data-kixxo-theme="dark"] .kixxo-public-header__action--primary:hover {background:#6677b0;}
html[data-kixxo-theme="dark"] .intro {box-shadow:0 24px 55px rgba(0,0,0,.25);}
@media(prefers-reduced-transparency:reduce){html[data-kixxo-theme="dark"] .kixxo-public-header {background:#1d2737;backdrop-filter:none;-webkit-backdrop-filter:none;}}

/* Stage 19 — exact parity with the private application's dark palette. */
html[data-kixxo-theme="dark"] {--ink:#eaf0fa;--muted:#aab9d0;--line:rgba(141,156,190,.26);--blue:#b8b4f1;}
html[data-kixxo-theme="dark"] body {background-color:#192334;color:#eaf0fa;}
html[data-kixxo-theme="dark"] :is(nav,.document,.feature,.community) {
  background:linear-gradient(155deg,#2a374c,#232f42);
  border-color:rgba(141,156,190,.26);
  color:#eaf0fa;
  box-shadow:0 22px 56px rgba(2,8,20,.3);
}
html[data-kixxo-theme="dark"] nav a[aria-current=page],
html[data-kixxo-theme="dark"] .document th {background:#444666;color:#efeaff;}
html[data-kixxo-theme="dark"] nav a:hover {background:#35425a;color:#f0f2ff;}
html[data-kixxo-theme="dark"] .community .cta {background:#68628d;color:#fff;border-color:#7d78a7;}
html[data-kixxo-theme="dark"] .community .cta:hover {background:#7972a1;}
html[data-kixxo-theme="dark"] .kixxo-public-header__action--primary {background:#68628d;border-color:#7d78a7;}
html[data-kixxo-theme="dark"] .kixxo-public-header__action--primary:hover {background:#7972a1;}
