/* variables.css — Design tokens */

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* ── Colors ── */
  --color-primary:      #0A2463;
  --color-primary-lt:   #1B4FD8;
  --color-cta:          #0078e8;
  --color-accent:       #e5a523;
  --color-dark-section: #0A1733;
  --color-bg:           #F7F9FC;
  --color-surface:      #FFFFFF;
  --color-border:       #E2E8F0;
  --color-text:         #1A202C;
  --color-text-muted:   #64748B;
  --color-success:      #16A34A;
  --color-warning:      #D97706;

  /* ── Typography ── */
  --font-family:         'Inter', system-ui, sans-serif;
  --font-family-display: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-size-xs:     0.75rem;    /*  12px */
  --font-size-sm:     0.875rem;   /*  14px */
  --font-size-base:   1rem;       /*  16px */
  --font-size-lg:     1.125rem;   /*  18px */
  --font-size-xl:     1.25rem;    /*  20px */
  --font-size-2xl:    1.5rem;     /*  24px */
  --font-size-3xl:    1.875rem;   /*  30px */
  --font-size-4xl:    2.25rem;    /*  36px */

  --font-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;
  --font-weight-extrabold:800;

  --line-height-tight:  1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed:1.75;

  /* ── Spacing (4px scale) ── */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */

  /* ── Border radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* ── Layout ── */
  --container-max:  1280px;
  --container-pad:  var(--space-6);

  /* ── Z-index ── */
  --z-dropdown: 100;
  --z-navbar:   200;
  --z-overlay:  300;
  --z-modal:    400;

  /* ── Navbar height (scrolled state, used as sticky offset for filter bars) ── */
  --navbar-height: 80px;
}

@media (max-width: 767px) {
  :root { --navbar-height: 64px; }
}

@media (max-width: 479px) {
  :root { --navbar-height: 56px; }
}
