/* elektro-mart palette, from reference/brand/README.md: Kobalt is the action colour ("next"),
   Grafit the text, Hijau PCB the dark band with Mint text and a Tembaga accent. Overrides
   tokens from crates/dp-web/assets/css/tokens.css. Rebuild after changing it.
   Not yet: the Nunito and Nunito Sans fonts, which still need self-hosting. */
:root {
  --background: oklch(97.6% 0.004 240);
  --paper-2: oklch(94.6% 0.007 240);
  --card: oklch(99.4% 0.002 240);

  --foreground: oklch(22% 0.02 250);
  --text-secondary: oklch(40% 0.018 250);
  --muted: oklch(51% 0.018 250);

  --border: oklch(89.5% 0.008 240);
  --border-strong: oklch(80% 0.012 245);

  --cta: oklch(51% 0.19 255);
  --cta-hover: oklch(44% 0.17 256);
  --cta-ink: oklch(99% 0.004 240);

  --band-bg: oklch(25% 0.045 165);
  --band-text: oklch(93% 0.012 165);
  --band-muted: oklch(76% 0.02 165);
  --band-accent: oklch(80% 0.12 78);

  --shadow: oklch(22% 0.02 250 / 0.12);

  --flow-from: oklch(89% 0.05 245);
  --flow-mid: oklch(70% 0.13 252);
}

[data-theme="dark"] {
  --background: oklch(16% 0.012 250);
  --paper-2: oklch(20.5% 0.014 250);
  --card: oklch(19% 0.013 250);

  --foreground: oklch(94% 0.006 240);
  --text-secondary: oklch(82% 0.01 245);
  --muted: oklch(70% 0.014 248);

  --border: oklch(30% 0.014 250);
  --border-strong: oklch(40% 0.016 250);
  --border-input: oklch(58% 0.016 250);

  --cta-hover: oklch(44% 0.17 256);
  --link: oklch(74% 0.13 252);

  --band-bg: oklch(22.5% 0.04 165);
  --shadow: oklch(5% 0.01 250 / 0.5);

  --flow-from: oklch(36% 0.07 250);
  --flow-mid: oklch(48% 0.14 254);
}
