/* ==========================================================================
   Purple Data Insights — Design Tokens
   Central place for brand colors, type, spacing, and effects.
   Change a value here and it updates everywhere it's used — you should
   almost never need to hunt for a color inside an individual section file.
   ========================================================================== */

:root {
  /* ---- Brand colors (sampled from the logo) ---- */
  --color-bg: #ffffff;
  --color-bg-alt: #f7f6fb;          /* very light lavender-white for alternating section backgrounds */
  --color-indigo-deep: #281073;      /* darkest logo tone — used instead of pure black */
  --color-purple-mid: #5a37c3;
  --color-purple-light: #6341d2;
  --color-orange: #f47721;
  --color-orange-light: #ff8a24;
  --color-peach: #ffd09b;
  --color-slate: #6471a5;

  --color-text: #1c1533;             /* body copy — near-black, tinted with the indigo */
  --color-text-muted: #6471a5;
  --color-text-on-dark: #ffffff;
  --color-text-muted-on-dark: rgba(255, 255, 255, 0.72);
  --color-navy-deep: #12163a;        /* base tone behind the animated wave-line background (Hero, Get In Touch) */

  /* ---- Gradients ---- */
  --gradient-brand: linear-gradient(135deg, var(--color-indigo-deep) 0%, var(--color-purple-mid) 55%, var(--color-purple-light) 100%);
  --gradient-accent: linear-gradient(90deg, var(--color-orange) 0%, var(--color-orange-light) 100%);

  /* ---- Typography ---- */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-h1: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  --fs-h2: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.2vw + 1rem, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  --lh-tight: 1.15;
  --lh-normal: 1.6;

  /* ---- Spacing scale ---- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --header-height: 84px;
  --section-pad-y: clamp(4rem, 7vw, 6.5rem);
  --edge-pad: clamp(1.5rem, 6vw, 6rem); /* shared full-bleed side padding, used by header/hero/sidenav */
  --sidenav-width: 220px;
  --sidenav-offset: 24px;  /* gap between the floating side nav and the viewport edge on desktop */

  /* ---- Effects ---- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(40, 16, 115, 0.08);
  --shadow-md: 0 8px 28px rgba(40, 16, 115, 0.14);
  --shadow-lg: 0 24px 60px rgba(40, 16, 115, 0.18);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
