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

html {
	scroll-behavior: smooth;
	background: var(--hi-color-background);
}

html:has(body.hi-site) {
	font-size: 100%;
}

body.hi-site {
	margin: 0;
	background: var(--hi-color-background);
	color: var(--hi-color-text);
	font-family: var(--hi-font-sans);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.hi-menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

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

button,
input[type="submit"] {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--hi-color-graphite);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.75rem, 7vw, 4.8rem);
}

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

h3 {
	font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.hi-container {
	width: min(calc(100% - 2rem), var(--hi-container));
	margin-inline: auto;
}

.hi-container--narrow {
	max-width: var(--hi-container-narrow);
}

.hi-main {
	display: block;
	min-height: 55vh;
}

.hi-section {
	padding-block: clamp(var(--hi-space-16), 9vw, var(--hi-space-24));
}

.hi-eyebrow {
	margin-bottom: var(--hi-space-4);
	color: var(--hi-color-primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hi-section-header {
	max-width: 43rem;
}

.hi-section-header--center {
	margin-inline: auto;
	text-align: center;
}

.hi-section-header > :last-child,
.hi-prose > :last-child {
	margin-bottom: 0;
}

.hi-section-header p,
.hi-prose {
	color: var(--hi-color-text-muted);
	font-size: 1.08rem;
}

.hi-prose {
	padding-block: clamp(var(--hi-space-10), 6vw, var(--hi-space-20));
}

.hi-prose h2,
.hi-prose h3 {
	margin-top: var(--hi-space-10);
}

.hi-prose a {
	color: var(--hi-color-primary-active);
}

.hi-page-hero {
	padding-block: clamp(var(--hi-space-12), 7vw, var(--hi-space-20));
	background: linear-gradient(135deg, #fffdfa, #f7eade);
	border-bottom: 1px solid var(--hi-color-border);
}

.hi-page-hero h1 {
	margin-bottom: 0;
	font-size: clamp(2.6rem, 6vw, 4.8rem);
}

@media (min-width: 48rem) {
	.hi-container {
		width: min(calc(100% - 4rem), var(--hi-container));
	}
}
