/* ─────────────────────────────────────────────────────────────
   tokens.css — design tokens
   Colors, spacing, and radii mirror Figma variables 1:1.
   Figma file: 6i6Ge6tJWn94YLTe1p4pbt
   ───────────────────────────────────────────────────────────── */

:root {
  /* Colors — 16 (warm palette, matches Figma node 42:2) */
  --color-bg: #F5F0EB;
  --color-bg-elevated: #EEE8E2;
  --color-border: rgba(45, 32, 20, 0.06);
  --color-border-hover: rgba(45, 32, 20, 0.12);
  --color-text-primary: #2D2014;
  --color-text-secondary: #786450;
  --color-text-tertiary: rgba(45, 32, 20, 0.40);
  --color-accent: #1D4ED8;
  --color-accent-dim: rgba(29, 78, 216, 0.08);
  --color-accent-glow: rgba(29, 78, 216, 0.10);
  --color-accent-orange: #E09855;
  --color-accent-green: #419463;
  --color-purple: #7452AF;
  --color-purple-dim: rgba(116, 82, 175, 0.1);
  --color-green: #15803D;
  --color-green-dim: rgba(21, 128, 61, 0.08);
  --color-focus-ring: #2563EB;
  --color-white: #FFFFFF;
  --color-rust: #7a2e1f;

  /* Spacing — 7 (px → rem, base 16) */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 5rem;     /* 80px */
  --space-3xl: 9.25rem;  /* 148px */

  /* Spacing — semantic */
  --space-grid: 20px;    /* peer-card grid gap */

  /* Radii — 5 */
  --radius-default: 24px;
  --radius-large: 20px;
  --radius-medium: 16px;
  --radius-small: 12px;
  --radius-pill: 100px;

  /* Typography — families */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Typography — sizes */
  --fs-hero: clamp(2.5rem, 5vw, 3.5rem);      /* 40–56px */
  --fs-h1: clamp(2rem, 4vw, 2.75rem);         /* 32–44px */
  --fs-h2: clamp(1.5rem, 3vw, 2.1875rem);     /* 24–35px */
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem);    /* 18–22px */
  --fs-body: 1.0625rem;                        /* 17px */
  --fs-small: 0.875rem;                        /* 14px */
  --fs-eyebrow: 0.8125rem;                     /* 13px */
  --fs-label: 0.75rem;                         /* 12px */
  --fs-tag: 0.625rem;                          /* 10px */

  /* Typography — line-heights & tracking */
  --lh-tight: 1.1;
  --lh-body: 1.75;
  --tracking-tight: -0.03em;
  --tracking-wide: 0.1em;

  /* Layout */
  --container-max: 1280px;
  --container-pad-mobile: 24px;
  --container-pad-desktop: 80px;
  --space-section-y: 5rem;   /* 80px — vertical padding between case-study sections */
  --space-narrow-x: 10rem;   /* 160px — horizontal padding for pullquote/learnings */
}
