/* eazy — extra web fonts: Abraham (Hebrew body/UI) + Geomanist Light.
   Load AFTER colors_and_type.css. Abraham files are TRIAL versions —
   confirm licensing before production. */

@font-face {
  font-family: "Abraham";
  src: url("../_ds/eazy-design-system-019e085a-0638-7c53-ad03-c4d5f4423a34/fonts/AbrahamTRIAL-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Abraham";
  src: url("../_ds/eazy-design-system-019e085a-0638-7c53-ad03-c4d5f4423a34/fonts/AbrahamTRIAL-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Abraham";
  src: url("../_ds/eazy-design-system-019e085a-0638-7c53-ad03-c4d5f4423a34/fonts/AbrahamTRIAL-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Abraham";
  src: url("../_ds/eazy-design-system-019e085a-0638-7c53-ad03-c4d5f4423a34/fonts/AbrahamTRIAL-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Abraham";
  src: url("../_ds/eazy-design-system-019e085a-0638-7c53-ad03-c4d5f4423a34/fonts/AbrahamTRIAL-Black.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geomanist";
  src: url("../_ds/eazy-design-system-019e085a-0638-7c53-ad03-c4d5f4423a34/fonts/Geomanist-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}

:root {
  --font-ui: "Abraham", "Heebo", "Assistant", system-ui, sans-serif;
  /* Abraham is the site's running-text face — everything that reads
     var(--font-body) picks it up. Display type stays Avigul. */
  --font-body: "Abraham", "Heebo", "Assistant", system-ui, sans-serif;
}

/* ---------- Site-wide type roles -------------------------------------
   Family + weight only; per-page font sizes stay where they are.
   Section headings are Avigul Light, running text is Abraham Regular,
   UI (nav, buttons, fields, labels, tables) is Abraham Medium/Regular. */

/* Pages set these inline, so the role rules have to win. */
/* Section headings are Avigul Light. Hero h1 is Avigul Regular per spec —
   family is forced, weight is only a default so a page can state its own. */
h2, .ez-h2 { font-family: var(--font-display) !important; font-weight: 300 !important; }
h1, .ez-h1 { font-family: var(--font-display) !important; }
h1, .ez-h1 { font-weight: 400; }
h3, h4, .ez-h3, .ez-h4 { font-family: var(--font-display) !important; font-weight: 700 !important; }

p, li, td, label, figcaption, blockquote { font-family: var(--font-ui); font-weight: 400; }
th { font-family: var(--font-ui) !important; font-weight: 500 !important; }
td { font-family: var(--font-ui) !important; font-weight: 400 !important; }

input, select, textarea, button { font-family: var(--font-ui) !important; }
button, [type="submit"] { font-weight: 500 !important; }

summary { font-family: var(--font-display) !important; font-weight: 400 !important; }
details[open] > summary { font-weight: 700 !important; }

