/* onpar design tokens. GENERATED by tools/brand.py; edit there, not here.
   The single source for colour, type, radius, spacing and motion across the
   landing page, the lab and the Starlight docs. Dark is the default;
   [data-theme='light'] selects light, and with no attribute set the
   reader's system preference decides. */
:root{
  --void:#050a0f;
  --deep:#08111a;
  --panel:#0b1620;
  --panel2:#0f1e2b;
  --ink:#e9f4f8;
  --ink2:#93aab8;
  --ink3:#5b7385;
  --line:#152633;
  --line2:#1e3546;
  --incumbent:#f0a340;
  --incumbent-dim:#7a5420;
  --candidate:#2fd4c4;
  --candidate-dim:#186b64;
  --candidate-wash:#0c2a2a;
  --proof:#8fb3ff;
  --alarm:#ff6b81;
  --font-sans:ui-sans-serif,-apple-system,'Segoe UI',Inter,system-ui,sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,'SF Mono',Menlo,monospace;
  --fs-2xs:11px;
  --fs-xs:12.5px;
  --fs-sm:14.5px;
  --fs-base:16px;
  --fs-md:17.5px;
  --fs-lg:19.5px;
  --fs-h2:clamp(26px,3.5vw,40px);
  --fs-h1:clamp(35px,5.4vw,64px);
  --track-tight:-.03em;
  --track-caps:.16em;
  --r-xs:5px;
  --r-sm:8px;
  --r-md:10px;
  --r-lg:12px;
  --r-xl:14px;
  --sp-1:4px;
  --sp-2:8px;
  --sp-3:12px;
  --sp-4:16px;
  --sp-5:24px;
  --sp-6:32px;
  --sp-7:48px;
  --sp-8:86px;
  --dur-fast:200ms;
  --dur-base:350ms;
  --dur-slow:750ms;
  --ease-out:cubic-bezier(.2,.7,.3,1);
}
:root[data-theme='light']{
  --void:#fbfcfd;
  --deep:#f3f6f8;
  --panel:#ffffff;
  --panel2:#f7f9fb;
  --ink:#0d1620;
  --ink2:#42586a;
  --ink3:#6b8296;
  --line:#dde5ea;
  --line2:#c9d6de;
  --incumbent:#b45309;
  --incumbent-dim:#e0b184;
  --candidate:#0d7d72;
  --candidate-dim:#7cc4bc;
  --candidate-wash:#c9f2ee;
  --proof:#3d5fb8;
  --alarm:#c02a41;
}
@media (prefers-color-scheme:light){
  :root:not([data-theme='dark']){
    --void:#fbfcfd;
    --deep:#f3f6f8;
    --panel:#ffffff;
    --panel2:#f7f9fb;
    --ink:#0d1620;
    --ink2:#42586a;
    --ink3:#6b8296;
    --line:#dde5ea;
    --line2:#c9d6de;
    --incumbent:#b45309;
    --incumbent-dim:#e0b184;
    --candidate:#0d7d72;
    --candidate-dim:#7cc4bc;
    --candidate-wash:#c9f2ee;
    --proof:#3d5fb8;
    --alarm:#c02a41;
  }
}
@media (prefers-reduced-motion:reduce){
  :root{--dur-fast:0ms;--dur-base:0ms;--dur-slow:0ms}
}
/* Brand images come in a dark and a light colourway; show the one that
   matches the theme by the same rule the tokens follow. */
.for-light{display:none}
:root[data-theme='light'] .for-light{display:inline-block}
:root[data-theme='light'] .for-dark{display:none}
@media (prefers-color-scheme:light){
  :root:not([data-theme='dark']) .for-light{display:inline-block}
  :root:not([data-theme='dark']) .for-dark{display:none}
}
