/* BRODLIN MASTER FONT. LAW (Denis, 2026-11-13): one clean font for the whole site, all 19 languages.
   Inter: Latin + Cyrillic (en, de, es, fr, it, pl, pt, ro, tr, ru, uk).
   Noto Sans: Hebrew, Arabic, Devanagari (hi), JP, KR, SC, TC. Headings weight 600, nothing heavier.
   Not used in the PDF editor and PDF creator (their own look).
   Change the site font ONLY here. Icon fonts are excluded.
   Google serves fonts split by unicode-range, so a page downloads only the scripts it shows. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Noto+Sans+Hebrew:wght@400;500;600&family=Noto+Sans+Arabic:wght@400;500;600&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600&family=Noto+Sans+TC:wght@400;500;600&display=swap");

:root {
  --brodlin-font-base: Inter, "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari";
  --brodlin-font-tail: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --brodlin-font: var(--brodlin-font-base), "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", var(--brodlin-font-tail);
}
html:lang(ja) { --brodlin-font: var(--brodlin-font-base), "Noto Sans JP", var(--brodlin-font-tail); }
html:lang(ko) { --brodlin-font: var(--brodlin-font-base), "Noto Sans KR", var(--brodlin-font-tail); }
html:lang(zh-TW) { --brodlin-font: var(--brodlin-font-base), "Noto Sans TC", var(--brodlin-font-tail); }
html:lang(zh-CN) { --brodlin-font: var(--brodlin-font-base), "Noto Sans SC", var(--brodlin-font-tail); }
html:lang(ar) { --brodlin-font: "Noto Sans Arabic", Inter, var(--brodlin-font-tail); }
html:lang(he) { --brodlin-font: Inter, "Noto Sans Hebrew", var(--brodlin-font-tail); }

html body,
html body :where(*):not([class*="material-symbols"]):not([class*="material-icons"]):not([class*="dashicons"]):not(code):not(pre):not(kbd):not(samp):not(svg *) {
  font-family: var(--brodlin-font) !important;
}

html body :where(h1, h2, h3, h4, h5, h6, b, strong, th) {
  font-weight: 600;
}
html body h1, html body h2, html body h3 {
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}
html:lang(ar) body h1, html:lang(ar) body h2, html:lang(ar) body h3,
html:lang(he) body h1, html:lang(he) body h2, html:lang(he) body h3 { letter-spacing: 0; }
html body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}
