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

:root {
	interpolate-size: allow-keywords;
}

html {
	color-scheme: dark;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
	scrollbar-gutter: stable;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100svh;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

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

button {
	font: inherit;
	color: inherit;
}

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

::selection {
	background: var(--accent);
	color: #001a2b;
}

:focus-visible {
	outline: 2px solid var(--glow-color);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

.container {
	width: min(var(--container), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.i {
	width: 1em;
	height: 1em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.brand,
.hero h1,
.section-head h2,
.mini h2,
.text-item h3,
.scene-value,
.step-num,
.btn {
	font-family: var(--font-display);
}

.sprite {
	position: absolute;
}
