/* Reset + biến dùng chung, mobile-first, không Google Fonts để ưu tiên LCP */
:root {
	--mxh-color-text: #1a1a1a;
	--mxh-color-muted: #666666;
	--mxh-color-border: #e5e5e5;
	--mxh-color-bg: #ffffff;
	--mxh-color-accent: #c0392b;
	--mxh-space-xs: 0.5rem;
	--mxh-space-sm: 0.75rem;
	--mxh-space-md: 1rem;
	--mxh-space-lg: 1.5rem;
	--mxh-space-xl: 2rem;
	--mxh-radius: 6px;
	--mxh-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--mxh-font-family);
	color: var(--mxh-color-text);
	background: var(--mxh-color-bg);
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

a:hover,
a:focus {
	text-decoration: underline;
}

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

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

.screen-reader-text {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px;
	width: 1px;
}

.mxh-skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--mxh-color-accent);
	color: #fff;
	padding: var(--mxh-space-xs) var(--mxh-space-sm);
	z-index: 100;
}

.mxh-skip-link:focus {
	top: 0;
	clip: auto;
	width: auto;
	height: auto;
}

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