/*
Theme Name: ChatGPT Ru
Description: Тема брендового справочника по ChatGPT. Язык дизайна — «стеклянная консоль».
Version: 1.0.6
Author: ChatGPT Ru
*/

/* ─────────────────────────────────────────────
   Токены. Офсайт закрыт Cloudflare, пипеткой снять
   нельзя, поэтому за основу взято то, что бренд
   публикует сам: чёрно-белая база приложения и
   фирменный зелёный ChatGPT.
   ───────────────────────────────────────────── */
:root {
	--void: #07080b;
	--void-2: #0b0d12;
	--glass: rgba(255, 255, 255, .045);
	--glass-2: rgba(255, 255, 255, .075);
	--line: rgba(255, 255, 255, .10);
	--line-2: rgba(255, 255, 255, .18);
	--text: #eceded;
	--muted: #9ba1a6;
	--accent: #10a37f;
	--accent-2: #19c37d;
	--accent-3: #7fe3c4;

	--shell: 1200px;
	--r: 20px;
	--r-sm: 12px;
	--gap: 22px;

	--h: "Jura", "Segoe UI", sans-serif;
	--t: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--void);
	color: var(--text);
	font: 400 16.5px/1.7 var(--t);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
header img {
	width: 40px;
}
/* Полотно светится изнутри: два мягких пятна на фоне страницы,
   чтобы чёрный не читался как плоская заливка. */
body::before {
	content: "";
	position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 40% at 12% 8%, rgba(16, 163, 127, .12), transparent 60%),
		radial-gradient(50% 40% at 88% 32%, rgba(25, 195, 125, .07), transparent 60%);
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
	font-family: var(--h);
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.08;
	margin: 0 0 .55em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.2em; }
li { margin-bottom: .55em; }
li::marker { color: var(--accent-2); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.shell--text { max-width: 1200px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }

/* ─────────────────────────────────────────────
   Кнопки
   ───────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 46px; padding: 12px 26px;
	border-radius: 999px; border: 1px solid transparent;
	font: 600 15px/1 var(--t); text-decoration: none; cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent {
	background: linear-gradient(180deg, var(--accent-2), var(--accent));
	color: #04160f;
	box-shadow: 0 8px 30px rgba(16, 163, 127, .32);
}
.btn--accent:hover { color: #04160f; box-shadow: 0 12px 38px rgba(16, 163, 127, .45); }
.btn--ghost { background: var(--glass); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost:hover { color: #fff; background: var(--glass-2); border-color: rgba(255, 255, 255, .34); }
.btn--line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--line:hover { color: #fff; border-color: var(--accent-2); }
.btn--sm { min-height: 38px; padding: 9px 18px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ─────────────────────────────────────────────
   Дуга-горизонт первого экрана.
   Порт компонента glow-horizon с framer-motion на
   чистый CSS: четыре слоя эллипсов с разным блюром
   выезжают из-за верхней кромки. Цвета заменены на
   акцентные зелёные вместо исходных фиолетовых.
   ───────────────────────────────────────────── */
/* Дуга закреплена в окне: после въезда она не уезжает вместе с документом.
   position: fixed стоит на самом .horizon, а не на слоях внутри, — у
   .horizon--soft есть собственный filter, а он создаёт содержащий блок для
   закреплённых потомков, и крепление сломалось бы молча ровно на внутренних
   страницах. Клип overflow: hidden живёт на том же закреплённом элементе,
   иначе эллипсы шириной 132% вылезли бы во всё окно. z-index: -1 уводит дугу
   под текст, крошки и ссылки; вместе с pointer-events: none она не
   перехватывает клики. Высота задана явно, а не через bottom: 0: на мобильных
   высота окна скачет вместе со схлопыванием адресной строки, привязка только
   к верхней кромке избавляет от дёрганья. */
.horizon {
	position: fixed;
	inset: 0 0 auto;
	height: clamp(420px, 48vw, 820px);
	overflow: hidden;
	pointer-events: none;
	z-index: -1;
}
.horizon__arc {
	position: absolute; left: 50%; top: 0;
	width: 132%; aspect-ratio: 2 / 1;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	will-change: transform, opacity, filter;
}
.horizon__arc--core { width: 128%; background: #fff; box-shadow: 0 -4px 26px rgba(255, 255, 255, .62); }
.horizon__arc--mint { width: 120%; background: var(--accent-3); filter: blur(30px); }
.horizon__arc--green { width: 124%; background: var(--accent); filter: blur(22px); }
.horizon__arc--void { width: 118%; background: var(--void); filter: blur(46px); }

/* Первый кадр рисуется CSS-ом сразу, анимация только уточняет
   положение: если вкладку открыли в фоне, экран не остаётся пустым. */
.horizon.is-live .horizon__arc { animation: arc-in 1.9s cubic-bezier(.16, 1, .3, 1) both; }
.horizon.is-live .horizon__arc--mint { animation-delay: .5s; }
.horizon.is-live .horizon__arc--core { animation-delay: 1s; }
@keyframes arc-in {
	from { transform: translate(-50%, -78%) scaleY(1.5); opacity: 0; }
	to   { transform: translate(-50%, -50%) scaleY(1); opacity: 1; }
}

/* Внутренние страницы: та же дуга, но приглушённая. Геометрия слоёв
   не меняется, поэтому картинка узнаётся, а гасят её три вещи —
   непрозрачность, насыщенность и более короткий, медленный въезд.
   Геометрию, клип и крепление к окну целиком берём у .horizon: с
   position: fixed полоса меряется от окна, а не от низкой .page-head, и
   отдельная высота здесь больше не нужна. */
.horizon--soft {
	opacity: .45;
	filter: saturate(.85) brightness(.92);
}
.horizon--soft .horizon__arc--core { box-shadow: 0 -4px 26px rgba(255, 255, 255, .3); }
.horizon--soft.is-live .horizon__arc { animation-name: arc-in-soft; animation-duration: 2.5s; }
@keyframes arc-in-soft {
	from { transform: translate(-50%, -60%) scaleY(1.14); opacity: 0; }
	to   { transform: translate(-50%, -50%) scaleY(1); opacity: 1; }
}

/* ─────────────────────────────────────────────
   Стеклянная плита — несущая форма темы
   ───────────────────────────────────────────── */
.slab {
	position: relative;
	background: var(--glass);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 26px 24px;
	backdrop-filter: blur(18px);
	overflow: hidden;
}
.slab::after {
	content: "";
	position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(25, 195, 125, .14), transparent 62%);
	opacity: 0; transition: opacity .3s ease;
}
.slab:hover::after, .slab:focus-within::after { opacity: 1; }
.slab h3 { margin-bottom: .4em; }
.slab p:last-child { margin-bottom: 0; }
a.slab { text-decoration: none; color: inherit; display: block; }
a.slab:hover { border-color: var(--line-2); color: inherit; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Всплывающее появление блоков.
   Прячем только при работающем JS: класс has-js ставит инлайновый
   скрипт в шапке. Иначе при сбое скрипта весь контент остался бы
   с opacity: 0 навсегда. */
.has-js .rise { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1), filter .7s ease; }
.has-js .rise.is-in { opacity: 1; transform: none; filter: none; }

/* ─────────────────────────────────────────────
   Шапка — плавающая пилюля
   ───────────────────────────────────────────── */
.site-header { position: sticky; top: 14px; z-index: 80; padding: 0 16px; margin-bottom: -70px; }
.hdr {
	display: flex; align-items: center; gap: 18px;
	max-width: var(--shell); margin: 0 auto;
	padding: 8px 8px 8px 20px;
	background: rgba(12, 14, 19, .72);
	border: 1px solid var(--line);
	border-radius: 999px;
	backdrop-filter: saturate(1.3) blur(16px);
	transition: background-color .25s ease, box-shadow .25s ease;
}
.is-stuck .hdr { background: rgba(9, 11, 15, .9); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--h); font-weight: 700; font-size: 20px; }
.brand:hover { color: #fff; }
.brand svg { width: 24px; height: 24px; flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
	display: inline-flex; align-items: center; padding: 9px 15px;
	border-radius: 999px; text-decoration: none; color: var(--muted);
	font-size: 14.5px; transition: background-color .18s ease, color .18s ease;
}
.nav a:hover { color: #fff; background: var(--glass); }
.nav a[aria-current="page"] { color: var(--text); background: var(--glass-2); }
.hdr .btn { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; padding: 0; }
.burger i { display: block; width: 17px; height: 1.5px; margin: 4px auto; background: var(--text); border-radius: 2px; }
/* Мобильное меню — полный указатель по сайту, четырнадцать строк.
   В экран телефона такой список не влезает, а шапка залипающая:
   без собственной прокрутки хвост меню оказался бы недостижим —
   страница под ним прокручивается, а меню стоит вместе с шапкой.
   Отсюда max-height и overflow-y: auto на самой пилюле.
   Вычитаем 168px: 14px отступ сверху + пилюля шапки + 8px зазор,
   и снизу полоса .mcta, которая лежит выше по z-index (90 против
   80 у шапки) и иначе накрыла бы последние пункты. */
.mnav {
	display: none;
	/* Меню вынуто из потока и висит под пилюлей: иначе раскрытый список
	   на 570px увеличивал бы высоту документа, полоса прокрутки прыгала
	   бы на каждое нажатие бургера, а на короткой странице открытие меню
	   само по себе создавало бы прокрутку. Отсчёт идёт от .site-header —
	   он sticky, то есть уже позиционирован и служит опорой. */
	position: absolute;
	left: 16px; right: 16px; top: calc(100% + 8px);
	max-width: var(--shell);
	margin: 0 auto;
	padding: 8px;
	background: rgba(10, 12, 16, .96);
	border: 1px solid var(--line);
	border-radius: 22px;
	backdrop-filter: blur(16px);
	max-height: calc(100vh - 168px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
/* Динамическая высота там, где она есть: на мобильных 100vh считается
   по развёрнутой адресной строке и меню вылезало бы под полосу CTA. */
@supports (height: 100dvh) {
	.mnav { max-height: calc(100dvh - 168px); }
}
.mnav__group + .mnav__group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.mnav__title {
	margin: 0; padding: 6px 12px 4px;
	font-family: var(--h); font-size: .72rem; font-weight: 600;
	letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.mnav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text); border-radius: 12px; }
.mnav a:hover { background: var(--glass); }
.mnav a[aria-current="page"] { background: var(--glass-2); color: #fff; }
.is-open .mnav { display: block; }

/* ─────────────────────────────────────────────
   Первый экран
   ───────────────────────────────────────────── */
.hero { position: relative; padding: 168px 0 92px; text-align: center; overflow: hidden; }
.hero .shell { position: relative; z-index: 1; }
.hero h1 { margin: 0 auto .5em; max-width: 15ch; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0 auto 30px; }
.hero .btn-row { justify-content: center; }
.tag {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 7px 16px; margin-bottom: 22px;
	border: 1px solid var(--line-2); border-radius: 999px;
	background: var(--glass); backdrop-filter: blur(10px);
	font-size: 13.5px; color: var(--muted);
}
.tag b { color: var(--accent-2); font-weight: 600; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }

/* Стеклянная панель-витрина под первым экраном */
.showcase { margin-top: 54px; }
.showcase__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.showcase__cell { background: rgba(11, 13, 18, .86); padding: 22px 18px; text-align: left; backdrop-filter: blur(14px); }
.showcase__v { font-family: var(--h); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; line-height: 1.1; }
.showcase__k { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ─────────────────────────────────────────────
   Секции
   ───────────────────────────────────────────── */
.sec { padding: 78px 0; position: relative; }
.sec--tight { padding: 46px 0; }
.sec__head { max-width: 46em; margin-bottom: 34px; }
.sec__head p { color: var(--muted); margin-bottom: 0; }
.page-head { padding: 150px 0 26px; position: relative; }
.page-head h1 { margin-bottom: .35em; }
.crumbs { padding: 122px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs + .page-head { padding-top: 18px; }
.prose { max-width: 1200px; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose > *:first-child { margin-top: 0; }

.note {
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent-2);
	background: var(--glass);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	padding: 18px 22px; margin: 26px 0;
	backdrop-filter: blur(12px);
}
.note p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   Таблицы
   ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--h); font-weight: 700; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .04); }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { font-family: var(--h); font-weight: 700; font-size: 18px; color: #fff; white-space: nowrap; }

/* ─────────────────────────────────────────────
   Тарифы: стеклянные карточки, которые ведут себя
   как физический объект — наклоняются за курсором.
   ───────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; perspective: 1400px; }
.plan {
	position: relative; display: flex; flex-direction: column;
	background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .028));
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 26px 22px;
	backdrop-filter: blur(20px);
	transform-style: preserve-3d;
	transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, box-shadow .25s ease;
	will-change: transform;
}
.plan:hover { border-color: var(--line-2); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); }
.plan::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 195, 125, .16), transparent 60%);
	opacity: 0; transition: opacity .3s ease;
}
.plan:hover::after { opacity: 1; }
.plan--best { border-color: rgba(25, 195, 125, .45); box-shadow: 0 0 0 1px rgba(25, 195, 125, .12), 0 20px 50px rgba(0, 0, 0, .4); }
.plan__badge { display: inline-block; align-self: flex-start; font: 600 12px/1 var(--t); letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); margin-bottom: 14px; }
.plan--best .plan__badge { border-color: rgba(25, 195, 125, .5); color: var(--accent-2); }
.plan h3 { font-size: 1.3rem; margin-bottom: .3em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.plan__now { font-family: var(--h); font-weight: 700; font-size: 2.5rem; color: #fff; line-height: 1; }
.plan__per { font-size: 13.5px; color: var(--muted); }
.plan__note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 20px; font-size: 14.5px; }
.plan ul li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--muted); }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }
.plan .btn { width: 100%; margin-top: auto; }

/* ─────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────── */
.faq { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--glass); backdrop-filter: blur(14px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
	cursor: pointer; list-style: none; padding: 18px 46px 18px 22px; position: relative;
	font-family: var(--h); font-weight: 600; font-size: 1.08rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
	transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { color: var(--accent-2); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* Рейтинг и отзывы */
.rating { display: inline-flex; align-items: center; gap: 10px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; }
.rating b { font-family: var(--h); font-size: 1.6rem; color: #fff; }
.rev { display: flex; flex-direction: column; gap: 10px; }
.rev__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rev__who { font-family: var(--h); font-weight: 600; font-size: 1.05rem; color: #fff; }
.rev__when { font-size: 12.5px; color: var(--muted); }
.rev p { margin: 0; color: var(--muted); font-size: 15px; }

/* Ссылки-соседи */
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related li { margin: 0; }
.related a {
	display: inline-block; padding: 10px 18px; border: 1px solid var(--line);
	border-radius: 999px; text-decoration: none; color: var(--muted);
	font-size: 14.5px; background: var(--glass); transition: color .18s ease, border-color .18s ease;
}
.related a:hover { color: #fff; border-color: var(--accent-2); }

/* Подвал */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 54px 0 34px; background: rgba(255, 255, 255, .015); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-size: 1.15rem; margin-bottom: .8em; color: #fff; }
.site-footer p { color: var(--muted); font-size: 14.5px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 9px; }
/* :not(.btn) обязателен: иначе эти два правила перебивают .btn--accent
   по специфичности и реф-кнопка в подвале красится как обычная ссылка. */
.site-footer a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.site-footer a:not(.btn):hover { color: #fff; }
.foot-note { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: 13px; color: #757b80; }
.foot-note p { margin-bottom: .6em; font-size: 13px; }

/* Мобильная реф-кнопка */
.mcta { display: none; }

/* ─────────────────────────────────────────────
   Брейкпоинты: 1080 / 900 / 720 / 560 / 380
   ───────────────────────────────────────────── */
@media (max-width: 1080px) {
	.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.showcase__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nav { display: none; }
	.burger { display: block; }
	.hdr .btn--hdr { display: none; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero { padding: 140px 0 72px; }
	.mcta {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(8, 10, 14, .92); border-top: 1px solid var(--line);
		backdrop-filter: blur(14px);
	}
	.mcta .btn { width: 100%; }
	body { padding-bottom: 76px; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.sec { padding: 56px 0; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
	.plans { grid-template-columns: minmax(0, 1fr); }
	.foot { grid-template-columns: 1fr; gap: 28px; }
	.page-head { padding-top: 128px; }
	.crumbs { padding-top: 108px; }
}
@media (max-width: 560px) {
	.shell { padding: 0 16px; }
	.site-header { padding: 0 10px; }
	.hdr { padding: 7px 7px 7px 14px; gap: 10px; }
	/* Боковой отступ шапки здесь меньше — меню держим по её кромкам. */
	.mnav { left: 10px; right: 10px; }
	.brand { font-size: 18px; }
	.slab { padding: 22px 18px; }
	.showcase__inner { grid-template-columns: minmax(0, 1fr); }
	table.data th, table.data td { padding: 11px 12px; }
}
@media (max-width: 380px) {
	.btn { padding: 12px 18px; }
	.hero h1 { font-size: 2.05rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.horizon.is-live .horizon__arc { animation: none; }
	.has-js .rise { opacity: 1; transform: none; filter: none; transition: none; }
	.plan { transition: none; }
}
