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

* {
	margin: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 24px);
	overflow-x: clip;
}

body {
	min-height: 100vh;
	margin: 0;
	background: var(--c-surface);
	color: var(--c-text);
	font-family: var(--ff-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.has-modal {
	overflow: hidden;
}

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

img {
	height: auto;
}

svg {
	fill: currentColor;
}

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

button {
	cursor: pointer;
}

a {
	color: var(--c-brand-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--dur) var(--ease);
}

a:hover {
	color: var(--c-brand-deep);
}

h1,
h2,
h3,
h4 {
	font-family: var(--ff-display);
	font-weight: 650;
	color: var(--c-ink);
	line-height: var(--lh-heading);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 {
	font-size: var(--fs-h1);
}

h2 {
	font-size: var(--fs-h2);
}

h3 {
	font-size: var(--fs-h3);
}

h4 {
	font-size: var(--fs-h4);
}

p {
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

figure,
blockquote {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--c-line);
}

::selection {
	background: var(--c-brand-tint-strong);
	color: var(--c-ink);
}

:focus-visible {
	outline: 3px solid var(--c-brand-strong);
	outline-offset: 3px;
	border-radius: 4px;
}

:target {
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--c-ink);
	color: var(--c-surface);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	font-size: var(--fs-small);
	text-decoration: none;
}

.skip-link:focus {
	top: 0;
	color: var(--c-surface);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.section {
	padding-block: var(--section-y);
}

.section--tint {
	background: var(--c-surface-2);
}

.section--brand {
	background: var(--c-brand-soft);
}

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4);
	margin-bottom: clamp(24px, 2.2vw, 40px);
}

.section__title {
	margin: 0;
}

.section__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 550;
	font-size: var(--fs-small);
	text-decoration: none;
	white-space: nowrap;
}

.section__link .icon {
	width: 16px;
	height: 16px;
	transition: transform var(--dur) var(--ease);
}

.section__link:hover .icon {
	transform: translateX(3px);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: var(--space-3);
	color: var(--c-brand-strong);
	font-size: var(--fs-xs);
	font-weight: 650;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}

.eyebrow::before {
	content: '';
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.icon--xs {
	width: 14px;
	height: 14px;
}

.icon--sm {
	width: 17px;
	height: 17px;
}

.icon--lg {
	width: 26px;
	height: 26px;
}

.prose > * + * {
	margin-top: 1em;
}

.prose a {
	color: var(--c-brand-strong);
}

.prose h2 {
	margin-top: 1.6em;
}

.prose h3 {
	margin-top: 1.4em;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

.prose ul li {
	list-style: disc;
}

.prose ol li {
	list-style: decimal;
}

@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;
		scroll-behavior: auto !important;
	}
}
