/* ==========================================================================
   Legi BETA 15 — the six families the family switcher offers.

   One @font-face family per tab in the type-family nav; the switcher only
   swaps `--font` on <html>, so every weight dropdown on the page keeps
   working unchanged.

   All six share their vertical metrics (upm 1000, ascender 1000,
   descender -250, cap 670, x-height 536), which is what makes CSS
   `line-height: normal` equal Figma's "Auto" leading exactly — see README.

   Upright only: the design uses no italics, and shipping the italic half of
   the package would double the folder for nothing.
   ========================================================================== */

/* ---- Legi ---- */
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Black.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi';
  src: url('/fonts/LegiNormalBETA15-Ultra.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Legi Cond ---- */
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-ThinCond.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-ExtralightCond.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-LightCond.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-RegularCond.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-MediumCond.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-BoldCond.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-BlackCond.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Cond';
  src: url('/fonts/LegiNormalBETA15-UltraCond.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Legi UI ---- */
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-ThinUI.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-ExtralightUI.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-LightUI.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-RegularUI.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-MediumUI.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-BoldUI.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-BlackUI.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi UI';
  src: url('/fonts/LegiNormalBETA15-UltraUI.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Legi Rounded ---- */
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Black.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded';
  src: url('/fonts/LegiRoundedBETA15-Ultra.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Legi Rounded Cond ---- */
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-ThinCond.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-ExtralightCond.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-LightCond.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-RegularCond.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-MediumCond.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-BoldCond.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-BlackCond.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded Cond';
  src: url('/fonts/LegiRoundedBETA15-UltraCond.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Legi Rounded UI ---- */
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-ThinUI.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-ExtralightUI.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-LightUI.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-RegularUI.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-MediumUI.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-BoldUI.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-BlackUI.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Legi Rounded UI';
  src: url('/fonts/LegiRoundedBETA15-UltraUI.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
