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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	background:
		radial-gradient(circle at top right, rgba(209, 125, 67, 0.18), transparent 28%),
		radial-gradient(circle at left center, rgba(255, 255, 255, 0.05), transparent 18%),
		var(--color-bg);
	color: var(--color-text);
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

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

button {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-heading);
	line-height: 1.1;
	letter-spacing: 0.02em;
}

p,
ul,
ol,
dl,
blockquote {
	margin: 0;
}

ul,
ol {
	padding-left: 1.25rem;
}

::selection {
	background: rgba(209, 125, 67, 0.28);
}

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

.screen-reader-text {
	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 {
	left: 1rem;
	top: 1rem;
	z-index: 99;
	padding: 0.75rem 1rem;
	background: var(--color-primary);
	color: #111;
	border-radius: var(--radius-sm);
}

.skip-link:not(:focus) {
	transform: translateY(-200%);
}

.stack-sm > * + * {
	margin-top: 0.75rem;
}

.stack-md > * + * {
	margin-top: 1rem;
}

.stack-lg > * + * {
	margin-top: 1.5rem;
}

.stack-xl > * + * {
	margin-top: 2rem;
}

.eyebrow,
.card-eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.prose > * + * {
	margin-top: 1.2rem;
}

.prose p,
.page-intro {
	color: var(--color-text-muted);
}
