/* =========================
   Base / Reset
========================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-primary);
	font-size: var(--text-md);
	line-height: var(--lh-normal);
	color: var(--color-text);
	background: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 var(--space-4);
	color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--space-3);
	line-height: var(--lh-tight);
	letter-spacing: -0.01em;
}

h1 {
	font-size: var(--text-4xl);
}

h2 {
	font-size: var(--text-3xl);
}

h3 {
	font-size: var(--text-2xl);
}

h4 {
	font-size: var(--text-xl);
}

h5 {
	font-size: var(--text-lg);
}

h6 {
	font-size: var(--text-md);
}

ul,
ol {
	margin: 0 0 var(--space-4);
	padding-left: var(--size-20);
}

hr {
	border: 0;
	border-top: 1px solid var(--color-border);
	margin: var(--space-8) 0;
}
figure {
	margin: 0;
	padding: 0;
}
:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
	border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 1ms !important;
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================
   Utilities
========================= */
.u-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================
   Layout Skeleton
========================= */
.l-container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding-left: var(--container-pad);
	padding-right: var(--container-pad);
	z-index: 0;
}

.l-section {
	padding: var(--space-12) 0;
}
.l-section--sage {
	background: var(--color-sage-100);
}
@media (min-width: 768px) {
	.l-page {
		min-height: 100svh;
		display: flex;
		flex-direction: column;
	}

	.l-main {
		flex: 1;
	}

	.l-container--wide {
		max-width: var(--container-max-wide);
	}
}
