/**
 * Peregrine Solution — Design System Tokens
 * Source of truth for brand colors, typography, elevations, and spacing.
 */

:root {
  /* Brand Color Palette */
  --color-slate: #1B2430;
  --color-slate-hover: #131A23;
  --color-slate-subtle: #243040;
  --color-gold: #E3A73E;
  --color-gold-hover: #D4962D;
  --color-gold-light: rgba(227, 167, 62, 0.12);
  --color-gold-border: rgba(227, 167, 62, 0.35);
  --color-paper: #F7F5F1;
  --color-paper-alt: #F0ECE4;
  --color-mist: #8A97A6;
  --color-mist-light: #B4BFCB;
  --color-mist-subtle: #E2E8F0;
  --color-bg: #FBFAF7;
  --color-white: #FFFFFF;
  --color-text-main: #1B2430;
  --color-text-muted: #5A6878;
  --color-text-reversed: #F7F5F1;
  --color-text-reversed-muted: #A3B0BF;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', Consolas, monospace;

  /* Type Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  --text-display: clamp(2.5rem, 5vw + 1rem, 4.25rem);

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows - Minimal and refined */
  --shadow-subtle: 0 1px 3px rgba(27, 36, 48, 0.05);
  --shadow-card: 0 4px 16px rgba(27, 36, 48, 0.06);
  --shadow-card-hover: 0 10px 28px rgba(27, 36, 48, 0.09);
  --shadow-elevated: 0 16px 40px rgba(27, 36, 48, 0.12);

  /* Layout */
  --max-width-content: 1200px;
  --max-width-narrow: 840px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
