/* ═══════════════════════════════════════════════════════════════════════
   SILVA TENDER v2: design tokens
   Liquid metal under a machined window frame. Space Grotesk carries the
   numbers and headings; Inter carries the reading. One accent: signal blue.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  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';
  src: url('../assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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: 'Inter';
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* surfaces */
  --void: #07070d;
  --graphite: #0d0e15;
  --panel: rgba(13, 14, 22, 0.68);
  --panel-strong: rgba(13, 14, 22, 0.86);
  --panel-solid: #10111a;
  --raised: rgba(255, 255, 255, 0.035);
  --wash: rgba(255, 255, 255, 0.025);
  --wash-strong: rgba(255, 255, 255, 0.055);
  --hair: rgba(232, 233, 237, 0.08);
  --hair-strong: rgba(232, 233, 237, 0.15);
  --hair-bright: rgba(232, 233, 237, 0.26);

  /* steel ramp (text) */
  --steel-50: #f6f7fa;
  --steel-100: #e8e9ed;
  --steel-200: #c8c9d1;
  --steel-300: #a0a1ae;
  --steel-400: #7a7b8c;
  --steel-500: #55566a;
  --steel-600: #3a3b4c;

  /* signal + semantic */
  --signal: #a8b8e0;
  --signal-deep: #8b9cc6;
  --signal-glow: rgba(168, 184, 224, 0.16);
  --ok: #a9cbb9;
  --ok-deep: #7a9e8a;
  --warn: #e3cf9f;
  --warn-deep: #c4a574;
  --danger: #e8b4b4;
  --danger-deep: #b07a7a;
  --info: #9bb0d4;

  /* pipeline stages */
  --st-identified: #8b8ca0;
  --st-qualifying: #e3cf9f;
  --st-drafting: #a8b8e0;
  --st-submitted: #9fd0e6;
  --st-won: #a9cbb9;
  --st-lost: #e2a6a6;
  --st-no_bid: #62637a;

  /* type */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-base: 15px;
  --fs-lg: 17px;
  --fs-xl: 20px;
  --fs-2xl: 26px;
  --fs-3xl: 34px;
  --fs-4xl: clamp(36px, 4.4vw, 54px);

  /* shape */
  --inset: clamp(6px, 0.9vw, 10px);
  --radius-frame: clamp(14px, 1.7vw, 22px);
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;

  /* layout */
  --rail-w: 256px;
  --rail-w-collapsed: 76px;
  --topbar-h: 64px;
  --tabbar-h: 66px;
  --gutter: clamp(16px, 2.4vw, 32px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 160ms;
  --t: 320ms;
  --t-slow: 620ms;

  /* light position for chrome surfaces (moved by pointer) */
  --lx: 38%;

  /* depth */
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-3: 0 30px 80px rgba(0, 0, 0, 0.6);

  --z-rail: 40;
  --z-topbar: 45;
  --z-tabbar: 50;
  --z-frame: 60;
  --z-sheet: 80;
  --z-palette: 90;
  --z-toast: 100;
  --z-tooltip: 110;
}

html.reduce-motion {
  --t-fast: 1ms;
  --t: 1ms;
  --t-slow: 1ms;
}
