/* ==========================================================================
   Socialting — Design Tokens
   Single source of truth for color, type, spacing and motion values.
   Every component/page must consume these variables instead of raw values.
   ========================================================================== */

:root {
  /* ---- Color / Brand -------------------------------------------------- */
  --color-primary: #2e5ee6;
  --color-primary-600: #274fc4;
  --color-primary-700: #1f3f9e;
  --color-primary-900: #0f2050;
  --color-accent: #0099ff;
  --color-accent-soft: #eaf1ff;

  /* ---- Color / Neutrals ------------------------------------------------ */
  --color-ink: #1a1c20;
  --color-ink-soft: #313235;
  --color-body: #5b5f68;
  --color-muted: #8a8d96;
  --color-border: #e3e5eb;
  --color-border-soft: #edeef3;
  --color-bg: #ffffff;
  --color-bg-offwhite: #fafbfc;
  --color-bg-soft: #f2f3f8;
  --color-bg-soft-2: #eef0f5;
  --color-white: #ffffff;
  --color-black: #0b0b10;

  /* ---- Color / On-dark (used on blue sections) ------------------------- */
  --color-on-blue: #ffffff;
  --color-on-blue-muted: rgba(255, 255, 255, 0.72);
  --color-on-blue-border: rgba(255, 255, 255, 0.24);

  /* ---- Gradients --------------------------------------------------------*/
  --gradient-primary: linear-gradient(135deg, #3a6bff 0%, #2e5ee6 45%, #1f3fa0 100%);
  --gradient-soft-white: linear-gradient(180deg, #ffffff 0%, #f2f3f8 100%);

  /* ---- Typography -------------------------------------------------------*/
  --font-heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  --fs-2xs: 0.75rem;   /* 12px */
  --fs-xs: 0.8125rem;  /* 13px */
  --fs-sm: 0.9375rem;  /* 15px */
  --fs-base: 1rem;     /* 16px */
  --fs-md: 1.125rem;   /* 18px */
  --fs-lg: 1.375rem;   /* 22px */
  --fs-xl: 1.75rem;    /* 28px */
  --fs-2xl: 2.25rem;   /* 36px */
  --fs-3xl: 3rem;      /* 48px */
  --fs-4xl: 4rem;      /* 64px */
  --fs-5xl: 5.5rem;    /* 88px */

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  --ls-tight: -0.04em;
  --ls-tighter: -0.02em;
  --ls-wide: 0.08em;

  /* ---- Spacing scale ------------------------------------------------------*/
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --space-12: 8rem;

  /* ---- Radius ---------------------------------------------------------- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* ---- Shadow ------------------------------------------------------------*/
  --shadow-sm: 0 2px 8px rgba(17, 20, 33, 0.06);
  --shadow-md: 0 12px 32px rgba(17, 20, 33, 0.1);
  --shadow-lg: 0 24px 64px rgba(17, 20, 33, 0.16);
  --shadow-button: 0 10px 24px rgba(46, 94, 230, 0.35);

  /* ---- Layout ----------------------------------------------------------- */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --header-height: 88px;

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

  /* ---- Z-index scale ------------------------------------------------------*/
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}
