/* Reset, typography, utilities */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-white);
}

h1,
h2,
h3 {
	font-family: 'DM Serif Display', serif;
	margin: 0 0 16px;
	line-height: 1.15;
}

h1 {
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: -0.5px;
}

h2 {
	font-size: 36px;
}

h3 {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 22px;
}

p {
	margin: 0 0 16px;
}

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

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

.eyebrow,
.tag,
.label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 48px;
}

.section {
	padding: var(--section-padding-desktop) 0;
}

@media (max-width: 1024px) {
	.section {
		padding: var(--section-padding-tablet) 0;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 20px;
	}

	.section {
		padding: var(--section-padding-mobile) 0;
	}

	h1 {
		font-size: 36px;
	}
}

.section--off {
	background-color: var(--color-bg-off);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
