/* The public site's DARK palette — the app's dark theme, surface for surface: the one place it is written.

   A file of its own, and not a block of site.css, because two kinds of page switch it on and only one of
   them can run a script:

     - the landing and install pages link it outright; theme.js stamps `data-theme` on <html> (the
       visitor's choice, else the device's) and the markup's own `data-theme="light"` is what a page
       without the script keeps;
     - the legal documents cannot carry a script or a stamp (terms.html is bound by its bytes to every
       acceptance, `ct.authapp.legal`), so their stylesheet imports this file instead — under the
       device's `prefers-color-scheme`, or outright or not at all when the visitor chose on the site
       (the server reads that choice from the `certisia-theme` cookie theme.js keeps,
       `website.legal_css`).

   Hence the selector: every page that is not stamped light. */
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --page: #0b1017;
  --page-2: #0f1822;
  --card: #16212e;
  --card-2: #131d28;
  --ink: #e8eef4;
  --ink-2: #c3cfdb;
  --muted: #93a3b3;
  --dim: #6b7f92;
  --line: #243242;
  --line-soft: #31425a;
  --brand: #16406a;
  --primary: #2a7cc9;
  --primary-hover: #3a8ad6;
  --accent: #4f9ee3;
  --accent-ink: #7db8e8;
  --accent-soft: #1b2c3f;
  --hl: #7db8e8;
  --warm-soft: #3a2f12;
  --warm-ink: #e5c579;
  --warm-line: #55471f;
  --ok: #4dbd6c;
  --ok-soft: #173424;
  --ok-ink: #7fd699;
  --bad-soft: #3a1c18;
  --bad-ink: #f0a093;
  --hero-bg: radial-gradient(120% 90% at 70% 0%, #14304d 0%, #0b1017 62%);
  --glow: rgba(79, 158, 227, 0.26);
  --wave: #7db8e8;
  --wave-alpha: 0.2;
  --contrast-bg: linear-gradient(160deg, #0e2438 0%, #133150 100%);
  --contrast-muted: #a9bccf;
  --lead-bg: linear-gradient(135deg, #16406a 0%, #1c5182 100%);
  --closing-bg: linear-gradient(150deg, #16406a 0%, #0e2438 100%);
  --foot-bg: #080d13;
  --drudge-1: #3a1f1b;
  --drudge-2: #2a1815;
  --drudge-ink: #f0a093;
  --free-bg: #173424;
  --free-ink: #7fd699;
  --store-bg: #000000;

  --app-bg: #0f1822;
  --app-card: #16212e;
  --app-card-2: #131d28;
  --app-ink: #e8eef4;
  --app-muted: #93a3b3;
  --app-line: #26333f;
  --app-in: #212d3a;
  --app-in-line: #2c3b4b;
  --app-accent: #4f9ee3;
  --app-brand: #16406a;
  --app-brand-ink: #7db8e8;
  --app-ghost: #2d3945;
  --app-ok: #4dbd6c;
  --app-ok-soft: #173424;
  --app-warn-bg: #3a2f12;
  --app-warn-ink: #e5c579;
  --app-day: rgba(255, 255, 255, 0.07);
  --phone-frame: #05080c;

  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-2: 0 12px 32px rgba(0, 0, 0, 0.45);
  --sh-3: 0 34px 80px rgba(0, 0, 0, 0.6);
  --sh-btn: 0 6px 18px rgba(42, 124, 201, 0.35);
}
