/* The website's single colour source. Components use roles, never local palettes.
   Shared by home, Adya, Research and the narrated/automatic story. */
:root {
  color-scheme:light;
  --warm:#f5f3ee;
  --cool:#edf1ef;
  --ink:#26372f;
  --muted:#4d5952;
  --human:#8e4c34;
  --ai:#24594e;
  --body-human:#493b32;
  --body-ai:#30493f;
  --line:rgba(64,75,68,.14);
  --card:color-mix(in srgb,var(--warm) 80%,white);
  --card-cool:color-mix(in srgb,var(--cool) 80%,white);
  --surface:#fcfbf8;
  --on-ai:var(--warm);
  --control-hover:#eeeee5;
  --ai-hover:#194d42;
  --field:var(--warm);
  --selected:color-mix(in srgb,var(--ai) 7%,var(--surface));
  --accent-surface:color-mix(in srgb,var(--human) 5%,var(--surface));
  --track:color-mix(in srgb,var(--ai) 15%,var(--surface));
  --placeholder:color-mix(in srgb,var(--ink) 12%,var(--surface));
  --positive:var(--ai);
  --negative:#993f39;
  --negative-surface:#f5e4e0;
  --warning:#89652d;
  --info:#3d6f98;
  --empathy:#b45724;
  --shadow-color:#26372f;
  --white:#fff;
  --signal-reaction:#a14f56;
  --signal-stage:#397c77;
  --signal-resistance:#4b65a0;
  --signal-urgency:#9b702f;
  --signal-guidance:#795d9d;
  --seam-human:#b8a295;
  --seam-ai:#a3b7ae;
  --background-point:#7d8981;
  --round-line:#9ca9a1;
  --header-ink:#35443d;
  --selection-bg:#d6e1d8;
  --selection-ink:#243b31;
}
:root[data-theme=dark] {
  color-scheme:dark;
  --warm:#2a2e3b;
  --cool:#374355;
  --ink:#f7f6fc;
  --muted:#cdd0df;
  --human:#fff;
  --ai:#c5d5ff;
  --body-human:var(--human);
  --body-ai:#d3dcf1;
  --line:#dce0f238;
  --card:#333949;
  --card-cool:#404d60;
  --surface:var(--card);
  --control-hover:#536078;
  --ai-hover:color-mix(in srgb,var(--ai) 85%,white);
  --selected:var(--card-cool);
  --accent-surface:var(--card-cool);
  --track:color-mix(in srgb,var(--ai) 22%,var(--warm));
  --placeholder:color-mix(in srgb,var(--ai) 16%,var(--card));
  --negative:#ffb6bd;
  --negative-surface:color-mix(in srgb,var(--negative) 10%,var(--card));
  --warning:#d5dce9;
  --info:#aecfe6;
  --empathy:#d4bde9;
  --shadow-color:#101725;
  --signal-reaction:#d4bde9;
  --signal-stage:#aecfe6;
  --signal-resistance:#b5c2ff;
  --signal-urgency:#d5dce9;
  --signal-guidance:#c1baf1;
  --seam-human:var(--human);
  --seam-ai:var(--ai);
  --background-point:var(--muted);
  --round-line:color-mix(in srgb,var(--ai) 38%,transparent);
  --header-ink:var(--ink);
  --selection-bg:var(--ai);
  --selection-ink:var(--on-ai);
}
/* Compatibility names used by the story and its background animation. */
:root {
  --paper:var(--warm);--sage:var(--cool);--green:var(--ai);--copper:var(--human);
  --gold:var(--warning);--blue:var(--info);--orange:var(--empathy);
  --duo-warm:var(--warm);--duo-cool:var(--cool);--duo-copper:var(--human);
  --duo-green:var(--ai);--duo-ink:var(--ink);--duo-muted:var(--muted);--duo-line:var(--line);
}
