:root {
  /* ---- Surfaces: a deep slate, from dark to light ---- */
  --color-bg: #0b0d12;
  --color-surface: #12151c;
  --color-surface-2: #191d26;
  --color-surface-3: #212633;
  --color-border: #242936;
  --color-border-strong: #333a4b;

  /* ---- Text ---- */
  --color-text: #eef0f4;
  --color-text-muted: #9097a6;
  --color-text-faint: #646b7b;

  /* ---- Brand: the Athlyx amber ---- */
  --color-primary: #f59e0b;
  --color-primary-hover: #fbbf24;
  --color-primary-soft: rgba(245, 158, 11, 0.12);
  --color-primary-ring: rgba(245, 158, 11, 0.28);
  --color-on-primary: #1a1206;
  --gradient-primary: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);

  /* ---- Status ---- */
  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-danger: #ef4444;
  --color-info: #38bdf8;

  /* ---- Spacing: a 4px scale. Never use a value outside this. ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* ---- Typography ---- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --leading: 1.55;

  /* ---- Shape ---- */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);

  /* ---- Layout ---- */
  --navbar-h: 64px;
  --sidebar-w: 248px;
  --content-max: 1200px;
  --tap: 44px;            /* the smallest size a finger can hit */

  --transition: 160ms ease;
}
