/**
 * Base reset — NO component sizing. Media dimensions live in component CSS.
 */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-family);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-regular);
	line-height: 1.5;
	color: var(--color-text);
	background-color: var(--color-bg-site);
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	display: block;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--color-primary-light);
}

button {
	font-family: inherit;
	cursor: pointer;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: var(--space-2);
	left: var(--space-2);
	z-index: 9999;
	width: auto;
	height: auto;
	padding: var(--space-3) var(--space-4);
	margin: 0;
	overflow: visible;
	clip: auto;
	background: var(--color-bg-layer3);
	color: var(--color-text);
	border-radius: var(--radius-md);
	box-shadow: var(--focus-ring);
}

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