/* ==========================================================================
   HALOPURIFY — Design System Tokens
   Derived strictly from the master HALOPURIFY brand mark palette.
   ========================================================================== */

:root {
  /* Brand Palette (extracted from hp_logo.png) */
  --hp-deep-blue: #03297d;
  --hp-royal-blue: #0172e8;
  --hp-cyan: #01adf5;
  --hp-sky: #58abf5;
  --hp-teal: #03cf9e;
  --hp-emerald: #02bf73;
  --hp-mist: #9edde6;

  /* Selective Signature Gradients (airflow, active indicators, micro-accents only) */
  --hp-gradient-brand: linear-gradient(125deg, #03297d 0%, #0172e8 34%, #01adf5 66%, #03cf9e 100%);
  --hp-gradient-flow: linear-gradient(90deg, #0172e8 0%, #01adf5 52%, #03cf9e 100%);
  --hp-gradient-glow: radial-gradient(circle at 50% 50%, rgba(1, 173, 245, 0.18) 0%, rgba(3, 207, 158, 0.08) 45%, rgba(3, 41, 125, 0) 75%);

  /* Surfaces */
  --surface-white: #ffffff;
  --surface-clinical: #f6f8fa;
  --surface-studio: #e6e8ea;
  --surface-studio-light: #f2f4f6;
  --surface-ice: #eef4f8;
  --surface-obsidian: #080d16;
  --surface-obsidian-2: #0f1726;
  --surface-obsidian-3: #162033;

  /* Ink / Typography */
  --ink-primary: #0b1220;
  --ink-secondary: #435166;
  --ink-muted: #69788e;
  --ink-subtle: #8b99ad;
  --ink-inverse: #f4f7fb;
  --ink-inverse-secondary: rgba(244, 247, 251, 0.74);
  --ink-inverse-muted: rgba(244, 247, 251, 0.5);

  /* Structural Hairlines */
  --line-light: rgba(11, 18, 32, 0.09);
  --line-light-strong: rgba(11, 18, 32, 0.16);
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-dark-strong: rgba(255, 255, 255, 0.22);

  /* Typography Families */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 1.08vw, 1.125rem);
  --text-lead: clamp(1.125rem, 1.45vw, 1.375rem);
  --text-h4: clamp(1.18rem, 1.45vw, 1.4rem);
  --text-h3: clamp(1.5rem, 2.3vw, 2.15rem);
  --text-h2: clamp(2.15rem, 4.3vw, 3.85rem);
  --text-h1: clamp(2.85rem, 6.2vw, 5.4rem);

  /* Spacing & Layout */
  --container-max: 1340px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-py: clamp(5.5rem, 10vw, 10rem);
  --nav-height: 76px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-subtle: 0 1px 2px rgba(11, 18, 32, 0.04), 0 10px 30px rgba(11, 18, 32, 0.05);
  --shadow-plate: 0 24px 64px -24px rgba(11, 18, 32, 0.12), 0 1px 3px rgba(11, 18, 32, 0.05);
  --shadow-float: 0 30px 70px -20px rgba(3, 41, 125, 0.16);

  /* Motion Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;

  /* Z-index Stack */
  --z-base: 1;
  --z-sticky: 20;
  --z-overlay: 40;
  --z-nav: 100;
  --z-modal: 200;
}
