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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--nhm-font-sans);
	font-size: var(--nhm-fs-base);
	line-height: var(--nhm-lh);
	color: var(--nhm-text);
	background:
		radial-gradient(ellipse 80% 50% at 50% -20%, rgba(7, 29, 61, 0.06), transparent 55%),
		linear-gradient(180deg, #f1f5f9 0%, var(--nhm-surface) 40%, #f8fafc 100%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--nhm-primary);
	text-decoration: none;
	transition: color var(--nhm-transition);
}

a:hover,
a:focus-visible {
	color: var(--nhm-primary-mid);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--nhm-secondary);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nhm-font-display);
	font-weight: 700;
	letter-spacing: var(--nhm-tracking);
	line-height: var(--nhm-lh-tight);
	color: var(--nhm-primary);
	margin: 0 0 var(--nhm-space-4);
}

h1 { font-size: var(--nhm-fs-4xl); }
h2 { font-size: var(--nhm-fs-3xl); }
h3 { font-size: var(--nhm-fs-xl); }

p {
	margin: 0 0 var(--nhm-space-4);
}

ul, ol {
	margin: 0 0 var(--nhm-space-4);
	padding-left: 1.25rem;
}

.nhm-container {
	width: 100%;
	max-width: var(--nhm-container);
	margin-inline: auto;
	padding-inline: var(--nhm-space-5);
}

@media (min-width: 768px) {
	.nhm-container {
		padding-inline: var(--nhm-space-6);
	}
}

.nhm-section {
	padding-block: var(--nhm-space-10);
}

@media (min-width: 900px) {
	.nhm-section {
		padding-block: var(--nhm-space-12);
	}
}

.nhm-section--navy {
	background: linear-gradient(145deg, var(--nhm-primary) 0%, var(--nhm-primary-mid) 55%, #0a2548 100%);
	color: var(--nhm-white);
	position: relative;
	overflow: hidden;
}

.nhm-section--navy::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(247, 197, 45, 0.12), transparent 45%);
	pointer-events: none;
}

.nhm-section--navy > .nhm-container {
	position: relative;
	z-index: 1;
}

.nhm-section--navy h2,
.nhm-section--navy h3 {
	color: var(--nhm-white);
}

.nhm-section--surface {
	background: transparent;
}

.nhm-section--white {
	background: var(--nhm-white);
}

.nhm-section__title {
	font-size: var(--nhm-fs-3xl);
	margin-bottom: var(--nhm-space-3);
}

.nhm-section__subtitle {
	color: var(--nhm-text-muted);
	font-size: var(--nhm-fs-lg);
	margin-bottom: var(--nhm-space-8);
	max-width: 36rem;
	font-weight: 400;
}

.nhm-section--navy .nhm-section__subtitle {
	color: rgba(255, 255, 255, 0.72);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.site-main {
	min-height: 50vh;
}

@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;
	}
}
