/* Parfait colour and type tokens (DESIGN.md), shared by the app and the public pages.
   Nuit is the reference; Jour applies when data-theme="clair". */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --page: #0A0910;
  --bg: #13111C;
  --surface: #1E1B2B;
  --ink: #EEE9F7;
  --muted: #A69FBA;
  --line: #2E2A42;
  --accent: #FFD27A;
  --accent-text: #FFD27A;
  --on-accent: #1C1508;
  --logo: #FFD27A;
  --mark: #B99EFF;
  --late: #FF8F84;
  --soon: #FFC56E;
  --ok: #92E4B4;
  --btn-bg: #FFD27A;
  --btn-fg: #1C1508;
  --soft: rgba(255, 255, 255, 0.04);
  --soft2: rgba(255, 255, 255, 0.06);
  --check: #4C4566;
  --card-bg: linear-gradient(160deg, #2A2540 0%, #1D1A2B 70%);
  --card-ring: rgba(255, 255, 255, 0.06);
  --card-shadow: rgba(0, 0, 0, 0.8);
  --glow: rgba(255, 210, 122, 0.42);
  --glow-soft: rgba(255, 210, 122, 0.08);
  --scrim: rgba(5, 4, 10, 0.6);
  --chip-bg: rgba(185, 158, 255, 0.14);
  --fab-shadow: 0 0 0 6px rgba(255, 210, 122, 0.08), 0 16px 32px -10px rgba(255, 210, 122, 0.55);
  --toast-bg: #2B2640;
  --toast-fg: #EEE9F7;
  --toast-accent: #FFD27A;
  --f-display: "Bricolage Grotesque Variable", -apple-system, "Segoe UI", sans-serif;
  --f-body: "Onest Variable", -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
/* Jour: same structure, a piece of night kept in the primary button. data-theme is always set
   (index.html resolves Auto from the device before the first paint), so these values exist once. */
:root[data-theme="clair"] {
  --page: #ECE8F2; --bg: #F6F4F9; --surface: #FFFFFF; --ink: #1A1726; --muted: #5E5770; --line: #DCD7E6;
  --accent: #9A6608; --accent-text: #8A5A06; --logo: #1A1726; --on-accent: #FFFFFF; --mark: #6A4BD6; --late: #B83A28; --soon: #8C5300; --ok: #1F7A4D;
  --btn-bg: #1A1726; --btn-fg: #FFD27A; --soft: rgba(26, 23, 38, 0.05); --soft2: rgba(26, 23, 38, 0.06); --check: #B9B2C9;
  --card-bg: linear-gradient(160deg, #FFFFFF 0%, #FBF9FE 70%); --card-ring: rgba(26, 23, 38, 0.08); --card-shadow: rgba(60, 40, 90, 0.18);
  --glow: rgba(255, 190, 80, 0.35); --glow-soft: rgba(154, 102, 8, 0.08); --scrim: rgba(26, 23, 38, 0.32); --chip-bg: rgba(106, 75, 214, 0.1);
  --fab-shadow: 0 12px 28px -10px rgba(26, 23, 38, 0.45); --toast-bg: #1A1726;
  color-scheme: light;
}
