/**
 * StepDecor Base Reset
 * Minimal, modern reset — mirrors the reference HTML's box model and
 * base element behavior so component CSS never has to fight defaults.
 */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--sd-font-body);
	background: var(--sd-color-bg);
	color: var(--sd-color-text);
	overflow-x: hidden;
	transition: background var(--sd-transition-fast), color var(--sd-transition-fast);
}

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

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

button {
	font-family: var(--sd-font-body);
	cursor: pointer;
	border: none;
	background: none;
}

ul,
ol {
	list-style: none;
}

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

.sd-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	background: var(--sd-color-surface-dark);
	color: #fff;
	padding: var(--sd-space-3) var(--sd-space-5);
	border-radius: 0 0 var(--sd-radius-md) 0;
}

.sd-skip-link:focus {
	left: 0;
}
