@layer reset, base, components;

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

	:where(body, h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul) {
		margin: 0;
		padding: 0;
	}

	:where(ul[role="list"], ol[role="list"]) {
		list-style: none;
	}

	:where(img, picture, svg, video, audio) {
		display: block;
		max-inline-size: 100%;
	}

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

	:where(textarea) {
		resize: vertical;
	}

	@media (prefers-reduced-motion: reduce) {
		*,
		*::before,
		*::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
			scroll-behavior: auto !important;
		}
	}
}
