/**
 * Provides predictable element defaults and accessible interaction states.
 *
 * This is deliberately small: components own their own layout rather than
 * relying on a reset to impose visual rules across the site.
 */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--inv-header-height);
}

body,
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

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

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

img {
	height: auto;
}

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

button,
select {
	cursor: pointer;
}

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

:focus-visible {
	outline: 0.1875rem solid var(--inv-signal);
	outline-offset: 0.25rem;
}

::selection {
	background: var(--inv-signal);
	color: var(--inv-ink);
}
