/* ==========================================================================
   PRO-LIFE ANSWERS — BASE STYLES
   --------------------------------------------------------------------------
   Contents
   01. Box Sizing
   02. Document
   03. Media
   04. Links
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-background-primary);
	color: var(--color-text-primary);
	font-family: var(--font-body);
	font-size: var(--font-size-body);
	font-weight: 400;
	line-height: var(--line-height-body);
	letter-spacing: var(--letter-spacing-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

@font-face {
	font-family: "Roslindale Variable Display";
	src: url("../fonts/roslindale-variable-display.woff2") format("woff2");
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
}

@font-face {
	font-family: "Test Tiempos Headline VF";
	src: url("../fonts/test-tiempos-headline-vf-roman.woff2") format("woff2");
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

/* Restore the H1 display face without reintroducing older global styles. */
h1,
.heading-1 {
	font-family: var(--font-display, "IvyPresto Display", Georgia, serif);
	font-size: var(--font-size-h1);
	font-weight: 200;
	line-height: var(--line-height-h1);
	letter-spacing: var(--letter-spacing-h1);
}
