/* ==========================================================================
   BlueLine Web Studio — Design Tokens
   Edit colors, fonts, radii and spacing here — every page reads from these.
   ========================================================================== */

:root {
  /* ---- Brand colors (edit these to re-theme the whole site) ---- */
  --color-primary: #2F6FFF;      /* Chicago blue */
  --color-primary-2: #8B5CF6;    /* violet accent, pairs with primary in gradients */
  --color-cyan: #22D3EE;         /* secondary accent for small highlights */
  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-2) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(47,111,255,0.12) 0%, rgba(139,92,246,0.12) 100%);

  /* ---- Dark (hero / immersive) surfaces ---- */
  --color-dark-0: #05070D;
  --color-dark-1: #0A0E1A;
  --color-dark-2: #10162B;
  --color-dark-3: #1A2138;
  --color-dark-border: rgba(255,255,255,0.10);
  --color-text-on-dark: #F5F7FB;
  --color-text-on-dark-muted: #9AA3B5;

  /* ---- Light (editorial) surfaces ---- */
  --color-bg: #FAFAFB;
  --color-surface: #FFFFFF;
  --color-border: #E7E9EE;
  --color-text: #0B0E1A;
  --color-text-muted: #5B6472;

  /* ---- Semantic ---- */
  --color-success: #16A34A;
  --color-danger: #DC2626;

  /* ---- Typography ---- */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --fs-display: clamp(2.75rem, 3vw + 2rem, 6rem);
  --fs-h1: clamp(2.25rem, 2vw + 1.75rem, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.5vw + 1.25rem, 2.75rem);
  --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  --fs-h4: clamp(1.1rem, 0.5vw + 1rem, 1.25rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* ---- Spacing scale (4px base) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Radius & elevation ---- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(10,14,26,0.06);
  --shadow-md: 0 8px 24px rgba(10,14,26,0.10);
  --shadow-lg: 0 24px 64px rgba(10,14,26,0.16);
  --shadow-glow: 0 0 60px rgba(47,111,255,0.25);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 780px;
  --header-h: 80px;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
}
