/* One typeface for the whole site.
 *
 * Two local Proxima Nova cuts carry everything: Semibold for normal text and
 * Bold for anything heavier. No Google Fonts, no Roboto, no vendor icon fonts —
 * icons are inline SVG.
 *
 * Semibold is registered across 400-600 and Bold across 700-900 so a browser
 * asking for 500 or 800 lands on a real file instead of synthesising one.
 */

@font-face {
	font-family: "Proxima Nova";
	src: url("/assets/fonts/ProximaNova_Semibold.ttf") format("truetype");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Proxima Nova";
	src: url("/assets/fonts/ProximaNova_Bold.ttf") format("truetype");
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--hbg-font: "Proxima Nova", -apple-system, "Segoe UI", Helvetica, Arial,
		sans-serif;
}

html,
body {
	font-family: var(--hbg-font) !important;
}

body :not(svg):not(svg *) {
	font-family: var(--hbg-font) !important;
}

/* Form controls do not inherit the document font by default. */
button,
input,
optgroup,
select,
textarea {
	font-family: var(--hbg-font);
}

/* Inline SVG icons. The wrapper stays an <i> so the export's existing
 * `.sa-footer-cta i` / `.sh-back-to-top i` sizing rules still land; the glyph
 * itself is a drawn path at 1em, in currentColor. */
.sa-ico {
	display: inline-block;
	font-style: normal;
	line-height: 1;
	vertical-align: -0.125em;
}

.sa-ico svg {
	display: block;
	width: 1em;
	height: 1em;
}

/* Keep the policy copy readable now that the code block is proportional. */
.wp-block-code,
.wp-block-code code {
	font-variant-ligatures: none;
	letter-spacing: 0;
}
