/* KVPL Medical Claims v3.2.5 — locally hosted Inter typography */

@font-face {
  font-family: "KVPL Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "KVPL Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2-variations");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-apple: "KVPL Inter", -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI",
    system-ui, sans-serif;
}

/* The :root pseudo-class gives this release layer enough specificity to
   replace older component-level Apple-system fallback declarations. */
html:root,
html:root body,
html:root body * {
  font-family: "KVPL Inter", -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI",
    system-ui, sans-serif !important;
  font-optical-sizing: auto;
}

html:root body {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html:root body h1,
html:root body h2,
html:root body h3,
html:root body .metric-card strong {
  letter-spacing: -0.02em;
}

html:root body .money,
html:root body input[type="number"],
html:root body .account-number {
  font-variant-numeric: tabular-nums lining-nums;
}
