/* v28 — Cross-platform typography + Unicode compatibility
   Brand fonts remain preferred when licensed/installed. No font binaries are redistributed. */
:root{
  --v28-font-sans: "ZT Gatha", "Geoform", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Hiragino Sans", "Yu Gothic UI", Meiryo, "Microsoft YaHei UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --v28-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Cascadia Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Noto Sans Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}
html{
  -webkit-text-size-adjust:100%%;
  text-size-adjust:100%%;
  font-synthesis:weight style;
  font-kerning:normal;
}
body,button,input,select,textarea,option{
  font-family:var(--v28-font-sans);
}
button,input,select,textarea{font:inherit}
code,kbd,samp,pre{font-family:var(--v28-font-mono)}
input,textarea,[contenteditable="true"]{unicode-bidi:plaintext}
:where(body,button,input,select,textarea,option,code,kbd,samp,pre){
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
  word-wrap:break-word;
  overflow-wrap:anywhere;
}
/* Language-aware fallback hints for glyph coverage when a node carries lang=. */
:lang(ja){font-family:"Geoform","ZT Gatha","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,"Noto Sans CJK JP",system-ui,sans-serif}
:lang(ko){font-family:"Geoform","ZT Gatha","Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",system-ui,sans-serif}
:lang(zh-CN),:lang(zh-SG),:lang(zh-Hans){font-family:"Geoform","ZT Gatha","PingFang SC","Microsoft YaHei UI","Noto Sans CJK SC",system-ui,sans-serif}
:lang(zh-TW),:lang(zh-HK),:lang(zh-Hant){font-family:"Geoform","ZT Gatha","PingFang TC","Microsoft JhengHei UI","Noto Sans CJK TC",system-ui,sans-serif}
:lang(ar){font-family:"Geoform","ZT Gatha","Geeza Pro","Segoe UI",Tahoma,"Noto Sans Arabic",Arial,sans-serif}
:lang(he){font-family:"Geoform","ZT Gatha","Arial Hebrew","Segoe UI",Arial,"Noto Sans Hebrew",sans-serif}
