/* ==========================================================================
   JR Infotech — design tokens
   Fonts are self-hosted so the site works offline and without third parties.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  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("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  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: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --navy-950: #061529;
  --navy-900: #081c35;
  --navy-800: #0b2545;
  --navy-700: #123a66;
  --navy-600: #1a4c80;
  --blue-700: #1550b8;
  --blue-600: #1b62d8;
  --blue-500: #2c7bea;
  --blue-200: #bcd7f7;
  --blue-100: #e8f1fd;
  --blue-50: #f3f8ff;
  --cyan-600: #0a94c2;
  --cyan-500: #0fa3d0;
  --cyan-400: #17b6e4;
  --cyan-100: #e2f7fd;

  /* Neutrals */
  --ink: #0b1b33;
  --slate-800: #233650;
  --slate-700: #33455c;
  --slate-600: #4a5d75;
  --slate-500: #64778f;
  --slate-400: #8494a8;
  --line: #dde6f1;
  --line-strong: #c7d4e4;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --surface-3: #ecf2f9;

  /* Semantic */
  --wa: #0f766e;
  --wa-dark: #0b5c56;
  --success: #0e7c58;
  --success-bg: #e9f7f1;
  --warning: #a86300;
  --warning-bg: #fff6e6;
  --danger: #b42318;
  --danger-bg: #fef3f2;

  /* Typography */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.375rem, 1.22rem + 0.62vw, 1.625rem);
  --fs-2xl: clamp(1.625rem, 1.34rem + 1.1vw, 2.125rem);
  --fs-3xl: clamp(2rem, 1.58rem + 1.75vw, 2.875rem);
  --fs-4xl: clamp(2.375rem, 1.7rem + 3vw, 4rem);

  --lh-tight: 1.08;
  --lh-heading: 1.18;
  --lh-body: 1.65;
  --tracking-tight: -0.025em;
  --tracking-wide: 0.12em;

  /* Spacing — 8px system */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 48px;
  --sp-9: 56px;
  --sp-10: 64px;
  --sp-11: 80px;
  --sp-12: 96px;
  --sp-13: 120px;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(8, 28, 53, 0.06);
  --shadow-sm: 0 2px 8px rgba(8, 28, 53, 0.06);
  --shadow-md: 0 12px 32px -16px rgba(8, 28, 53, 0.24);
  --shadow-lg: 0 28px 64px -28px rgba(8, 28, 53, 0.3);
  --shadow-ring: 0 0 0 4px rgba(27, 98, 216, 0.18);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 820px;
  --header-h: 80px;
  --topbar-h: 36px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 180ms;

  --z-header: 80;
  --z-drawer: 120;
  --z-dialog: 140;
  --z-toast: 160;
}
