html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	color: var(--rp-hv-color-text);
	font-family: var(--rp-hv-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	background: var(--rp-hv-color-page-bg);
}

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

a {
	color: var(--rp-hv-color-primary);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--rp-hv-space-md);
	font-family: var(--rp-hv-font-heading);
	font-weight: 500;
	line-height: 1.05;
	color: var(--rp-hv-color-primary-dark);
}

h1 {
	font-size: clamp(2.75rem, 5vw, 4.5rem);
}

h2 {
	font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
	font-size: clamp(1.4rem, 2vw, 2rem);
}

p,
ul,
ol {
	margin: 0 0 var(--rp-hv-space-md);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: var(--rp-hv-space-sm) var(--rp-hv-space-md);
	margin: 0;
	clip: auto;
	background: var(--rp-hv-color-primary-dark);
	color: var(--rp-hv-color-white);
}

:focus-visible {
	outline: 3px solid var(--rp-hv-color-primary);
	outline-offset: 3px;
}
