/* 1. SECTION: Design Tokens — GlobalSocials.club */
/* Shared CSS custom properties loaded on all pages. */
/* Refs: Impeccable color/spatial/motion, Stripe shadows, Notion borders, Claude warmth */

:root {
  /* 1.1 Brand — from Corporate Identity spec */
  --color-navy: #031B83;
  --color-navy-light: #0A2DAA;
  --color-cyan: #00CCFF;          /* Supportive primary */
  --color-gold: #CC9900;
  --color-gold-dark: #80641D;
  --color-gold-light: #FFD700;

  /* 1.2 Surfaces — warm-tinted, 0.01 chroma toward gold */
  --color-bg: #FDFCF9;
  --color-surface: #FFFFFF;
  --color-surface-raised: #F8F7F4;
  --color-surface-sunken: #F3F2EF;

  /* 1.3 Text — warm near-black, never pure black */
  --color-text: #1A1A2E;
  --color-text-secondary: #6B6B7B;
  --color-text-muted: #9B9BAB;
  --color-text-on-navy: #FFFFFF;
  --color-text-on-gold: #1A1A2E;

  /* 1.4 Borders — warm-tinted, not harsh gray */
  --color-border: rgba(26, 26, 46, 0.08);
  --color-border-strong: rgba(26, 26, 46, 0.15);

  /* 1.5 Semantic */
  --color-success: #27A644;
  --color-error: #C41C1C;
  --color-info: #2563EB;
  --color-warning: #D97706;

  /* 1.6 Spacing — 8px base, 4px micro */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 96px;

  /* 1.7 Shadows — multi-layer, warm-tinted */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04), 0 1px 3px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 2px 4px rgba(26, 26, 46, 0.04), 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 4px 8px rgba(26, 26, 46, 0.04), 0 8px 24px rgba(26, 26, 46, 0.10);
  --shadow-xl: 0 8px 16px rgba(26, 26, 46, 0.06), 0 16px 48px rgba(26, 26, 46, 0.12);

  /* 1.8 Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* 1.9 Motion — exponential easing only, never bounce/elastic */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-entrance: 600ms;

  /* 1.10 Typography scale (rem) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.5rem;

  /* 1.11 Line heights */
  --leading-tight: 1.2;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* 1.12 Font stacks */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* 1.13 Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* 1.14 Layout widths */
  --width-sidebar: 220px;
  --width-sidebar-collapsed: 48px;
  --width-content-max: 1080px;
  --width-content-wide: 1440px;
}

/* 2. SECTION: Reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-normal: 0ms;
    --duration-slow: 0ms;
    --duration-entrance: 0ms;
  }
}
/* end of 2 */
