/* ============================================
   BoostedTrades — "Glow Pipeline" shared tokens
   Loaded first by every page: fonts, colour and type tokens.
   glow.css (components) and pages.css (subpages) build on these.

   Type scale is six sizes (--t-xs … --t-2xl), plus the badge numeral
   (--t-num) and Story stat (--t-stat) sizes, and three weights
   (400 / 600 / 700) across Barlow and Barlow Condensed. Orange is
   reserved for primary buttons, key numbers and the booked state.
   ============================================ */

/* Barlow + Barlow Condensed, latin subset, self-hosted (SIL OFL 1.1,
   see fonts/OFL.txt) so the first paint does not wait on a third party. */
@font-face{ font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff2) format('woff2'); }
@font-face{ font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format('woff2'); }
@font-face{ font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600.woff2) format('woff2'); }
@font-face{ font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format('woff2'); }
/* width-matched fallbacks, so text wraps the same before and after the
   webfont lands (no reflow, no layout shift) */
@font-face{ font-family: 'Barlow Condensed Fallback'; src: local('Arial'), local('Liberation Sans'), local('Roboto'), local('Helvetica'); size-adjust: 61%; }
@font-face{ font-family: 'Barlow Fallback'; src: local('Arial'), local('Liberation Sans'), local('Roboto'), local('Helvetica'); size-adjust: 84%; }

:root{
  --bg: #04070F;
  --bg-2: #070D1C;
  --text: #DCEAFF;
  --muted: #9FBEDF;
  --blue: #4FB0FF;
  --orange: #FF8A1E;

  --line: rgba(79,176,255,.28);
  --line-soft: rgba(79,176,255,.16);
  --glow: 0 0 24px -4px rgba(79,176,255,.55);
  --glow-soft: 0 0 44px -14px rgba(79,176,255,.45);
  --glow-orange: 0 0 28px -6px rgba(255,138,30,.7);

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-xl: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --t-2xl: clamp(2.5rem, 1.6rem + 4.4vw, 5.5rem);

  /* numbered badges and Story stats (readability pass) */
  --num-badge: 64px;
  --t-num: 1.875rem;
  --t-stat: clamp(2.75rem, 2.2rem + 1.8vw, 3.5rem);
  --glow-num: 0 0 0 4px rgba(79,176,255,.08), 0 0 26px -2px rgba(79,176,255,.75);

  --head: 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  --body: 'Barlow', 'Barlow Fallback', sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 72px;
}
