/* ==========================================================================
   Medeo v1.1 Font System (by Timur Akhimov & DNF.DEV — prtner.ai/font)
   Geist-based variable typeface engineered for Cyrillic & Latin UI.
   Self-hosted on strideco.online with upstream CDN fallback.
   ========================================================================== */

@font-face {
  font-family: "Medeo Sans";
  src: url("/assets/fonts/MedeoSansVariable.woff2") format("woff2"),
       url("https://prtner.ai/font/cdn/1.1.0/fonts/medeo-sans/MedeoSansVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Medeo Sans";
  src: url("/assets/fonts/MedeoSansVariable-Italic.woff2") format("woff2"),
       url("https://prtner.ai/font/cdn/1.1.0/fonts/medeo-sans/MedeoSansVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Medeo Mono";
  src: url("/assets/fonts/MedeoMonoVariable.woff2") format("woff2"),
       url("https://prtner.ai/font/cdn/1.1.0/fonts/medeo-mono/MedeoMonoVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Medeo Mono";
  src: url("/assets/fonts/MedeoMonoVariable-Italic.woff2") format("woff2"),
       url("https://prtner.ai/font/cdn/1.1.0/fonts/medeo-mono/MedeoMonoVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Medeo Pixel";
  src: url("/assets/fonts/MedeoPixelVariable.woff") format("woff"),
       url("https://prtner.ai/font/cdn/1.1.0/fonts/medeo-pixel/MedeoPixelVariable.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Medeo Serif";
  src: url("/assets/fonts/MedeoSerif-Regular.woff2") format("woff2"),
       url("https://prtner.ai/font/cdn/1.1.0/fonts/medeo-serif/MedeoSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-medeo-sans: "Medeo Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-medeo-mono: "Medeo Mono", ui-monospace, SFMono-Regular, "Roboto Mono", Menlo, Monaco, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  --font-medeo-pixel: "Medeo Pixel", "Medeo Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-medeo-serif: "Medeo Serif", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.medeo-pixel-square   { font-family: var(--font-medeo-pixel); font-variation-settings: "ELSH" 1; font-synthesis: none; }
.medeo-pixel-circle   { font-family: var(--font-medeo-pixel); font-variation-settings: "ELSH" 20; font-synthesis: none; }
.medeo-pixel-grid     { font-family: var(--font-medeo-pixel); font-variation-settings: "ELSH" 40; font-synthesis: none; }
.medeo-pixel-triangle { font-family: var(--font-medeo-pixel); font-variation-settings: "ELSH" 60; font-synthesis: none; }
.medeo-pixel-line     { font-family: var(--font-medeo-pixel); font-variation-settings: "ELSH" 80; font-synthesis: none; }
