/* Esenin.ai — launch-site.
 *
 * Визуальный язык — тот же, что у нового веба: эталон
 * docs/web/esenin_web_prototype_apple_final_candidate_v4_cleaner_hero.html
 * (ветка feat/web-relaunch). Токены ниже взяты из него без переизобретения:
 * нейтральный светлый фон, один синий акцент, wordmark «Esenin.ai», мягкие
 * границы вместо теней, заголовки весом 500 с плотным трекингом.
 *
 * Статика без сборки, без внешних шрифтов, счётчиков и сторонних скриптов.
 */

:root {
	--bg: #f5f5f7;
	--surface: #ffffff;
	--surface-2: #fbfbfd;
	--surface-3: #f0f0f2;
	--text: #1d1d1f;
	--muted: #6e6e73;
	--line: #e3e3e8;
	--line-2: #d7d7dc;
	--accent: #0071e3;
	--accent-dark: #005fc3;
	--soft-accent: #edf5ff;
	--shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
	--topbar: rgba(255, 255, 255, 0.88);
	--radius: 18px;
	--hero-tag: #8b8b90;
	--foot-nav: #424245;
	--button-radius: 999px;
	--title-weight: 500;
	--card-title-weight: 600;
	--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--reading: 740px;
	color-scheme: light;
}

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

html {
	background: var(--bg);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.55 var(--font);
	letter-spacing: -0.008em;
	-webkit-font-smoothing: antialiased;
}

svg {
	display: block;
}

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

a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

:focus-visible {
	outline: 3px solid rgba(0, 113, 227, 0.4);
	outline-offset: 3px;
	border-radius: 8px;
}

.skip {
	position: absolute;
	left: -9999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	z-index: 30;
	background: var(--surface);
	padding: 8px 12px;
}

/* ── Шапка: как topbar прототипа ───────────────────────────────────────── */

.topbar {
	height: 72px;
	flex: none;
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--topbar);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
}

.topbar__inner {
	max-width: 920px;
	height: 100%;
	margin: 0 auto;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	color: var(--text);
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.055em;
}

/* Горизонтальный логотип из мастер-SVG бренд-пакета (assets/brand/esenin).
   Высота задана, ширина автоматическая — пропорции не ломаем; при 32px
   ширина ≈124px, то есть не ниже минимальных 120px из бренд-гайда.
   🚫 Слово Esenin.ai живым текстом больше не набирается: wordmark в кривых. */
.brand__logo {
	display: block;
	height: 48px;
	width: auto;
}

.brand span {
	color: var(--accent);
}

.brand:hover {
	color: var(--text);
	text-decoration: none;
}

/* ── Кнопки ────────────────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: var(--button-radius);
	border: 1px solid transparent;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
	transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.btn:hover {
	text-decoration: none;
}

.btn:active {
	transform: translateY(1px);
}

.btn svg {
	width: 20px;
	height: 20px;
	flex: none;
}

/* Официальный знак MAX из брендбука — файлом, без перерисовки. */
.btn img {
	display: block;
	width: 22px;
	height: 22px;
	flex: none;
}

.btn--primary {
	background: var(--accent);
	color: #fff;
}

.btn--primary:hover {
	background: var(--accent-dark);
	color: #fff;
}

.btn--secondary {
	background: var(--surface);
	border-color: var(--line-2);
	color: var(--text);
}

.btn--secondary:hover {
	background: var(--surface-2);
	border-color: var(--muted);
	color: var(--text);
}

/* ── Главная: один экран ───────────────────────────────────────────────── */

.stage {
	flex: 1;
	position: relative;
	display: grid;
	place-items: center;
	padding: 56px 20px 64px;
	overflow: hidden;
	text-align: center;
}

/* Мягкое синее свечение — тот же приём, что у карточек прототипа. */
.stage::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 46%;
	width: min(980px, 140vw);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 113, 227, 0.08), transparent 62%);
	pointer-events: none;
}

.stage__inner {
	position: relative;
	max-width: 900px;
}

.slogan {
	margin: 0 auto;
	max-width: 18ch;
	text-wrap: balance;
	font-size: clamp(44px, 7.4vw, 88px);
	line-height: 1.03;
	letter-spacing: -0.045em;
	font-weight: var(--title-weight);
}

.lead {
	margin: 22px auto 0;
	max-width: 34ch;
	color: var(--muted);
	font-size: clamp(17px, 1.9vw, 21px);
	line-height: 1.45;
}

.cta {
	margin-top: 38px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.cta .btn {
	min-width: 196px;
}

/* Подпись над выбором площадки: называет ДЕЙСТВИЕ, поэтому на кнопках остаются
   только имена площадок. Не заголовок — спокойная строка между lead и кнопками;
   тот же рисунок повторяет публичная страница работы (`share/index.html`). */
.cta-label {
	margin: 38px auto 0;
	color: var(--text);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.cta-label + .cta {
	margin-top: 14px;
}

/* ── Главная: hero, чипы, «Подробнее», FAQ ─────────────────────────────── */

/* Главная больше не один экран: под hero раскрывается раздел «Об Esenin.ai».
   `main.home` (только главная) занимает место между шапкой и подвалом, hero — первый экран в нём;
   свечение `.stage::before` остаётся тем же. */
.home {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* FAQ раскрывается внутри hero, и первый экран растёт вниз: свечение не
   должно уезжать за ним. В закрытом виде 46% меньше потолка — картинка прежняя. */
.stage--hero::before {
	top: min(46%, 280px);
}

.stage--hero {
	flex: 1;
	padding: 68px 20px 72px;
}

.slogan--hero {
	max-width: none;
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.06;
}

.chips {
	list-style: none;
	margin: 42px auto 0;
	padding: 0;
	max-width: 760px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.chips li {
	padding: 6px 14px;
	border-radius: var(--button-radius);
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.72);
	color: var(--muted);
	font-size: 14px;
	line-height: 1.3;
}

.stage--hero .cta-label {
	margin-top: 44px;
}

.stage--hero .cta-label + .cta {
	margin-top: 20px;
}

.stage--hero .cta {
	gap: 14px;
}

/* Вторичное действие: светлая «таблетка» с тонкой рамкой. Заметнее ссылки, но
   без заливки и тени — не спорит с MAX и Telegram. */
.more {
	margin-top: 38px;
	padding: 11px 24px;
	border: 1px solid var(--line);
	border-radius: var(--button-radius);
	background: rgba(255, 255, 255, 0.6);
	color: var(--text);
	font: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.more:hover {
	border-color: var(--line-2);
	background: var(--surface);
}

/* Общий :focus-visible скругляет углы до 8px — у «таблетки» форма сохраняется. */
.more:focus-visible {
	border-radius: var(--button-radius);
}

.about {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.about.is-open {
	opacity: 1;
}

.about__inner {
	width: min(100%, var(--reading));
	margin: 0 auto;
	padding: 22px 0 0;
	text-align: center;
}

.faq {
	margin: 0 0 8px;
	border-top: 1px solid var(--line);
	text-align: left;
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__q {
	margin: 0;
	font-size: inherit;
}

.faq__q button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 2px;
	border: 0;
	background: none;
	color: var(--text);
	font: inherit;
	font-size: 17px;
	font-weight: var(--card-title-weight);
	letter-spacing: -0.01em;
	text-align: left;
	cursor: pointer;
}

.faq__q button:hover {
	color: var(--accent-dark);
}

/* «+» — inline SVG: обе линии в одной сетке 16×16 через центр, поэтому при
   дробном масштабе браузера они растеризуются одинаково. При раскрытии
   вертикальная гаснет, остаётся «−». */
.faq__sign {
	flex: none;
	display: block;
	width: 14px;
	height: 14px;
	color: var(--muted);
}

.faq__sign svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.faq__sign-v {
	transition: opacity 0.2s ease;
}

.faq__q button[aria-expanded='true'] .faq__sign-v {
	opacity: 0;
}

/* Высота ответа — через grid-rows 0fr → 1fr: плавно и без измерения в JS. */
.faq__a {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.28s ease, opacity 0.22s ease;
}

.faq__a.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
}

.faq__body {
	min-height: 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
}

.faq__body p {
	margin: 0 0 10px;
}

.faq__body p:last-child {
	margin-bottom: 20px;
}

/* Пример стиха на странице формы: сохраняем переносы строк автора. */
.verse {
	margin: 14px 0 0;
	padding: 18px 20px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	white-space: pre-wrap;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.55;
}

/* Переход к соседним формам справочника. */
.formnav {
	margin-top: 34px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
}

/* ── Компактный подвал ─────────────────────────────────────────────────── */

.foot {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 18px;
	padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
	/* Два слоя подвала: ссылки и копирайт — навигация, темнее; юридический
	   текст ниже — служебный, остаётся приглушённым (`.foot__legal`). */
	color: var(--foot-nav);
	font-size: 14px;
	line-height: 1.5;
}

/* Юридический текст — отдельной строкой под ссылками, по левому краю той же
   колонки, что и логотип в шапке. Тише ссылок: читается, но не спорит с экраном. */
.foot__legal {
	/* Всегда отдельной строкой на всю ширину подвала; левый край текста — по
	   колонке шапки (920 px с полями 18 px): процентный отступ считается от
	   ширины подвала, на узком экране он сходится к нулю. */
	position: relative;
	flex: 0 0 100%;
	margin-top: 22px;
	padding: 24px max(0px, calc((100% - 884px) / 2)) 0;
	text-align: left;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

/* Очень тонкая линия между ссылками и юридическим текстом, растворяется к
   краям; ширина — та же колонка, что у текста. */
.foot__legal::before {
	content: '';
	position: absolute;
	top: 0;
	left: max(0px, calc((100% - 884px) / 2));
	right: max(0px, calc((100% - 884px) / 2));
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
	pointer-events: none;
}

.foot__legal p {
	margin: 0;
}

/* Строка продавца скрыта визуально на всех страницах (решение владельца
   23.09). Из разметки она НЕ удаляется: остаётся в HTML. Отступа после себя
   не оставляет — у параграфов подвала margin: 0 (правило выше).
   🚫 Реквизиты в основном содержимом `/offer/`, `/privacy/` и `/contacts/`
   этим правилом не затрагиваются: там они отдельными абзацами без класса. */
.foot__seller {
	display: none;
}

/* © — отдельной строкой под ссылками, по центру, тише ссылок (решение владельца 30.09): одинаково
   на широком и узком экране, в один ряд со «Цены / Оферта / …» не встаёт. */
.foot__copy,
.foot > span {
	flex: 0 0 100%;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}

.foot nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
}

.foot a {
	color: var(--foot-nav);
}

.foot a:hover {
	color: var(--text);
}

/* ── Внутренние страницы ───────────────────────────────────────────────── */

.page {
	flex: 1;
	width: min(100% - 36px, var(--reading));
	margin: 0 auto;
	padding: 40px 0 64px;
}

.back,
.doc__back {
	display: inline-block;
	margin-bottom: 22px;
	font-size: 15px;
}

.page h1 {
	margin: 0 0 10px;
	font-size: clamp(32px, 4.6vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	font-weight: var(--title-weight);
}

.page h2 {
	margin: 40px 0 12px;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.02em;
	font-weight: var(--card-title-weight);
}

.page h3 {
	margin: 0;
	font-size: 17px;
	font-weight: var(--card-title-weight);
	letter-spacing: -0.01em;
}

.page p {
	margin: 0 0 12px;
}

.page .meta,
.page .muted {
	color: var(--muted);
}

.page ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Только ПРЯМЫЕ пункты нумерованного списка — сетка «номер | текст».
   🛑 Без `>` сеткой становились и вложенные пункты с тире (оферта 5.4, 7.3):
   текст раскладывался по ячейкам, по слову на строку. */
.page ol > li {
	display: grid;
	grid-template-columns: 3.2em 1fr;
	gap: 4px;
	margin: 0 0 12px;
}

.page ol > li > b {
	font-weight: 600;
	color: var(--muted);
}

.page ul.dash {
	margin: 6px 0 0;
	padding-left: 1.2em;
}

.draft {
	margin: 0 0 28px;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid var(--line-2);
	background: var(--surface-3);
	color: var(--muted);
	font-size: 14px;
}

.placeholder {
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--surface-3);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.panel,
.requisites {
	margin-top: 12px;
	padding: 18px 20px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
}

.requisites p,
.panel p {
	margin: 0 0 4px;
}

/* Список цен — строки внутри одной карточки, а не сетка карточек. */
.rows {
	list-style: none;
	margin: 12px 0 0;
	padding: 0 20px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
}

.rows li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

.rows li:first-child {
	border-top: 0;
}

.rows p {
	margin: 3px 0 0;
	color: var(--muted);
	font-size: 15px;
}

.rows .price {
	flex: none;
	max-width: 44%;
	text-align: right;
	font-weight: var(--card-title-weight);
	white-space: normal;
}

.rows .price small {
	display: block;
	font-weight: 400;
	font-size: 13px;
	color: var(--muted);
}

@media (max-width: 560px) {
	.rows li {
		flex-direction: column;
		gap: 6px;
	}

	.rows .price {
		max-width: none;
		text-align: left;
	}
}

/* ── 404 ───────────────────────────────────────────────────────────────── */

.stage--small .slogan {
	font-size: clamp(36px, 5.6vw, 60px);
	max-width: 16ch;
}

.stage--small .home-link {
	display: inline-block;
	margin-top: 22px;
	font-size: 15px;
}

/* ── Мобильная раскладка ───────────────────────────────────────────────── */

@media (max-width: 900px) {
	.topbar {
		height: 64px;
	}

	.topbar__inner {
		padding: 0 16px;
	}

	.brand {
		font-size: 24px;
	}

	.brand__logo {
		height: 42px;
	}
}

@media (max-width: 560px) {
	.stage {
		padding: 40px 20px 32px;
	}

	.cta {
		flex-direction: column;
		align-items: stretch;
		width: min(100%, 340px);
		margin-inline: auto;
	}

	.cta .btn {
		min-width: 0;
	}
}

@media (max-width: 560px) {
	.stage--hero {
		padding: 48px 18px 44px;
	}

	/* Узкий экран: перенос строки задаёт баланс, а не ручной разрыв — иначе
	   «идей» и «текстов» остаются одни на строке. */
	.slogan--hero {
		font-size: 32px;
	}

	.slogan--hero .br-wide {
		display: none;
	}

	.chips {
		margin-top: 28px;
		gap: 6px;
	}

	.chips li {
		padding: 5px 11px;
		font-size: 13px;
	}

	.more {
		margin-top: 30px;
		padding: 10px 20px;
		font-size: 17px;
	}

	.stage--hero .cta-label {
		margin-top: 34px;
	}

	.cta-label {
		font-size: 17px;
	}

	/* Подвал на узком экране — размером с чипы. */
	.foot,
	.foot__legal {
		font-size: 13px;
	}

	.foot__legal {
		margin-top: 16px;
		padding-top: 20px;
	}

	.faq__q button {
		font-size: 16px;
		padding: 16px 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btn,
	.more,
	.about,
	.faq__a,
	.faq__sign-v {
		transition: none;
	}
}

/* ── Посадочная «Песня на заказ» (/pesnya-na-zakaz/) ─────────────────────
   Та же система, что у главной и страниц цен: hero главной, ширина чтения
   `.page`, карточка `.rows`, чипы и аккордеон FAQ. Здесь — только раскладка
   секций, шаги и карточка цены; своих цветов и шрифтов посадочная не вводит. */

.lp-lead {
	max-width: 40ch;
}

.lp-facts {
	margin-top: 30px;
}

.lp-facts b {
	font-weight: var(--card-title-weight);
}

/* Цена — главный факт первого экрана: тот же чип, мягкий акцент палитры. */
.lp-facts li:first-child {
	border-color: transparent;
	background: var(--soft-accent);
	color: var(--accent-dark);
}

.lp-hint {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 14px;
}

.page.lp {
	padding-top: 8px;
}

.lp-section + .lp-section {
	margin-top: 56px;
}

.lp-section h2 {
	margin: 0 0 14px;
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.lp-section ul.dash li {
	margin: 0 0 6px;
}

.lp-accent {
	color: var(--text);
	font-size: 18px;
	font-weight: var(--card-title-weight);
	letter-spacing: -0.01em;
}

.lp-steps > li {
	grid-template-columns: 34px 1fr;
	gap: 14px;
	margin: 0 0 18px;
}

.lp-steps > li > b {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--soft-accent);
	color: var(--accent);
	font-size: 15px;
}

.lp-steps p {
	margin: 4px 0 0;
	color: var(--muted);
}

.lp-offer {
	padding: 30px 24px 22px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	text-align: center;
}

.lp-offer__price {
	margin: 0;
	font-size: clamp(48px, 7vw, 64px);
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: var(--title-weight);
}

.lp-offer__what {
	margin: 10px 0 0;
	font-size: 18px;
	font-weight: var(--card-title-weight);
}

.lp-offer__rows {
	margin-top: 22px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	text-align: left;
}

.lp-offer__rows li:first-child {
	border-top: 1px solid var(--line);
}

.page .lp-offer__more {
	margin: 14px 0 0;
	font-size: 14px;
	text-align: left;
}

.lp-chips {
	margin: 4px 0 0;
	max-width: none;
	justify-content: flex-start;
}

.lp-chips li {
	color: var(--text);
}

.lp-final {
	padding: 40px 20px 36px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	text-align: center;
}

.lp-section.lp-final {
	margin-top: 64px;
}

.lp-final h2 {
	margin: 0 auto;
	max-width: 22ch;
	text-wrap: balance;
}

.lp-final .cta-label {
	margin-top: 22px;
}

@media (max-width: 560px) {
	.lp-facts {
		margin-top: 22px;
	}

	.lp-section + .lp-section {
		margin-top: 44px;
	}

	.lp-offer {
		padding: 24px 18px 18px;
	}

	.lp-final {
		padding: 30px 16px 28px;
	}
}

/* ── Главная: форматы — кнопки с выбором площадки ─────────────────────────
 * Вид тот же, что у простых chips (`.chips li`), но нажимается кнопка внутри.
 * Посадочные пользуются обычными `.chips` и этих правил не касаются. */
.fmt {
	position: relative;
}

.chips--nav li {
	padding: 0;
	border: 0;
	background: none;
}

.chips--nav button {
	display: block;
	margin: 0;
	padding: 6px 14px;
	border-radius: var(--button-radius);
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.72);
	color: var(--muted);
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.chips--nav button:hover {
	border-color: var(--line-2);
	color: var(--text);
}

.chips--nav button[aria-expanded="true"] {
	border-color: var(--accent);
	background: var(--soft-accent);
	color: var(--accent-dark);
}

.chips--nav button:focus-visible,
.fmt-pick__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: var(--button-radius);
}

.fmt-pick {
	position: absolute;
	z-index: 20;
	display: flex;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	white-space: nowrap;
}

.fmt-pick[hidden] {
	display: none;
}

.fmt-pick__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: var(--button-radius);
	border: 1px solid var(--line-2);
	background: var(--surface);
	color: var(--text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

/* Глобальный `a:hover` специфичнее одиночного класса: цвет и подчёркивание
 * здесь задаются явно, иначе он перекрашивает текст ссылки. */
.fmt-pick__link:hover {
	background: var(--surface-3);
	color: var(--text);
	text-decoration: none;
}

.fmt-pick__link--tg {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.fmt-pick__link--tg:hover {
	border-color: var(--accent-dark);
	background: var(--accent-dark);
	color: #fff;
	text-decoration: none;
}

.fmt-pick__link img,
.fmt-pick__link svg {
	width: 18px;
	height: 18px;
	flex: none;
}

@media (max-width: 560px) {
	.chips--nav li {
		padding: 0;
	}

	.chips--nav button {
		padding: 5px 11px;
		font-size: 13px;
	}

	.fmt-pick__link {
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.chips--nav button {
		transition: none;
	}
}

/* ── Главная: лёгкая кнопка «Зарабатывать» перед подвалом ───────────────── */

/* Вторичный вход в партнёрку: шрифт, размер, начертание и цвет — как у ссылок подвала (`.foot a`), тонкая рамка
   вплотную к тексту, без заливки. Вплотную к подвалу, заметнее обычной ссылки, но далеко от MAX / Telegram. */
.earn {
	padding: 0 20px 2px;
	text-align: center;
}

.earn__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 11px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	color: var(--foot-nav);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	white-space: nowrap;
	transition: border-color 0.14s ease, color 0.14s ease;
}

.earn__btn:hover {
	border-color: var(--muted);
	color: var(--text);
	text-decoration: none;
}

/* Подвал на узком экране — 13 px (`.foot`, ≤ 560 px); кнопка идёт за ним, а не отдельным размером. */
@media (max-width: 560px) {
	.earn__btn {
		font-size: 13px;
	}
}
