:root {
  color-scheme: light dark;

  /* Mode clair — crème lumineux & veille (palette dérivée du logo) */
  --bg: #f4eee0;
  --surface: #faf6ec;
  --surface-raised: #fdfbf4;
  --ink: #1b1813;
  --ink-soft: #4a4336;
  --muted: #6d644f;
  --line: #d9cfba;
  --line-strong: #b8ac92;

  /* Accent principal : azur (le halo et le ciel du logo) */
  --accent: #0c84cc;
  --accent-ink: #0f5c8c;
  --accent-fill: #0d5685;
  --accent-soft: rgba(12, 132, 204, 0.1);
  --accent-contrast: #f6efe2;

  /* Accent direct : braise (les ombres chaudes du logo), réservé à l'antenne live */
  --direct: #b5371a;

  --live: #0c84cc;
  --warn: #8a5e0c;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --content-width: 720px;
  --radius: 6px;
  --radius-lg: 12px;
  --shell-height: 132px;
  --safe-area-top: env(safe-area-inset-top, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Mode sombre — nuit chaude & halo cyan (transposition directe du logo) */
    --bg: #14110d;
    --surface: #1c1813;
    --surface-raised: #241f18;
    --ink: #ece4d2;
    --ink-soft: #c9bfa9;
    --muted: #938973;
    --line: #322c22;
    --line-strong: #4c4434;

    --accent: #36a6df;
    --accent-ink: #4cb4e6;
    --accent-fill: #2f9fd8;
    --accent-soft: rgba(54, 166, 223, 0.14);
    --accent-contrast: #14110d;

    --direct: #ef6a40;

    --live: #36a6df;
    --warn: #cfa14a;
  }
}
