/* RDT design tokens — Phase 2 (AUDIT.md "Dark design system and site-wide unification").
   Light values reproduce today's palette exactly, so loading this file changes nothing until body.rdt-dark is present.
   --rdt-canvas and --rdt-band are the semantic names GenerateBlocks sections use for their backgrounds
   (formerly var(--base-3) white and var(--contrast-2) navy). Inside a section they resolve to the raised-card surface. */
:root{
  --rdt-canvas:#ffffff;
  --rdt-band:#1f2641;
  --rdt-radius:14px;
  --rdt-radius-pill:999px;
}
/* Font tokens live on body, not :root: assets/legacy.css declares --rdt-font-head/--rdt-font-body as Rubik/Karla at :root
   for the partner template, and light mode must keep that. */
body.rdt-dark{
  --rdt-font-head:'Inclusive Sans',var(--gp-font--roboto,Roboto),system-ui,sans-serif;
  --rdt-font-body:'Inter',var(--gp-font--inter,Inter),system-ui,sans-serif;
  /* the token set from AUDIT.md */
  --rdt-bg:#050B1A;
  --rdt-surface:#0B1630;
  --rdt-surface-2:#12204A;
  --rdt-navy:#002254;
  --rdt-line:rgba(255,255,255,.10);
  --rdt-text:#E6ECF5;
  --rdt-muted:#9AA8C1;
  --rdt-gold:#F5C400;
  --rdt-gold-hover:#FFD633;
  --rdt-orange:#FF5A1F;
  --rdt-link:#7AA2FF;
  --rdt-success:#3DDC97;
  --rdt-danger:#FF6B6B;
  --rdt-shadow:0 18px 44px rgba(0,0,0,.45);
  --rdt-ring:0 0 0 4px rgba(245,196,0,.28);

  /* semantic section backgrounds */
  --rdt-canvas:var(--rdt-bg);
  --rdt-band:var(--rdt-surface);

  /* GeneratePress global colours: text roles go light, light backgrounds become surfaces.
     --base-3 stays white on purpose: it is the text colour inside navy bands. */
  --contrast:var(--rdt-text);
  --contrast-2:var(--rdt-text);
  --contrast-3:var(--rdt-muted);
  --base:var(--rdt-line);
  --base-2:var(--rdt-surface);
  --stratus-blue:#ffffff;
  --global-color-deepblue:var(--rdt-navy);

  /* partner-template tokens declared in assets/legacy.css (:root) */
  --rdt-ink:#ffffff;            /* text role; the two background uses (.rdt-sec-ink, .rdtpi-doc-icon) are overridden in site.css */
  --rdt-ink-2:var(--rdt-text);
  --rdt-card:var(--rdt-surface-2);
  --rdt-accent:var(--rdt-gold);
  --rdt-accent-hover:var(--rdt-gold-hover);
  --rdt-purple:#6D28D9;
  --rdt-blue:var(--rdt-link);
  --rdt-blue-soft:var(--rdt-link);
}
/* Raised cards: any GB element nested inside a section resolves the canvas token one step lighter. */
body.rdt-dark section [class*="gb-element-"]{--rdt-canvas:var(--rdt-surface-2);--rdt-band:var(--rdt-navy)}
