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

html {
	color-scheme: light;
	font-size: var(--rec-root-size);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rec-bg);
	color: var(--rec-text);
	font-family: var(--rec-font-body);
	font-size: 1rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
	text-rendering: optimizelegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--rec-font-heading);
}

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

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--rec-accent-dark);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--rec-accent);
}

:focus-visible {
	outline: 0.1875rem solid var(--rec-accent);
	outline-offset: 0.1875rem;
}

.rec-section-label__number {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
	html {
	scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
	}
}
