/* Argelit Мессенджер — промо-страница. Без сборки и зависимостей. */

/* ---------- Шрифты (SIL OFL, локальные копии fontsource) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/oswald-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/oswald-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/oswald-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/oswald-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ----------
   Синий и цвета приложения — из design-tokens.ts мессенджера (#0066FF, графит #0B0B0D, ледяной #E8F1FF). */
:root {
	--accent: #0066ff;
	--accent-hover: #1a75ff;
	--accent-press: #0052cc;
	--accent-soft: #4d94ff;
	--ice: #e8f1ff;
	--night: #0a1326;
	--space: #0e1930;
	--navy: #14254a;

	--bg: #ffffff;
	--bg-soft: #f2f5fa;
	--card: #ffffff;
	--glass: rgba(255, 255, 255, .72);
	--text: #0b0b0d;
	--muted: #5b6475;
	--line: #e3e8f0;
	--grid-line: rgba(11, 11, 13, .045);
	--accent-text: #0066ff;
	--shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .12);
	--shadow-hover: 0 2px 4px rgba(16, 24, 40, .05), 0 24px 48px -16px rgba(0, 60, 160, .22);

	--dark-line: rgba(255, 255, 255, .1);
	--dark-muted: rgba(255, 255, 255, .72);

	--f-display: "Oswald", "Arial Narrow", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--r: 20px;
	--r-sm: 12px;
	--wrap: 1280px;
	--gutter: 16px;
	--top-h: 64px;
	color-scheme: light;
	interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0a0f1c;
		--bg-soft: #0d1526;
		--card: #111a2c;
		--glass: rgba(17, 26, 44, .72);
		--text: #f5f7fb;
		--muted: #8b97ab;
		--line: #1f2a3f;
		--grid-line: rgba(255, 255, 255, .035);
		--accent-text: #4d94ff;
		--night: #060b17;
		--space: #08101f;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
		--shadow-hover: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -16px rgba(0, 60, 200, .35);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0a0f1c;
	--bg-soft: #0d1526;
	--card: #111a2c;
	--glass: rgba(17, 26, 44, .72);
	--text: #f5f7fb;
	--muted: #8b97ab;
	--line: #1f2a3f;
	--grid-line: rgba(255, 255, 255, .035);
	--accent-text: #4d94ff;
	--night: #060b17;
	--space: #08101f;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
	--shadow-hover: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -16px rgba(0, 60, 200, .35);
	color-scheme: dark;
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--f-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; 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: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1140px) { :root { --gutter: 40px; } }

/* ---------- Типографика ---------- */
.display, h1, h2, .h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; }
h1 { font-size: clamp(42px, 7.4vw, 100px); line-height: .96; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1; letter-spacing: .005em; }
.h3 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.12; letter-spacing: .01em; font-weight: 600; }
.accent { color: var(--accent-soft); }
.lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.dark .lead { color: var(--dark-muted); }
.num { font-family: var(--f-display); font-weight: 500; color: var(--accent-text); letter-spacing: .02em; }
.dark .num { color: var(--accent-soft); }

.chip {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 20px; padding: 8px 16px;
	border: 1px solid var(--line); border-radius: 100px;
	background: var(--glass);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	font-size: 14px; font-weight: 600; line-height: 1.2;
}
.chip::before { content: "✦"; color: var(--accent-text); font-size: 11px; }
.dark .chip { border-color: var(--dark-line); background: rgba(255, 255, 255, .04); color: #fff; }
.dark .chip::before { color: var(--accent-soft); }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 30px;
	border-radius: 100px; border: 1px solid transparent;
	font: 500 18px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em;
	white-space: nowrap;
	transition: transform .4s var(--ease), background-color .2s ease, border-color .2s ease, box-shadow .4s var(--ease), color .2s ease;
}
.btn .icon { font-size: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 102, 255, .55); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 16px 36px -10px rgba(0, 102, 255, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--line); color: var(--text); background: var(--card); }
.btn--line:hover { border-color: var(--accent-soft); color: var(--accent-text); }
.btn--white { background: #fff; color: #0b0b0d; }
.btn--white:hover { background: var(--ice); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn--sm .icon { font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.top {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 19, 38, .82);
	backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
	border-bottom: 1px solid var(--dark-line);
	color: #fff;
}
.top__in { display: flex; align-items: center; gap: 24px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 26px; width: auto; color: #fff; --logo-dot: #4d94ff; }
.brand__sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .3); }
.brand__name { font: 600 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { color: rgba(255, 255, 255, .78); transition: color .2s ease; }
.nav a:hover { color: #fff; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--dark-line); color: #fff; transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.icon-btn .icon { font-size: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.burger { display: none; }
.top__cta .btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1079px) {
	.nav {
		position: fixed; inset: var(--top-h) 0 auto 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px var(--gutter) 24px;
		background: #0a1326;
		border-bottom: 1px solid var(--dark-line);
		box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .5);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
	}
	.nav a { padding: 14px 0; border-bottom: 1px solid var(--dark-line); font: 500 24px/1.2 var(--f-display); text-transform: uppercase; color: #fff; }
	.nav-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .4s var(--ease); }
	.burger { display: inline-grid; }
	.burger .i-x { display: none; }
	.nav-open .burger .i-x { display: block; }
	.nav-open .burger .i-menu { display: none; }
	.top__actions { margin-left: auto; }
}
@media (max-width: 599px) {
	.top__cta { display: none; }
	.brand__logo { height: 22px; }
	.brand__name { font-size: 16px; }
	.brand { gap: 10px; }
}

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--soft { background: var(--bg-soft); }
.section--grid {
	background-color: var(--bg-soft);
	background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
}
.dark { background: var(--night); color: #fff; }
.section--space { background: var(--space); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head .lead { margin-top: 18px; }
.section__head--split { max-width: none; display: grid; gap: 20px 48px; align-items: end; }
@media (min-width: 960px) { .section__head--split { grid-template-columns: 1.2fr 1fr; } }

/* Матовое стекло: мягкие голубые пятна, как фон Frost в приложении. */
.frost { position: relative; isolation: isolate; overflow: clip; }
.frost::before, .frost::after {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 102, 255, .14), transparent 68%);
	filter: blur(10px);
}
.frost::before { top: -12%; right: -10%; }
.frost::after { bottom: -18%; left: -14%; }
:root[data-theme="dark"] .frost::before, :root[data-theme="dark"] .frost::after { background: radial-gradient(circle, rgba(0, 102, 255, .2), transparent 68%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .frost::before, :root:not([data-theme="light"]) .frost::after { background: radial-gradient(circle, rgba(0, 102, 255, .2), transparent 68%); } }

/* ---------- Первый экран ---------- */
.hero {
	position: relative; isolation: isolate; overflow: clip;
	padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
	background:
		radial-gradient(ellipse 60% 42% at 50% 20%, rgba(0, 90, 255, .45), transparent 70%),
		radial-gradient(ellipse 90% 60% at 50% 0%, #0b2a66, transparent 75%),
		var(--night);
	text-align: center;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 64px 64px; background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
}
.cross { position: absolute; width: 44px; height: 44px; color: var(--accent-soft); opacity: .9; pointer-events: none; }
.cross--tl { top: 40px; left: 24px; }
.cross--tr { top: 40px; right: 24px; }
.cross--bl { bottom: 40px; left: 24px; }
.cross--br { bottom: 40px; right: 24px; }
.hero__eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero .lead { margin: 26px auto 0; text-align: center; max-width: 700px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero__note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (max-width: 599px) { .hero__cta .btn { width: 100%; max-width: 360px; } .cross--bl, .cross--br { display: none; } .cross--tl, .cross--tr { top: 20px; } .cross--tl { left: 12px; } .cross--tr { right: 12px; } }

.stage { position: relative; height: clamp(440px, 54vw, 680px); margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1080px; }
.stage::before {
	content: ""; position: absolute; left: 50%; top: 55%; width: 90%; height: 70%; transform: translate(-50%, -50%);
	background: radial-gradient(ellipse at center, rgba(0, 102, 255, .5), transparent 65%); filter: blur(30px); z-index: -1;
}
.stage .phone { position: absolute; left: 50%; top: 0; }
.stage .phone--main { --pw: clamp(220px, 25vw, 310px); transform: translateX(-50%); z-index: 3; }
.stage .phone--l { --pw: clamp(180px, 21vw, 262px); top: 9%; transform: translateX(-122%) rotate(-7deg); z-index: 2; }
.stage .phone--r { --pw: clamp(180px, 21vw, 262px); top: 9%; transform: translateX(22%) rotate(7deg); z-index: 2; }
.float { animation: float 7s ease-in-out infinite alternate; }
.float--slow { animation-duration: 9s; animation-delay: -3s; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }
@media (max-width: 719px) {
	.stage { height: 520px; }
	.stage .phone--main { --pw: 240px; }
	.stage .phone--l, .stage .phone--r { --pw: 200px; top: 12%; opacity: .85; }
	.stage .phone--l { transform: translateX(-112%) rotate(-8deg); }
	.stage .phone--r { transform: translateX(12%) rotate(8deg); }
}

.facts { display: grid; gap: 0 32px; margin-top: clamp(56px, 7vw, 88px); text-align: left; }
.fact { padding: 26px 0; border-top: 1px solid var(--dark-line); }
.fact .num { font-size: 16px; }
.fact .h3 { margin: 6px 0 4px; }
.fact p:last-child { color: var(--dark-muted); font-size: 15px; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } .fact { border-top: 0; border-left: 1px solid var(--dark-line); padding: 8px 0 8px 24px; } }
@media (max-width: 599px) { .fact:last-child { border-bottom: 1px solid var(--dark-line); } }

/* ---------- Карточки «Кому подойдёт» ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
.card {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(24px, 2.6vw, 34px);
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.card--glow::after {
	content: ""; position: absolute; z-index: -1; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 102, 255, .16), transparent 70%);
}
.card .num { font-size: 15px; }
.card .h3 { margin: 28px 0 12px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Обычно / в Argelit ---------- */
.compare { border-top: 1px solid var(--line); }
.compare__row { display: grid; gap: 14px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.compare__num { font: 600 clamp(56px, 6.5vw, 88px)/.9 var(--f-display); color: var(--accent); }
.compare__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare__before p { color: var(--muted); }
.compare__after .compare__label { color: var(--accent-text); }
.compare__after p { font-size: 17px; font-weight: 500; }
@media (min-width: 900px) { .compare__row { grid-template-columns: 180px 1fr 1.25fr; } }
@media (max-width: 899px) { .compare__row { grid-template-columns: 1fr; } }

/* ---------- Экраны ---------- */
.tabs__list {
	display: inline-flex; gap: 4px; padding: 6px; margin-bottom: 28px; max-width: 100%;
	border: 1px solid var(--dark-line); border-radius: 100px; background: rgba(255, 255, 255, .03);
	overflow-x: auto; scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tab {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 100px;
	font: 500 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; color: #fff;
	transition: background-color .3s var(--ease), color .2s ease;
}
.tab .num { color: var(--accent-soft); font-size: 15px; }
.tab:hover { background: rgba(255, 255, 255, .06); }
.tab[aria-selected="true"] { background: var(--accent); }
.tab[aria-selected="true"] .num { color: rgba(255, 255, 255, .7); }
.panel__caption { max-width: 720px; color: var(--dark-muted); margin-bottom: 36px; }
.panel__caption strong { color: #fff; font-weight: 600; }
.panel[hidden] { display: none; }
.panel.is-shown .duo { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.duo { display: flex; justify-content: center; gap: clamp(20px, 5vw, 72px); flex-wrap: nowrap; }
.duo .phone { --pw: clamp(220px, 24vw, 300px); }
.duo figure { margin: 0; display: grid; gap: 16px; justify-items: center; }
.duo figcaption { font-size: 13px; color: var(--dark-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 599px) {
	.duo { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; }
	.duo::-webkit-scrollbar { display: none; }
	.duo figure { scroll-snap-align: center; }
	.duo .phone { --pw: 250px; }
}
.screens__note { margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; }

/* ---------- Путь: вход ---------- */
.steps { display: grid; gap: 28px; counter-reset: step; }
.step { position: relative; }
.step__dot {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--accent); color: #fff; font: 600 20px/1 var(--f-display);
	box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 14%, transparent);
}
.step .h3 { margin: 22px 0 10px; font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; }
@media (min-width: 1000px) {
	.steps { grid-template-columns: repeat(5, 1fr); gap: 32px; }
	.steps::before { content: ""; position: absolute; left: 24px; right: 0; top: 24px; height: 2px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
	.steps { position: relative; }
}
@media (max-width: 999px) {
	.steps { position: relative; padding-left: 72px; gap: 32px; }
	.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
	.step__dot { position: absolute; left: -72px; top: 0; }
	.step .h3 { margin-top: 10px; }
}

/* ---------- Возможности ---------- */
.modules { display: grid; gap: 20px; }
@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .modules { grid-template-columns: repeat(4, 1fr); } }
.module { display: flex; flex-direction: column; }
.module__top { display: flex; justify-content: space-between; align-items: flex-start; }
.module__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 102, 255, .7); }
.module__icon .icon { font-size: 22px; }
.module .num { font-size: 14px; color: var(--muted); }
.module .h3 { margin: 22px 0 10px; }
.module > p { color: var(--muted); font-size: 15px; }
.ticks { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent); }

.band {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; gap: 24px; align-items: center;
	padding: clamp(32px, 4.5vw, 56px);
	border-radius: 24px; color: #fff;
	background: linear-gradient(115deg, #0a1326 0%, #0b2a66 55%, #0066ff 120%);
	box-shadow: 0 30px 60px -30px rgba(0, 60, 180, .6);
}
.band::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(77, 148, 255, .45), transparent 65%); }
.band h2 { font-size: clamp(30px, 3.6vw, 46px); }
.band p { margin-top: 10px; color: var(--dark-muted); max-width: 560px; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; } }

/* ---------- Списки с галочками ---------- */
.checks { display: grid; gap: 0; margin-top: 28px; }
.checks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks .tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: #fff; }
.checks .tick .icon { font-size: 13px; stroke-width: 3; }
.dark .checks li { border-color: var(--dark-line); }

.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split .lead { margin-top: 18px; }
.split .btn { margin-top: 32px; }

/* Веб-версия: телефон с экраном «Домой» */
.web-visual { --pw: clamp(240px, 26vw, 300px); position: relative; display: grid; place-items: center; min-height: 560px; }
.web-visual::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 102, 255, .22), transparent 65%); z-index: 0; }
.web-visual .phone { --pw: clamp(240px, 26vw, 300px); z-index: 1; }
.web-badge {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border-radius: 16px; max-width: 250px;
	background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-hover);
	backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
	font-size: 13.5px; line-height: 1.35;
}
.web-badge b { display: block; font-size: 14px; }
.web-badge span { color: var(--muted); }
.web-badge__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ice); color: var(--accent); }
.web-badge__ic .icon { font-size: 20px; }
.web-badge { white-space: nowrap; max-width: none; }
.web-badge--a { right: calc(50% + var(--pw) * .3); top: 20%; }
.web-badge--b { left: calc(50% + var(--pw) * .3); bottom: 18%; }
:root[data-theme="dark"] .web-badge__ic { background: #14284a; color: #4d94ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .web-badge__ic { background: #14284a; color: #4d94ff; } }
@media (max-width: 719px) { .web-badge { position: static; white-space: normal; width: 100%; max-width: 340px; } .web-visual { gap: 14px; min-height: 0; } .web-visual::before { top: 10%; } }

/* ---------- Голосовые (тёмная секция) ---------- */
.voice { overflow: clip; }
.voice::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 102, 255, .25), transparent 65%); pointer-events: none; }
.stack { position: relative; display: grid; gap: 18px; }
.post {
	padding: 20px 22px; border-radius: var(--r);
	background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
	transition: transform .5s var(--ease), border-color .3s ease;
}
.post:hover { transform: translateX(6px); border-color: rgba(77, 148, 255, .4); }
@media (min-width: 720px) { .post:nth-child(2) { margin-left: 32px; } .post:nth-child(3) { margin-left: 64px; } }
.post__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.post__head b { font-weight: 600; }
.post__head time { margin-left: auto; color: rgba(255, 255, 255, .5); font-size: 13px; }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 100px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 600; }
.tag--blue { background: var(--accent); }
.av { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 12px; }

/* Пузыри на тёмном фоне (секция голосовых) */
.bub { display: inline-block; max-width: 100%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bub--out { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bub--in { background: #172033; color: #f5f7fb; border-bottom-left-radius: 6px; }
.bub__meta { display: block; text-align: right; font-size: 11.5px; opacity: .72; margin-top: 4px; }
.voice-msg { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.voice-msg__play { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--accent); }
.voice-msg__play .icon { font-size: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 30px; flex: 1; }
.wave i { display: block; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); height: var(--h); }
.wave i.on { background: #fff; }
.voice-msg__time { font-size: 12.5px; opacity: .85; }
.reacts { display: flex; gap: 6px; margin-top: 10px; }
.react { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; background: rgba(255, 255, 255, .1); font-size: 13px; }
.react--mine { background: rgba(0, 102, 255, .35); }
.quote { display: block; margin-bottom: 6px; padding: 5px 10px; border-left: 3px solid rgba(255, 255, 255, .75); border-radius: 6px; background: rgba(255, 255, 255, .14); font-size: 13px; }
.quote b { display: block; font-size: 12.5px; }
.photo-thumb { position: relative; width: 240px; max-width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }

/* ---------- Данные и доступ ---------- */
.trust { display: grid; gap: 20px; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust .card .h3 { margin: 22px 0 10px; font-size: 20px; }
.ring { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent-text); background: var(--bg-soft); }
.ring .icon { font-size: 22px; }

/* ---------- Как начать ---------- */
.start { display: grid; gap: 36px; }
@media (min-width: 640px) { .start { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .start { grid-template-columns: repeat(4, 1fr); } }
.start__item { position: relative; }
.start__num { font: 600 clamp(64px, 7vw, 96px)/.9 var(--f-display); color: var(--accent); }
.start__item .h3 { margin: 18px 0 10px; }
.start__item p { color: var(--muted); font-size: 15px; }
.start__item p a { color: var(--accent-text); font-weight: 500; }
.start__item p a:hover { text-decoration: underline; }
.start__item .plus { position: absolute; top: 6px; right: 0; width: 20px; height: 20px; color: var(--accent-soft); opacity: .7; }
@media (max-width: 999px) { .start__item .plus { display: none; } }

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 32px 64px; }
@media (min-width: 1000px) { .faq { grid-template-columns: 5fr 7fr; } .faq__head { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; } }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 0; cursor: pointer; list-style: none;
	font-size: clamp(16px, 1.4vw, 18px); font-weight: 500; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-text); }
.qa__ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s ease, border-color .3s ease, transform .4s var(--ease), color .2s; }
.qa__ic .icon { font-size: 16px; }
.qa[open] .qa__ic { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.qa__body { padding: 0 52px 24px 0; color: var(--muted); }
.qa__body a { color: var(--accent-text); font-weight: 500; }
.qa::details-content { block-size: 0; overflow-y: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* ---------- Финальный призыв ---------- */
.cta {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; gap: 36px; align-items: center;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 28px; color: #fff;
	background: radial-gradient(ellipse 70% 80% at 10% 0%, #5aa0ff 0%, transparent 60%), linear-gradient(135deg, #1a75ff 0%, #0066ff 45%, #0047b3 100%);
	box-shadow: 0 40px 80px -40px rgba(0, 80, 220, .7);
}
.cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%);
}
@media (min-width: 1000px) { .cta { grid-template-columns: 1.15fr .85fr; } }
.cta .chip { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; }
.cta .chip::before { color: #fff; }
.cta h2 { font-size: clamp(38px, 5vw, 64px); }
.cta__lead { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 520px; }
.cta__links { display: grid; gap: 14px; margin-top: 30px; }
.cta__links a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; width: fit-content; }
.cta__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta__links .icon { font-size: 18px; }
.qr-card {
	display: grid; gap: 18px; justify-items: center; text-align: center;
	padding: clamp(24px, 3vw, 36px); border-radius: 22px;
	background: #fff; color: #0b0b0d; box-shadow: 0 30px 60px -30px rgba(0, 20, 80, .55);
}
.qr-card__qr { width: 184px; padding: 12px; border-radius: 16px; border: 1px solid #e3e8f0; background: #fff; }
.qr-card b { font: 600 22px/1.15 var(--f-display); text-transform: uppercase; }
.qr-card p { color: #5b6475; font-size: 14px; max-width: 300px; }
.qr-card small { color: #5b6475; font-size: 13px; }
.qr-card small a { color: #0066ff; font-weight: 500; }
@media (max-width: 719px) { .qr-card__qr { display: none; } .qr-card .qr-hint { display: none; } }

/* ---------- Подвал ---------- */
.foot { background: var(--night); color: #fff; padding: 56px 0 28px; }
.foot__top { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid var(--dark-line); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; font-weight: 500; }
.foot__nav a { color: rgba(255, 255, 255, .78); }
.foot__nav a:hover { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot__links a:hover { color: #fff; }

/* ---------- Появление при прокрутке (класс reveal-on ставит main.js) ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* Первый экран появляется сам, без JS */
.load { animation: loadIn 1s var(--ease) both; animation-delay: calc(var(--l, 0) * 110ms + 80ms); }
@keyframes loadIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Макеты экранов приложения. Размеры — в долях ширины телефона (cqw/em),
   поэтому один и тот же макет масштабируется на любой ширине.
   Цвета — токены приложения (light/dark из design-tokens.ts).
   ===================================================================== */
.phone {
	--pw: 300px;
	position: relative; width: var(--pw); aspect-ratio: 300 / 636;
	container-type: inline-size;
	padding: calc(var(--pw) * .031); border-radius: calc(var(--pw) * .14);
	background: linear-gradient(150deg, #3a404c 0%, #0b0b0d 22%, #16191f 70%, #2a2e36 100%);
	box-shadow: inset 0 0 0 calc(var(--pw) * .005) rgba(255, 255, 255, .09), 0 40px 80px -24px rgba(0, 18, 60, .55), 0 18px 36px -18px rgba(0, 0, 0, .45);
}
html:not(.js) .phone { display: none; }
.ui {
	--u-bg: #f5f8fe; --u-surface: #ffffff; --u-alt: #e8f1ff;
	--u-text: #0b0b0d; --u-muted: #6b7280; --u-hint: #9aa3b2;
	--u-accent: #0066ff; --u-sep: #e3e8f0;
	--u-in: #ffffff; --u-in-meta: #8a94a6; --u-out: #0066ff; --u-out-meta: #cfe0ff;
	--u-danger: #e5484d; --u-glow: rgba(0, 102, 255, .16);
	position: relative; height: 100%; overflow: hidden;
	display: flex; flex-direction: column;
	border-radius: 11cqw; background: var(--u-bg); color: var(--u-text);
	font: 400 4.25cqw/1.3 var(--f-body); text-align: left; letter-spacing: 0;
	user-select: none;
}
.ui--dark {
	--u-bg: #0a0f1c; --u-surface: #111a2c; --u-alt: #1a2336;
	--u-text: #f5f7fb; --u-muted: #8b97ab; --u-hint: #64718a;
	--u-accent: #3d8bff; --u-sep: #1c2538;
	--u-in: #172033; --u-in-meta: #7d8aa1; --u-out: #0066ff; --u-out-meta: #bcd4ff;
	--u-danger: #ff5a5f; --u-glow: rgba(0, 102, 255, .28);
}
.ui::after { content: ""; position: absolute; top: 2.6cqw; left: 50%; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: #050608; transform: translateX(-50%); z-index: 9; }
.ui .icon { stroke-width: 2; }
.u-frost { position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(55% 35% at 18% 12%, var(--u-glow), transparent 72%),
		radial-gradient(50% 32% at 88% 52%, var(--u-glow), transparent 72%),
		radial-gradient(60% 36% at 40% 96%, var(--u-glow), transparent 72%);
}
.u-status { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 8.6cqw; padding: 1.4cqw 7.5cqw 0; font-size: .8em; font-weight: 600; flex: none; }
.u-status__r { display: flex; align-items: center; gap: .35em; }
.u-status__r .icon { font-size: 1.15em; }
.u-batt { width: 1.7em; height: .85em; border: .12em solid currentColor; border-radius: .25em; position: relative; padding: .1em; }
.u-batt::before { content: ""; display: block; height: 100%; width: 72%; background: currentColor; border-radius: .1em; }
.u-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.u-pad { padding: 0 5.3cqw; }
.u-headrow { display: flex; align-items: center; justify-content: space-between; padding: 1.2em 5.3cqw .8em; }
.u-title { font-size: 2.15em; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; }
.u-fab { display: grid; place-items: center; width: 2.75em; height: 2.75em; border-radius: 50%; background: var(--u-accent); color: #fff; }
.u-fab .icon { font-size: 1.5em; stroke-width: 2.4; }
.u-search { display: flex; align-items: center; gap: .55em; height: 2.75em; margin: 0 5.3cqw; padding: 0 1em; border-radius: 99em; background: var(--u-surface); color: var(--u-muted); font-size: 1.05em; }
.u-search .icon { font-size: 1.15em; }
.u-search__q { color: var(--u-text); }
.u-caret { display: inline-block; width: .08em; height: 1.1em; background: var(--u-accent); margin-left: .05em; vertical-align: -.2em; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.u-chips { display: flex; gap: .45em; padding: .8em 5.3cqw .4em; white-space: nowrap; overflow: hidden; }
.u-chip { display: inline-flex; align-items: center; height: 2.2em; padding: 0 .95em; border-radius: 99em; background: var(--u-surface); color: var(--u-muted); font-weight: 600; font-size: .98em; }
.u-chip--on { background: var(--u-accent); color: #fff; }
.u-list { padding: .35em 0 0; }
.u-row { display: flex; align-items: center; gap: .85em; padding: .58em 5.3cqw; }
.u-av { display: grid; place-items: center; flex: none; width: 3.6em; height: 3.6em; border-radius: 50%; color: #fff; font-weight: 600; font-size: 1em; letter-spacing: .02em; }
.u-av--s { width: 2.7em; height: 2.7em; font-size: .88em; }
.u-row__b { flex: 1; min-width: 0; }
.u-row__t { display: flex; align-items: baseline; justify-content: space-between; gap: .5em; }
.u-row__t b { font-weight: 600; font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-row__t time { color: var(--u-muted); font-size: .85em; flex: none; }
.u-row__p { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-top: .12em; }
.u-row__p span { color: var(--u-muted); font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-row__p .me { color: var(--u-text); }
.u-badge { display: grid; place-items: center; min-width: 1.55em; height: 1.55em; padding: 0 .4em; border-radius: 99em; background: var(--u-accent); color: #fff; font-size: .8em; font-weight: 600; flex: none; }
.u-tabbar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); padding: .55em 0 1.6em; background: var(--u-surface); border-top: 1px solid var(--u-sep); flex: none; }
.u-tab { display: grid; justify-items: center; gap: .15em; color: var(--u-muted); font-size: .8em; font-weight: 500; }
.u-tab .icon { font-size: 1.85em; stroke-width: 1.8; }
.u-tab--on { color: var(--u-accent); font-weight: 600; }
.u-tab--on .icon.fill { fill: currentColor; stroke: none; }

/* Чат */
.u-chathead { position: relative; z-index: 2; display: flex; align-items: center; gap: .7em; padding: .55em 4.5cqw .65em; background: var(--u-surface); border-bottom: 1px solid var(--u-sep); flex: none; }
.u-chathead .icon { font-size: 1.5em; }
.u-chathead__n { flex: 1; min-width: 0; }
.u-chathead__n b { display: block; font-size: 1.1em; font-weight: 600; }
.u-chathead__n span { display: block; font-size: .88em; color: var(--u-accent); }
.u-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .38em; padding: .8em 3.4cqw .6em; min-height: 0; overflow: hidden; }
.u-date { align-self: center; margin-bottom: .3em; padding: .2em .75em; border-radius: 99em; background: color-mix(in srgb, var(--u-surface) 70%, transparent); color: var(--u-muted); font-size: .8em; font-weight: 600; }
.u-b { position: relative; max-width: 80%; padding: .5em .75em .4em; border-radius: 1.3em; font-size: 1.02em; line-height: 1.32; }
.u-b--in { align-self: flex-start; background: var(--u-in); color: var(--u-text); border-bottom-left-radius: .42em; box-shadow: 0 1px 1px rgba(16, 24, 40, .04); }
.u-b--out { align-self: flex-end; background: var(--u-out); color: #fff; border-bottom-right-radius: .42em; }
.u-meta { display: flex; justify-content: flex-end; align-items: center; gap: .25em; margin-top: .12em; font-size: .74em; color: var(--u-in-meta); }
.u-b--out .u-meta { color: var(--u-out-meta); }
.u-meta .icon { font-size: 1.2em; stroke-width: 2.2; }
.u-quote { display: block; margin: .1em 0 .3em; padding: .25em .55em; border-left: .2em solid rgba(255, 255, 255, .75); border-radius: .45em; background: rgba(255, 255, 255, .15); font-size: .88em; }
.u-quote b { display: block; font-weight: 600; }
.u-react { display: inline-flex; align-items: center; gap: .3em; margin-top: .35em; padding: .12em .55em; border-radius: 99em; background: #fff; color: var(--u-accent); font-size: .9em; font-weight: 600; }
.u-b--in .u-react { background: var(--u-alt); }
.u-photo { padding: .22em; }
.u-photo .u-meta { position: absolute; right: .9em; bottom: .7em; padding: .1em .45em; border-radius: 99em; background: rgba(0, 0, 0, .35); color: #fff; }
.u-voice { display: flex; align-items: center; gap: .55em; min-width: 12.5em; }
.u-voice__play { display: grid; place-items: center; flex: none; width: 2.4em; height: 2.4em; border-radius: 50%; background: #fff; color: var(--u-accent); }
.u-voice__play .icon { font-size: 1em; fill: currentColor; stroke: none; margin-left: .12em; }
.u-wave { display: flex; align-items: center; gap: .14em; height: 1.8em; flex: 1; }
.u-wave i { display: block; width: .18em; border-radius: .1em; background: rgba(255, 255, 255, .5); height: var(--h); }
.u-wave i.on { background: #fff; }
.u-voice__t { font-size: .78em; color: var(--u-out-meta); }
.u-typing { align-self: flex-start; display: flex; gap: .28em; padding: .7em .9em; border-radius: 1.3em; border-bottom-left-radius: .42em; background: var(--u-in); }
.u-typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--u-hint); animation: typing 1.3s ease-in-out infinite; }
.u-typing i:nth-child(2) { animation-delay: .18s; }
.u-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.25em); opacity: 1; } }
.u-input { position: relative; z-index: 2; display: flex; align-items: center; gap: .55em; padding: .55em 3.6cqw 1.5em; background: var(--u-surface); border-top: 1px solid var(--u-sep); flex: none; }
.u-input__plus { display: grid; place-items: center; width: 2.65em; height: 2.65em; border-radius: 50%; background: var(--u-alt); color: var(--u-accent); flex: none; }
.u-input__plus .icon { font-size: 1.4em; }
.u-input__field { flex: 1; height: 2.65em; display: flex; align-items: center; padding: 0 1em; border-radius: 99em; background: var(--u-alt); color: var(--u-hint); font-size: 1em; }
.u-input .i-mic { font-size: 1.5em; color: var(--u-muted); flex: none; }

/* Настройки */
.u-card { margin: 0 4.6cqw .75em; border-radius: 1.15em; background: var(--u-surface); overflow: hidden; }
.u-profile { display: flex; align-items: center; gap: .85em; padding: .85em 1em; }
.u-profile b { display: block; font-size: 1.15em; font-weight: 600; }
.u-profile span { display: block; color: var(--u-muted); font-size: .92em; }
.u-set { display: flex; align-items: center; gap: .8em; padding: .62em 1em; position: relative; }
.u-set + .u-set::before { content: ""; position: absolute; top: 0; left: 3.9em; right: 0; height: 1px; background: var(--u-sep); }
.u-set__ic { display: grid; place-items: center; width: 2.05em; height: 2.05em; border-radius: .55em; color: #fff; flex: none; }
.u-set__ic .icon { font-size: 1.2em; }
.u-set__l { flex: 1; font-size: 1.02em; }
.u-set__v { color: var(--u-muted); font-size: .92em; }
.u-set .i-chev { color: var(--u-hint); font-size: 1.15em; }
.u-set--danger .u-set__l { color: var(--u-danger); }
.u-cap { padding: .3em 6.5cqw .45em; color: var(--u-muted); font-size: .8em; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.u-hint { padding: .8em 5.3cqw; color: var(--u-muted); font-size: .9em; }
.u-row__nick { color: var(--u-accent) !important; }
.u-row__go { flex: none; padding: .35em .8em; border-radius: 99em; background: var(--u-alt); color: var(--u-accent); font-size: .82em; font-weight: 600; }

/* Экран «Домой» с установленной веб-версией */
.u-home { position: absolute; inset: 0; background: linear-gradient(160deg, #3b7bff 0%, #1b3c8f 45%, #0a1326 100%); }
.u-home::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 80% 20%, rgba(255, 255, 255, .25), transparent 70%), radial-gradient(50% 35% at 10% 80%, rgba(77, 148, 255, .5), transparent 70%); }
.u-home .u-status { color: #fff; }
.u-notif {
	position: relative; z-index: 3; display: flex; gap: .7em; margin: .4em 3.6cqw 0; padding: .75em .85em;
	border-radius: 1.2em; background: rgba(255, 255, 255, .82); color: #0b0b0d;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .25);
	animation: notif 5.5s var(--ease) infinite;
}
@keyframes notif { 0%, 8% { transform: translateY(-140%); opacity: 0; } 18%, 82% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-140%); opacity: 0; } }
.u-notif__b { flex: 1; min-width: 0; font-size: .92em; line-height: 1.3; }
.u-notif__b b { display: block; font-weight: 600; }
.u-notif__b span { color: #4b5363; }
.u-notif time { font-size: .78em; color: #4b5363; }
.u-apps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3em .4em; padding: 2.2em 5cqw 0; }
.u-app { display: grid; justify-items: center; gap: .35em; color: #fff; font-size: .74em; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.u-app i { display: block; width: 3.9em; height: 3.9em; border-radius: 1.05em; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.u-app--me i { background: #fff; display: grid; place-items: center; box-shadow: 0 .4em 1em rgba(0, 0, 0, .25); }
.u-app--me svg { width: 72%; height: 72%; }
.u-app--me { animation: pop 5.5s var(--ease) infinite; }
@keyframes pop { 0%, 10% { transform: scale(1); } 16% { transform: scale(1.12); } 24%, 100% { transform: scale(1); } }
.u-dock { position: absolute; z-index: 2; left: 4.5cqw; right: 4.5cqw; bottom: 3.2em; display: grid; grid-template-columns: repeat(4, 1fr); padding: .8em .5em; border-radius: 1.6em; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); justify-items: center; }
.u-dock i { display: block; width: 3.5em; height: 3.5em; border-radius: 1em; background: rgba(255, 255, 255, .28); }

/* «Фото» без изображений: пейзаж градиентами */
.scene { position: relative; overflow: hidden; border-radius: 1.05em; aspect-ratio: 4 / 3; width: 13.5em; background: linear-gradient(180deg, #79b4ff 0%, #bcdcff 48%, #ffe2b8 70%); }
.photo-thumb.scene { width: 240px; border-radius: 14px; }
.scene::before { content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; right: 16%; top: 16%; background: #fff6dc; box-shadow: 0 0 2em #ffe7a8; }
.scene i { position: absolute; left: -5%; right: -5%; bottom: 0; }
.scene .m1 { height: 62%; background: #4a74c9; clip-path: polygon(0 100%, 0 55%, 18% 30%, 33% 52%, 52% 12%, 70% 48%, 84% 30%, 100% 50%, 100% 100%); }
.scene .m2 { height: 44%; background: #2c4f99; clip-path: polygon(0 100%, 0 40%, 22% 70%, 40% 35%, 60% 65%, 78% 30%, 100% 60%, 100% 100%); }
.scene .m3 { height: 26%; background: linear-gradient(180deg, #1f6b4f, #134734); clip-path: polygon(0 100%, 0 30%, 8% 10%, 14% 32%, 22% 0, 30% 34%, 40% 14%, 50% 36%, 60% 8%, 70% 34%, 80% 12%, 90% 30%, 100% 6%, 100% 100%); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal-on [data-reveal] { opacity: 1; transform: none; }
}
@media print {
	.top, .stage, .duo, .web-visual { display: none !important; }
	.dark, .hero, .cta, .band { background: #fff !important; color: #000 !important; }
}
