/* ==========================================================================
   Design Tokens — Single source of truth for all visual properties
   Light, friendly-yet-corporate theme built on the DaemAI brand logo
   ("Knowledge in motion"): violet → blue → teal gradient on deep navy text.
   ========================================================================== */

:root {
  /* Colors — Light theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f2f5fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f8fd;

  --text-primary: #0c1330;
  --text-secondary: #4a5268;
  --text-muted: #8890a4;

  /* Accent colors — bright brand versions, used as fills / decoration */
  --accent: #0067c5;        /* brand blue */
  --accent-teal: #00b3a4;   /* brand teal (right side of the logo) */
  --accent-warm: #3a1aa8;   /* brand violet (left side of the logo) */

  /* Readable "ink" variants — use these for accent TEXT on light backgrounds
     (the bright fills can be too light/vibrant as small text). */
  --accent-ink: #0057b8;
  --accent-teal-ink: #0a8478;

  /* Text color to place ON a bright accent fill (e.g. primary button). */
  --on-accent: #ffffff;

  /* Accent with alpha — soft tints for badges, glows, hovers */
  --accent-glow: rgba(0, 103, 197, 0.12);
  --accent-teal-glow: rgba(0, 179, 164, 0.14);

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes — fluid scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.2rem);
  --text-3xl: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --border-subtle: 1px solid rgba(12, 19, 48, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows — soft, for a light surface */
  --shadow-card: 0 6px 24px rgba(12, 19, 48, 0.08);
  --shadow-glow: 0 8px 24px rgba(0, 103, 197, 0.22);
}
