/* ============================================================
   Справочник по ЭПД для бизнеса — epd-guide-1c
   Стили на основе дизайн-системы @ca-developers/design-system-lib
   (токены, типографика, кнопки) и вёрстки референса ca.1c.ru
   ============================================================ */

/* ---------- Шрифты (self-hosted Roboto из дизайн-системы) ---------- */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Roboto-Regular.woff2") format("woff2"),
		 url("../fonts/Roboto-Regular.woff") format("woff");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/Roboto-Medium.woff2") format("woff2"),
		 url("../fonts/Roboto-Medium.woff") format("woff");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Roboto-Bold.woff2") format("woff2"),
		 url("../fonts/Roboto-Bold.woff") format("woff");
}

/* ---------- Токены дизайн-системы ---------- */
:root {
	/* secondary-палитра (из _colors.scss дизайн-системы) */
	--secondary-yellow-10: #fffbe5;
	--secondary-yellow-90: #403500;
	--secondary-blue-10: #e5f2ff;
	--secondary-blue-20: #b3d6fc;
	--secondary-blue-50: #007aff;
	--secondary-blue-90: #001f40;
	--secondary-green-10: #e5ffec;
	--secondary-green-90: #004010;
	--secondary-orange-10: #fff4e5;
	--secondary-orange-20: #ffdfb2;
	--secondary-orange-30: #ffca80;
	--secondary-orange-90: #402500;
	--secondary-red-10: #ffe7e5;
	--secondary-red-20: #ffbbb8;
	--secondary-red-30: #ff928c;
	--secondary-red-90: #400300;

	/* нейтральные (dark-color-0..7) */
	--white: #fff;
	--gray-0: #f2f2f2;
	--gray-1: #dbdbdb;
	--gray-2: #c7c7c7;
	--gray-3: #999;
	--gray-4: #81818a;
	--gray-5: #6e6e6e;
	--gray-6: #4d4d54;
	--gray-7: #36363b;

	/* бренд / кнопки (btn-primary из дизайн-системы) */
	--primary: #fd0;
	--primary-hover: #cfb300;
	--primary-active: #a18b00;
	--primary-text: #403700;
	--primary-disabled-bg: #fffce5;

	/* текст и ссылки */
	--text: #1c1c1f;
	--text-muted: #81818a;
	--link: var(--secondary-blue-50);

	/* геометрия */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;

	/* тени */
	--shadow-sm: 0 1px 2px rgb(35 35 32 / 6%), 0 1px 3px rgb(35 35 32 / 8%);
	--shadow-md: 0 4px 12px rgb(35 35 32 / 8%), 0 2px 4px rgb(35 35 32 / 6%);
	--shadow-lg: 0 12px 32px rgb(35 35 32 / 12%), 0 4px 8px rgb(35 35 32 / 6%);

	--container: 1160px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text);
	background: var(--gray-0);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--link);
	text-decoration: none;
	transition: color .12s ease;
}
a:hover { color: #005ed1; text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--text); line-height: 1.2; }

ul, ol { margin: 0; padding: 0; }

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

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

/* ---------- Верхний баннер-счётчик ---------- */
.countdown-bar {
	background: var(--primary);
	color: var(--primary-text);
	font-size: 14px;
	font-weight: 500;
}
.countdown-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 16px;
	min-height: 40px;
	padding: 6px 0;
	text-align: center;
}
.countdown-bar a {
	color: var(--primary-text);
	text-decoration: underline;
	white-space: nowrap;
}
.countdown-bar a:hover { color: #000; }

/* ---------- Шапка ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .85);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--gray-1);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 64px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--text);
	flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: var(--primary);
	color: var(--primary-text);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -.5px;
}
.brand__name {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--gray-6);
}
.brand__name span { display: block; font-size: 12px; font-weight: 400; color: var(--gray-4); }

.site-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
	font-size: 15px;
}
.site-nav a {
	color: var(--gray-5);
	font-weight: 400;
	white-space: nowrap;
}
.site-nav a:hover { color: var(--gray-7); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--gray-7); font-weight: 500; }
.site-nav .btn { margin-left: 4px; }

.nav-toggle { display: none; }
#nav-check { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Кнопки (по .ds-button дизайн-системы) ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 24px;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
	white-space: nowrap;
	text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:disabled { cursor: auto; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn--primary {
	background: var(--primary);
	color: var(--primary-text);
}
.btn--primary:hover:not(:disabled) { background: var(--primary-hover); color: var(--primary-text); }
.btn--primary:active:not(:disabled) { background: var(--primary-active); }
.btn--primary:disabled { background: var(--primary-disabled-bg); color: var(--gray-4); }

.btn--secondary {
	background: var(--white);
	color: var(--gray-7);
	border-color: var(--gray-2);
}
.btn--secondary:hover:not(:disabled) { background: var(--gray-0); color: var(--gray-7); border-color: var(--gray-3); }
.btn--secondary:active:not(:disabled) { background: var(--gray-1); }

.btn--bare {
	background: transparent;
	color: var(--secondary-blue-90);
}
.btn--bare:hover:not(:disabled) { background: var(--secondary-blue-10); }
.btn--bare:active:not(:disabled) { background: var(--secondary-blue-20); }

.btn--sm { min-height: 32px; padding: 4px 12px; font-size: 14px; line-height: 20px; }
.btn--lg { min-height: 48px; padding: 12px 24px; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 380px at 88% -10%, rgba(255, 221, 0, .22), transparent 60%),
		radial-gradient(700px 320px at 5% 110%, rgba(0, 122, 255, .08), transparent 60%),
		linear-gradient(180deg, var(--white), var(--gray-0));
	border-bottom: 1px solid var(--gray-1);
}
.hero__inner {
	padding: 64px 0 56px;
	max-width: 800px;
}
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--gray-1);
	color: var(--gray-6);
	font-size: 13px;
	font-weight: 500;
	box-shadow: var(--shadow-sm);
}
.hero__badge .dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--primary);
	box-shadow: 0 0 0 3px rgba(255, 221, 0, .3);
}
.hero h1 {
	font-size: 42px;
	font-weight: 700;
	letter-spacing: -.5px;
	margin: 22px 0 0;
}
.hero h1 em { font-style: normal; color: var(--primary-active); }
.hero__lead {
	margin: 18px 0 0;
	font-size: 19px;
	color: var(--gray-5);
	max-width: 640px;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}
.hero__note { margin-top: 18px; font-size: 14px; color: var(--gray-4); }

/* ---------- Секции ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--gray-1); border-bottom: 1px solid var(--gray-1); }

.section__head { max-width: 760px; margin-bottom: 32px; }
.section__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--primary-active);
	margin-bottom: 10px;
}
.section__title { font-size: 30px; font-weight: 700; letter-spacing: -.3px; }
.section__subtitle { margin-top: 12px; font-size: 17px; color: var(--gray-5); }

/* ---------- Сетки ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Карточки ---------- */
.card {
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-lg);
	padding: 26px;
	transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.card--hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-2); }

.topic-card { display: flex; flex-direction: column; height: 100%; }
a.topic-card { color: inherit; }
a.topic-card:hover { text-decoration: none; color: inherit; }
.topic-card__icon {
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	border-radius: var(--radius-md);
	background: var(--secondary-yellow-10);
	color: var(--primary-active);
	margin-bottom: 16px;
}
.topic-card__icon svg { width: 24px; height: 24px; }
.topic-card__title { font-size: 19px; font-weight: 500; }
.topic-card__desc { margin-top: 8px; color: var(--gray-5); font-size: 15px; flex-grow: 1; }
.topic-card__action { margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--link); }

/* Карточка роли */
.role-card { display: flex; flex-direction: column; height: 100%; }
.role-card__title { font-size: 17px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.role-card__list { margin-top: 12px; font-size: 14px; color: var(--gray-6); flex-grow: 1; }
.role-card__list li { list-style: none; position: relative; padding-left: 20px; margin: 7px 0; }
.role-card__list li::before {
	content: ""; position: absolute; left: 0; top: 7px;
	width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}
.role-card__action { margin-top: 16px; }

/* ---------- Бейджи (по sticker/flag дизайн-системы) ---------- */
.badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px; font-weight: 500;
	white-space: nowrap;
}
.badge--green { background: var(--secondary-green-10); color: var(--secondary-green-90); }
.badge--blue { background: var(--secondary-blue-10); color: var(--secondary-blue-90); }
.badge--orange { background: var(--secondary-orange-10); color: var(--secondary-orange-90); }
.badge--red { background: var(--secondary-red-10); color: var(--secondary-red-90); }
.badge--yellow { background: var(--secondary-yellow-10); color: var(--secondary-yellow-90); }
.badge--gray { background: var(--gray-0); color: var(--gray-6); }

/* ---------- Шаги (пошаговая инструкция) ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; max-width: 820px; }
.step {
	position: relative;
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-md);
	padding: 18px 20px 18px 64px;
}
.step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 18px; top: 18px;
	width: 30px; height: 30px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--primary);
	color: var(--primary-text);
	font-weight: 700;
	font-size: 15px;
}
.step__title { font-size: 16px; font-weight: 500; }
.step__desc { margin: 6px 0 0; font-size: 14px; color: var(--gray-5); }
.step__desc a { font-weight: 500; }

/* ---------- Чек-лист ---------- */
.checklist { display: grid; gap: 10px; max-width: 820px; }
.checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-md);
	padding: 14px 18px;
	cursor: pointer;
	transition: border-color .12s ease;
}
.checklist__item:hover { border-color: var(--gray-2); }
.checklist__item input {
	appearance: none;
	flex-shrink: 0;
	width: 22px; height: 22px;
	margin: 1px 0 0;
	border: 2px solid var(--gray-2);
	border-radius: 6px;
	background: var(--white);
	cursor: pointer;
	transition: background-color .12s ease, border-color .12s ease;
}
.checklist__item input:checked {
	background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23403700' stroke-width='3'%3E%3Cpath d='m5 13 4 4L19 7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
	border-color: var(--primary);
}
.checklist__item input:checked ~ .checklist__text { color: var(--gray-4); }
.checklist__text b { display: block; font-weight: 500; color: var(--text); }
.checklist__text { font-size: 15px; color: var(--gray-6); transition: color .12s ease; }
.checklist__text small { color: var(--gray-4); }

/* Прогресс готовности */
.progress {
	max-width: 820px;
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-md);
	padding: 18px 20px;
	margin-bottom: 20px;
}
.progress__label { display: flex; justify-content: space-between; font-size: 14px; color: var(--gray-5); margin-bottom: 10px; }
.progress__label b { font-size: 16px; color: var(--text); }
.progress__track { height: 10px; border-radius: 999px; background: var(--gray-0); overflow: hidden; }
.progress__fill {
	height: 100%; width: 0;
	border-radius: 999px;
	background: var(--primary);
	transition: width .25s ease, background-color .25s ease;
}
.progress__hint { margin: 10px 0 0; font-size: 13px; color: var(--gray-4); }

/* ---------- Текстовый блок (статьи) ---------- */
.prose { max-width: 820px; font-size: 16px; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose ul li { list-style: none; position: relative; padding-left: 6px; }
.prose ul li::before {
	content: ""; position: absolute; left: -16px; top: 9px;
	width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.prose h2 { font-size: 24px; margin: 36px 0 14px; font-weight: 700; letter-spacing: -.2px; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }

/* Блок «Коротко» */
.tldr {
	background: var(--secondary-yellow-10);
	border: 1px solid var(--secondary-orange-20);
	border-radius: var(--radius-md);
	padding: 18px 20px;
	margin: 0 0 28px;
	max-width: 820px;
	font-size: 15px;
}
.tldr__title {
	display: flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: 14px;
	text-transform: uppercase; letter-spacing: .5px;
	color: var(--secondary-yellow-90);
	margin-bottom: 10px;
}
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 5px 0; }

/* Инфо-callout */
.callout {
	display: flex; gap: 14px;
	background: var(--secondary-blue-10);
	border: 1px solid var(--secondary-blue-20);
	border-radius: var(--radius-md);
	padding: 18px 20px;
	color: var(--secondary-blue-90);
	font-size: 15px;
	margin: 0 0 16px;
	max-width: 820px;
}
.callout svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--secondary-blue-50); margin-top: 1px; }
.callout--warn {
	background: var(--secondary-orange-10);
	border-color: var(--secondary-orange-20);
	color: var(--secondary-orange-90);
}
.callout--warn svg { color: #e08700; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin: 0; }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-1); border-radius: var(--radius-lg); }
table.data { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; }
table.data th, table.data td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--gray-1); vertical-align: top; }
table.data thead th { background: var(--gray-0); font-weight: 500; color: var(--gray-6); white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: none; }

/* ---------- FAQ-аккордеон (по expand-panel дизайн-системы) ---------- */
.faq-item {
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-md);
	margin-bottom: 10px;
	overflow: hidden;
}
.faq-item summary {
	list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 20px;
	font-weight: 500;
	cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--secondary-yellow-10); }
.faq-item summary::after {
	content: "+";
	flex-shrink: 0;
	font-size: 22px; font-weight: 400;
	color: var(--gray-4);
	transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-1); }
.faq-item__body { padding: 14px 20px 18px; font-size: 15px; color: var(--gray-6); }
.faq-item__body p { margin: 0 0 10px; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Квиз «Нужны ли вам ЭПД?» ---------- */
.quiz {
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	max-width: 820px;
}
.quiz__progress {
	display: inline-block;
	font-size: 12px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .5px;
	color: var(--gray-5);
	background: var(--gray-0);
	border-radius: 999px;
	padding: 4px 12px;
	margin-bottom: 12px;
}
.quiz__question { font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__option {
	display: flex; flex-direction: column; gap: 4px;
	text-align: left;
	font: inherit;
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-md);
	padding: 14px 16px;
	cursor: pointer;
	transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.quiz__option:hover {
	border-color: var(--primary);
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}
.quiz__option-text { font-weight: 500; color: var(--text); }
.quiz__option-hint { font-size: 13px; color: var(--gray-5); }
.quiz__nav { margin-top: 18px; }
.quiz__back {
	font: inherit; font-size: 14px;
	color: var(--gray-5);
	background: none; border: none;
	padding: 0;
	cursor: pointer;
}
.quiz__back:hover { color: var(--text); text-decoration: underline; }
.quiz__result-badge { margin-bottom: 12px; }
.quiz__result-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.quiz__result-desc { margin: 0 0 14px; color: var(--gray-6); }
.quiz__result-list { margin: 0 0 18px; padding-left: 20px; color: var(--gray-6); font-size: 15px; }
.quiz__result-list li { margin: 6px 0; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Форма заявки (по input дизайн-системы) ---------- */
.lead-form {
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	max-width: 640px;
}
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--gray-6); }
.field label .req { color: #ff3e33; }
.field input,
.field select,
.field textarea {
	font: inherit;
	font-size: 15px;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--gray-1);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	min-height: 44px;
	transition: border-color .12s ease, box-shadow .12s ease;
	width: 100%;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--secondary-yellow-10);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-3); }
.lead-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray-5); margin-top: 14px; }
.lead-form__consent input { margin-top: 2px; }
.lead-form__submit { margin-top: 18px; }
.lead-form__status { margin: 14px 0 0; font-size: 14px; }
.lead-form__status--ok { color: var(--secondary-green-90); }
.lead-form__status--err { color: #ff3e33; }

/* ---------- CTA-блок ---------- */
.cta-panel {
	background:
		radial-gradient(600px 260px at 90% -20%, rgba(255, 221, 0, .35), transparent 60%),
		var(--gray-7);
	border-radius: var(--radius-lg);
	padding: 40px;
	color: var(--white);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.cta-panel__title { font-size: 24px; font-weight: 700; color: var(--white); }
.cta-panel__desc { margin: 8px 0 0; font-size: 15px; color: #c9c9cf; max-width: 520px; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Хлебные крошки / заголовок страницы ---------- */
.page-header { padding: 40px 0 8px; }
.breadcrumbs { font-size: 14px; color: var(--gray-4); margin-bottom: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gray-2); }
.breadcrumbs a { color: var(--gray-5); }
.page-header h1 { font-size: 34px; font-weight: 700; letter-spacing: -.3px; max-width: 900px; }
.page-header__meta { margin-top: 14px; font-size: 13px; color: var(--gray-4); }
.page-header__lead { margin-top: 14px; font-size: 17px; color: var(--gray-5); max-width: 760px; }

/* ---------- Подвал ---------- */
.site-footer {
	background: var(--gray-7);
	color: #c9c9cf;
	padding: 56px 0 32px;
	margin-top: 64px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--primary); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
}
.footer-brand p { margin: 12px 0 0; font-size: 14px; color: #9a9aa3; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-col ul li { list-style: none; margin: 8px 0; font-size: 14px; }
.footer-bottom {
	margin-top: 40px; padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13px; color: #8a8a93;
	display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
.footer-bottom a { color: #8a8a93; }

/* ---------- Адаптив ---------- */
@media (max-width: 950px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero h1 { font-size: 34px; }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.site-nav {
		position: fixed;
		inset: 64px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--white);
		border-bottom: 1px solid var(--gray-1);
		padding: 8px 0 16px;
		box-shadow: var(--shadow-md);
		display: none;
	}
	.site-nav a { padding: 12px 24px; }
	.site-nav .btn { margin: 8px 24px 0; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		margin-left: auto;
		width: 40px; height: 40px;
		border: 1px solid var(--gray-1); border-radius: var(--radius-sm);
		background: var(--white); cursor: pointer;
	}
	.nav-toggle svg { width: 22px; height: 22px; color: var(--gray-6); }
	#nav-check:checked ~ .site-nav { display: flex; }
	.hero__inner { padding: 44px 0 40px; }
	.hero h1 { font-size: 28px; }
	.hero__lead { font-size: 17px; }
	.section { padding: 44px 0; }
	.section__title { font-size: 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.grid--2, .grid--3 { grid-template-columns: 1fr; }
	.quiz { padding: 20px; }
	.quiz__options { grid-template-columns: 1fr; }
	.calc-grid { grid-template-columns: 1fr; }
	.calc-side { position: static; }
	.lead-form { padding: 20px; }
	.lead-form__grid { grid-template-columns: 1fr; }
	.cta-panel { padding: 28px; }
	.page-header h1 { font-size: 26px; }
}
@media (max-width: 480px) {
	.container { padding: 0 16px; }
	.hero h1 { font-size: 24px; }
	.hero__actions .btn { width: 100%; }
	.cta-panel__actions { width: 100%; }
	.cta-panel__actions .btn { width: 100%; }
}

/* ---------- Калькулятор готовности ---------- */
.calc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.calc-side { position: sticky; top: 88px; display: grid; gap: 16px; background: var(--white); border: 1px solid var(--gray-1); border-radius: var(--radius-lg); padding: 22px; }
.calc-verdict__title { font-size: 17px; font-weight: 500; margin: 12px 0 6px; }
.calc-verdict__text { font-size: 14px; color: var(--gray-5); margin: 0; }
.calc-verdict__todo-title { font-size: 13px; font-weight: 500; color: var(--gray-6); margin: 12px 0 6px; }
.calc-verdict__todo { margin: 0; padding-left: 18px; font-size: 13px; color: var(--gray-6); }
.calc-verdict__todo li { margin: 4px 0; }

/* ---------- Генератор плана на 7 дней ---------- */
.plan-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.plan-role-link { font-size: 14px; font-weight: 500; white-space: nowrap; padding-bottom: 12px; }

/* Доступность */
:focus-visible { outline: 2px solid var(--secondary-blue-50); outline-offset: 2px; border-radius: 4px; }

/* Печать чек-листа */
@media print {
	.countdown-bar, .site-header, .site-footer, .cta-panel, .lead-form { display: none; }
	body { background: #fff; }
	.checklist__item { border-color: #999; }
}
