/*
 * CGC typography consolidation.
 *
 * This is intentionally the sole owner of the text font faces and the two
 * global font tokens. Component settings and custom CSS must reference these
 * tokens rather than naming a family directly.
 */

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
		U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--font-body: Nunito, "Segoe UI", system-ui, sans-serif;
	--font-heading: var(--font-body);
	--global-body-font-family: var(--font-body);
	--global-heading-font-family: var(--font-heading);
	/* Match the legacy Kadence small-text scale used by the live templates. */
	--global-kb-font-size-sm: 0.8rem;

	/* Legacy component tokens retained as aliases while their sources migrate. */
	--faq-q-font: var(--font-heading);
	--font-ft: var(--font-body);
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
}

h1 {
	font-weight: 800;
}

h2 {
	font-weight: 700;
}

h3 {
	font-weight: 700;
}

h4,
h5,
h6 {
	font-weight: 600;
}

table,
table td,
table th,
.price,
.range,
[class*="price"],
[class*="range"] {
	font-variant-numeric: tabular-nums;
}

@media (min-width: 1025px) {
	:root {
		--global-kb-font-size-sm: 0.9rem;
	}
}
