/*
 Self-hosted font setup for Lynx Portal
 - Headings (h1, h2): General Sans SemiBold (600)
 - Body and UI text: Inter
 - Code blocks stay monospace

 To enable, place the following font files under /public/fonts/:
   Inter-Regular.woff2
   Inter-Regular.woff
   Inter-Medium.woff2
   Inter-Medium.woff
   Inter-SemiBold.woff2
   Inter-SemiBold.woff
   GeneralSans-SemiBold.woff2
   GeneralSans-SemiBold.woff
 Adjust paths/names below if your files differ.
*/

/* Inter: regular (400) */
@font-face {
  font-family: "Inter";
  src: local("Inter Regular"), local("Inter-Regular"),
       url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inter: medium (500) */
@font-face {
  font-family: "Inter";
  src: local("Inter Medium"), local("Inter-Medium"),
       url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Inter: semibold (600) */
@font-face {
  font-family: "Inter";
  src: local("Inter SemiBold"), local("Inter-SemiBold"),
       url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* General Sans: semibold (600) */
@font-face {
  font-family: "General Sans";
  src: local("General Sans Semibold"), local("GeneralSans-SemiBold"), local("GeneralSans Semibold"),
       url("../fonts/GeneralSans-SemiBold.woff2") format("woff2"),
       url("../fonts/GeneralSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Base typography: Inter for most text */
html, body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Headings h1 and h2 use General Sans SemiBold */
h1, h2 {
  font-family: "General Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600; /* ensure semi-bold weight */
}

/* Keep code blocks monospaced and untouched */
code, pre, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
