/* ── Carrel token graph ──
   The neutral surface, text, border, type and control tokens are the
   nostos.page values, unchanged, so the two sites read as one family.
   Only the accent is Carrel's own: terracotta in Light, amber in Dark
   (the same pair as the Paper and Night themes on the device). */
:root {
  color-scheme: light;
  --bg-body: #fbfbfc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f3f3f4;
  --bg-section-soft: #f7f7f8;
  --bg-hover: #eeeeef;
  --color-text-main: #121316;
  --color-text-muted: #4a4d54;
  --color-text-light: #6b6c71;
  --border-color: #e5e7eb;
  --border-light: #eeeeef;
  --focus-ring: #6e7c90;

  /* Carrel accent (replaces the Nostos forest) */
  --primary-fill: #7d3b25;
  --on-primary: #ffffff;
  --color-accent: #7d3b25;

  --font-serif: "Newsreader", Georgia, serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --dock-shadow: 0 16px 36px -4px rgba(18, 19, 22, 0.08), 0 4px 12px -2px rgba(18, 19, 22, 0.03);
  --header-glass-bg: rgba(251, 251, 252, 0.82);
  --header-glass-border: rgba(18, 19, 22, 0.08);
  --header-glass-shadow: 0 10px 32px rgba(18, 19, 22, 0.06);
  --mockup-frame-border: #d8dbe1;
  --mockup-window-shadow: 0 1px 2px rgba(18, 19, 22, 0.08), 0 22px 46px -22px rgba(18, 19, 22, 0.28);

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --focus-ring-width: 2px;
  --motion-fast: 160ms;
  --motion-base: 220ms;
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-body: #0d0e11;
  --bg-surface: #121318;
  --bg-surface-alt: #181a20;
  --bg-section-soft: #0d0e11;
  --bg-hover: #20222a;
  --color-text-main: #f0f1f4;
  --color-text-muted: #c4c7d0;
  --color-text-light: #8b909f;
  --border-color: #2a2d37;
  --border-light: #20222a;

  --primary-fill: #9a4a2e;
  --on-primary: #ffffff;
  --color-accent: #e5a93b;

  --dock-shadow: 0 24px 52px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --header-glass-bg: rgba(13, 14, 17, 0.78);
  --header-glass-border: rgba(255, 255, 255, 0.08);
  --header-glass-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  --mockup-frame-border: #343842;
  --mockup-window-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 52px -20px rgba(0, 0, 0, 0.75);
}
