/* ============================================================================
   LapCabby Design Tokens
   Brand colours, typography, spacing. Single source of truth.
   ============================================================================ */

:root {
  /* Primary brand */
  --brand-primary: #0077c0;
  --brand-primary-dark: #005a92;
  --brand-primary-darker: #004873;
  --brand-primary-light: #e6f3fb;

  /* CTA (dark blue, monochromatic) */
  --cta: #003d6b;
  --cta-hover: #002a4d;
  --cta-text: #ffffff;

  /* Accent (sparingly: tags, eyebrows, highlights) */
  --accent: #ff9500;
  --accent-soft: #fff4e0;

  /* Text */
  --text-dark: #1a2733;
  --text-body: #3d4a5a;
  --text-muted: #6b7785;
  --text-inverse: #ffffff;

  /* Surfaces */
  --surface: #ffffff;
  --surface-alt: #f4f6f8;
  --surface-dark: #1a2733;

  /* Borders */
  --border: #e3e8ee;
  --border-strong: #c9d2dc;

  /* Status */
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;

  /* Typography */
  --font-heading: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.4rem, 2vw, 1.6rem);
  --text-3xl: clamp(1.7rem, 3vw, 2.2rem);
  --text-4xl: clamp(2rem, 4vw, 2.8rem);
  --text-5xl: clamp(2.3rem, 5vw, 3.4rem);

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

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

  /* Layout */
  --max-width: 1180px;
  --max-width-narrow: 760px;
  --padding-inline-mobile: 18px;
  --padding-inline-desktop: 24px;

  /* Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 39, 51, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 39, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 119, 192, 0.10);
  --shadow-lg: 0 20px 40px rgba(0, 119, 192, 0.14);

  /* Motion */
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Z-index */
  --z-base: 1;
  --z-header: 100;
  --z-overlay: 200;
  --z-banner: 300;
  --z-modal: 400;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0s;
    --transition: 0s;
    --transition-slow: 0s;
  }
}
