/* =====================================================================
   The original theme's starting values (its theme.json + browser defaults), restored under Avada.
   Avada sets its own base text sizes, heading sizes and paragraph spacing; the approved design was
   built on these instead. Loaded after Avada's stylesheet and before the design (iaff.css).
   Avada's heading rules read the --hN_typography-* values, so those are set to the original ones.
   ===================================================================== */
:root {
	--body_typography-font-family: Inter, system-ui, sans-serif;
	--body_typography-font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.208), 1rem);
	--body_typography-line-height: 1.65;
	--body_typography-font-weight: 400;
	--body_typography-letter-spacing: normal;
	--body_typography-color: #ffffff;

	--h1_typography-font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--h1_typography-font-size: clamp(3.5rem, 9vw, 8.25rem);
	--h1_typography-font-weight: 400;
	--h1_typography-line-height: 1;
	--h1_typography-letter-spacing: 0.02em;
	--h1_typography-text-transform: uppercase;
	--h1_typography-margin-top: 0.67em;
	--h1_typography-margin-bottom: 0.67em;

	--h2_typography-font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--h2_typography-font-size: clamp(2.25rem, 5vw, 4rem);
	--h2_typography-font-weight: 800;
	--h2_typography-line-height: 1.05;
	--h2_typography-letter-spacing: -0.015em;
	--h2_typography-text-transform: none;
	--h2_typography-margin-top: 0.83em;
	--h2_typography-margin-bottom: 0.83em;

	--h3_typography-font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--h3_typography-font-size: clamp(0.915rem, 0.915rem + ((1vw - 0.2rem) * 0.767), 1.375rem);
	--h3_typography-font-weight: 700;
	--h3_typography-line-height: 1.2;
	--h3_typography-letter-spacing: -0.01em;
	--h3_typography-text-transform: none;
	--h3_typography-margin-top: 1em;
	--h3_typography-margin-bottom: 1em;

	--h4_typography-font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--h4_typography-font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.417), 1.125rem);
	--h4_typography-font-weight: 700;
	--h4_typography-line-height: 1.25;
	--h4_typography-letter-spacing: -0.01em;
	--h4_typography-text-transform: none;
	--h4_typography-margin-top: 1.33em;
	--h4_typography-margin-bottom: 1.33em;

	--h5_typography-font-family: Inter, system-ui, sans-serif;
	--h5_typography-font-size: 0.83em;
	--h5_typography-font-weight: 700;
	--h5_typography-line-height: 1.65;
	--h5_typography-letter-spacing: normal;
	--h5_typography-margin-top: 1.67em;
	--h5_typography-margin-bottom: 1.67em;

	--h6_typography-font-family: Inter, system-ui, sans-serif;
	--h6_typography-font-size: 0.67em;
	--h6_typography-font-weight: 700;
	--h6_typography-line-height: 1.65;
	--h6_typography-letter-spacing: normal;
	--h6_typography-margin-top: 2.33em;
	--h6_typography-margin-bottom: 2.33em;

	--link_color: inherit;
}
body { font-family: Inter, system-ui, sans-serif; font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.208), 1rem); line-height: 1.65; color: #ffffff; }
:where(h1, h2, h3, h4, h5, h6) { color: inherit; }
p { margin: 1em 0; }
:where(a) { color: inherit; }

/* Avada sizes every element "border-box"; the original theme used the browser default, so padding
   added to an element's size (cards with a minimum height came out taller). Restore that inside the
   design's sections. Zero-strength selectors: any rule in the design still wins. */
:where(.iaff-av-raw) *, :where(.iaff-av-raw) *::before, :where(.iaff-av-raw) *::after { box-sizing: content-box; }
