/**
 * Minimal modern reset. Intentionally small — we are not resetting against
 * a design system we don't control (no Bootstrap/Tailwind reset baggage).
 */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

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

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

html:focus-within {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	background: var(--k-color-bg);
	color: var(--k-color-text);
	font-family: var(--k-font-sans);
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

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

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

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

a, button, [role="button"], input, select {
	touch-action: manipulation;
}

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

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