/* Haltee brand colour.
 *
 * The mark is a blue gradient (#0056F5 → #369BFF), one hue rather than
 * swapscenter's two — so there is no second colour competing for the
 * accent role here, and nothing else to reserve it from.
 *
 * Conveniently, the gradient's own two stops are close to the two shades AA
 * contrast already demands per scheme, so each scheme takes the stop that
 * can actually hold its own label rather than a synthesised third colour:
 *
 *   light  oklch(0.525 0.247 262.2)  — #0056F5, white text at 5.75:1
 *   dark   oklch(0.681 0.174 251.9)  — #369BFF, dark text at 7.29:1
 *
 * Loaded after app.css, so these win without !important.
 */

:root {
  --color-signal: oklch(0.525 0.247 262.2);
  --color-signal-ink: oklch(1 0 0);
  --color-signal-wash: oklch(0.525 0.247 262.2 / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-signal: oklch(0.681 0.174 251.9);
    --color-signal-ink: oklch(0.16 0.01 252);
    --color-signal-wash: oklch(0.681 0.174 251.9 / 0.14);
  }
}

:root[data-theme="light"] {
  --color-signal: oklch(0.525 0.247 262.2);
  --color-signal-ink: oklch(1 0 0);
  --color-signal-wash: oklch(0.525 0.247 262.2 / 0.1);
}

:root[data-theme="dark"] {
  --color-signal: oklch(0.681 0.174 251.9);
  --color-signal-ink: oklch(0.16 0.01 252);
  --color-signal-wash: oklch(0.681 0.174 251.9 / 0.14);
}
