/*
Theme Name: Ideogram Ru
Theme URI: https://ideogram.help/
Author: Ideogram Ru
Description: Тема русскоязычного сайта об Ideogram. Язык дизайна — «холст с подписью»: светлый холст с пастельной градиентной дымкой, широкий контейнер, ступенчатые асимметричные блоки и моноширинная подпись под каждым кадром, как в редакторе. Палитра задана владельцем: голубой, фиолетовый, розовый, жёлтый.
Version: 1.0.2
License: proprietary
Text Domain: idg
*/

/* ============================================================
   1. ТОКЕНЫ
   ============================================================ */
:root {
	--ink: #15141A;
	--ink-2: #4A4753;
	--ink-3: #837F8E;
	--paper: #FBFAFC;
	--card: #FFFFFF;
	--line: rgba(21, 20, 26, .10);
	--line-2: rgba(21, 20, 26, .20);

	/* Пастельный градиент — палитра задана владельцем */
	--sky: #A9CBFF;
	--violet: #C3B4FF;
	--rose: #FFB9DC;
	--sun: #FFDF8F;

	--deck: 1560px;
	--col: 760px;
	--gutter: clamp(18px, 3.2vw, 56px);

	--r-lg: 32px;
	--r: 22px;
	--r-sm: 14px;
	--r-pill: 999px;

	--f-display: 'Unbounded', 'Onest', system-ui, sans-serif;
	--f-text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

	--ease: cubic-bezier(.16, 1, .3, 1);
	--t: .32s var(--ease);
	--head-h: 74px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head-h) + 16px);
}

/* Градиентная дымка держится за всем сайтом: сам фон неподвижен,
   поэтому при прокрутке страница «проявляется» на одном полотне. */
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	position: relative;
}
body::before {
	content: '';
	position: fixed;
	inset: -20vh -10vw;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(46vw 42vw at 12% 8%, color-mix(in srgb, var(--sky) 62%, transparent), transparent 62%),
		radial-gradient(40vw 40vw at 88% 12%, color-mix(in srgb, var(--violet) 58%, transparent), transparent 60%),
		radial-gradient(44vw 40vw at 78% 74%, color-mix(in srgb, var(--rose) 52%, transparent), transparent 62%),
		radial-gradient(38vw 34vw at 18% 82%, color-mix(in srgb, var(--sun) 55%, transparent), transparent 60%);
	filter: blur(10px) saturate(112%);
	opacity: .9;
}

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

a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

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

.skip {
	position: absolute; left: -9999px; top: 0; z-index: 300;
	background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ============================================================
   2. КАРКАС
   ============================================================
   Ширина одна на всех страницах — и на главной, и на внутренних:
   требование владельца, внутренние страницы держат ту же сетку.
   ============================================================ */
.deck {
	width: min(100% - var(--gutter) * 2, var(--deck));
	margin-inline: auto;
}
.col { max-width: var(--col); }

.strip { padding: clamp(56px, 6vw, 104px) 0 0; }
.strip--tight { padding: clamp(34px, 3.4vw, 60px) 0 0; }
.strip:last-of-type { padding-bottom: clamp(64px, 6vw, 108px); }

/* Разделитель секций: линия во всю ширину и номер справа моноширинным.
   Это не надстрочная подпись к заголовку — номер стоит на своей строке
   и к следующему заголовку не относится. */
.rule {
	display: flex; align-items: center; gap: 18px;
	padding: 0 0 clamp(22px, 2.4vw, 40px);
}
.rule__ln { flex: 1 1 auto; height: 1px; background: var(--line); }
.rule__n {
	font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em;
	text-transform: lowercase; color: var(--ink-3); white-space: nowrap;
}

/* ============================================================
   3. ТИПОГРАФИКА
   ============================================================ */
h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -.03em;
	margin: 0 0 22px;
	text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.1rem + 4.4vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3.1rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.08rem, .98rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 600; }

/* Часть заголовка приглушена — двухцветный заголовок из референса */
.dim { color: var(--ink-3); }

p { margin: 0 0 18px; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }
.lead {
	font-size: clamp(1.05rem, .98rem + .5vw, 1.36rem);
	line-height: 1.5;
	color: var(--ink);
	max-width: var(--col);
}
.mute { color: var(--ink-3); }
.mono { font-family: var(--f-mono); font-size: .9em; }

ul, ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
li { margin-bottom: 9px; }
.plain { list-style: none; padding: 0; }
strong, b { font-weight: 700; color: var(--ink); }

/* ============================================================
   4. ВСПЛЫТИЕ — по требованию владельца
   ============================================================
   Два движения: блок всплывает снизу (.pop), заголовок выезжает
   построчно из-под маски (.rise-lines). Оба ставит наблюдатель
   пересечений, класс .in вешает скрипт.
   ============================================================ */
.pop {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .62s var(--ease), transform .62s var(--ease);
	transition-delay: calc(var(--d, 0) * 80ms);
}
.pop.in { opacity: 1; transform: none; }

.rise-lines .ln { display: block; overflow: hidden; }
.rise-lines .ln__i {
	display: block;
	transform: translateY(105%);
	transition: transform .74s var(--ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.rise-lines.in .ln__i { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.pop, .rise-lines .ln__i { transition: none !important; }
	.pop { opacity: 1; transform: none; }
	.rise-lines .ln__i { transform: none; }
}

/* ============================================================
   5. КНОПКИ И ЧИПЫ
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 24px;
	border: 1px solid transparent; border-radius: var(--r-pill);
	font-family: var(--f-text); font-size: 16px; font-weight: 600; line-height: 1.15;
	text-decoration: none; cursor: pointer;
	/* Подпись переносится, а кнопка не выходит за колонку: длинные подписи
	   на узком экране иначе распирают строку и уводят всю страницу вбок. */
	white-space: normal; max-width: 100%; text-align: left;
	transition: transform var(--t), background-color var(--t), border-color var(--t);
}
.btn__arw { flex: 0 0 auto; }
.btn__arw { transition: transform var(--t); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arw { transform: translateX(4px); }
.btn:active { transform: none; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #26242E; color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .62); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 15px; }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.chip {
	display: inline-flex; align-items: baseline; gap: 7px;
	padding: 8px 16px; border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .68);
	border: 1px solid var(--line);
	font-size: 14px; color: var(--ink-2);
	backdrop-filter: blur(6px);
}
.chip b { font-family: var(--f-display); font-size: 15px; font-weight: 600; }
.chiprow { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   6. ШАПКА — тонкая, знак слева, реф-кнопка справа
   ============================================================ */
.hdr {
	position: sticky; top: 0; z-index: 90;
	background: color-mix(in srgb, var(--paper) 78%, transparent);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--line);
}
/* Строка шапки идёт во всю ширину экрана, а не по контейнеру:
   знак прижат к левому краю, кнопка и бургер — к правому. */
.hdr__row { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); padding-inline: var(--gutter); }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.mark { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; display: block; }
.brand__w {
	font-family: var(--f-display); font-weight: 600; font-size: 18px;
	letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__w i { font-style: normal; color: var(--ink-3); }

.nav { margin-left: auto; min-width: 0; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav__list a {
	display: block; padding: 8px 13px; border-radius: var(--r-pill);
	font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap;
	transition: background-color var(--t), color var(--t);
}
.nav__list a:hover { background: rgba(21, 20, 26, .06); color: var(--ink); }
.nav__list [aria-current="page"] { background: rgba(21, 20, 26, .09); color: var(--ink); }

.hdr__side { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: 12px; }

.burger {
	display: none; width: 44px; height: 44px; flex: 0 0 44px;
	align-items: center; justify-content: center; padding: 0;
	background: rgba(255, 255, 255, .6); border: 1px solid var(--line-2);
	border-radius: var(--r-pill); color: var(--ink); cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

.drawer { display: none; padding: 4px var(--gutter) 18px; }
.drawer.open { display: block; }
.drawer a {
	display: block; padding: 12px 16px; border-radius: var(--r-sm);
	text-decoration: none; color: var(--ink-2); font-size: 16px;
}
.drawer a:hover, .drawer a[aria-current="page"] { background: rgba(21, 20, 26, .06); color: var(--ink); }

/* ============================================================
   7. ПЕРВЫЙ ЭКРАН
   ============================================================ */
.hero { padding: clamp(28px, 3.6vw, 64px) 0 0; }
.hero__panel {
	position: relative;
	isolation: isolate;
	border-radius: var(--r-lg);
	overflow: hidden;
	padding: clamp(30px, 4.4vw, 74px);
	background:
		radial-gradient(70% 120% at 8% 0%, color-mix(in srgb, var(--sky) 82%, transparent), transparent 64%),
		radial-gradient(60% 110% at 92% 6%, color-mix(in srgb, var(--violet) 78%, transparent), transparent 62%),
		radial-gradient(70% 120% at 76% 100%, color-mix(in srgb, var(--rose) 74%, transparent), transparent 66%),
		radial-gradient(56% 100% at 20% 96%, color-mix(in srgb, var(--sun) 76%, transparent), transparent 62%),
		#F4F1FA;
	border: 1px solid rgba(255, 255, 255, .6);
}
/* Фон плиты: картинка ложится поверх градиентов, но под текстом.
   Файла может не быть — тогда остаются прежние градиенты. */
.hero__bg {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover;
}
.hero__panel:has(.hero__bg)::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: rgba(251, 250, 252, .42);
}
.hero__top { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-start; justify-content: space-between; }
.hero__note { max-width: 42ch; font-size: 15.5px; color: var(--ink-2); margin: 0; }
.hero h1 { margin: clamp(24px, 3vw, 52px) 0 0; }
.hero__lead { margin-top: 26px; max-width: 60ch; }
.hero__btns { margin-top: 30px; }

/* Ярлыки, всплывающие над полотном — из референса */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(30px, 3.6vw, 58px); }
.tag {
	font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em;
	padding: 8px 14px; border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .9);
	color: var(--ink-2);
}

.figures {
	display: grid; gap: 18px;
	grid-template-columns: minmax(0, 1fr);
	margin-top: clamp(26px, 3vw, 48px);
}
.fig__v { font-family: var(--f-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; display: block; }
.fig__k { font-size: 14.5px; color: var(--ink-3); display: block; margin-top: 2px; }

/* ============================================================
   8. СТУПЕНЬКИ И АСИММЕТРИЯ — из референса
   ============================================================ */
.split { display: grid; gap: clamp(22px, 3vw, 54px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.split--73 { grid-template-columns: minmax(0, 1fr); }
.split--37 { grid-template-columns: minmax(0, 1fr); }

/* Ступеньки: каждая следующая карточка опускается ниже предыдущей */
.stair { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.stair > * { --step: 0; }

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: clamp(22px, 2.2vw, 34px);
	min-width: 0;
}
.card--tint { background: linear-gradient(150deg, rgba(169, 203, 255, .28), rgba(255, 185, 220, .22) 62%, rgba(255, 223, 143, .26)); border-color: rgba(255, 255, 255, .8); }
.card--ink { background: var(--ink); color: #fff; border-color: transparent; }
.card--ink p, .card--ink .mute { color: rgba(255, 255, 255, .74); }
.card--ink h3, .card--ink h2 { color: #fff; }

.card__ic {
	width: 46px; height: 46px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(21, 20, 26, .05); margin-bottom: 16px;
}
.card__ic .ic { width: 22px; height: 22px; }
.card--ink .card__ic { background: rgba(255, 255, 255, .12); }

.grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

/* ============================================================
   9. КАДР С ПОДПИСЬЮ — несущая форма темы
   ============================================================ */
.shot { margin: 0; min-width: 0; }
.shot__f {
	display: block; overflow: hidden;
	border-radius: var(--r); border: 1px solid var(--line);
	background: linear-gradient(140deg, rgba(169, 203, 255, .35), rgba(195, 180, 255, .3) 50%, rgba(255, 185, 220, .3));
}
.shot__f img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover .shot__f img { transform: scale(1.04); }
.shot__c {
	font-family: var(--f-mono); font-size: 12.5px; line-height: 1.45;
	color: var(--ink-3); margin-top: 12px;
}
.shot--wide .shot__f { aspect-ratio: 16 / 9; }
.shot--tall .shot__f { aspect-ratio: 3 / 4; }
.shot--sq .shot__f { aspect-ratio: 1 / 1; }

/* ============================================================
   10. ГАЛЕРЕЯ — кадры только целиком, прокрутки нет
   ============================================================
   Ширина ячейки выводится из числа колонок, которое ставит скрипт:
   в ряд помещается целое число кадров, остатка не остаётся.
   Не поместившиеся уходят за край целиком и достаются кнопками.
   Прокрутки у ленты нет вовсе — листание только переключателями.
   ============================================================ */
.reel {
	--reel-gap: 18px; --reel-cols: 1;
	display: flex; gap: var(--reel-gap);
	overflow: hidden;
}
.reel__cell {
	flex: 0 0 calc((100% - (var(--reel-cols) - 1) * var(--reel-gap)) / var(--reel-cols));
	margin: 0; min-width: 0;
}
.reel__nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.reel__nav[hidden] { display: none; }
.reel__btn {
	width: 46px; height: 46px; flex: 0 0 46px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-2); border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .7); color: var(--ink); cursor: pointer;
	transition: background-color var(--t), opacity var(--t);
}
.reel__btn:hover:not(:disabled) { background: #fff; }
.reel__btn:disabled { opacity: .3; cursor: default; }
.reel__btn .ic { width: 20px; height: 20px; }

/* ============================================================
   11. ТАБЛИЦЫ
   ============================================================ */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td .mono { white-space: nowrap; }

/* ============================================================
   12. ТАРИФЫ
   ============================================================ */
.plan { display: flex; flex-direction: column; height: 100%; }
.plan__n { font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.plan__p { font-family: var(--f-display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -.04em; margin: 10px 0 4px; }
.plan__note { font-size: 13.5px; color: var(--ink-3); margin: 0 0 16px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 22px; font-size: 15px; }
.plan__list li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; color: var(--ink-2); }
.plan__list .ic { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 4px; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   13. ВОПРОСЫ
   ============================================================ */
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
	width: 100%; display: flex; gap: 18px; align-items: center; justify-content: space-between;
	background: none; border: 0; padding: 20px 0; cursor: pointer;
	font-family: var(--f-display); font-size: clamp(1rem, .95rem + .35vw, 1.2rem); font-weight: 600;
	color: var(--ink); text-align: left; letter-spacing: -.02em;
}
.qa__s { width: 26px; height: 26px; flex: 0 0 26px; position: relative; }
.qa__s::before, .qa__s::after {
	content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink);
	transform: translate(-50%, -50%); transition: transform var(--t);
}
.qa__s::before { width: 13px; height: 1.6px; }
.qa__s::after { width: 1.6px; height: 13px; }
.qa.open .qa__s::after { transform: translate(-50%, -50%) scaleY(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a p { padding-bottom: 20px; max-width: 78ch; }

/* ============================================================
   14. ОЦЕНКА
   ============================================================ */
.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.score__v { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 4vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stars { position: relative; display: inline-block; font-size: 22px; line-height: 1; letter-spacing: 2px; }
.stars__bg { color: rgba(21, 20, 26, .16); }
.stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #F0A93B; }

.voice { break-inside: avoid; }
.voice__top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.voice__who { font-family: var(--f-display); font-size: 15px; font-weight: 600; }
.voice__role { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   15. ПЕРЕЛИНКОВКА И ПОЛОСА
   ============================================================ */
.rel { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.rel__i {
	display: block; position: relative;
	padding: 24px 56px 26px 26px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	text-decoration: none; transition: transform var(--t), border-color var(--t);
}
.rel__i:hover { transform: translateY(-3px); border-color: var(--line-2); }
.rel__t { display: block; font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.rel__d { display: block; margin-top: 7px; font-size: 14.5px; color: var(--ink-3); }
.rel__a { position: absolute; right: 24px; bottom: 22px; color: var(--ink-3); }

.band {
	display: grid; gap: 24px; align-items: center;
	grid-template-columns: minmax(0, 1fr);
	border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 56px);
	background: linear-gradient(126deg, var(--sky), var(--violet) 42%, var(--rose) 74%, var(--sun));
	border: 1px solid rgba(255, 255, 255, .7);
}
.band h2 { margin-bottom: 12px; }
.band p { color: var(--ink-2); margin: 0; max-width: 56ch; }

/* ============================================================
   16. КРОШКИ И ШАПКА СТРАНИЦЫ
   ============================================================ */
.phead { padding: clamp(30px, 3.6vw, 64px) 0 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: clamp(18px, 2vw, 30px); }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.phead .lead { margin-top: 26px; }
.phead .chiprow { margin-top: 26px; }

/* ============================================================
   17. ПОДВАЛ — крупный знак бренда во всю ширину
   ============================================================ */
.foot { margin-top: clamp(60px, 6vw, 110px); border-top: 1px solid var(--line); padding: clamp(40px, 4vw, 70px) 0 34px; }
.foot__top { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.foot__about { font-size: 15px; color: var(--ink-2); max-width: 52ch; margin: 14px 0 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.foot__links a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--ink); }
.foot__legal { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.foot__legal p { color: inherit; margin: 0 0 8px; }
.foot__word {
	font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em;
	font-size: clamp(2.6rem, 1rem + 9vw, 11rem); line-height: .92;
	margin-top: clamp(30px, 3.4vw, 56px);
	background: linear-gradient(96deg, var(--sky), var(--violet) 38%, var(--rose) 68%, var(--sun));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	white-space: nowrap;
}

/* ============================================================
   18. МЕЛОЧИ
   ============================================================ */
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.note { font-size: 14px; color: var(--ink-3); }
.kv { display: grid; gap: 10px; }
.kv > span { display: block; font-size: 15px; color: var(--ink-2); }

/* ============================================================
   19. АДАПТИВ
   ============================================================ */
@media (min-width: 700px) {
	.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
	.rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
	.split--73 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.split--37 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.band { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
	.stair { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
	/* Ступеньки: каждая колонка опускается ниже соседней слева */
	.stair > *:nth-child(3n+2) { margin-top: clamp(24px, 3vw, 56px); }
	.stair > *:nth-child(3n+3) { margin-top: clamp(48px, 6vw, 112px); }
	.stair--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stair--2 > *:nth-child(3n+2), .stair--2 > *:nth-child(3n+3) { margin-top: 0; }
	.stair--2 > *:nth-child(2n) { margin-top: clamp(30px, 3.6vw, 68px); }
}

@media (min-width: 1280px) {
	.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Меню в строку помещается до 1220px, ниже уходит в бургер */
@media (max-width: 1219px) {
	.nav { display: none; }
	.burger { display: inline-flex; margin-left: auto; }
	.hdr__side { margin-left: 0; }
}

@media (max-width: 560px) {
	.brand__w i { display: none; }
}
@media (max-width: 430px) {
	body { font-size: 16px; }
	.btn { padding: 12px 20px; font-size: 15px; }
	.card { padding: 20px 18px; }
	.brand__w { font-size: 17px; }
}
@media (max-width: 380px) {
	.brand__w { display: none; }
}
