/* ==========================================================================
   Design tokens — derived from docs/DESIGN_SYSTEM.md (Figma source of truth)
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #15157d;
  --color-primary-rgb: 21, 21, 125;
  --color-body: #4b4b4b;
  --color-accent: #555ddb;
  --color-muted: #797979;
  --color-icon-bg: #e1e0ff;
  --color-white: #ffffff;
  --color-placeholder: rgba(var(--color-primary-rgb), 0.25);
  --color-border: var(--color-primary); /* used at 0.5px width, per DESIGN_SYSTEM.md "Input border" */

  /* Section background tints */
  --bg-lavender-tint: #f6f6fd;
  --bg-navy: var(--color-primary);

  /* Typography */
  --font-family-base: "Manrope", "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(2rem, 1.55rem + 2vw, 3.125rem);       /* 32px -> 50px */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.875rem);      /* 28px -> 46px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);      /* 20px -> 26px */
  --fs-eyebrow: 0.875rem;   /* 14px */
  --fs-body: 0.875rem;      /* 14px */
  --fs-button: 0.875rem;    /* 14px */
  --fs-ticker: 1rem;        /* 16px */

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-extrabold: 800;

  --lh-hero: 1.7;
  --lh-h2: 1.2;
  --lh-eyebrow: 1.7;
  --lh-body: 1.5;
  --lh-button: 1.7;
  --lh-ticker: 1.7;
  --lh-footer-link: 2.5;

  --ls-eyebrow: 0.1em; /* ~1.4px at 14px */

  /* 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: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --space-10: 7.5rem;

  --section-padding-y: clamp(3rem, 2rem + 4vw, 7.5rem);

  /* Layout — container managed by Bootstrap + bootstrap-override.css */
  --container-width: 1440px;
  --container-padding: 24px;

  /* Radius */
  --radius-sm: 5px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-card: 0 4px 24px rgba(var(--color-primary-rgb), 0.08);
  --shadow-card-hover: 0 8px 32px rgba(var(--color-primary-rgb), 0.14);

  /* Motion */
  --transition-base: 0.2s ease;

  /* Z-index */
  --z-header: 100;
  --z-nav-drawer: 200;
}
