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

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

body {
	font-family: var(--font-body);
	font-size: var(--mvs-type-body);
	line-height: 1.6;
	letter-spacing: 0;
	color: var(--color-text);
	background: var(--color-bg);
}

:where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--font-heading);
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--color-heading);
	text-wrap: balance;
}

body h1 {
	font-size: var(--mvs-type-h1);
}

body h2 {
	font-size: var(--mvs-type-h2);
}

body h3 {
	font-size: var(--mvs-type-h3);
}

body h4 {
	font-size: var(--mvs-type-h4);
}

body h5 {
	font-size: var(--mvs-type-h5);
}

body h6 {
	font-size: var(--mvs-type-h6);
}

body p {
	font-size: var(--mvs-type-paragraph);
	text-wrap: pretty;
}

body li {
	font-size: var(--mvs-type-list-item);
	text-wrap: pretty;
}

body figcaption {
	font-size: var(--mvs-type-meta);
	text-wrap: pretty;
}

:where(a) {
	color: var(--color-primary);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

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

:where(img, picture, video, canvas, svg) {
	max-width: 100%;
	height: auto;
}

:where(img, picture, video, canvas) {
	display: block;
}

:where(button, input, textarea, select) {
	font: inherit;
}

:where(button, [type="button"], [type="submit"], [type="reset"]) {
	cursor: pointer;
}

:where(button, input, textarea, select, summary, a):focus-visible {
	outline: var(--focus-ring-width) solid var(--color-focus);
	outline-offset: var(--focus-ring-offset);
}

:where([disabled], [aria-disabled="true"]) {
	cursor: not-allowed;
}

:where(table) {
	width: 100%;
	border-collapse: collapse;
}

:where(th) {
	text-align: left;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
