/* OBEDIO typography layer (Brand Guidelines, October 2026), font only.
   Injected last in <head> of every public page by scripts/build-deploy.mjs.
   One family: Jost Light 300, Regular 400, Medium 500, no italics.
   Colours, radius, logo and layout stay as they are. */
@font-face{font-family:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url('/fonts/jost-light.woff2') format('woff2')}
@font-face{font-family:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jost-regular.woff2') format('woff2')}
@font-face{font-family:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jost-medium.woff2') format('woff2')}

:root{--obedio-font:'Jost','Helvetica Neue',Arial,sans-serif}

/* The older pages (Specs, Story, FAQ, Press), the configurator, the blog and the language list set
   their own fonts with !important on class selectors (legacy-bridge.css, cfg-bridge.css,
   blog-bridge.css, nav-v2.css, styles.css). :not(#obedio-jost) matches every element and lifts
   this rule above those, so Jost is the font on every public page. */
html body:not(#obedio-jost),html body:not(#obedio-jost) *:not(svg):not(svg *):not(code):not(pre):not(kbd){font-family:var(--obedio-font)!important}
html body:not(#obedio-jost) ::placeholder{font-family:var(--obedio-font)!important}
html body svg text{font-family:var(--obedio-font)!important}
html body em,html body i,html body cite,html body blockquote,html body [class*="italic"]{font-style:normal!important}
html body b,html body strong{font-weight:500!important}
body{font-synthesis:none}

/* Headings keep their sizes, spacing and line breaks. Jost is matched to the former serif's
   cap height (Cormorant Garamond 0.625 of the size) so the page hierarchy stays as it is. */
html body h1,html body h2,html body h3{font-size-adjust:cap-height .625}
html body h1,html body h2{font-weight:300!important}
html body h3,html body h4{font-weight:400!important}
html body h1 em,html body h2 em,html body h3 em{font-weight:inherit!important}
