/**
 * Base reset and typography.
 */

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

html {
	scroll-behavior: smooth;
}

@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;
	}
}

body {
	margin: 0;
	background: var(--en-color-page);
	color: var(--en-color-text);
	font-family: var(--en-font-body);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--en-color-accent);
	text-decoration: none;
}

a:hover {
	color: var(--en-color-text);
}

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

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

button {
	cursor: pointer;
	border: 0;
	background: none;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

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

.en-section-pad {
	padding-block: var(--en-space-10);
}

.en-micro {
	font-family: var(--en-font-mono);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: normal;
	color: var(--en-color-accent);
}

.en-micro--muted {
	color: var(--en-color-muted);
}

.en-micro--warning {
	color: var(--en-color-warning);
}

.en-micro--text {
	color: var(--en-color-text);
}

.en-mark {
	color: var(--en-color-mark);
	font-size: 12px;
	line-height: 1;
}

.en-icon {
	flex-shrink: 0;
	color: currentColor;
}
