/*
 * Bluespectrum Innovative — Design Tokens
 * Source: Figma Event_Page (ID 972:1104) + shared styles
 * Generated from live Figma data — do not edit values by hand.
 *
 * NEAR-DUPLICATE FLAGS (review with designer):
 *   - #002347 (--color-primary) = "BS. Primary color" AND "Dark text" — same hex, two style names
 *   - #ff5104 (--color-orange)  = "BS. Secondary Color" AND "Primey orange" — same hex, two names
 *   - --radius-xs uses 4px  (Figma had 4.18px — likely rounding artifact)
 *   - --radius-sm uses 10px (Figma had 10.29px — likely rounding artifact)
 *   - --radius-card-sm (12px) vs --radius-card-md (13px) — 1px apart, may be designer error
 *   - --lh-tight (1.0) vs 0.99 on some 28px Bold nodes — treated as 1.0 here
 *   - --lh-heading-2 (1.2) vs --lh-card (1.23) — close; check if intentional
 *   - #fefefe (2 node uses) is 1 unit off #ffffff — treated as --color-white here
 */

:root {

  /* ─────────────────────────────────────────
     COLORS — Brand
  ───────────────────────────────────────── */

  --color-navy:        #0d0c3f;   /* BSI Dark Blue — primary dark bg, hero, nav */
  --color-primary:     #002347;   /* BS. Primary Color / Dark text — dark headings on white */
  --color-cyan:        #42c8f4;   /* BSI Torquoise Blue — accent, CTA, icons */
  --color-orange:      #ff5104;   /* BS. Secondary Color / Primey orange — secondary accent */

  /* ─────────────────────────────────────────
     COLORS — Neutrals
  ───────────────────────────────────────── */

  --color-white:       #ffffff;
  --color-near-black:  #050505;   /* dark section bg */
  --color-gray-9f:     #9f9f9f;   /* mid gray — decorative / dividers (18 uses) */
  --color-gray-67:     #667085;   /* cool gray — muted body text (4 uses) */
  --color-gray-d0:     #d0d5dd;   /* light border / input border (4 uses) */
  --color-subtext:     #4a5453;   /* dark subtext on white (Figma "Subtext" style) */
  --color-gray-mid:    #908fa7;   /* lighter gray text / footer labels (Figma "Gray text" style) */
  --color-gray-text:   #dbdaff;   /* lavender gray on dark bg (Figma "BSI Gray text" style) */
  --color-blue-mid:    #20409a;   /* mid-blue — rare (1 use) */
  --color-blue-slate:  #296d9d;   /* who-can-participate card gradient end */
  --color-tint-cyan:   #f3fcff;   /* very light cyan bg tint (1 use) */
  --color-tint-blue:   #e1f7ff;   /* light blue card/gradient end */

  /* ─────────────────────────────────────────
     COLORS — White alpha overlays
  ───────────────────────────────────────── */

  --color-white-02:    rgba(255, 255, 255, 0.02);   /* 19 uses */
  --color-white-04:    rgba(255, 255, 255, 0.04);   /* 10 uses */
  --color-white-05:    rgba(255, 255, 255, 0.05);   /* 20 uses — most common overlay */
  --color-white-07:    rgba(255, 255, 255, 0.07);
  --color-white-08:    rgba(255, 255, 255, 0.08);
  --color-white-10:    rgba(255, 255, 255, 0.10);
  --color-white-12:    rgba(255, 255, 255, 0.12);   /* 5 uses */
  --color-white-60:    rgba(255, 255, 255, 0.60);

  /* ─────────────────────────────────────────
     COLORS — Navy alpha overlays
  ───────────────────────────────────────── */

  --color-navy-08:     rgba(13, 12, 63, 0.08);    /* 6 uses — card border / subtle bg */
  --color-navy-15:     rgba(13, 12, 63, 0.15);    /* 3 uses — stronger overlay */
  --color-black-20:    rgba(5,  5,  5,  0.20);    /* 1 use — image scrim */

  /* ─────────────────────────────────────────
     GRADIENTS
  ───────────────────────────────────────── */

  /* BSI brand gradient (Figma shared style: "BSI gradient") */
  --gradient-brand:    linear-gradient(to right, #0d0c3f, #42c8f4);

  /* Footer background */
  --gradient-footer:   linear-gradient(to top, #050505, #0e0d40);

  /* Card / section light gradient */
  --gradient-card:     linear-gradient(to bottom, #ffffff, #e1f7ff);

  /* About section background */
  --gradient-about:    linear-gradient(to bottom, #ffffff, #f9f9fa);

  /* Icon/feature card accent (dark navy to cyan, diagonal) */
  --gradient-icon:     linear-gradient(145deg, #0d0c3f, #42c8f4);

  /* Scrim overlays for images */
  --gradient-scrim-h:  linear-gradient(to left, #070707, transparent);
  --gradient-scrim-v:  linear-gradient(to bottom, #0d0c3f, transparent);


  /* ─────────────────────────────────────────
     TYPOGRAPHY — Font families
  ───────────────────────────────────────── */

  --font-heading:   'Gilroy-Bold', 'Inter', sans-serif;
  --font-semibold:  'Gilroy-SemiBold', 'Inter', sans-serif;
  --font-medium:    'Gilroy-Medium', 'Inter', sans-serif;
  --font-body:      'Aventa', 'Inter', sans-serif;
  --font-display:   'Expose', 'Inter', sans-serif;    /* rare — 2 uses, 18px decorative */
  --font-special:   'Quilon', 'Inter', sans-serif;    /* rare — 1 use, 28px display */

  /* ─────────────────────────────────────────
     TYPOGRAPHY — Font sizes
  ───────────────────────────────────────── */

  --text-9:    9px;    /* micro badge / label */
  --text-13:  13px;    /* smallest body */
  --text-14:  14px;    /* caption / meta */
  --text-15:  15px;    /* small body */
  --text-16:  16px;    /* body base (most used size) */
  --text-18:  18px;    /* body large */
  --text-21:  21px;    /* card body — most used text node (22 instances) */
  --text-22:  22px;    /* small heading */
  --text-24:  24px;    /* card title */
  --text-26:  26px;    /* subheading */
  --text-28:  28px;    /* h4 */
  --text-40:  40px;    /* h3 */
  --text-48:  48px;    /* h2 */
  --text-56:  56px;    /* h1 */

  /* ─────────────────────────────────────────
     TYPOGRAPHY — Line heights (unitless)
     FLAG: --lh-heading-2 (1.2) vs --lh-card (1.23) — appear together; check with designer
  ───────────────────────────────────────── */

  --lh-tightest:  0.9;    /* Expose 18px */
  --lh-tight:     1.0;    /* Gilroy-Medium 48px */
  --lh-heading:   1.05;   /* primary heading rhythm — 56px, 28px, 22px Bold */
  --lh-normal:    1.1;    /* 40px SemiBold, 18px Aventa, 16px Medium */
  --lh-heading-2: 1.2;    /* 48px SemiBold, 24px Bold, 16px Medium */
  --lh-card:      1.23;   /* 21px SemiBold — most common line height (22 instances) */
  --lh-body:      1.3;    /* 16px Aventa body */
  --lh-body-alt:  1.35;   /* 16–18px Aventa body variant */
  --lh-relaxed:   1.5;    /* 24px Bold, 16px Medium */
  --lh-loose:     1.6;    /* 15px Aventa small */
  --lh-looser:    1.71;   /* 14px Aventa caption */
  --lh-loosest:   1.85;   /* 13px Aventa tiny */

  /* ─────────────────────────────────────────
     TYPOGRAPHY — Letter spacing
  ───────────────────────────────────────── */

  --ls-normal:   0em;       /* default — most text */
  --ls-tight-1:  -0.01em;   /* 40px SemiBold h3 */
  --ls-tight-2:  -0.02em;   /* 48px Medium h2 */
  --ls-tight-5:  -0.05em;   /* 48px SemiBold h2 */


  /* ─────────────────────────────────────────
     BORDER RADIUS
     FLAG: --radius-card-sm (12px) vs --radius-card-md (13px) — 1px apart
  ───────────────────────────────────────── */

  --radius-xs:        4px;    /* small chip/tag — from Figma 4.18px (rounding artifact) */
  --radius-sm:        10px;   /* small card corner — from Figma 10.29px (rounding artifact) */
  --radius-card-sm:   12px;   /* card default */
  --radius-card-md:   13px;   /* FLAG: 1px larger than card-sm — verify with designer */
  --radius-md:        16px;
  --radius-lg:        20px;
  --radius-xl:        24px;
  --radius-2xl:       32px;
  --radius-3xl:       48px;
  --radius-pill:      100px;  /* pill button / full-round badge */


  /* ─────────────────────────────────────────
     LAYOUT
  ───────────────────────────────────────── */

  --frame-width:       1200px;   /* Figma canvas width */
  --breakpoint-sm:      810px;   /* tablet */
  --breakpoint-lg:     1200px;   /* desktop */

  --gutter-mobile:      20px;
  --gutter-tablet:      32px;
  --gutter-desktop:     48px;
  --gutter:             var(--gutter-desktop);


  /* ─────────────────────────────────────────
     SHADOWS
     (No box-shadow effects found on Event_Page nodes.
      Cards use border + alpha backgrounds for depth.)
  ───────────────────────────────────────── */

  --shadow-none: none;

}

/* Responsive gutter overrides */
@media (max-width: 1199px) {
  :root { --gutter: var(--gutter-tablet); }
}
@media (max-width: 809px) {
  :root { --gutter: var(--gutter-mobile); }
}
