/* ==========================================================================
   Qooer Spectrum Web Design Tokens
   Self-hosted OFL fonts (Jost 600/700, Inter 400/500/600/700) + Spectrum Tokens
   ========================================================================== */

/* Jost 600 (latin-ext & latin) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./fonts/jost-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./fonts/jost-latin-600-normal.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;
}

/* Jost 700 (latin-ext & latin) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./fonts/jost-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./fonts/jost-latin-700-normal.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;
}

/* Inter 400 / 500 / 600 / 700 (latin-ext & latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./fonts/inter-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./fonts/inter-latin-400-normal.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./fonts/inter-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./fonts/inter-latin-500-normal.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./fonts/inter-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./fonts/inter-latin-600-normal.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./fonts/inter-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./fonts/inter-latin-700-normal.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;
}

:root {
  /* Spectrum Color Families */
  --mint-tint: #DDF7EE;
  --mint-core: #01CF97;
  --mint-deep: #05704F;

  --violet-tint: #EEE7FF;
  --violet-core: #6B2BFF;
  --violet-deep: #2B1170;

  --sun-tint: #FFF5C7;
  --sun-core: #FFE15A;
  --sun-deep: #6E5200;

  --sky-tint: #E1F1FD;
  --sky-core: #75C3F5;
  --sky-deep: #124D78;

  --rose-tint: #FFE3EE;
  --rose-core: #FB5A96;
  --rose-deep: #8A1844;

  /* Neutrals */
  --navy: #101A3D;
  --ink2: #56607E;
  --ink3: #9AA1B6;
  --paper: #FFFFFF;
  --soft: #F3F2F8;
  --lav: #F5F4FA;
  --line: rgba(16, 26, 61, 0.08);
  --line2: rgba(16, 26, 61, 0.13);
  --danger: #FF4242;
  --danger-deep: #B91C1C;
  --danger-tint: #FEE2E2;

  /* Ledger Accent Colors */
  --ledger-coins: #E6A532;
  --ledger-diamonds: #19D7FD;
  --ledger-diamonds-deep: #0D5E73;

  /* Screen Tones */
  --tone-sky-bg: #D6EBFB;
  --tone-sky-ink: #0F1B3D;
  --tone-sky-ink2: #41527A;
  --tone-sky-soft: rgba(255, 255, 255, 0.58);

  --tone-violet-bg: #5B25E8;
  --tone-violet-paper: #4A17CF;
  --tone-violet-ink: #FFFFFF;
  --tone-violet-ink2: rgba(255, 255, 255, 0.88);
  --tone-violet-line: rgba(255, 255, 255, 0.18);

  --tone-sun-bg: #FFE15A;
  --tone-sun-ink: #2B1170;
  --tone-sun-ink2: #5E4A1A;

  /* Globe & PaperPlane Tokens */
  --globe-ocean-top: #CDEBFC;
  --globe-ocean-mid: #9FD4F5;
  --globe-ocean-edge: #6FB6E9;
  --globe-land: #5ADDB3;
  --globe-coast: #1EA77F;
  --globe-limb: #0B1A4D;
  --globe-shadow: #1A2A6B;
  --plane-upper: #FFFFFF;
  --plane-keel: #C9D2E3;
  --plane-lower: #E9EDF6;
  --plane-stroke: #8D9BB8;
  --plane-crease: #9FABC4;

  /* Call Controls (solid semi-transparent navy, zero blur) */
  --call-ctrl-bg: rgba(16, 26, 61, 0.55);
  --call-bubble-bg: rgba(16, 26, 61, 0.45);
  --tab-inactive: #56607E;
  --tab-divider: rgba(16, 26, 61, 0.07);

  /* Typography (Latin + Simplified/Traditional Chinese + Japanese + Korean + Arabic fallbacks) */
  --font-display: 'Jost', 'PingFang SC', 'PingFang TC', 'Hiragino Sans GB', 'Hiragino Sans', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans Arabic', 'Tahoma', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', 'PingFang SC', 'PingFang TC', 'Hiragino Sans GB', 'Hiragino Sans', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans Arabic', 'Tahoma', system-ui, -apple-system, sans-serif;

  /* Smooth viewport scaling: 38/40 mobile -> ~48/52 tablet -> 64/68 desktop */
  --display-hero-size: clamp(2.375rem, 1.765rem + 2.51vw, 4rem);
  --display-hero-lh: clamp(2.5rem, 1.84rem + 2.71vw, 4.25rem);
  --display-section-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.375rem);
  --display-section-lh: 1.18;
  --display-card-size: 1.375rem;
  --text-lead-size: clamp(1rem, 0.96rem + 0.19vw, 1.125rem);
  --text-lead-lh: 1.6;
  --text-body-size: 1rem;
  --text-body-lh: 1.6;
  --text-prose-size: 1rem;
  --text-prose-lh: 1.65;

  /* 8px Spacing System */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;

  /* Layout Bounds */
  --container-max: 1184px;
  --page-gutter: 22px;
  --prose-max: 68ch;

  /* Radii & Shapes */
  --radius-btn: 18px;
  --radius-card: 22px;
  --radius-tile: 18px;
  --radius-pill: 999px;
  --radius-sheet: 32px;
  --radius-bubble: 20px;
  --radius-bubble-tail: 6px;
  --btn-primary-height: 56px;

  /* Grounded Elevation (zero neon glow) */
  --shadow-card: 0 8px 12px rgba(16, 26, 61, 0.10);
  --shadow-float: 0 6px 14px rgba(16, 26, 61, 0.14);
  --shadow-primary-btn: 0 8px 14px rgba(43, 17, 112, 0.22);

  /* Motion */
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-ease: cubic-bezier(0.2, 0, 0, 1);
}
