/* ===== Optimized Assistant font setup ===== */

/* Apply font-smoothing globally */
html, body {
  font-family: 'Assistant', sans-serif;
  -webkit-font-smoothing: antialiased; /* Chrome/Edge/Safari */
  -moz-osx-font-smoothing: grayscale;  /* Firefox */
  text-rendering: optimizeLegibility;  /* improve kerning & legibility */
}

/* Load only necessary weights (200, 300, 400, 600, 700) */
/* Each font-face covers both Latin & Hebrew using separate files */

/* ExtraLight / 200 */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200;
  src: url('Assistant-ExtraLight-Latin.woff2') format('woff2'),
       url('Assistant-ExtraLight.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0590-05FF;
}

/* Light / 300 */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 300;
  src: url('Assistant-Light-Latin.woff2') format('woff2'),
       url('Assistant-Light.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0590-05FF;
}

/* Regular / 400 */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 400;
  src: url('Assistant-Regular-Latin.woff2') format('woff2'),
       url('Assistant-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0590-05FF;
}

/* SemiBold / 600 */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 600;
  src: url('Assistant-SemiBold-Latin.woff2') format('woff2'),
       url('Assistant-SemiBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0590-05FF;
}

/* Bold / 700 */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 700;
  src: url('Assistant-Bold-Latin.woff2') format('woff2'),
       url('Assistant-Bold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0590-05FF;
}

/* Optional ExtraBold / 800 */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 800;
  src: url('Assistant-ExtraBold-Latin.woff2') format('woff2'),
       url('Assistant-ExtraBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0590-05FF;
}

