/*
 * MK Profil — основной файл стилей.
 * Этап 1: базовый сброс, каркасные классы и оформление заглушки главной.
 */

/* --- Переменные ---------------------------------------------------------- */

:root {
	--color-text: #1c2228;
	--color-muted: #5f6b76;
	--color-accent: #c8102e;
	--color-bg: #ffffff;
	--color-bg-alt: #f4f6f8;
	--container-width: 1200px;
	--container-padding: 16px;
	--font-main: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --- Сброс ---------------------------------------------------------------- */

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-text);
	background: var(--color-bg);
}

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

a {
	color: var(--color-accent);
}

/* --- Служебные классы ----------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

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

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 8px 16px;
	clip: auto;
	background: var(--color-bg);
	color: var(--color-text);
}

/* --- Каркас --------------------------------------------------------------- */

.site-header {
	border-bottom: 1px solid var(--color-bg-alt);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 16px;
}

.site-header__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-text);
	text-decoration: none;
}

.site-main {
	flex: 1 0 auto;
}

.site-footer {
	border-top: 1px solid var(--color-bg-alt);
	background: var(--color-bg-alt);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
}

.site-footer__copyright {
	margin: 0;
	color: var(--color-muted);
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a {
	color: var(--color-text);
	text-decoration: none;
}

.menu a:hover {
	color: var(--color-accent);
}

/* --- Заглушка главной ------------------------------------------------------ */

.stub {
	padding-block: 96px;
	text-align: center;
}

.stub__badge {
	display: inline-block;
	margin: 0 0 24px;
	padding: 6px 14px;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-accent);
	border: 1px solid currentColor;
	border-radius: 999px;
}

.stub__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 5vw, 48px);
	line-height: 1.15;
}

.stub__tagline {
	margin: 0 0 20px;
	font-size: 18px;
	color: var(--color-muted);
}

.stub__text {
	max-width: 560px;
	margin: 0 auto;
	color: var(--color-muted);
}
