/**
 * Base typography applied from the tokens in
 * assets/css/utilities/variables.css. Component/page CSS should only need
 * font-size overrides for special cases — body copy and headings are set
 * globally here.
 */
body {
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: var(--line-height-normal);
	color: var(--color-text);
	background-color: var(--color-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: var(--line-height-tight);
	color: var(--color-heading);
	font-weight: 700;
}

h1 {
	font-size: var(--font-size-3xl);
}

h2 {
	font-size: var(--font-size-2xl);
}

h3 {
	font-size: var(--font-size-xl);
}

h4 {
	font-size: var(--font-size-lg);
}

h5,
h6 {
	font-size: var(--font-size-md);
}

@media (max-width: 48rem) {
	h1 {
		font-size: var(--font-size-2xl);
	}

	h2 {
		font-size: var(--font-size-xl);
	}

	h3 {
		font-size: var(--font-size-lg);
	}
}

small {
	font-size: var(--font-size-sm);
}

a {
	color: var(--color-link);
}

a:hover {
	color: var(--color-link-hover);
}
