/* ==========================================================================
   COMPUBYTE MARKETING — Design Tokens
   ========================================================================== */

:root {
  /* ---- Brand colour system ---- */
  --color-bg: #080D18;
  --color-bg-panel: #0D1526;
  --color-bg-panel-raised: #111B31;
  --color-white: #FFFFFF;
  --color-blue: #619BF0;
  --color-blue-rgb: 97, 155, 240;
  --color-muted: #8E98A8;

  /* Derived / transparent overlays — kept within the four-colour system */
  --color-blue-10: rgba(var(--color-blue-rgb), 0.1);
  --color-blue-16: rgba(var(--color-blue-rgb), 0.16);
  --color-blue-24: rgba(var(--color-blue-rgb), 0.24);
  --color-blue-40: rgba(var(--color-blue-rgb), 0.4);
  --color-blue-glow: rgba(var(--color-blue-rgb), 0.35);
  --color-white-04: rgba(255, 255, 255, 0.04);
  --color-white-08: rgba(255, 255, 255, 0.08);
  --color-white-12: rgba(255, 255, 255, 0.12);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-hover: rgba(var(--color-blue-rgb), 0.5);

  /* ---- Typography ---- */
  --font-heading: 'Space Grotesk', 'Rajdhani', sans-serif;
  --font-body: 'Inter', 'Manrope', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --fs-eyebrow: 0.8rem;
  --fs-body-sm: 0.875rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.15rem;
  --fs-h6: 1.05rem;
  --fs-h5: 1.35rem;
  --fs-h4: 1.75rem;
  --fs-h3: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h2: clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 6.5vw, 5.5rem);
  --fs-display: clamp(3.5rem, 9vw, 8rem);

  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-body: 1.65;

  --ls-eyebrow: 0.22em;
  --ls-heading: -0.02em;
  --ls-wide: 0.08em;

  /* ---- Spacing scale ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
  --space-section: clamp(5rem, 10vw, 9rem);

  /* ---- Layout ---- */
  --container-max: 1360px;
  --container-narrow: 860px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* ---- Shadow / glow ---- */
  --shadow-panel: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow-blue-sm: 0 0 24px var(--color-blue-glow);
  --glow-blue-md: 0 0 48px rgba(var(--color-blue-rgb), 0.28);
  --glow-blue-lg: 0 0 120px rgba(var(--color-blue-rgb), 0.22);

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

  /* ---- Z-index scale ---- */
  --z-bg: 0;
  --z-content: 1;
  --z-nav: 100;
  --z-overlay: 200;
  --z-cursor: 300;
}

@media (max-width: 768px) {
  :root {
    --space-section: clamp(3.5rem, 12vw, 5rem);
  }
}
