/* EPS design tokens. Components use these variables only — never raw hex.
   Contrast of every text/background pair checked with the WCAG formula (both themes ≥ 4.5:1). */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/static/vendor/fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/static/vendor/fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/static/vendor/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/static/vendor/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #F6F6FA; --surface: #FFFFFF; --surface-2: #EDEDF4; --elev: #FFFFFF;
  --ink: #0E0E18; --muted: #55546A; --line: #D7D7E4; --line-soft: #E7E7F0;
  --accent: #D7351B; --on-accent: #FFFFFF; --accent-ink: #B42A12;
  --violet: #6D28D9;
  --available: #15803D; --low: #9A5B00; --soldout: #C0262D; --promo: #6D28D9; --focus: #2563EB;
  --tag-bg: #0E0E18; --tag-fg: #FFFFFF;
  --glass: rgba(246, 246, 250, .78);
  --shadow: 0 1px 2px rgba(16, 16, 40, .06), 0 8px 24px rgba(16, 16, 40, .07);
  --shadow-lg: 0 2px 4px rgba(16, 16, 40, .06), 0 24px 48px rgba(16, 16, 40, .12);
  --chart-1: #D7351B; --chart-2: #6D28D9; --chart-3: #0E7490; --chart-4: #15803D; --chart-5: #9A5B00; --chart-grid: #E7E7F0;
  /* the "stage": hero + featured blocks are always dark, in both themes */
  --stage: #0A0A12; --stage-ink: #F4F3FA; --stage-muted: #B8B6CC; --stage-accent: #FF6A45;
  --glow: radial-gradient(60% 80% at 15% 10%, rgba(124, 58, 237, .55), transparent 60%),
          radial-gradient(50% 70% at 85% 30%, rgba(255, 77, 109, .45), transparent 60%),
          radial-gradient(40% 60% at 60% 100%, rgba(255, 138, 61, .35), transparent 60%);
  --grad: linear-gradient(120deg, #7C3AED, #FF4D6D 55%, #FF8A3D);

  --font-display: "Space Grotesk", "Arial Narrow", system-ui, sans-serif;
  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem; --fs-sm: 0.9375rem; --fs-md: 1rem; --fs-lg: 1.25rem;
  --fs-xl: 1.75rem; --fs-2xl: clamp(2rem, 4vw, 2.75rem); --fs-3xl: clamp(2.6rem, 7.5vw, 6rem);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-0: 0; --r-1: 10px; --r-2: 16px; --r-3: 24px; --r-pill: 999px;
  --t-fast: 150ms; --t-med: 220ms; --t-slow: 320ms; --ease: cubic-bezier(.2, .8, .2, 1);
  --tap: 44px; --tabbar: 64px;
  --maxw: 1280px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0A12; --surface: #13131E; --surface-2: #1C1C2A; --elev: #181826;
  --ink: #F4F3FA; --muted: #A6A4BC; --line: #2A2A3D; --line-soft: #20202F;
  --accent: #FF6A45; --on-accent: #14070A; --accent-ink: #FF8A6B;
  --violet: #B79CFF;
  --available: #4ADE80; --low: #FBBF24; --soldout: #FF8A8A; --promo: #C4B5FD; --focus: #A5B4FC;
  --tag-bg: #F4F3FA; --tag-fg: #0A0A12;
  --glass: rgba(10, 10, 18, .72);
  --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .05), 0 24px 60px rgba(0, 0, 0, .6);
  --chart-1: #F2603C; --chart-2: #9D7BFF; --chart-3: #67E8F9; --chart-4: #4ADE80; --chart-5: #FBBF24; --chart-grid: #20202F;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0A0A12; --surface: #13131E; --surface-2: #1C1C2A; --elev: #181826;
  --ink: #F4F3FA; --muted: #A6A4BC; --line: #2A2A3D; --line-soft: #20202F;
  --accent: #FF6A45; --on-accent: #14070A; --accent-ink: #FF8A6B;
  --violet: #B79CFF;
  --available: #4ADE80; --low: #FBBF24; --soldout: #FF8A8A; --promo: #C4B5FD; --focus: #A5B4FC;
  --tag-bg: #F4F3FA; --tag-fg: #0A0A12;
  --glass: rgba(10, 10, 18, .72);
  --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .05), 0 24px 60px rgba(0, 0, 0, .6);
  --chart-1: #F2603C; --chart-2: #9D7BFF; --chart-3: #67E8F9; --chart-4: #4ADE80; --chart-5: #FBBF24; --chart-grid: #20202F;
  }
}
