/* GP Insight Hub — self-hosted typography system
   Inter is distributed with the deployment so UI typography is consistent on
   desktop and mobile, including environments where Google Fonts is unavailable. */
@font-face {
  font-family: "GP Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

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

:root {
  --gp-font-sans: "GP Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gp-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
  font-family: var(--gp-font-sans);
  font-synthesis: none;
}

/* Existing pages were authored at different points and declare Arial, Segoe UI
   or Inter locally. The shared layer intentionally normalises UI copy without
   changing purpose-built code and data-text areas. */
body,
body button,
body input,
body select,
body textarea,
body option,
body label,
body table,
body th,
body td,
body a,
body p,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body span,
body div,
body li {
  font-family: var(--gp-font-sans) !important;
}

body pre,
body code,
body kbd,
body samp,
body .code,
body .monospace,
body .json-viewer,
body .sql-preview {
  font-family: var(--gp-font-mono) !important;
}
