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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--bpt-color-surface);
	color: var(--bpt-color-text);
	font-family: var(--bpt-font-body);
	font-size: var(--bpt-text-base);
	font-weight: var(--bpt-weight-regular);
	line-height: var(--bpt-leading-normal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

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

button {
	cursor: pointer;
}

a {
	color: var(--section-link, var(--bpt-color-link));
	text-decoration: underline;
	text-underline-offset: 0.22em;
	transition: color var(--bpt-duration-fast) var(--bpt-ease-standard);
}

a:hover {
	color: var(--section-accent, var(--bpt-color-primary));
}

:focus-visible {
	outline: 2px solid var(--bpt-color-focus-ring);
	outline-offset: 3px;
	box-shadow: 0 0 0 4px var(--section-bg, var(--bpt-color-surface));
}

h1,
h2,
h3 {
	margin: 0 0 var(--bpt-space-md);
	font-family: var(--bpt-font-display);
	font-weight: var(--bpt-weight-display);
	line-height: var(--bpt-leading-tight);
}

h4,
h5,
h6 {
	margin: 0 0 var(--bpt-space-sm);
	font-family: var(--bpt-font-body);
	font-weight: var(--bpt-weight-semibold);
	line-height: var(--bpt-leading-snug);
}

h1 { font-size: var(--bpt-text-3xl); }
h2 { font-size: var(--bpt-text-2xl); }
h3 { font-size: var(--bpt-text-xl); }
h4 { font-size: var(--bpt-text-lg); }
h5 { font-size: var(--bpt-text-base); }
h6 { font-size: var(--bpt-text-sm); }

p {
	margin: 0 0 var(--bpt-space-md);
}

p:last-child {
	margin-bottom: 0;
}

.bpt-eyebrow {
	margin-bottom: var(--bpt-space-sm);
	color: var(--section-accent, var(--bpt-color-primary));
	font-size: var(--bpt-text-xs);
	font-weight: var(--bpt-weight-semibold);
	letter-spacing: var(--bpt-tracking-wide);
	text-transform: uppercase;
}

.bpt-eyebrow--line {
	display: inline-flex;
	align-items: center;
	gap: var(--bpt-space-sm);
	letter-spacing: var(--bpt-tracking-widest);
}

.bpt-eyebrow--line::before {
	width: 2rem;
	height: 1px;
	background: currentColor;
	content: "";
}

.bpt-lead {
	font-size: var(--bpt-text-md);
	line-height: var(--bpt-leading-normal);
}

.bpt-text-emphasis {
	color: var(--section-accent, var(--bpt-color-primary));
}

.bpt-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;
}

.bpt-skip-link {
	position: absolute;
	left: -9999px;
	top: var(--bpt-space-md);
	z-index: 9999;
	padding: var(--bpt-space-sm) var(--bpt-space-md);
	background: var(--bpt-color-surface);
	color: var(--bpt-color-text);
	font-weight: var(--bpt-weight-semibold);
}

.bpt-skip-link:focus {
	left: var(--bpt-space-md);
}

::selection {
	background: var(--bpt-color-primary);
	color: var(--bpt-color-text-inverse);
}

