:root {
  /* ── Brand accent — Phosphor (amber / terracotta), matches the dashboard ── */
  --color-primary: #c25e00;        /* primary-500 — strong terracotta */
  --color-primary-strong: #9c4e00; /* primary-600 — --ui-primary in the app */
  --color-primary-soft: #fbeada;   /* primary-50 — tint fills (badges, mentions) */
  --color-amber: #ffb300;          /* inverted accent — amber on espresso */
  --color-espresso: #241d12;       /* inverted surface / primary button bg */

  /* Legacy accent names kept on-palette so any stray reference stays warm */
  --color-cyan: #c25e00;
  --color-magenta: #9c4e00;
  --gradient-brand: linear-gradient(135deg, var(--color-amber), var(--color-primary));

  /* ── Backgrounds — Phosphor parchment ── */
  --bg-primary: #f7f3ea;   /* page — warm parchment */
  --bg-muted: #efe9dc;     /* muted section band */
  --bg-elevated: #fefcf7;  /* cards — warmest near-white (matches dashboard --ui-bg-elevated) */
  --bg-surface: #f3ecdd;   /* accented inset (chat bar, fills) */
  --bg-inverted: #241d12;  /* dark espresso */

  /* ── Text — Phosphor ── */
  --text-primary: #1c160f;   /* highlighted — near-black warm */
  --text-secondary: #2a2118; /* default heading/body ink */
  --text-muted: #554b3e;     /* toned — body copy */
  --text-dimmed: #685d49;    /* labels, timestamps */
  --text-subtle: #8d8068;    /* faint */

  /* ── Borders ── */
  --border-default: #d8cdb8;
  --border-subtle: #e2d9c5;
  --border-accented: #c8bca2;

  /* ── Nav ── */
  --nav-scrolled-bg: rgba(247, 243, 234, 0.8);

  /* ── Hard offset shadows (no blur — the printed-paper look) ── */
  --shadow-card: 2px 2px 0 0 rgba(36, 29, 18, 0.06);
  --shadow-card-lg: 3px 3px 0 0 rgba(36, 29, 18, 0.10);

  /* ── Integration colors (on hover) ── */
  --color-sentry: #fb4226;
  --color-github: #181717;
  --color-gitlab: #fc6d26;
  --color-linear: #5e6ad2;
  --color-jira: #0052cc;
  --color-slack: #4A154B;
  --color-teams: #5059C9;
  --color-whatsapp: #25D366;

  /* ── Font ── */
  --font-sans: 'Space Mono', ui-monospace, 'Courier New', monospace;
  --font-mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
  --font-display: 'Aldrich', sans-serif;

  /* ── Spacing ── */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 5rem;

  /* ── Typography ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --text-hero: clamp(2.75rem, 4.5vw + 0.75rem, 3.75rem);

  /* ── Radius — Phosphor is sharp (0) ── */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 9999px;

  /* ── Container ── */
  --container-max: 1400px;
}
