
/* Golos Text — основной текстовый шрифт, хостится локально.
   Вариативный файл покрывает весь диапазон 400..900 одним запросом,
   поэтому веса 500/600/800 из вёрстки отрисовываются настоящими
   начертаниями, а не подделкой браузера. */
@font-face {
  font-family: "Golos Text";
  src: url("../assets/fonts/golos-text-var.woff2") format("woff2-variations"),
       url("../assets/fonts/golos-text-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Unbounded — display-шрифт заголовков, тоже локальный.
   Подрезан по символам (латиница + кириллица + типографика) и по оси
   весов до 400..700: 759 КБ исходника превращаются в 62 КБ. */
@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-var.woff2") format("woff2-variations"),
       url("../assets/fonts/unbounded-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Атрибут hidden должен скрывать всегда.
   Браузер задаёт [hidden] { display: none } с нулевой специфичностью,
   поэтому ЛЮБОЕ правило по классу с собственным display его перебивает —
   и элемент, спрятанный из JS, остаётся на экране. В проекте это уже
   ловилось трижды точечными правилами (.cs-chat[hidden], .pe-pop[hidden],
   .contact-modal[hidden]), а .cs-warning, .cs-form и .cs-messages
   такого правила не получили: плашка согласия не исчезала после
   «Принять и продолжить». Общее правило закрывает класс ошибки целиком.
   !important здесь уместен: скрытый элемент не показывают никогда,
   исключений по смыслу нет. */
[hidden] { display: none !important; }

:root {
  /* Система движения (2026-08-23). На весь сайт — две кривые и три
     длительности, никаких собственных cubic-bezier в правилах ниже:
     интерфейс, в котором всё двигается одинаково, читается как
     собранный, а дюжина почти одинаковых кривых — как случайный.
     standard — всё обычное (ховеры, раскрытия, смена состояний),
     emphasis — появление контента, где нужен мягкий долгий хвост.
     fast — отклик на нажатие, base — ховеры и переключения,
     slow — выезд секций. Всё длиннее 0.5 с задаётся числом на месте. */
  --ease-standard: cubic-bezier(.2, .8, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 150ms;
  --dur-base: 280ms;
  --dur-slow: 450ms;
  /* AISPEKTR spectrum: #081C3A → #0066FF → #19E5FF → #C3FFF8 */
  --brand-navy: #081c3a;
  --brand-blue: #0066ff;
  --brand-cyan: #19e5ff;
  --brand-mint: #c3fff8;
  --canvas: #020914;
  --canvas-raised: #041329;
  --surface: #081c3a;
  --surface-bright: #0d2a55;
  --ink: #f4fffd;
  --soft: #d4e4e7;
  --muted: #98adb5;
  --muted-2: #6c8493;
  --blue: var(--brand-blue);
  --blue-2: #147aff;
  --cyan: var(--brand-cyan);
  --mint: var(--brand-mint);
  --line: rgba(195, 255, 248, .14);
  --line-strong: rgba(25, 229, 255, .3);
  --panel: rgba(8, 28, 58, .76);
  --panel-2: rgba(8, 28, 58, .58);
  --glass: rgba(8, 28, 58, .52);
  --gradient-brand: linear-gradient(112deg, #0066ff 0%, #19cfe9 64%, #9ddfe0 100%);
  --gradient-deep: linear-gradient(145deg, #020914 0%, #081c3a 62%, #0a2449 100%);
  --shadow: 0 28px 80px rgba(0, 8, 24, .42);
  --shadow-blue: 0 24px 64px rgba(0, 102, 255, .24);
  --shadow-cyan: 0 18px 48px rgba(25, 229, 255, .14);
  --max: 1240px;
  --bg-x: 0px;
  --bg-y: 0px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--canvas);
  /* clip вместо hidden: hidden превращает элемент в контейнер прокрутки,
     из-за чего position: sticky на страницах теряет скроллпорт. */
  overflow-x: clip;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button,
input,
textarea { font: inherit; }
button { border: 0; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 86px; }

.site-page {
  position: relative;
  isolation: isolate;
}
.site-page > *:not(.page-background-layer) {
  position: relative;
  z-index: 1;
}
.site-page > .site-header {
  position: fixed;
  z-index: 1000;
}
.page-background-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: calc(50% + var(--bg-x)) calc(50% + var(--bg-y));
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  transition: background-position 900ms var(--ease-standard);
}
.page-background-layer-b { z-index: -1; }

.container {
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 18px 28px;
  border-bottom: 1px solid transparent;
  transition: padding var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard), backdrop-filter var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled,
.site-header.is-compact {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(2, 7, 19, .76);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--muted-2);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}
.nav-inner {
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-lockup img {
  width: 176px;
  height: auto;
  transform: translateY(1px);
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 7px;
  align-items: center;
  min-width: 0;
}
.nav-links a {
  color: var(--soft);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 11px 10px;
  border-radius: 8px;
  transition: color var(--dur-fast) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard);
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: #fff;
  background: transparent;
  outline: none;
}
.nav-links > a.is-active::after {
  content: none;
  display: none;
}
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid rgba(24, 200, 232, .82);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(10, 112, 245, .26);
}
.btn-primary:hover {
  background: var(--blue-2);
  box-shadow: 0 18px 42px rgba(10, 112, 245, .32);
}

.btn-small {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}
h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(42px, 4.4vw, 60px);
  font-weight: 600;
  max-width: 680px;
}
h2 {
  font-family: "Golos Text", sans-serif;
  font-size: clamp(32px, 3.1vw, 42px);
  font-weight: 700;
  max-width: 820px;
}
h3 {
  font-family: "Golos Text", sans-serif;
  font-size: clamp(21px, 1.7vw, 25px);
  font-weight: 700;
}
p { margin: 0; }
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.32vw, 19px);
  line-height: 1.65;
  max-width: 690px;
}

.hero {
  min-height: 100svh;
  padding: 116px 28px 82px;
  display: flex;
  align-items: center;
}
.hero-inner {
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(500px, 1fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}
.hero-copy {
  max-width: 690px;
  display: grid;
  gap: 24px;
  justify-items: start;
}

.kon-menu span:first-child,
.kon-row.is-active {
  background: rgba(10, 112, 245, .2);
  color: #fff;
}

.section {
  padding: clamp(76px, 6.4vw, 104px) 28px;
  position: relative;
}
.trust-strip-section {
  padding-top: 50px;
  padding-bottom: 60px;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 4.4vw, 54px);
}
.section-header p {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}
#products {
  padding-top: clamp(88px, 7vw, 112px);
  padding-bottom: clamp(88px, 7vw, 112px);
}
#tasks {
  padding-top: clamp(72px, 6vw, 96px);
  padding-bottom: clamp(72px, 6vw, 96px);
}
#process {
  padding-top: clamp(72px, 5.8vw, 88px);
  padding-bottom: clamp(72px, 5.8vw, 88px);
}

.overview-card {
  min-height: 396px;
  border: 1px solid rgba(170, 194, 235, .13);
  border-radius: 8px;
  padding: clamp(22px, 2vw, 28px);
  background: rgba(7, 18, 42, .7);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.overview-card:hover {
  transform: translateY(-4px);
  background: rgba(9, 24, 55, .78);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .24);
}
.overview-card p {
  color: var(--muted);
  line-height: 1.6;
}
.overview-card a {
  color: var(--cyan);
  font-weight: 800;
}

.custom-solution-card .btn {
  justify-self: start;
}

@keyframes custom-solution-spin {
  to { rotate: 360deg; }
}

.impact-row {
  display: grid;
  grid-template-columns: minmax(170px, .62fr) minmax(0, 1fr) 30px minmax(0, 1fr) minmax(120px, .42fr);
  align-items: center;
  gap: 18px;
  border-radius: 8px;
  border: 1px solid rgba(170, 194, 235, .13);
  background: rgba(7, 18, 42, .58);
  padding: 18px 20px;
}
.impact-row h3 {
  font-size: 18px;
}
.impact-row b {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.impact-row p {
  color: var(--muted);
  line-height: 1.48;
}

.impact-row a {
  justify-self: end;
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
  text-align: right;
}

.work-zigzag {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 64px;
  max-width: 980px;
  margin: 0 auto 22px;
}
.work-zigzag::before {
  content: "";
  position: absolute;
  inset: 50% 18% auto 18%;
  height: 1px;
  background: rgba(174, 198, 235, .22);
}
.work-zigzag::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 18%;
  width: calc(64% * var(--work-progress, 0));
  height: 1px;
  background: var(--cyan);
  opacity: .75;
}
.work-step {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(170, 194, 235, .13);
  border-radius: 8px;
  background: rgba(7, 18, 42, .68);
  opacity: .72;
  transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard);
}
.work-step:nth-child(even) {
  justify-self: stretch;
}
.work-step:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}
.work-step:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}
.work-step b,
.work-reason b {
  color: var(--cyan);
}
.work-step.is-past {
  opacity: .88;
  border-color: var(--muted-2);
}
.work-step.is-active {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(24, 200, 232, .45);
  background: rgba(9, 27, 62, .78);
}
.work-step.is-active b {
  color: #fff;
}
.work-step p,
.work-reason p {
  color: var(--muted);
  margin-top: 6px;
}
.work-reasons {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-reason {
  min-height: 120px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(7, 18, 42, .42);
  border: 1px solid rgba(170, 194, 235, .1);
}
.info-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  border-radius: 50%;
  color: #071228;
  background: var(--cyan);
  font-size: 12px;
  cursor: help;
}
.info-tip::after {
  content: attr(aria-label);
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(300px, 72vw);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--soft);
  background: #071228;
  border: 1px solid rgba(170, 194, 235, .2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.info-tip:hover::after,
.info-tip:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.company-grid > .company-contact {
  grid-column: 1 / -1;
}

.person-card {
  min-height: 258px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  border-radius: 8px;
  border: 1px solid rgba(170, 194, 235, .14);
  background: rgba(7, 18, 42, .68);
  padding: 18px;
  overflow: hidden;
}
.person-card figure {
  width: 116px;
  height: 150px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.person-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-standard);
}
.person-card:hover img {
  transform: scale(1.04) rotate(.4deg);
}
.person-card b {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 14px;
}
.person-card p {
  color: var(--muted);
  margin-top: 12px;
}
.company-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 8px;
  padding: clamp(34px, 4vw, 48px);
  border-radius: 26px;
  background: rgba(7, 18, 42, .7);
  border: 1px solid rgba(170, 194, 235, .12);
}
.company-contact h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.company-contact p {
  max-width: 600px;
  margin-top: 14px;
  color: var(--soft);
  font-size: 18px;
}
.company-contact small {
  display: block;
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
}

.company-contact-actions a:not(.btn) {
  color: var(--soft);
  font-weight: 800;
}

.cta-panel {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: 8px;
  background: rgba(7, 18, 42, .72);
  border: 1px solid rgba(170, 194, 235, .15);
  box-shadow: var(--shadow);
}
.cta-panel .lead { margin-top: 18px; }

.footer {
  padding: clamp(48px, 5vw, 64px) 28px;
  background: #020713;
  border-top: 1px solid rgba(170, 194, 235, .14);
}

.footer img { width: 150px; }

.footer a:hover { color: #fff; }

.assistant-widget.is-open .assistant-panel { display: grid; }
.assistant-widget.is-open .assistant-launcher { display: none; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.product-page {
  background: #020713 url("../assets/backgrounds/bg-deep-navy.webp") fixed center / cover no-repeat;
}
.product-page .site-header .brand-lockup img { width: 176px; }
.product-page .hero {
  min-height: 760px;
}
.product-page .media-frame {
  position: relative;
  min-height: 470px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 15, 38, .78);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-section {
  padding: clamp(78px, 7vw, 108px) 28px;
}

.detail-card {
  border-radius: 8px;
  border: 1px solid rgba(170, 194, 235, .14);
  background: rgba(7, 18, 42, .68);
  padding: 24px;
}
.detail-card p,
.detail-card li {
  color: var(--muted);
  line-height: 1.58;
}
.detail-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 14px 0 0;
}
.detail-card h3 + p { margin-top: 14px; }

.trust-markers .detail-card {
  padding: 20px 22px;
}
.trust-markers .detail-card:only-child {
  grid-column: 1 / -1;
}
.legal-page h1 {
  font-family: "Golos Text", sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  /* Место под кнопку закрытия: у длинных названий документов первая
     строка иначе уходила бы под крестик. */
  padding-right: 52px;
}
.legal-card {
  position: relative;   /* якорь для кнопки закрытия в углу карточки */
  max-width: 900px;
  display: grid;
  gap: 16px;
}
.legal-card a { color: var(--cyan); font-weight: 800; }

/* Подзаголовки документа. Глобальный h2 рассчитан на секции главной
   (до 42px) и рядом с заголовком юридической страницы читался как второй
   заголовок, а не как разделитель внутри текста. Здесь он жирный, но
   заметно мельче h1 и ближе по кеглю к основному тексту. */
/* Нижняя граница — 18.5px, а не 17px: основной текст документа 16px, и
   при 17px подзаголовок на узких экранах отличался от абзаца ровно на
   пиксель — жирность оставалась единственным различием. */
.legal-card h2 {
  margin: 10px 0 0;
  max-width: none;
  font-family: "Golos Text", sans-serif;
  font-size: clamp(18.5px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}

/* Первый подзаголовок идёт сразу после вводных абзацев — лишний отступ
   сверху ему не нужен, его даёт gap самой карточки. */
.legal-card h2:first-of-type { margin-top: 0; }

.legal-card h3 {
  margin: 6px 0 0;
  font-size: clamp(15px, 1.2vw, 16.5px);
  font-weight: 700;
  color: var(--soft);
}

/* ---- закрытие документа ---- */
/* Кнопка в правом верхнем углу самой карточки. Абсолютное
   позиционирование, а не grid-ячейка: карточка — грид с колонкой на всю
   ширину, и кнопка отдельной строкой сдвинула бы заголовок вниз. */
.legal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(195, 255, 248, .16);
  border-radius: 12px;
  background: rgba(8, 28, 58, .72);
  backdrop-filter: blur(8px);
  color: var(--soft);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}

.legal-close:hover {
  background: rgba(12, 40, 78, .9);
  border-color: rgba(25, 229, 255, .4);
  color: #f4fffd;
}

.legal-close:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .8);
  outline-offset: 2px;
}

/* Подсказка про клик по пустому месту: на телефоне свободного места
   вокруг карточки почти нет, поэтому там она не показывается. */
.legal-hint {
  margin: 0;
  padding-top: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
}

@media (max-width: 760px) {
  .legal-close { width: 36px; height: 36px; top: 10px; right: 10px; }
  .legal-page h1 { padding-right: 44px; }
  .legal-hint { display: none; }
}

@media (max-width: 1120px) {
  .nav-inner { gap: 18px; }
  .brand-lockup img { width: 158px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 12px; padding-inline: 8px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
    padding-top: 112px;
  }
  
  
  
  .custom-solution-card .btn {
    grid-column: 1;
    justify-self: start;
  }
  
}

@media (max-width: 820px) {
  .site-header { padding: 14px 18px; }
  .site-header.menu-open {
    background: #020713;
    backdrop-filter: blur(18px);
  }
  .nav-inner {
    width: calc(100vw - 36px);
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .brand-lockup img { width: 148px; }
  
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
  }
  .nav-links {
    position: absolute;
    z-index: 1001;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: 1fr;
    justify-content: stretch;
    padding: 10px;
    border-radius: 10px;
    background: #030a18;
    border: 1px solid rgba(170, 194, 235, .16);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .35);
  }
  .site-header.menu-open .nav-links { display: grid; }
  .nav-links a {
    padding: 13px 12px;
    font-size: 13px;
  }
  .container,
  .hero-inner,
  .footer-inner {
    width: calc(100vw - 36px);
  }
  .hero { padding: 104px 18px 64px; }
  h1 { font-size: clamp(34px, 9vw, 44px); }
  h2 { font-size: clamp(28px, 7vw, 34px); }
  
  
  
  
  
  
  .section { padding: 68px 18px; }
  .overview-grid,
  .impact-list,
  .work-reasons,
  .team-grid,
  .detail-grid { grid-template-columns: 1fr; }
  .impact-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .impact-row a {
    justify-self: start;
    text-align: left;
  }
  .overview-card { min-height: auto; }
  
  .work-zigzag {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .work-zigzag::before,
  .work-zigzag::after {
    display: none;
  }
  .work-step,
  .work-step:nth-child(even) {
    width: 100%;
    justify-self: stretch;
    grid-template-columns: 38px 1fr;
  }
  .work-step:nth-child(3),
  .work-step:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
  
  .trust-strip-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }
  .person-card {
    grid-template-columns: 92px 1fr;
    min-height: 0;
  }
  .person-card figure {
    width: 92px;
    height: 118px;
  }
  .company-contact {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 28px;
  }
  
  
  
  
  
  
  .split { grid-template-columns: 1fr; }
  .product-page .hero { min-height: auto; }
}

@media (max-width: 480px) {
  
  .btn,
  .card-actions a,
  .product-bottom a {
    width: 100%;
  }
  
  
  
  .custom-solution-card .btn {
    grid-column: auto;
    justify-self: stretch;
  }
  
  
  
  
  
  
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  
}

/* ============================================================
   НОВЫЙ ДИЗАЙН (2026-07-23) — единый стиль для всех страниц:
   типографика (Inter + Playfair), стеклянная навигация,
   единый тёмный фон и плавное появление блоков.
   ============================================================ */
:root { --display: "Unbounded", system-ui, sans-serif; }

body { font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.005em; }
h3 { font-family: "Golos Text", sans-serif; }
.legal-page h1 { font-family: var(--display); }
.nav-links a, .product-price { font-family: "Golos Text", sans-serif; }

/* единый тёмный фон внутренних страниц (product / service / legal) —
   плоский navy; общее свечение добавляет body::before ниже */
.product-page { background: #020713; }

/* ---- СТЕКЛЯННАЯ НАВИГАЦИЯ («пилюля») ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: clamp(14px, 2.2vw, 22px) 20px;
  display: flex;
  justify-content: center;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header.is-scrolled,
.site-header.is-compact {
  padding-top: clamp(10px, 1.6vw, 16px);
  padding-bottom: clamp(10px, 1.6vw, 16px);
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.nav-inner {
  width: auto;
  max-width: calc(100vw - 32px);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  background: rgba(9, 20, 44, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(174, 198, 235, .16);
  border-radius: 16px;
  padding: 9px clamp(12px, 1.4vw, 18px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
  transition: background-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled .nav-inner {
  background: rgba(6, 15, 34, .74);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
}
.brand-lockup img { width: 150px; }
.nav-links { gap: 4px; }
.nav-links a { font-size: 13px; padding: 9px 11px; }

@media (max-width: 820px) {
  .site-header { padding: 12px 16px; }
  .nav-inner {
    width: calc(100vw - 32px);
    justify-content: space-between;
    position: relative;
    gap: 12px;
  }
  .brand-lockup img { width: 138px; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    gap: 4px;
    background: rgba(6, 14, 30, .96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(174, 198, 235, .16);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .4);
  }
  .site-header.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 12px; font-size: 14px; }
}

/* ---- ПЛАВНОЕ ПОЯВЛЕНИЕ БЛОКОВ (все страницы) ---- */
.reveal { transition: opacity .7s var(--ease-standard), transform .7s var(--ease-standard); }
body.reveal-on .reveal { opacity: 0; transform: translateY(24px); }
body.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   ПРИВЕДЕНИЕ ВСЕГО САЙТА К СТИЛЮ demo-hero (эталон-прототип):
   чистый тёмный фон + скруглённые «премиальные» карточки/кнопки.
   ============================================================ */

/* чистый navy вместо текстурных PNG-слоёв (как секции в demo-hero) */
.page-background-layer { display: none !important; }
html, body { background: #020713; }

/* тонкое свечение-подложка на всю страницу, как в hero прототипа */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 18% 8%, rgba(10, 112, 245, .14), transparent 60%),
    radial-gradient(45% 45% at 88% 92%, rgba(24, 200, 232, .10), transparent 60%);
}

/* более скруглённые элементы, как в прототипе */
.btn { border-radius: 12px; }
.overview-card,
.detail-card,
.person-card,
.impact-row,
.work-step,
.work-reason,
.logo-cell,
.cta-panel,
.legal-card { border-radius: 16px; }
.company-contact { border-radius: 20px; }

/* карточки: ховер с циановой рамкой и мягким подъёмом, как в demo-hero */
.overview-card {
  transition: transform var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.overview-card:hover,
.detail-card:hover,
.impact-row:hover {
  border-color: rgba(24, 200, 232, .4);
}
.detail-card {
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}
.impact-row {
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard);
}
.impact-row:hover {
  transform: translateY(-2px);
  background: rgba(9, 24, 55, .6);
}

/* ============================================================
   ХЕДЕР v2 — слева меню с выпадашками, по центру логотип,
   справа действие (адаптация twblocks-референса).
   ============================================================ */
.header-v2 {
  display: block;
  padding: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color var(--dur-base) var(--ease-standard), backdrop-filter var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.header-v2.is-scrolled,
.header-v2.is-compact {
  background: rgba(2, 7, 19, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--muted-2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}
.header-v2 .nav-inner {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}
/* левое меню */
.header-v2 .nav-links {
  position: static;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.header-v2 .nav-links > a,
.header-v2 .nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--soft);
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.header-v2 .nav-item > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .7;
  transition: transform var(--dur-base) var(--ease-standard);
}
.header-v2 .nav-links > a:hover,
.header-v2 .nav-links > a.is-active,
.header-v2 .nav-item:hover > a,
.header-v2 .nav-item:focus-within > a {
  color: #fff;
  background: transparent;
}
.header-v2 .nav-item:hover > a::after,
.header-v2 .nav-item:focus-within > a::after { transform: translateY(0) rotate(225deg); }
.header-v2 .nav-item { position: relative; }
.header-v2 .nav-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 264px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: rgba(6, 15, 34, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(174, 198, 235, .16);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), visibility var(--dur-fast);
  z-index: 60;
}
.header-v2 .nav-item:hover .nav-drop,
.header-v2 .nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-v2 .nav-drop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.header-v2 .nav-drop a::after { content: "→"; opacity: .45; }
.header-v2 .nav-drop a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* текущий продукт в выпадашке — на его же странице */
.header-v2 .nav-drop a.is-current {
  color: #fff;
  background: rgba(0, 102, 255, .18);
  box-shadow: inset 2px 0 0 var(--brand-cyan);
}
.header-v2 .nav-drop a.is-current::after { content: ""; }
/* центр — логотип */
.header-v2 .brand-lockup { justify-self: center; min-width: 0; }
.header-v2 .brand-lockup img { width: 160px; }
/* правое действие */
.header-v2 .nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-v2 .menu-toggle { display: none; }

@media (max-width: 960px) {
  .header-v2 .nav-inner { grid-template-columns: auto 1fr auto; min-height: 62px; }
  .header-v2 .nav-links { display: none; }
  .header-v2 .nav-actions { display: none; }
  .header-v2 .brand-lockup { grid-column: 1; justify-self: start; }
  .header-v2 .brand-lockup img { width: 142px; }
  .header-v2 .menu-toggle {
    grid-column: 3;
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
  }
  .header-v2 .nav-links.m-open {
    display: grid;
    position: absolute;
    left: 16px; right: 16px;
    top: calc(100% + 8px);
    gap: 2px;
    padding: 12px;
    background: rgba(6, 14, 30, .98);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(174, 198, 235, .16);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .5);
  }
  .header-v2 .nav-links.m-open .nav-item { position: static; }
  .header-v2 .nav-links.m-open > a,
  .header-v2 .nav-links.m-open .nav-item > a { padding: 12px; font-size: 15px; }
  .header-v2 .nav-links.m-open .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0 0 8px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .header-v2 .nav-links.m-open .nav-drop a { font-size: 13.5px; color: var(--muted); }
  .header-v2 .nav-links.m-open .nav-drop a::after { content: ""; }
}

/* ============================================================
   ВЕЕР-КАРУСЕЛЬ ПРОЕКТОВ (адаптация fan-carousel, без GSAP)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {  }
@media (max-width: 560px) {
  
  
}

/* ============================================================
   2026-07-24 — фикс шапки + минималистичный рестайл секций
   (Apple-подход: меньше рамок, больше воздуха) + команда
   ============================================================ */

/* --- 1) ШАПКА при скролле: тёмный бар на всю ширину, без «коробки» --- */
.header-v2.is-scrolled { background: rgba(2, 7, 19, .86); }
.header-v2.is-scrolled .nav-inner,
.header-v2.is-compact .nav-inner {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* --- 3a) «Как проходит работа» — чистый нумерованный ряд --- */
#process .work-zigzag {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 44px);
  max-width: 1080px;
  margin: 0 auto;
}
#process .work-zigzag::before,
#process .work-zigzag::after { display: none; }
#process .work-step,
#process .work-step:nth-child(even),
#process .work-step:nth-child(3),
#process .work-step:nth-child(4) {
  position: static;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  display: block;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(174, 198, 235, .16);
  border-radius: 0;
  background: transparent;
  opacity: 1;
  transform: none;
}
#process .work-step b {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: var(--muted-2);
  margin-bottom: 14px;
  transition: color var(--dur-slow) var(--ease-standard);
}
#process .work-step.is-active b,
#process .work-step.is-past b { color: var(--cyan); }
#process .work-step h3 { font-family: "Golos Text", sans-serif; font-size: 18px; }
#process .work-step p { color: var(--muted); margin-top: 8px; line-height: 1.5; }
#process .work-reasons { margin-top: clamp(44px, 5vw, 72px); }
#process .work-reason {
  min-height: 0;
  padding: 22px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(174, 198, 235, .16);
  border-radius: 0;
}
#process .work-reason b { color: #fff; font-size: 16px; }
#process .work-reason p { margin-top: 8px; }
@media (max-width: 900px) { #process .work-zigzag { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #process .work-zigzag { grid-template-columns: 1fr; } }

#tasks .impact-row {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(174, 198, 235, .12);
  border-radius: 0;
  padding: clamp(26px, 3vw, 40px) 6px;
  transition: none;
}
#tasks .impact-row:last-child { border-bottom: 1px solid rgba(174, 198, 235, .12); }
#tasks .impact-row:hover { background: transparent; transform: none; }
#tasks .impact-row h3 { font-family: var(--display); font-weight: 500; font-size: 20px; }
#tasks .impact-row b { color: var(--muted-2); }

#tasks .impact-row p { color: var(--soft); font-size: 15.5px; line-height: 1.55; }

#tasks .impact-row a { color: var(--cyan); font-weight: 600; }

.custom-solution-card .btn { justify-self: center; margin-top: 6px; }

.company-section .company-grid > div:first-child .lead { max-width: 760px; }

.team-section { padding: clamp(76px, 8vw, 120px) clamp(20px, 7vw, 90px); }
.team-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); }
.team-head h2 { font-size: clamp(30px, 4vw, 52px); }
.team-head p { color: var(--muted); margin-top: 14px; font-size: 17px; line-height: 1.6; }
.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
  max-width: 900px;
  margin: 0 auto;
}
.team-member {
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  background: rgba(7, 18, 42, .6);
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-standard), border-color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard);
}
.team-member:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 200, 232, .4);
  box-shadow: 0 30px 62px rgba(0, 0, 0, .38);
}

.team-member:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: 22px 24px 26px; }
.team-body h3 { font-family: var(--display); font-weight: 500; font-size: 24px; }
.team-role { display: inline-block; margin-top: 6px; color: var(--cyan); font-size: 14px; font-weight: 600; }
.team-body p { color: var(--muted); margin-top: 12px; line-height: 1.55; }
@media (max-width: 640px) { .team-cards { grid-template-columns: 1fr; max-width: 420px; } }

/* ============================================================
   2026-07-24 (v3): круглые портреты команды + инлайн-чат
   в блоке «Создать решение» + терминальный футер
   ============================================================ */

/* --- КОМАНДА: круглые аватары (как было), фон — сине-glow как у 3D --- */
.team-cards { max-width: 720px; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.team-member {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  text-align: center;
  padding: 8px;
  transition: transform var(--dur-slow) var(--ease-standard);
}
.team-member:hover { transform: translateY(-6px); box-shadow: none; border-color: transparent; }

.team-member:hover .team-ava { border-color: rgba(24, 200, 232, .5); box-shadow: 0 26px 62px rgba(10, 112, 245, .34); }
.team-member:hover .team-ava img { transform: scale(1.04); }
.team-member h3 { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); }
.team-member .team-role { display: inline-block; margin-top: 4px; color: var(--muted); font-size: 15px; font-weight: 500; }
@media (max-width: 560px) { .team-cards { max-width: 420px; } }

/* --- «Создать решение»: полноширинный интерактивный блок --- */
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 40px; }

.cs-card {
  position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .022);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 72px rgba(0, 0, 0, .42);
  transition: min-height var(--dur-slow) var(--ease-standard);
}
.cs-card.chatting {
  height: min(620px, calc(100svh - 132px));
  min-height: 500px;
}
.cs-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cs-glow::before, .cs-glow::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(90px); opacity: .5; animation: csPulse 7s ease-in-out infinite; }
.cs-glow::before { top: -70px; left: -50px; background: rgba(10, 112, 245, .55); }
.cs-glow::after { bottom: -80px; right: -60px; background: rgba(24, 200, 232, .4); animation-delay: 1.5s; }
@keyframes csPulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .6; transform: scale(1.12); } }

.cs-intro {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 14px; text-align: left; padding: clamp(30px, 3.5vw, 44px) clamp(30px, 5vw, 64px);
}
.cs-card.chatting .cs-intro { display: none; }
.cs-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(174, 198, 235, .16); font-family: "Golos Text", sans-serif; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.cs-badge img { width: 15px; }
.cs-intro h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); }
.cs-intro p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 760px; }
.cs-intro .btn { margin-top: 6px; }

.cs-chat {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; text-align: left; min-height: 0;
  max-width: none; margin: 0; height: auto; background: transparent; border: 0; border-radius: 0; overflow: hidden;
  animation: csChatIn .5s var(--ease-standard);
}
.cs-chat[hidden] { display: none; }
@keyframes csChatIn { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: none; } }
.cs-chat-head { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cs-avatar { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(10, 112, 245, .4); }
.cs-avatar img { width: 19px; }
.cs-headtext { display: grid; line-height: 1.2; }
.cs-title { font-family: "Golos Text", sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.cs-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cs-status i { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 8px #28c840; }
.cs-close { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--soft); cursor: pointer; font-size: 18px; }
.cs-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.cs-messages { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; overscroll-behavior: contain; }
.cs-msg { max-width: 88%; padding: 11px 14px; border-radius: 15px; font-family: "Golos Text", sans-serif; font-size: 14.5px; line-height: 1.45; animation: csMsgIn .38s var(--ease-standard); }
@keyframes csMsgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cs-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .06); color: var(--soft); border-bottom-left-radius: 5px; }
.cs-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 8px 20px rgba(10, 112, 245, .3); }
.cs-msg a { color: var(--cyan); font-weight: 600; }
.cs-msg.card { max-width: 100%; background: rgba(255, 255, 255, .05); display: grid; gap: 8px; border: 1px solid rgba(174, 198, 235, .14); }
.cs-msg.card h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 17px; color: #fff; }
.cs-msg.card dl { margin: 0; display: grid; gap: 7px; }
.cs-msg.card dt { color: #fff; font-weight: 600; font-size: 13px; }
.cs-msg.card dd { margin: 0; color: var(--muted); font-size: 13.5px; }
.cs-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
.cs-form input { min-height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #fff; padding: 0 16px; outline: none; font-family: "Golos Text", sans-serif; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.cs-form input:focus { border-color: rgba(24, 200, 232, .55); box-shadow: 0 0 0 3px rgba(24, 200, 232, .12); }
.cs-form .cs-send { min-height: 46px; width: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(10, 112, 245, .35); transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.cs-form .cs-send:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(10, 112, 245, .45); }
.cs-form .cs-send:active { transform: scale(.95); }
.cs-typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.cs-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: csTyp 1.1s infinite; }
.cs-typing span:nth-child(2) { animation-delay: .15s; }
.cs-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes csTyp { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

@media (max-width: 900px) {
  .cs-card { min-height: 330px; }
  .cs-card.chatting { height: min(590px, calc(100svh - 104px)); min-height: 470px; }
}

/* --- КЛАССИЧЕСКИЙ СТЕКЛЯННЫЙ ФУТЕР (видео-фон сохранён) --- */
.footer-glass {
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(174, 198, 235, .14);
  background: #020713;
  padding: clamp(34px, 4.4vw, 62px) clamp(20px, 6vw, 56px);
}
.footer-glass::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(2, 7, 19, .84), rgba(2, 7, 19, .72)); }
.footer-panel {
  position: relative; z-index: 2;
  width: min(1160px, 100%); margin: 0 auto;
  padding: clamp(28px, 3.2vw, 42px) clamp(22px, 3.4vw, 42px);
  border-radius: 22px;
  border: 1px solid rgba(174, 198, 235, .1);
  background: rgba(9, 20, 44, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .3);
}
.footer-hl { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 34%; height: 2px; border-radius: 999px; background: rgba(174, 198, 235, .5); filter: blur(1.5px); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.footer-brand-col { display: grid; gap: 14px; align-content: start; }
.footer-glass .footer-logo { width: 170px; height: auto; }
.footer-brand-col p { color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 300px; margin: 0; }
.footer-copy { color: var(--muted-2) !important; font-size: 13px !important; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-family: "Golos Text", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--soft); font-size: 14px; text-decoration: none; transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 460px) { .footer-cols { grid-template-columns: 1fr; } }

  

@keyframes termBlink { 50% { opacity: 0; } }
@media (max-width: 600px) {   }

/* ============================================================
   AISPEKTR COLOR SYSTEM — 2026-07-25
   Core spectrum: #081C3A / #0066FF / #19E5FF / #C3FFF8
   The spectrum is used as hierarchy: surface / action / signal / light.
   ============================================================ */

::selection {
  color: var(--brand-navy);
  background: var(--brand-mint);
}

html {
  scrollbar-color: rgba(25, 229, 255, .42) var(--canvas);
}

html,
body,
.product-page,
.footer-glass,
.footer-terminal {
  background-color: var(--canvas);
}

body::before {
  background:
    radial-gradient(52% 42% at 14% 5%, rgba(0, 102, 255, .17), transparent 64%),
    radial-gradient(42% 38% at 88% 46%, rgba(25, 229, 255, .085), transparent 68%),
    radial-gradient(46% 34% at 22% 96%, rgba(195, 255, 248, .045), transparent 72%);
}

h1,
h2,
h3,
.cs-title,
.fan-ph-title {
  color: var(--ink);
}

.lead,
.section-header p,
.detail-card p,
.detail-card li {
  color: var(--muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .82);
  outline-offset: 3px;
}

.nav-links a:focus-visible,
.header-v2 .nav-drop a:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .72);
  outline-offset: 1px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0066ff 0%, #0874ff 100%);
  border-color: var(--muted-2);
  box-shadow:
    inset 0 1px 0 rgba(195, 255, 248, .2),
    0 14px 34px rgba(0, 102, 255, .28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0c72ff 0%, #0066ff 58%, #0089ff 100%);
  border-color: rgba(25, 229, 255, .34);
  box-shadow:
    inset 0 1px 0 rgba(195, 255, 248, .24),
    0 18px 44px rgba(0, 102, 255, .36),
    0 0 0 1px rgba(25, 229, 255, .08);
}

.site-header.is-scrolled,
.site-header.is-compact,
.header-v2.is-scrolled,
.header-v2.is-compact {
  background: rgba(2, 9, 20, .84);
  border-bottom-color: var(--muted-2);
  box-shadow: 0 14px 42px rgba(0, 8, 24, .34);
}

.header-v2 .nav-links > a:hover,
.header-v2 .nav-links > a.is-active,
.header-v2 .nav-item:hover > a,
.header-v2 .nav-item:focus-within > a,
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--ink);
  background: transparent;
}

.nav-links > a.is-active::after {
  content: none;
  display: none;
  box-shadow: none;
}

.header-v2 .nav-drop,
.site-header.menu-open .nav-links,
.header-v2 .nav-links.m-open {
  background: rgba(4, 19, 41, .96);
  border-color: var(--muted-2);
  box-shadow: 0 24px 64px rgba(0, 8, 24, .5);
}

.header-v2 .nav-drop a:hover {
  color: var(--ink);
  background: rgba(25, 229, 255, .075);
}

.header-v2 .menu-toggle,
.menu-toggle {
  color: var(--brand-mint);
  background: rgba(8, 28, 58, .72);
  border: 1px solid rgba(195, 255, 248, .14);
}

.trust-strip-section {
  background: transparent;
}

#products {
  background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(2, 9, 20, 0) 16%, rgba(2, 9, 20, 0) 84%, var(--canvas) 100%),
    radial-gradient(38% 32% at 90% 22%, rgba(25, 207, 233, .04), transparent 74%),
    radial-gradient(45% 38% at 7% 66%, rgba(0, 102, 255, .06), transparent 74%);
}

#process {
  background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(2, 9, 20, 0) 18%, rgba(2, 9, 20, 0) 82%, var(--canvas) 100%),
    radial-gradient(52% 64% at 50% 50%, rgba(8, 28, 58, .11), transparent 76%),
    radial-gradient(40% 42% at 75% 54%, rgba(25, 207, 233, .03), transparent 76%);
}

#team {
  background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(5, 20, 46, .42) 18%, rgba(4, 24, 62, .46) 78%, var(--canvas) 100%),
    radial-gradient(54% 58% at 50% 48%, rgba(0, 102, 255, .12), transparent 76%),
    radial-gradient(38% 46% at 82% 18%, rgba(25, 207, 233, .055), transparent 74%);
}

.logo-cell,
.overview-card,
.detail-card,
.cta-panel,
.legal-card {
  background:
    linear-gradient(145deg, rgba(13, 42, 85, .55), rgba(8, 28, 58, .42)),
    rgba(8, 28, 58, .48);
  border-color: var(--muted-2);
  box-shadow:
    inset 0 1px 0 rgba(195, 255, 248, .035),
    0 22px 58px rgba(0, 8, 24, .22);
}

.logo-cell:hover,
.overview-card:hover,
.detail-card:hover {
  border-color: rgba(25, 229, 255, .34);
  box-shadow:
    inset 0 1px 0 rgba(195, 255, 248, .06),
    0 22px 58px rgba(0, 102, 255, .13);
}

.cs-card {
  border-color: var(--muted-2);
  background:
    linear-gradient(145deg, rgba(13, 42, 85, .36), rgba(8, 28, 58, .28)),
    rgba(8, 28, 58, .3);
  box-shadow: 0 30px 72px rgba(0, 8, 24, .42);
}

.cs-glow::before {
  background: rgba(0, 102, 255, .56);
}

.cs-glow::after {
  background: rgba(25, 229, 255, .38);
}

.cs-badge,
.cs-msg.bot,
.cs-msg.card {
  color: var(--soft);
  background: rgba(195, 255, 248, .055);
  border-color: var(--muted-2);
}

.cs-avatar,
.cs-form .cs-send {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  box-shadow: 0 10px 26px rgba(0, 102, 255, .3);
}

.cs-msg.user {
  background: linear-gradient(135deg, #0066ff, #147aff);
  box-shadow: 0 8px 24px rgba(0, 102, 255, .3);
}

.cs-form input {
  color: var(--ink);
  background: rgba(8, 28, 58, .55);
  border-color: var(--muted-2);
}

.cs-form input:focus {
  border-color: rgba(25, 229, 255, .55);
  box-shadow: 0 0 0 3px rgba(25, 229, 255, .12);
}

.cs-form input::placeholder {
  color: var(--muted-2);
}

#process .work-step,
#process .work-reason {
  border-top-color: var(--muted-2);
}

#process .work-step b {
  color: var(--muted-2);
}

#process .work-step.is-active b,
#process .work-step.is-past b {
  color: var(--brand-cyan);
  text-shadow: 0 0 24px rgba(25, 229, 255, .22);
}

.team-member:hover .team-ava {
  border-color: rgba(25, 229, 255, .48);
  box-shadow:
    0 26px 64px rgba(0, 102, 255, .28),
    0 0 0 1px rgba(195, 255, 248, .05);
}

.team-member .team-role {
  color: var(--muted);
}

.footer-glass {
  border-top-color: transparent;
}

.footer-glass::after {
  background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(2, 9, 20, .88) 14%, rgba(2, 9, 20, .7) 34%, rgba(2, 9, 20, .66) 100%),
    radial-gradient(55% 90% at 14% 35%, rgba(0, 102, 255, .1), transparent 74%);
}

.footer-panel {
  border-color: var(--muted-2);
  background: rgba(8, 28, 58, .48);
  box-shadow: 0 30px 72px rgba(0, 8, 24, .45);
}

.footer-glass {
  padding-block: clamp(24px, 3.2vw, 44px);
}

.footer-panel {
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 3vw, 36px);
  border-color: var(--muted-2);
  background: rgba(8, 28, 58, .22);
  box-shadow: 0 14px 36px rgba(0, 8, 24, .22);
}

.footer-hl {
  background: var(--gradient-brand);
  box-shadow: 0 0 18px rgba(25, 229, 255, .32);
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--brand-mint);
}

/* 2026-07-28: less accented landing footer + stronger product/team headings */
.showcase-section .section-header h2 {
  display: inline-block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-section .section-header p {
  max-width: none;
  white-space: nowrap;
}

.team-head {
  max-width: 920px;
}

.team-head p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.55;
}

.footer-glass {
  overflow: visible;
  padding: 28px clamp(20px, 4vw, 56px) 32px;
  border-top: 1px solid rgba(195, 255, 248, .08);
  background: #020914;
}

.footer-glass::after,
.footer-hl {
  display: none;
}

.footer-panel {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer-grid {
  gap: clamp(28px, 4vw, 52px);
}

.footer-glass .footer-logo {
  width: 144px;
  opacity: .78;
}

.footer-brand-col {
  gap: 10px;
}

.footer-brand-col p {
  color: var(--muted-2);
}

.footer-copy {
  color: var(--muted-2) !important;
}

.footer-col h4 {
  color: var(--muted-2);
}

.footer-col a {
  color: var(--muted-2);
}

.footer-col a:hover {
  color: var(--soft);
}

@media (max-width: 980px) {
  .showcase-section .section-header p {
    white-space: normal;
  }
}

/* Product and legal pages inherit the same palette without changing their layout. */
.product-page .hero {
  background:
    radial-gradient(48% 55% at 82% 34%, rgba(25, 229, 255, .08), transparent 72%),
    radial-gradient(48% 58% at 12% 18%, rgba(0, 102, 255, .15), transparent 72%);
}

.product-page .media-frame {
  background: rgba(8, 28, 58, .68);
  border-color: var(--muted-2);
  box-shadow:
    0 28px 70px rgba(0, 8, 24, .48),
    0 0 0 1px rgba(25, 229, 255, .035);
}

.product-page .content-section:nth-of-type(even) {
  background: linear-gradient(180deg, transparent, rgba(8, 28, 58, .12), transparent);
}

.legal-page {
  background:
    radial-gradient(48% 48% at 18% 4%, rgba(0, 102, 255, .13), transparent 68%),
    radial-gradient(42% 46% at 84% 96%, rgba(25, 229, 255, .065), transparent 72%),
    var(--canvas);
}

.legal-card a {
  color: var(--brand-cyan);
}

@media (max-width: 960px) {
  .header-v2 .nav-links.m-open {
    background:
      linear-gradient(145deg, rgba(13, 42, 85, .42), rgba(4, 19, 41, .95)),
      rgba(4, 19, 41, .98);
  }
}

/* Smooth same-origin navigation where cross-document View Transitions are supported. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: ais-page-out .18s ease-out both;
}

::view-transition-new(root) {
  animation: ais-page-in .34s var(--ease-standard) both;
}

@keyframes ais-page-out {
  to {
    opacity: 0;
    transform: scale(.995);
    filter: blur(2px);
  }
}

@keyframes ais-page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ============================================================
   ВИТРИНА «ФЛАГМАНСКИЕ ПРОЕКТЫ»
   Заголовок секции (.flagship-*) + сама витрина (.showcase-*):
   ноутбук по центру, короткие описания по бокам, стрелки у
   ноутбука, «Подробнее» справа внизу. Разметка только на главной,
   но стили держим здесь, вместе с остальными общими стилями.
   ============================================================ */
.flagship-heading {
  max-width: 820px;
  margin-bottom: clamp(32px, 4.2vw, 52px);
}

.showcase {
  --showcase-ease: var(--ease-standard);
  margin-top: clamp(16px, 2.6vw, 32px);
}

.showcase-stage {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.9fr) minmax(0, .94fr);
  gap: clamp(14px, 2vw, 34px);
  touch-action: pan-y;
  cursor: grab;
}

.showcase-stage.is-dragging {
  cursor: grabbing;
}

/* Стопка: карточки лежат в одной ячейке грида, поэтому высота колонки
   равна самой высокой карточке и не прыгает при переключении. */
.showcase-copy,
.showcase-facts {
  display: grid;
}

.showcase-copy > *,
.showcase-facts > * {
  grid-area: 1 / 1;
  /* без min-width:0 грид-элемент не сжимается уже min-content и вылезает
     за свою колонку — текст наезжал на стрелку центральной колонки */
  min-width: 0;
}

.showcase-item,
.showcase-fact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--dur-slow) var(--showcase-ease),
    transform .58s var(--showcase-ease);
}

.showcase-item.is-active,
.showcase-fact.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.showcase-copy {
  text-align: right;
}

.showcase-item h3 {
  margin: 0 0 13px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 2.12vw, 36px);
  line-height: 1.18;
  letter-spacing: -.005em;
}

.showcase-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.04vw, 16.5px);
  line-height: 1.58;
}

.showcase-fact {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}

.showcase-fact span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 14px;
  border-left: 1px solid rgba(195, 255, 248, .13);
}

.showcase-fact small {
  color: rgba(134, 215, 225, .5);
  font-family: "Golos Text", sans-serif;
  font-size: clamp(9.5px, .64vw, 11px);
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.showcase-fact strong {
  color: var(--soft);
  font-size: clamp(13.5px, 1.02vw, 16px);
  font-weight: 600;
  line-height: 1.42;
}

/* Центральная колонка: стрелки живут в её боковых полях, поэтому поля
   не должны быть у́же самих кнопок. touch-action держит вертикальный
   скролл страницы, отдавая горизонтальный жест свайпу по ноутбуку. */
/* Боковые поля центральной колонки — это дорожка под стрелки.
   Они должны быть заметно шире самой кнопки, иначе стрелка выходит
   за колонку и наезжает на текст соседней. */
.showcase-center {
  position: relative;
  padding-inline: clamp(40px, 4vw, 60px);
  touch-action: pan-y;
}

.showcase-laptop {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5));
  cursor: pointer;
  animation: device-float 12s ease-in-out infinite alternate;
  transform-origin: 50% 70%;
}

.showcase-laptop::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 12%;
  bottom: 4%;
  left: 12%;
  height: 12%;
  border-radius: 50%;
  background: rgba(0, 102, 255, .2);
  filter: blur(34px);
}

.showcase-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Проценты подобраны под прозрачную область экрана в laptop-frame.png
   (1536x1024). При замене рамки их придётся пересчитать. */
.showcase-screen {
  position: absolute;
  z-index: 3;
  top: 7.62%;
  left: 13.28%;
  width: 73.3%;
  height: 71.88%;
  overflow: hidden;
  border-radius: clamp(4px, .75vw, 11px);
  background: #f3f6fb;
  box-shadow: inset 0 0 0 1px rgba(195, 255, 248, .075);
}

.showcase-screen-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  background: #f3f6fb;
  transform: scale(1.018);
  transition:
    opacity var(--dur-slow) var(--showcase-ease),
    transform .68s var(--showcase-ease);
}

.showcase-screen-layer.is-active {
  opacity: 1;
  transform: none;
}

.showcase-screen-layer > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.showcase-sheen {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .06), transparent 20%, transparent 72%, rgba(25, 229, 255, .025));
  mix-blend-mode: screen;
}

.showcase-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  translate: 0 -50%;
  width: clamp(34px, 2.9vw, 42px);
  height: clamp(34px, 2.9vw, 42px);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(195, 255, 248, .16);
  border-radius: 50%;
  background: rgba(4, 19, 41, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--soft);
  transition:
    border-color var(--dur-base) var(--ease-standard),
    background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}

/* сдвинуты внутрь колонки, а не прижаты к её краю — так между кнопкой
   и текстом боковой колонки остаётся зазор */
.showcase-nav-prev { left: clamp(4px, .6vw, 10px); }
.showcase-nav-next { right: clamp(4px, .6vw, 10px); }

.showcase-nav:hover {
  border-color: rgba(25, 229, 255, .42);
  background: rgba(8, 28, 58, .82);
  color: var(--ink);
}

.showcase-nav-prev:hover { transform: translateX(-2px); }
.showcase-nav-next:hover { transform: translateX(2px); }

.showcase-nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(18px, 2.4vw, 36px);
  padding-top: clamp(14px, 1.7vw, 24px);
  border-top: 1px solid rgba(195, 255, 248, .09);
}

.showcase-ticks {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.3vw, 20px);
}

.showcase-tick {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted-2);
  font-family: "Golos Text", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  transition: color var(--dur-base) var(--ease-standard);
}

.showcase-tick i {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(195, 255, 248, .16);
  transition: background var(--dur-base) var(--ease-standard), width var(--dur-base) var(--showcase-ease);
}

.showcase-tick:hover { color: var(--soft); }
.showcase-tick.is-active { color: var(--ink); }

.showcase-tick.is-active i {
  width: 34px;
  background: linear-gradient(90deg, #0066ff, #19e5ff);
}

.showcase-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid rgba(195, 255, 248, .18);
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}

.showcase-more span {
  color: rgba(25, 229, 255, .75);
  font-size: 15px;
  transition: transform var(--dur-base) var(--ease-standard);
}

.showcase-more:hover {
  border-color: rgba(25, 229, 255, .45);
  background: rgba(8, 28, 58, .62);
  color: var(--ink);
}

.showcase-more:hover span { transform: translate(2px, -2px); }

.showcase-copy:hover {
  cursor: pointer;
}

.showcase-laptop:hover {
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, .58));
}

@keyframes device-float {
  0% { transform: translate3d(-1px, 1px, 0) rotate(-.06deg); }
  48% { transform: translate3d(2px, -3px, 0) rotate(.08deg); }
  100% { transform: translate3d(-1px, -5px, 0) rotate(.12deg); }
}

.showcase-nav:focus-visible,
.showcase-tick:focus-visible,
.showcase-more:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .6);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .showcase-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 3vw, 26px);
  }

  .showcase-center {
    order: -1;
    padding-inline: clamp(34px, 7vw, 52px);
  }

  .showcase-copy {
    text-align: center;
  }

  .showcase-fact {
    flex-direction: row;
    justify-content: center;
    gap: clamp(16px, 4vw, 34px);
  }

  .showcase-fact span {
    flex: 0 1 auto;
    max-width: 290px;
  }
}

@media (max-width: 640px) {
  .showcase-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .showcase-ticks { justify-content: space-between; }
  .showcase-more { justify-content: center; }

  .showcase-fact {
    flex-direction: column;
    align-items: center;
  }

  .showcase-fact span {
    width: 100%;
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-item,
  .showcase-fact,
  .showcase-screen-layer {
    transition-duration: .001s;
    transform: none;
  }

  .showcase-nav,
  .showcase-more,
  .showcase-tick i {
    transition: none;
  }

  .showcase-laptop {
    animation: none;
    transform: none;
  }
}

/* ============================================================
   ПРОДУКТОВАЯ СТРАНИЦА (.pp-*)
   Общая дизайн-система для products/ — типографика, палитра и
   стеклянные поверхности те же, что на главной, но композиция своя.
   Путь намеренно записан без звёздочки: сочетание звёздочки и слэша
   закрывает комментарий досрочно, и следующее правило .pp{} браузер
   отбрасывал целиком — переменная --pp-ease оставалась неопределённой.
   ============================================================ */
.pp {
  --pp-ease: var(--ease-standard);
}

@keyframes pp-drift-1 {
  to { transform: translate3d(9%, 12%, 0) scale(1.14); }
}

@keyframes pp-drift-2 {
  to { transform: translate3d(-11%, 8%, 0) scale(1.09); }
}

@keyframes pp-drift-3 {
  to { transform: translate3d(7%, -11%, 0) scale(1.12); }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1060px) {
  
  
  
  
  
  
  
  
  
  
  
}

@media (max-width: 720px) {
  
  
  
  
  
}

@media (prefers-reduced-motion: reduce) {
  
  
  
  
  
}

/* ============================================================
   2026-07-29: animation states, contact modal, final CTA
   ============================================================ */
.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(var(--page-progress, 0) * 100%);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 102, 255, .1), rgba(25, 229, 255, .78), rgba(157, 223, 224, .62));
  opacity: var(--progress-opacity, 0);
  box-shadow: 0 0 18px rgba(25, 229, 255, .22);
  transition: opacity var(--dur-base) var(--ease-standard);
  pointer-events: none;
}

.showcase-item h3 {
  display: inline-block;
  color: var(--cyan);
  background: linear-gradient(112deg, #0066ff 0%, #19cfe9 62%, #9ddfe0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-laptop:focus-visible,
.pp-laptop:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .62);
  outline-offset: 8px;
}

.showcase-screen,
.pp-laptop-screen {
  view-transition-name: product-screen;
}

.showcase-screen::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--screen-glow-x, 50%) var(--screen-glow-y, 50%), rgba(25, 229, 255, .16), transparent 26%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-standard);
  mix-blend-mode: screen;
}

.showcase-laptop:hover .showcase-screen::after,
.showcase-laptop:focus-visible .showcase-screen::after {
  opacity: 1;
}

.showcase-screen-layer {
  transform: translate3d(calc(var(--showcase-dir, 1) * 26px), 0, 0) scale(1.018);
  filter: blur(5px);
  transition:
    opacity var(--dur-slow) var(--showcase-ease),
    transform var(--dur-slow) var(--showcase-ease),
    filter var(--dur-slow) var(--showcase-ease);
}

.showcase-screen-layer.is-active {
  filter: none;
}

.showcase-screen-layer.is-leaving {
  opacity: 0;
  transform: translate3d(calc(var(--showcase-dir, 1) * -22px), 0, 0) scale(.992);
  filter: blur(7px);
}

.showcase.is-exiting .showcase-laptop {
  transform: translate3d(0, -10px, 0) scale(.985);
  opacity: .86;
  transition: transform var(--dur-slow) var(--ease-standard), opacity var(--dur-slow) var(--ease-standard);
}

::view-transition-old(product-screen) {
  animation: product-screen-out .28s ease both;
}

::view-transition-new(product-screen) {
  animation: product-screen-in .42s var(--ease-standard) both;
}

@keyframes product-screen-out {
  to {
    opacity: 0;
    transform: scale(.985);
    filter: blur(4px);
  }
}

@keyframes product-screen-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(1.018);
    filter: blur(5px);
  }
}

#process .work-zigzag::before {
  background: linear-gradient(90deg, transparent, rgba(174, 198, 235, .22), transparent);
}

#process .work-zigzag::after {
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 102, 255, .08), rgba(25, 229, 255, .9), rgba(157, 223, 224, .34));
  box-shadow: 0 0 22px rgba(25, 229, 255, .22);
}

#process .work-step b {
  position: relative;
}

.team-member {
  will-change: transform;
}

.team-member:nth-child(2) {
  transition-delay: .04s;
}

.contact-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(195, 255, 248, .16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(8, 28, 58, .92), rgba(2, 9, 20, .96));
  box-shadow: 0 32px 100px rgba(0, 8, 24, .72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}

.contact-modal.is-open .contact-overlay {
  opacity: 1;
}

.contact-modal.is-open .contact-sheet {
  opacity: 1;
  transform: none;
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(195, 255, 248, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--soft);
  cursor: pointer;
}

.contact-sheet h2 {
  margin: 0 42px 10px 0;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.contact-sheet p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-action {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(195, 255, 248, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: var(--soft);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}

.contact-action:hover {
  border-color: rgba(25, 229, 255, .34);
  background: rgba(8, 28, 58, .68);
  transform: translateY(-1px);
}

.contact-action small {
  color: var(--muted);
  font-size: 12px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(25, 229, 255, .08);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.contact-icon-img {
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 102, 255, .18);
}

.contact-icon-img img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: cover;
}

.contact-toast {
  position: fixed;
  z-index: 1100;
  left: 50%;
  bottom: 22px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 11px 14px;
  border: 1px solid rgba(195, 255, 248, .15);
  border-radius: 999px;
  background: rgba(4, 19, 41, .92);
  color: var(--soft);
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  pointer-events: none;
}

.contact-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-glass {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.footer-col a[href*="alina"] {
  white-space: nowrap;
}

#products .flagship-heading {
  max-width: 1220px;
}

#products .section-header h2 {
  display: inline-block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#products .section-header p {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .contact-modal {
    place-items: end center;
    padding: 12px;
  }

  .contact-sheet {
    width: 100%;
    border-radius: 18px;
  }

  #process .work-zigzag::after,
  #process .work-zigzag::before {
    left: 22px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  #process .work-zigzag::after {
    height: calc(var(--work-progress, 0) * 100%);
  }

}

@media (max-width: 980px) {
  #products .section-header p {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-laptop {
    animation: none !important;
  }

  .showcase-screen-layer,
  .contact-overlay,
  .contact-sheet {
    transition: none !important;
  }
}

/* 2026-07-29b: главная, исправления v3 */

.contact-modal,
.contact-toast {
  z-index: 1100;
}

.showcase-stage {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.9fr) minmax(220px, .82fr);
  cursor: default;
}

.showcase-stage.is-dragging {
  cursor: grabbing;
}

.showcase-copy:hover {
  cursor: default;
}

.showcase-item h3 {
  display: block;
}

.showcase-item h3 a {
  display: inline;
  color: var(--cyan);
  background: linear-gradient(112deg, #0066ff 0%, #19cfe9 62%, #9ddfe0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

.showcase-item h3 a:hover,
.showcase-item h3 a:focus-visible {
  filter: brightness(1.16);
}

.showcase-side {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(18px, 2vw, 28px);
  min-width: 0;
}

.showcase-side .showcase-more {
  order: -1;
  justify-self: start;
  margin-bottom: 2px;
}

.showcase-facts {
  width: 100%;
}

.showcase-foot {
  justify-content: center;
}

.showcase-laptop {
  cursor: pointer;
  transition: filter var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard);
}

.showcase-laptop:hover {
  filter: drop-shadow(0 32px 44px rgba(0, 0, 0, .54)) drop-shadow(0 0 18px rgba(25, 229, 255, .08));
}

.showcase-screen {
  box-shadow:
    inset 0 0 0 1px rgba(195, 255, 248, .08),
    inset 0 0 18px rgba(25, 229, 255, .02);
  transition: box-shadow var(--dur-fast) var(--ease-standard);
}

.showcase-laptop:hover .showcase-screen,
.showcase-laptop:focus-visible .showcase-screen {
  box-shadow:
    inset 0 0 0 1px rgba(25, 229, 255, .18),
    inset 0 0 20px rgba(25, 229, 255, .055);
}

.showcase-screen::after {
  background: radial-gradient(circle at var(--screen-glow-x, 50%) var(--screen-glow-y, 50%), rgba(25, 229, 255, .085), transparent 24%);
}

.showcase-screen-layer {
  transform: translate3d(calc(var(--showcase-dir, 1) * 18px), 0, 0) scale(1.01);
  transition:
    opacity var(--dur-base) var(--showcase-ease),
    transform var(--dur-base) var(--showcase-ease),
    filter var(--dur-base) var(--showcase-ease);
}

.showcase-screen-layer.is-leaving {
  transform: translate3d(calc(var(--showcase-dir, 1) * -16px), 0, 0) scale(.996);
  filter: blur(5px);
}

.team-section {
  position: relative;
  padding: clamp(76px, 8vw, 116px) clamp(20px, 6vw, 76px);
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 8% 0 10%;
  z-index: -1;
  background:
    radial-gradient(46% 54% at 22% 28%, rgba(0, 102, 255, .09), transparent 72%),
    radial-gradient(42% 50% at 78% 70%, rgba(25, 229, 255, .055), transparent 72%);
  pointer-events: none;
}

.team-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4.2vw, 54px);
}

.team-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.06;
}

.team-head p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.58;
}

.team-cards {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
}

.team-member {
  display: grid;
  grid-template-columns: minmax(140px, .46fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(134, 184, 245, .18);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(13, 42, 85, .58), rgba(4, 19, 41, .78)),
    rgba(8, 28, 58, .42);
  box-shadow: 0 24px 70px rgba(0, 8, 24, .28);
  text-align: left;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}

.team-member:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 207, 233, .3);
  box-shadow: 0 24px 70px rgba(0, 8, 24, .28);
}

.team-member:hover .team-ava {
  border-color: rgba(25, 207, 233, .28);
  box-shadow: none;
}

.team-body {
  min-width: 0;
  padding: 0;
}

.team-member h3 {
  margin: 0;
  color: #f4fffd;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.14;
}

.team-member .team-role {
  margin-top: 7px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

.footer-col h4 {
  color: var(--muted);
}

.footer-col a {
  color: #86b8f5;
}

.footer-col a:hover {
  color: var(--cyan);
}

@media (max-width: 1060px) {
  .showcase-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-side {
    justify-items: center;
  }

  .showcase-side .showcase-more {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .team-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .team-member {
    grid-template-columns: minmax(112px, 150px) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .team-head {
    text-align: left;
  }

  .team-member {
    grid-template-columns: minmax(0, 1fr);
  }

  

  .showcase-side {
    gap: 16px;
  }
}

/* 2026-07-29c: короткие правки главной v4 */
#products .section-header h2 {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.showcase-stage {
  gap: clamp(30px, 3.8vw, 66px);
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.96fr) minmax(230px, .84fr);
}

.showcase-laptop::before {
  right: 8%;
  bottom: -1%;
  left: 8%;
  height: 18%;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(25, 207, 233, .3) 0%, rgba(20, 122, 255, .18) 42%, rgba(0, 102, 255, 0) 74%);
  filter: blur(38px);
  opacity: .92;
}

.showcase-laptop::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -6% -8% 6%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at var(--screen-glow-x, 50%) 58%, rgba(20, 122, 255, .2), rgba(25, 207, 233, .08) 24%, transparent 46%);
  opacity: 0;
  filter: blur(20px);
  mix-blend-mode: screen;
  transition: opacity var(--dur-base) var(--ease-standard);
}

.showcase-laptop:hover::after,
.showcase-laptop:focus-visible::after {
  opacity: 1;
}

.showcase-screen::after {
  background: radial-gradient(circle at var(--screen-glow-x, 50%) var(--screen-glow-y, 50%), rgba(20, 122, 255, .14), rgba(25, 207, 233, .06) 18%, transparent 30%);
}

.team-section {
  padding-top: clamp(74px, 7vw, 108px);
}

.team-head {
  max-width: 820px;
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.team-head p {
  max-width: 780px;
  font-size: clamp(16px, 1.16vw, 19px);
  line-height: 1.62;
}

.team-cards {
  max-width: 640px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 54px);
}

.team-member {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: none;
}

.team-body {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.team-member .team-role {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-brand-col p,
.footer-copy {
  color: var(--muted-2) !important;
}

.footer-col h4 {
  color: #f4fffd;
}

.footer-col a {
  color: var(--muted-2);
}

.footer-col a:hover {
  color: var(--soft);
}

@media (max-width: 1060px) {
  .showcase-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 4vw, 32px);
  }
}

@media (max-width: 560px) {
  .team-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 2026-07-29d: motion polish, ноутбук, курсор, typing */
.site-page {
  z-index: 1;
}

.showcase-center::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  bottom: 7%;
  height: 31%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 66%, rgba(25, 207, 233, .34), rgba(20, 122, 255, .2) 34%, rgba(10, 112, 245, .08) 55%, transparent 78%),
    radial-gradient(ellipse at 18% 50%, rgba(0, 102, 255, .18), transparent 52%),
    radial-gradient(ellipse at 82% 50%, rgba(25, 207, 233, .13), transparent 56%);
  filter: blur(24px);
  opacity: .92;
  transform: translateY(12px);
  mix-blend-mode: screen;
}

.showcase-laptop {
  z-index: 1;
  filter:
    drop-shadow(0 30px 42px rgba(0, 0, 0, .48))
    drop-shadow(0 18px 36px rgba(0, 102, 255, .12));
}

.showcase-laptop:hover {
  filter:
    drop-shadow(0 34px 46px rgba(0, 0, 0, .52))
    drop-shadow(0 18px 42px rgba(20, 122, 255, .2))
    drop-shadow(0 0 18px rgba(25, 207, 233, .1));
}

.showcase-laptop::before {
  bottom: -4%;
  height: 24%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(25, 207, 233, .38) 0%, rgba(20, 122, 255, .22) 42%, rgba(0, 102, 255, 0) 74%);
  filter: blur(28px);
}

.showcase-laptop::after {
  inset: -10% -12% 3%;
  background:
    radial-gradient(ellipse at var(--screen-glow-x, 50%) 57%, rgba(20, 122, 255, .26), rgba(25, 207, 233, .12) 24%, transparent 48%);
}

.showcase-screen-layer {
  transition:
    opacity var(--dur-base) var(--ease-emphasis),
    transform var(--dur-slow) var(--ease-emphasis),
    filter var(--dur-slow) var(--ease-emphasis);
}

.showcase.is-exiting .showcase-laptop {
  transform: translate3d(0, -4px, 0) scale(.992);
  opacity: .9;
  transition: transform var(--dur-base) var(--ease-emphasis), opacity var(--dur-base) var(--ease-standard), filter var(--dur-base) var(--ease-standard);
}

.showcase.is-exiting .showcase-screen {
  box-shadow:
    inset 0 0 0 1px rgba(25, 207, 233, .2),
    0 0 34px rgba(20, 122, 255, .16);
}

body.reveal-on .reveal {
  transform: translateY(12px);
}

.reveal {
  transition:
    opacity var(--dur-slow) var(--ease-standard),
    transform var(--dur-slow) var(--ease-standard);
}

body.pp-v2 .site-page {
  background: transparent;
}

body.pp-v2 .page-background-layer {
  opacity: 0 !important;
}

.p2-light .p2-section-head > span,
.p2-light .p2-card h3,
.p2-light .p2-step b {
  color: #071b38;
}

.p2-card,
.p2-step,
.p2-metric,
.p2-calc,
.p2-final,
.p2-other,
.p2-quote,
.p2-trust {
  border-radius: 10px;
}

.p2-dark .p2-card,
.p2-dark .p2-step,
.p2-dark .p2-metric,
.p2-dark .p2-trust {
  border-color: var(--muted-2);
  background: rgba(8, 28, 58, .54);
  box-shadow: none;
}

.p2-card p,
.p2-step p {
  color: inherit;
  opacity: .66;
  line-height: 1.62;
}

.p2-step {
  position: relative;
  padding: 20px 22px;
  border: 1px solid rgba(174, 198, 235, .14);
  background: rgba(255, 255, 255, .06);
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard);
}

.p2-light .p2-step {
  border-color: var(--p2-line-light);
  background: rgba(255, 255, 255, .7);
}

.p2-step.is-active {
  transform: translateX(8px);
  border-color: rgba(25, 207, 233, .42);
  background: rgba(0, 102, 255, .12);
}

.p2-step.is-past {
  opacity: .74;
}

.p2-step b {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 17px;
}

@keyframes p2-line-drift {
  to { transform: translateX(-260%); }
}

.contact-actions-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.contact-actions-v2 .contact-action {
  min-height: 146px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.contact-actions-v2 .contact-icon-img {
  width: 52px;
  height: 52px;
}

.contact-actions-v2 .contact-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1060px) {
  

  

  

  
}

@media (max-width: 720px) {
  

  

  

  

  

  .p2-actions .btn {
    width: 100%;
  }

  

  

  

  

  

  

  

  .contact-actions-v2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  

  .p2-laptop,
  .p2-card,
  .p2-step,
  .p2-other {
    transition: none;
  }
}

@media (max-width: 1180px) {
  

  

  
}

@media (max-width: 720px) {
  

  

  

  
}

body.pp-v3 .site-page {
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(8, 28, 58, .24), rgba(2, 9, 20, 0) 18%),
    #020914;
}

.pp3-steps .pp-step.is-active {
  border-top-color: rgba(25, 229, 255, .62);
}

.pp3-steps .pp-step.is-active::before {
  color: rgba(25, 229, 255, .96);
}

@keyframes pp3-device-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(2deg) rotateY(-4deg); }
  50% { transform: translate3d(0, -7px, 0) rotateX(2deg) rotateY(-3.4deg); }
}

@keyframes pp3-phone-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(4deg) translateZ(44px); }
  50% { transform: translate3d(0, -6px, 0) rotateZ(3.4deg) translateZ(44px); }
}

@media (max-width: 1180px) {
  

  

  

  

  

  
}

@media (max-width: 720px) {
  

  

  

  

  

  

  
}

@media (prefers-reduced-motion: reduce) {
  
}

@media (max-width: 1180px) {
  

  

  
}

@media (max-width: 720px) {
  

  

  

  

  

  

  

  

  

  
}

@media (max-width: 1180px) {
  
}

@media (max-width: 720px) {
  
}

/* 2026-07-29m: final five product pages */
body.pp-final-product {
  background: #020914;
  color: var(--ink);
}

body.pp-final-product .site-page {
  /* clip, а не hidden: hidden делает блок контейнером прокрутки, и
     position: sticky внутри теряет скроллпорт — закреплённая сцена
     переставала прилипать. clip обрезает так же, но контейнер не создаёт. */
  overflow: clip;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(7, 103, 240, .18), transparent 34%),
    radial-gradient(ellipse at 88% 24%, rgba(30, 196, 234, .12), transparent 36%),
    #020914;
}

.pf-hero,
.pf-section {
  position: relative;
  background:
    radial-gradient(ellipse at 86% 0%, rgba(30, 196, 234, .055), transparent 38%),
    #020914;
}

.pf-card,
.pf-list-item,
.pf-cost-card,
.pf-step {
  position: relative;
  border-top: 1px solid rgba(195, 255, 248, .16);
  padding: 20px 0 0;
}

.pf-card h3,
.pf-list-item h3,
.pf-cost-card h3,
.pf-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.18vw, 21px);
  line-height: 1.26;
}

.pf-card p,
.pf-list-item p,
.pf-cost-card p,
.pf-step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
}

.pf-section {
  padding: clamp(64px, 6vw, 102px) 0;
}

.pf-section + .pf-section {
  border-top: 1px solid rgba(195, 255, 248, .055);
}

.pf-section h2 {
  margin: 0 0 clamp(26px, 3vw, 44px);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.65vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.pf-step.is-active {
  border-top-color: rgba(30, 196, 234, .72);
}

.pf-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .56fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 58px);
  border-radius: 22px;
  background:
    radial-gradient(70% 130% at 90% 0%, rgba(30, 196, 234, .16), transparent 68%),
    linear-gradient(180deg, rgba(13, 42, 85, .52), rgba(8, 28, 58, .34));
  border: 1px solid rgba(195, 255, 248, .12);
}

.pf-final h2 {
  margin-bottom: 16px;
}

.pf-final p {
  margin: 0 0 28px;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.58;
}

@keyframes pf-glow-breathe {
  0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(.98); }
  50% { opacity: .98; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes pf-phone-glow-breathe {
  0%, 100% { opacity: .72; transform: scale(.98); }
  50% { opacity: .96; transform: scale(1.04); }
}

@media (max-width: 1180px) {
  .pf-hero-inner,
  .pf-phone-grid,
  .pf-final {
    grid-template-columns: minmax(0, 1fr);
  }

  

  

  
}

@media (max-width: 720px) {
  

  

  

  

  

  

  

  .pf-final {
    padding: 24px;
    border-radius: 18px;
  }

  
}

@media (prefers-reduced-motion: reduce) {
  
}

/* 2026-07-29n: product hierarchy polish */
body.pp-final-product {
  --pf-card-bg: linear-gradient(180deg, rgba(8, 28, 58, .72), rgba(3, 13, 31, .64));
  --pf-card-border: rgba(195, 255, 248, .12);
  --pf-card-border-strong: rgba(30, 196, 234, .36);
  --pf-card-shadow: 0 22px 58px rgba(0, 8, 24, .24);
  --pf-card-shadow-hover: 0 30px 72px rgba(0, 8, 24, .38), 0 0 42px rgba(30, 196, 234, .08);
}

.pf-card,
.pf-list-item,
.pf-cost-card,
.pf-step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pf-card-border);
  border-radius: 18px;
  background: var(--pf-card-bg);
  box-shadow: var(--pf-card-shadow), inset 0 1px 0 rgba(195, 255, 248, .055);
  transition:
    transform var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    background-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}

.pf-card,
.pf-list-item,
.pf-cost-card,
.pf-step {
  padding: clamp(20px, 1.7vw, 26px);
}

.pf-card::after,
.pf-list-item::after,
.pf-cost-card::after,
.pf-step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(30, 196, 234, .11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 32%);
  opacity: .72;
}

.pf-card:hover,
.pf-list-item:hover,
.pf-cost-card:hover,
.pf-step:hover {
  transform: translateY(-5px);
  border-color: var(--pf-card-border-strong);
  box-shadow: var(--pf-card-shadow-hover), inset 0 1px 0 rgba(195, 255, 248, .08);
}

.pf-card > *,
.pf-list-item > *,
.pf-cost-card > *,
.pf-step > * {
  position: relative;
  z-index: 1;
}

.pf-card h3,
.pf-list-item h3,
.pf-cost-card h3,
.pf-step h3 {
  font-size: clamp(18px, 1.18vw, 22px);
}

.pf-card p,
.pf-list-item p,
.pf-cost-card p,
.pf-step p {
  color: var(--muted);
  line-height: 1.58;
}

.pf-section {
  padding: clamp(84px, 8vw, 136px) 0;
}

.pf-section + .pf-section {
  border-top: 0;
}

.pf-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1240px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(195, 255, 248, .13), transparent);
  pointer-events: none;
}

.pf-section h2 {
  margin-bottom: clamp(32px, 4vw, 58px);
}

.pf-section h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan), transparent);
  box-shadow: 0 0 24px rgba(30, 196, 234, .22);
}

.pf-effect .container {
  position: relative;
}

.pf-cost .container {
  max-width: 1120px;
}

.pf-cost-card h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.12;
}

.pf-cost-card h3::first-line {
  color: var(--ink);
}

.pf-step.is-active::before,
.pf-step:hover::before {
  opacity: 1;
}

.pf-final {
  border-radius: 26px;
  padding: clamp(42px, 5.2vw, 76px);
  background:
    radial-gradient(90% 130% at 88% 0%, rgba(30, 196, 234, .2), transparent 66%),
    radial-gradient(80% 120% at 0% 100%, rgba(7, 103, 240, .17), transparent 62%),
    linear-gradient(180deg, rgba(13, 42, 85, .68), rgba(3, 13, 31, .74));
  box-shadow: 0 34px 90px rgba(0, 8, 24, .36), inset 0 1px 0 rgba(195, 255, 248, .07);
}

@keyframes pf-laptop-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(1.8deg) rotateY(-3.2deg); }
  50% { transform: translate3d(0, -8px, 0) rotateX(1.8deg) rotateY(-2.7deg); }
}

@keyframes pf-phone-upright-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

@media (max-width: 1180px) {
  

  

  

  

  
}

@media (max-width: 860px) {
  

  .pf-section {
    padding: 72px 0;
  }

}

@media (max-width: 720px) {
  

  

  

  .pf-card,
  .pf-list-item,
  .pf-cost-card,
  .pf-step {
    border-radius: 16px;
  }

  

  .pf-final {
    padding: 28px;
    border-radius: 20px;
  }

  
}

@media (prefers-reduced-motion: reduce) {
  .pf-laptop,
  .pf-phone-mockup,
  .pf-card,
  .pf-list-item,
  .pf-cost-card,
  .pf-step {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background:
      linear-gradient(160deg, rgba(195, 255, 248, .06), rgba(195, 255, 248, .015)),
      rgba(6, 18, 38, .82);
  }
  
}

/* 2026-07-29o: monochrome contact icons */
.contact-sheet {
  width: min(100%, 680px);
}

.contact-actions-v2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-actions-v2 .contact-action {
  min-height: 92px;
  grid-template-columns: 58px 1fr;
  justify-items: start;
  align-content: center;
  gap: 14px;
  padding: 14px;
  text-align: left;
}

.contact-actions-v2 .contact-icon-img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 255, 253, .09), transparent 58%),
    rgba(2, 9, 20, .28);
  box-shadow: inset 0 0 0 1px rgba(244, 255, 253, .08);
}

.contact-actions-v2 .contact-icon-img img,
.pf-contact-actions img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.contact-card-link,
.pf-contact-action {
  min-width: 0;
  min-height: 132px;
  border: 1px solid rgba(195, 255, 248, .12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 255, 253, .08), transparent 46%),
    rgba(2, 9, 20, .48);
  color: var(--soft);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.18;
  box-shadow: inset 0 1px 0 rgba(195, 255, 248, .055);
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}

.contact-card-link:hover,
.pf-contact-action:hover {
  transform: translateY(-5px);
  border-color: var(--muted-2);
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 255, 253, .12), transparent 48%),
    rgba(8, 28, 58, .64);
  box-shadow: 0 24px 54px rgba(0, 8, 24, .34), inset 0 1px 0 rgba(195, 255, 248, .08);
}

.contact-card-link img,
.pf-contact-action img {
  opacity: .94;
}

@media (max-width: 820px) {
  
}

@media (max-width: 520px) {
  .contact-actions-v2,
  .pf-contact-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card-link,
  .pf-contact-action,
  .contact-actions-v2 .contact-action {
    min-height: 86px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }
}

/* 2026-07-29q: unified product page template */
body.pp-final-product {
  --pf-h1: clamp(48px, 5vw, 76px);
  --pf-h2: clamp(34px, 3.2vw, 52px);
  --pf-lead: clamp(18px, 1.3vw, 22px);
  --pf-card-title: clamp(17px, 1.05vw, 20px);
  --pf-body: clamp(14px, .95vw, 16px);
  --pf-metric: clamp(38px, 3.4vw, 60px);
  --pf-metric-long: clamp(30px, 2.7vw, 48px);
  --pf-section-space: clamp(92px, 8vw, 140px);
  --pf-block-gap: clamp(34px, 4vw, 58px);
  --pf-card-gap: clamp(16px, 1.8vw, 26px);
}

.pp-final-product *,
.pp-final-product *::before,
.pp-final-product *::after {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pf-hero-head .btn {
  margin-top: .28em;
  white-space: nowrap;
}

.pf-section {
  padding: var(--pf-section-space) 0;
}

.pf-section h2 {
  margin: 0 0 clamp(36px, 4vw, 52px);
  font-size: var(--pf-h2);
}

.pf-card,
.pf-list-item,
.pf-cost-card,
.pf-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
  padding: clamp(20px, 1.7vw, 26px);
  border-radius: 18px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.pf-card h3,
.pf-list-item h3,
.pf-cost-card h3,
.pf-step h3 {
  font-size: var(--pf-card-title);
  line-height: 1.28;
  overflow-wrap: break-word;
}

.pf-card p,
.pf-list-item p,
.pf-cost-card p,
.pf-step p {
  font-size: var(--pf-body);
  line-height: 1.55;
  overflow-wrap: break-word;
}

@keyframes pf-phone-upright-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.pf-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.pf-final h2 {
  margin: 0 0 16px;
}

.pf-final p {
  margin: 0;
}

.pf-final > .btn {
  white-space: nowrap;
}

.pf-final .pf-contact-actions,
.pf-contact-actions {
  display: none !important;
}

.reveal-on .pf-hero-head.reveal,
.reveal-on .pf-lead.reveal,
.reveal-on .pf-hero-device.reveal,
.reveal-on .pf-fit-strip.reveal,
.reveal-on .pf-phone-mockup.reveal,
.reveal-on .pf-phone-copy.reveal,
.reveal-on .pf-final.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s var(--ease-standard), transform .72s var(--ease-standard);
}

.reveal-on .pf-hero-head.reveal.in,
.reveal-on .pf-lead.reveal.in,
.reveal-on .pf-hero-device.reveal.in,
.reveal-on .pf-fit-strip.reveal.in,
.reveal-on .pf-phone-mockup.reveal.in,
.reveal-on .pf-phone-copy.reveal.in,
.reveal-on .pf-final.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .pf-hero-body,
  .pf-phone-grid,
  .pf-final {
    grid-template-columns: minmax(0, 1fr);
  }

  

  

  
}

@media (max-width: 820px) {
  body.pp-final-product {
    --pf-h1: clamp(38px, 10.5vw, 52px);
    --pf-h2: clamp(30px, 8vw, 42px);
    --pf-lead: 17px;
    --pf-metric: clamp(34px, 10vw, 48px);
    --pf-metric-long: clamp(28px, 8vw, 40px);
  }

  

  

  .pf-hero-head .btn {
    width: 100%;
    margin: 0;
  }

  

  

  

  

  .pf-final {
    gap: 28px;
  }

  .pf-final > .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  

  

  

  

}

@media (prefers-reduced-motion: reduce) {
  
}

.pf-hero-head .btn {
  display: none !important;
}

@keyframes pf-laptop-upright-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

/* 2026-07-29r: unified contact modal and CTA */
.contact-sheet {
  width: min(100%, 980px);
  padding: clamp(24px, 3.2vw, 42px);
  border-radius: 28px;
}

.contact-sheet h2 {
  margin: 0 48px 12px 0;
  font-size: clamp(24px, 2.5vw, 34px);
}

.contact-sheet > p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 17px);
}

.contact-message-editor {
  display: grid;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 30px);
}

.contact-message-editor textarea {
  width: 100%;
  min-height: clamp(132px, 17vw, 176px);
  resize: vertical;
  padding: 16px 18px;
  border: 1px solid rgba(195, 255, 248, .14);
  border-radius: 18px;
  background: rgba(2, 9, 20, .56);
  color: var(--soft);
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(195, 255, 248, .055);
}

.contact-message-editor textarea:focus {
  border-color: rgba(25, 229, 255, .44);
  box-shadow: 0 0 0 3px rgba(25, 229, 255, .1), inset 0 1px 0 rgba(195, 255, 248, .06);
}

.contact-message-editor .btn {
  justify-self: start;
}

.contact-actions-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(20px, 2.4vw, 30px);
}

.contact-actions-v2 .contact-action {
  min-height: 142px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 255, 253, .08), transparent 48%),
    rgba(2, 9, 20, .46);
}

.contact-actions-v2 .contact-action:hover,
.contact-actions-v2 .contact-action:focus-visible {
  transform: translateY(-4px);
  border-color: var(--muted-2);
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 255, 253, .13), transparent 48%),
    rgba(8, 28, 58, .68);
}

.contact-actions-v2 .contact-action > span:last-child {
  display: grid;
  gap: 4px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.2;
}

.contact-actions-v2 .contact-action small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-actions-v2 .contact-icon-img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.contact-actions-v2 .contact-icon-img img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

[data-contact-open].btn {
  min-height: 52px;
}

@media (max-width: 820px) {
  .contact-sheet {
    width: min(100%, 680px);
  }

  .contact-actions-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .contact-sheet {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-actions-v2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-actions-v2 .contact-action {
    min-height: 86px;
    grid-template-columns: 58px 1fr;
    justify-items: start;
    text-align: left;
  }

  .contact-message-editor .btn {
    width: 100%;
  }
}

/* 2026-07-29r2: contact modal readability */
.contact-modal .contact-overlay {
  background: rgba(1, 8, 20, .78);
  backdrop-filter: blur(10px);
}

.contact-sheet {
  background:
    radial-gradient(92% 110% at 90% 0%, rgba(14, 67, 126, .28), transparent 58%),
    linear-gradient(180deg, rgba(5, 20, 44, .98), rgba(2, 10, 24, .985));
  box-shadow: 0 34px 90px rgba(0, 8, 24, .64), inset 0 1px 0 rgba(195, 255, 248, .08);
}

.contact-message-editor textarea::selection {
  background: rgba(25, 229, 255, .24);
  color: var(--soft);
}

/* 2026-07-29r3: keep modal above all hero animation layers */
.contact-modal {
  z-index: 2147483000;
}

/* ============================================================
   2026-07-31: пословное проявление текста + новый финальный CTA
   ============================================================ */

/* ---------- Пословное проявление абзаца ----------
   Слова по очереди выходят из размытия. Раньше здесь была печатная
   машинка по символам — она дёргала высоту блока и была слишком
   быстрой. Здесь текст с самого начала занимает своё место, меняется
   только прозрачность и размытие, поэтому вёрстка не прыгает. */
.wr-word {
  display: inline-block;
}

body.reveal-on [data-word-reveal].is-wr-ready .wr-word {
  opacity: 0;
  filter: blur(9px);
  will-change: opacity, filter;
}

body.reveal-on [data-word-reveal].is-wr-run .wr-word {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity 1s var(--ease-standard),
    filter 1s var(--ease-standard);
  /* шаг между словами — из-за него эффект и читается как «набор» */
  transition-delay: calc(var(--wr-i, 0) * .17s);
}

/* ---------- Финальный призыв ---------- */
.final-cta-section {
  position: relative;
  padding: clamp(54px, 7vw, 100px) 0 clamp(62px, 8vw, 116px);
  background: transparent;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(15px, 1.9vw, 23px);
  padding: clamp(46px, 6vw, 92px) clamp(22px, 4vw, 56px) clamp(52px, 7vw, 100px);
  border-radius: clamp(20px, 2.4vw, 30px);
}

.final-cta > *:not(.final-cta-glow) {
  position: relative;
  z-index: 1;
}

/* Прямоугольник со свечением, поднимающимся от нижней кромки. Маска
   гасит верх, поэтому блок не выглядит «коробкой» и мягко срастается
   с фоном страницы. */
.final-cta-glow {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(195, 255, 248, .1);
  background: linear-gradient(180deg, transparent 34%, rgba(8, 28, 58, .34));
  box-shadow:
    inset 0 -16px 128px 0 rgba(25, 229, 255, .24),
    inset 0 -16px 32px 0 rgba(0, 102, 255, .32);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8rem);
  mask-image: linear-gradient(to bottom, transparent, #000 8rem);
}

.final-cta h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.06;
}

.final-cta h2 em {
  font-style: normal;
  color: var(--cyan);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.52;
}

.final-cta-btn {
  margin-top: clamp(5px, .9vw, 11px);
}

/* Контейнер сам не прячется — иначе появление шло бы дважды.
   Ступенчато выводим только содержимое. */
body.reveal-on .final-cta.reveal {
  opacity: 1;
  transform: none;
}

body.reveal-on .final-cta h2,
body.reveal-on .final-cta p,
body.reveal-on .final-cta .final-cta-btn,
body.reveal-on .final-cta .final-cta-glow {
  opacity: 0;
}

body.reveal-on .final-cta.in h2 { animation: final-cta-up .6s var(--ease-emphasis) .2s forwards; }
body.reveal-on .final-cta.in p { animation: final-cta-up .6s var(--ease-emphasis) .3s forwards; }
body.reveal-on .final-cta.in .final-cta-btn { animation: final-cta-up .6s var(--ease-emphasis) .5s forwards; }
body.reveal-on .final-cta.in .final-cta-glow { animation: final-cta-scale .9s var(--ease-emphasis) .7s forwards; }

@keyframes final-cta-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes final-cta-scale {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .final-cta-glow {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5rem);
    mask-image: linear-gradient(to bottom, transparent, #000 5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wr-word,
  body.reveal-on [data-word-reveal].is-wr-ready .wr-word,
  body.reveal-on .final-cta h2,
  body.reveal-on .final-cta p,
  body.reveal-on .final-cta .final-cta-btn,
  body.reveal-on .final-cta .final-cta-glow {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* ============================================================
   2026-07-31: UX и доступность витрины «Флагманские проекты»
   ============================================================ */

/* Статус для скринридеров: положение в карусели при смене слайда.
   Не display:none и не visibility:hidden — иначе живая область молчит. */
.showcase-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Тач-цели. Визуальный размер кнопок оставляем прежним, расширяем
   только область нажатия псевдоэлементом — рекомендация WCAG 2.5.8
   про минимум 44x44 CSS-пикселя. */
.showcase-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  translate: -50% -50%;
  border-radius: 50%;
}

.showcase-tick {
  position: relative;
}

.showcase-tick::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: 44px;
  translate: -50% -50%;
}

/* Полоски-индикаторы кликабельны целиком, но визуально не меняются */
.showcase-tick > * {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   2026-07-31: переполнение чата и модалки контактов
   ============================================================ */

/* Чат ИИ-архитектора.
   Вертикальное раздутие уже было закрыто (.cs-card.chatting держит
   высоту, .cs-messages скроллится). Оставалось горизонтальное: у пузыря
   стоял overflow-wrap: normal, поэтому длинный URL, код или слово без
   пробелов растягивали список — scrollWidth доходил до 4290 px при
   видимых 698. Карточка это обрезала, но текст становился нечитаемым и
   внутри появлялась горизонтальная прокрутка.
   anywhere, а не break-word: только он влияет на min-content, из-за
   которого флекс-элемент отказывался сжиматься. */
.cs-messages {
  overflow-x: hidden;
}

.cs-msg {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cs-msg a,
.cs-msg.card dt,
.cs-msg.card dd,
.cs-msg.card h4 {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Модалка контактов.
   max-height не было вовсе: стоило растянуть textarea за resize-уголок
   или открыть модалку на низком экране — она уезжала за пределы окна
   без возможности прокрутки, нижние кнопки связи становились
   недостижимы. */
.contact-sheet {
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.contact-message-editor textarea {
  max-height: min(42svh, 340px);
}

/* Текст в модалке тоже может содержать длинную ссылку */
.contact-sheet > p,
.contact-action span small {
  overflow-wrap: anywhere;
}

/* ============================================================
   2026-08-01: модалка «Связаться с нами» — стеклянный редизайн
   Композиция взята из макета, палитра и шрифты — сайта: Golos Text
   вместо Manrope, фирменные #0066ff / #19e5ff вместо бирюзы макета.
   Внешние шрифты не подключаются: моно-лейбл идёт системным стеком.
   ============================================================ */

@keyframes contact-drift-a {
  to { transform: translate3d(90px, -60px, 0) scale(1.25); }
}

@keyframes contact-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to { transform: translate3d(-70px, 50px, 0) scale(1); }
}

/* --- Стеклянная панель --- */
.contact-sheet {
  z-index: 2;
  background:
    linear-gradient(160deg, rgba(195, 255, 248, .085), rgba(195, 255, 248, .022)),
    rgba(6, 16, 32, .72);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(195, 255, 248, .12);
  box-shadow:
    0 50px 120px -40px rgba(0, 6, 18, .9),
    inset 0 1px 0 rgba(195, 255, 248, .14);
}

.contact-close {
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}

.contact-close:hover {
  color: var(--ink);
  border-color: rgba(25, 229, 255, .4);
  background: rgba(195, 255, 248, .14);
  transform: rotate(90deg);
}

/* --- Черновик сообщения --- */
.contact-draft {
  position: relative;
  padding: 16px 18px 8px;
  border: 1px solid rgba(195, 255, 248, .09);
  border-radius: 18px;
  background: rgba(2, 9, 20, .5);
  box-shadow: inset 0 1px 0 rgba(195, 255, 248, .06);
}

/* Поле внутри карточки: рамку и фон рисует сама карточка */
.contact-message-editor .contact-draft textarea {
  min-height: clamp(96px, 13vw, 132px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  resize: none;
}

.contact-message-editor .contact-draft textarea:focus {
  border: 0;
  box-shadow: none;
}

.contact-draft:focus-within .contact-draft-line {
  opacity: 1;
}

/* --- Кнопка копирования: «жемчужная» пилюля ---
   Объём делают вложенные тени: светлая по верхней кромке, тёмная снизу
   и вторая светлая под ней. Внутри .contact-copy-wrap с overflow:hidden
   два псевдоэлемента — свечение из глубины и блик по верху; они и
   сдвигаются при наведении. Бегущий блик убран. */
.contact-copy {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  background: #07182c;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  box-shadow:
    inset 0 .3rem .9rem rgba(195, 255, 248, .28),
    inset 0 -.1rem .3rem rgba(0, 0, 0, .7),
    inset 0 -.4rem .9rem rgba(120, 205, 235, .45),
    0 3rem 3rem rgba(0, 6, 18, .3),
    0 1rem 1rem -.6rem rgba(0, 6, 18, .8);
}

.contact-copy:hover .contact-copy-star::before { content: "\2726"; }

.contact-copy:hover {
  box-shadow:
    inset 0 .3rem .5rem rgba(150, 220, 245, .4),
    inset 0 -.1rem .3rem rgba(0, 0, 0, .7),
    inset 0 -.4rem .9rem rgba(0, 102, 255, .6),
    0 3rem 3rem rgba(0, 6, 18, .3),
    0 1rem 1rem -.6rem rgba(0, 6, 18, .8);
}

.contact-copy:hover .contact-copy-wrap::before { transform: translateY(-5%); }
.contact-copy:hover .contact-copy-wrap::after { opacity: .4; transform: translateY(5%); }
.contact-copy:hover .contact-copy-text { transform: translateY(-4%); }

.contact-copy:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 .3rem .5rem rgba(150, 220, 245, .5),
    inset 0 -.1rem .3rem rgba(0, 0, 0, .8),
    inset 0 -.4rem .9rem rgba(0, 102, 255, .4),
    0 3rem 3rem rgba(0, 6, 18, .3),
    0 1rem 1rem -.6rem rgba(0, 6, 18, .8);
}

.contact-copy:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .6);
  outline-offset: 3px;
}

/* Галочка вынесена из потока: как флекс-элемент она смещала бы надпись
   с центра даже прозрачной. */
.contact-copy > .contact-copy-ok {
  position: absolute;
  top: 50%;
  right: 24px;
  translate: 0 -50%;
  color: var(--brand-cyan);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-standard);
}

.contact-copy.is-copied > .contact-copy-ok {
  opacity: 1;
}

/* --- Карточки каналов --- */
.contact-action {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(195, 255, 248, .08);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(195, 255, 248, .06), rgba(195, 255, 248, .015));
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
  animation: contact-card-in .6s var(--ease-standard) both;
  animation-delay: var(--contact-delay, 0ms);
}

.contact-action:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 229, 255, .4);
}

/* Пятно света под курсором; координаты пишет JS в --contact-mx/my */
.contact-action-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(200px circle at var(--contact-mx, 50%) var(--contact-my, 50%), rgba(25, 229, 255, .18), transparent 65%);
  transition: opacity var(--dur-base) var(--ease-standard);
}

.contact-action:hover .contact-action-glow {
  opacity: 1;
}

.contact-action > *:not(.contact-action-glow) {
  position: relative;
  z-index: 1;
}

@keyframes contact-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .contact-draft { padding: 14px 15px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-blob,
  .contact-action { animation: none; }
  .contact-action,
  .contact-close,
  .contact-copy { transition: none; }
  .contact-action-glow { display: none; }
}

/* ============================================================
   2026-08-01: карточки продуктовых страниц — «жидкое стекло»
   Применяется ко всем четырём семействам сразу: возможности
   (.pf-card), сценарии бота (.pf-list-item), стоимость
   (.pf-cost-card), шаги внедрения (.pf-step) и метрики (.pf-metric).
   ============================================================ */
.pf-card,
.pf-list-item,
.pf-cost-card,
.pf-step {
  border-color: var(--muted-2);
  /* Полупрозрачная заливка: без неё backdrop-filter нечего показывать.
     Тёмная подложка под светлым тоном держит контраст для текста. */
  background:
    linear-gradient(160deg, rgba(195, 255, 248, .075), rgba(195, 255, 248, .018)),
    rgba(6, 18, 38, .5);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    /* Огранка: две встречные внутренние подсветки — сверху-слева ярче,
       снизу-справа слабее. Это и создаёт ощущение толщины стекла. */
    inset 2px 2px 3px 0 rgba(214, 245, 255, .22),
    inset -2px -2px 3px 0 rgba(214, 245, 255, .1),
    /* Посадочная тень и мягкое внешнее свечение */
    0 6px 10px rgba(0, 6, 18, .3),
    0 0 16px rgba(0, 6, 18, .18),
    0 0 30px rgba(25, 229, 255, .06);
}

/* Верхний блик приглушён: раньше он был основным источником объёма,
   теперь объём даёт огранка, и прежняя яркость забивала бы её. */
.pf-card::after,
.pf-list-item::after,
.pf-cost-card::after,
.pf-step::after {
  background:
    radial-gradient(circle at 18% 0%, rgba(30, 196, 234, .09), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 36%);
  opacity: .6;
}

.pf-card:hover,
.pf-list-item:hover,
.pf-cost-card:hover,
.pf-step:hover {
  /* лёгкое приближение вместо прежнего только подъёма — как в референсе */
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(30, 196, 234, .34);
  box-shadow:
    inset 3px 3px 4px 0 rgba(214, 245, 255, .3),
    inset -3px -3px 4px 0 rgba(214, 245, 255, .15),
    0 10px 18px rgba(0, 6, 18, .34),
    0 0 22px rgba(0, 6, 18, .2),
    0 0 46px rgba(25, 229, 255, .13);
}

.pf-card:active,
.pf-list-item:active,
.pf-cost-card:active,
.pf-step:active {
  transform: translateY(-1px) scale(.995);
}

/* Размытие фона — дорогая операция. На узких экранах карточки идут
   в одну колонку и стекло почти не читается, поэтому там его снимаем
   и возвращаем плотную заливку. */
@media (max-width: 640px) {
  .pf-card,
  .pf-list-item,
  .pf-cost-card,
  .pf-step,
}

@media (prefers-reduced-motion: reduce) {
  .pf-card:hover,
  .pf-list-item:hover,
  .pf-cost-card:hover,
  .pf-step:hover,
  .pf-metric:hover,
  .pf-card:active,
  .pf-list-item:active,
  .pf-cost-card:active,
  .pf-step:active,
}

/* ============================================================
   2026-08-01: типографика героя продуктовых страниц
   Заголовок крупнее и всегда в одну строку, лид — короткое
   определение вплотную к заголовку.
   ============================================================ */

/* Медленный перелив: градиент шире текста и едет по горизонтали */
@keyframes pf-title-flow {
  to { background-position: 260% 50%; }
}

/* Ниже 560px строка ужалась бы до 21px — вместо этого разрешаем
   перенос и возвращаем комфортный кегль. */
@media (max-width: 560px) {
  
}

@media (prefers-reduced-motion: reduce) {
  
}

/* ============================================================
   2026-08-01: закреплённая scroll-сцена продукта (.ps-*)
   Одна длинная timeline вместо hero + отдельного блока телефона.
   Прогресс 0..1 считает JS и пишет в CSS-переменные, поэтому сцена
   скрабится вперёд и назад и её можно проверить программно.
   ============================================================ */

.ps-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.ps-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 58% at 50% -8%, rgba(10, 112, 245, .16), transparent 62%),
    linear-gradient(180deg, #04101f 0%, #020914 62%, #01060f 100%);
}

.ps-bg i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}

.ps-bg i:nth-child(1) { top: -18%; left: -10%; width: 46%; height: 60%; background: radial-gradient(circle, rgba(0, 102, 255, .5), transparent 66%); }
.ps-bg i:nth-child(2) { right: -12%; bottom: -22%; width: 44%; height: 62%; background: radial-gradient(circle, rgba(25, 229, 255, .28), transparent 66%); }
.ps-bg i:nth-child(3) { left: 34%; top: 42%; width: 38%; height: 46%; background: radial-gradient(circle, rgba(20, 122, 255, .22), transparent 70%); }

.ps-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  padding-block: clamp(84px, 11svh, 128px) clamp(24px, 4svh, 46px);
}

/* ---------- Заголовок ---------- */
.ps-head {
  position: relative;
  z-index: 3;
  text-align: left;
  will-change: transform, opacity;
}

.ps-head h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  white-space: nowrap;
  font-size: min(calc(min(var(--max), 100vw - 56px) / 15.1), 82px);
  line-height: 1.06;
  letter-spacing: 0;
  background: linear-gradient(100deg, #0A70F5 0%, #19C8E8 34%, #C3FFF8 50%, #19C8E8 66%, #0A70F5 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pf-title-flow 14s linear infinite;
}

.ps-lead {
  margin: clamp(10px, 1.2vw, 18px) 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.5;
}

/* ---------- Сцена: возможности + устройства ---------- */
.ps-caps,
.ps-devices,
.ps-channel {
  will-change: transform, opacity;
}

/* Возможности: стеклянные плитки, без карточек-контейнеров */
.ps-caps {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: min(38%, 430px);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(16px, 1.9vw, 26px);
}

/* Плитки появляются один раз при загрузке страницы, а не по скроллу:
   первый кадр сцены должен быть уже собранной композицией. Уход по
   скроллу выполняет обёртка .ps-caps. */
.ps-cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  animation: ps-cap-in .72s var(--ease-standard) both;
  animation-delay: calc(var(--ps-cap-i, 0) * 90ms + 180ms);
}

@keyframes ps-cap-in {
  from { opacity: 0; transform: translate3d(-26px, 14px, 0); }
  to { opacity: 1; transform: none; }
}

.ps-cap-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ps-cap-body b {
  color: var(--soft);
  font-size: clamp(14.5px, 1.02vw, 16.5px);
  font-weight: 600;
  line-height: 1.25;
}

.ps-cap-body i {
  color: var(--muted);
  font-style: normal;
  font-size: clamp(12.5px, .92vw, 14px);
  line-height: 1.45;
}

/* ---------- Устройства ---------- */
.ps-devices {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.ps-laptop {
  position: absolute;
  top: 50%;
  left: 62%;
  width: min(52vw, 760px);
  translate: -50% -50%;
  will-change: transform, opacity;
}

.ps-laptop-glow {
  position: absolute;
  z-index: 0;
  right: 6%;
  bottom: -4%;
  left: 6%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(25, 207, 233, .34), rgba(20, 122, 255, .18) 44%, transparent 72%);
  filter: blur(42px);
}

.ps-laptop-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Проценты сняты с прозрачного окна в laptop-frame-clean.webp
   (204..1331 по X, 78..812 по Y при 1536×1024). Раньше окно было
   задано на ~1% шире с каждой стороны, и скриншот залезал на рамку. */
.ps-laptop-screen {
  position: absolute;
  z-index: 1;
  top: 7.62%;
  left: 13.28%;
  width: 73.44%;
  height: 71.78%;
  overflow: hidden;
  background: #020711;
}

.ps-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ps-phone {
  position: absolute;
  top: 50%;
  left: 26%;
  width: min(17vw, 232px);
  margin: 0;
  translate: -50% -50%;
  opacity: 0;
  will-change: transform, opacity;
}

.ps-phone img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 46px rgba(0, 6, 18, .62));
}

.ps-phone-glow {
  position: absolute;
  z-index: 0;
  inset: 14% -26% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, .34), transparent 68%);
  filter: blur(46px);
}

/* ---------- Подпись про мессенджер ---------- */
.ps-channel {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: clamp(30px, 6svh, 76px);
  width: min(40%, 460px);
  display: grid;
  gap: 8px;
  opacity: 0;
}

.ps-channel b {
  color: var(--soft);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.2;
}

.ps-channel span {
  color: var(--muted);
  font-size: clamp(13px, .98vw, 15.5px);
  line-height: 1.5;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1060px) {
  .ps-caps { width: min(46%, 360px); gap: 14px; }
  .ps-laptop { left: 66%; width: 56vw; }
  .ps-phone { left: 24%; width: 19vw; }
}

/* На узких экранах закреплённая сцена неудобна: убираем pin и
   показываем всё статичной вертикальной раскладкой. */
@media (max-width: 760px) {
  
  .ps-stage { position: static; height: auto; overflow: visible; display: block; }
  .ps-inner { display: block; padding-block: 104px 56px; }
  .ps-head h1 { white-space: normal; font-size: clamp(30px, 8.4vw, 40px); line-height: 1.1; }

  .ps-caps {
    position: static;
    translate: none;
    width: 100%;
    margin-top: clamp(30px, 6vw, 44px);
  }
  .ps-cap { opacity: 1 !important; transform: none !important; }

  .ps-devices { position: static; height: auto; margin-top: clamp(34px, 7vw, 52px); }
  .ps-laptop {
    position: static;
    translate: none;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    transform: none !important;
    opacity: 1 !important;
  }
  .ps-phone {
    position: static;
    translate: none;
    width: min(58%, 240px);
    margin: clamp(28px, 6vw, 44px) auto 0;
    transform: none !important;
    opacity: 1 !important;
  }

  .ps-channel {
    position: static;
    width: 100%;
    margin-top: clamp(24px, 5vw, 36px);
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Без анимации сцена показывает итоговое состояние сразу. */
@media (prefers-reduced-motion: reduce) {
  .ps-cap,
  .ps-phone,
  .ps-channel { opacity: 1 !important; animation: none; transform: none !important; }
  .ps-head h1 { animation: none; }
}

/* ============================================================
   2026-08-01: каркас сцены — колонки вместо абсолютных координат
   Раньше текст и устройства позиционировались от всей сцены и
   налезали друг на друга: плитки задевали лид, телефон закрывал
   ноутбук почти целиком. Теперь у каждого своя ячейка сетки.
   ============================================================ */
.ps-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  min-height: 0;
  height: 100%;
}

/* Плитки и подпись о канале делят одну ячейку: первые уходят,
   вторая приходит на их место — без скачка композиции. */
.ps-side {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
}

.ps-caps,
.ps-channel {
  grid-area: 1 / 1;
  align-self: center;
}

.ps-caps {
  position: static;
  translate: none;
  width: 100%;
}

.ps-channel {
  position: static;
  width: 100%;
  bottom: auto;
}

/* Устройства живут в правой колонке, поэтому не могут наехать на текст */
.ps-devices {
  position: relative;
  inset: auto;
  height: 100%;
  min-width: 0;
}

.ps-laptop {
  position: absolute;
  top: 50%;
  left: 56%;
  width: min(46vw, 720px);
  translate: -50% -50%;
}

/* Телефон стоит перед ноутбуком и заходит на его левый край примерно
   на четверть своей ширины — так читается композиция «два канала»,
   а не два оторванных объекта. */
.ps-phone {
  position: absolute;
  top: 50%;
  left: 18.5%;
  z-index: 2;
  width: min(15vw, 210px);
  translate: -50% -50%;
}

@media (max-width: 1060px) {
  .ps-body { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 22px; }
  .ps-laptop { left: 58%; width: 52vw; }
  .ps-phone { left: 12%; width: 17vw; }
}

@media (max-width: 760px) {
  .ps-body { display: block; height: auto; }
  .ps-side { display: block; }
  .ps-caps, .ps-channel { grid-area: auto; }
  .ps-devices { height: auto; }
}

/* ============================================================
   2026-08-01 (b): продуктовая сцена — статичная шапка,
   типографический список без иконок, крупные устройства
   без прямоугольных подложек.
   ============================================================ */

/* ---------- Шапка: закреплена, но визуально неподвижна ----------
   Вся продуктовая страница — одна закреплённая timeline. Шапка в ней
   не участвует: при is-scrolled она добавляла тёмный бар на всю ширину,
   блюр, границу, тень и меняла собственную высоту с 75 до 106 px.
   На фоне закреплённой сцены это читалось как сбой анимации. */
body.pp .site-header,
body.pp .site-header.is-scrolled,
body.pp .site-header.is-compact,
body.pp .header-v2.is-scrolled,
body.pp .header-v2.is-compact {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}

/* «Пилюля» навигации тоже остаётся в исходном состоянии */
body.pp .site-header.is-scrolled .nav-inner,
body.pp .site-header.is-compact .nav-inner,
body.pp .header-v2.is-scrolled .nav-inner,
body.pp .header-v2.is-compact .nav-inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}

/* Единственный элемент шапки, который менялся по прокрутке */
body.pp .header-progress { display: none; }

/* ---------- Возможности: типографика без иконок ----------
   Плитки убраны, поэтому текст начинается ровно от левого края
   контейнера — там же, где заголовок страницы. */
.ps-cap {
  display: block;
}

.ps-caps {
  gap: clamp(18px, 2.3vw, 32px);
}

.ps-cap-body {
  display: grid;
  gap: 6px;
}

.ps-cap-body b {
  font-size: clamp(15px, 1.1vw, 17.5px);
  letter-spacing: -.005em;
}

/* ---------- Устройства ----------
   Ноутбук и телефон живут прямо на фоне сцены: никаких подложек,
   прямоугольных теней и бликов по границам файла. Ширина ограничена
   сразу тремя способами — долей окна, потолком в пикселях и высотой
   окна, иначе на низких экранах корпус упирается в нижний край. */
.ps-devices {
  --ps-lap-w: min(53vw, 1030px, 100svh);
  --ps-phone-w: calc(var(--ps-lap-w) * .25);
  /* поле между сеткой и краем окна: отступ ноутбука считаем от окна */
  --ps-gutter: max(0px, (100vw - min(1240px, 100vw - 56px)) / 2);
  --ps-safe: clamp(80px, 5vw, 118px);
  /* 6.315% — прозрачное поле справа внутри PNG корпуса */
  --ps-lap-right: calc(var(--ps-safe) - var(--ps-lap-w) * .06315 - var(--ps-gutter));
}

/* Сквозной ограничитель .pp-final-product * { max-width: 100% } резал
   корпус до ширины колонки сетки. Устройства намеренно выходят за неё. */
.ps-laptop,
.ps-phone {
  max-width: none;
}

.ps-laptop {
  position: absolute;
  top: 50%;
  left: auto;
  right: var(--ps-lap-right);
  width: var(--ps-lap-w);
  translate: 0 -50%;
}

/* Телефон стоит перед ноутбуком и заходит на его левый край на ~10%
   ширины корпуса. Смещение по вертикали держит верх телефона ниже
   верхней кромки экрана, а низ — чуть выше основания ноутбука. */
.ps-phone {
  position: absolute;
  top: 50%;
  left: auto;
  right: calc(var(--ps-lap-right) + var(--ps-lap-w) * .841);
  z-index: 2;
  width: var(--ps-phone-w);
  translate: 0 calc(-50% + var(--ps-lap-w) * .064);
}

/* Свечение под устройствами — эллипс, а не бокс картинки */
.ps-laptop-glow {
  right: 10%;
  left: 10%;
  height: 22%;
  opacity: .85;
}

.ps-phone-glow {
  inset: 22% -18% 4%;
  opacity: .8;
}

/* ---------- Небольшой десктоп и планшет ---------- */
@media (max-width: 1060px) and (min-width: 761px) {
  .ps-devices {
    --ps-lap-w: min(58vw, 720px, 96svh);
    --ps-safe: clamp(28px, 4vw, 64px);
  }
  .ps-laptop { left: auto; width: var(--ps-lap-w); }
  .ps-phone { left: auto; width: var(--ps-phone-w); }
  .ps-caps { gap: clamp(14px, 2vw, 22px); }
}

/* ---------- Мобильная композиция ----------
   Пина нет, сцена разложена статично. Телефон не уходит под ноутбук
   отдельным блоком, а стоит перед ним — та же композиция, что и на
   десктопе, только без движения. */
@media (max-width: 760px) {
  .ps-devices {
    position: relative;
    height: auto;
    padding-bottom: clamp(40px, 15vw, 76px);
    --ps-lap-w: auto;
  }
  .ps-laptop {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 560px);
    margin-inline: auto;
    translate: none;
  }
  .ps-phone {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: min(36%, 200px);
    margin: 0;
    translate: none;
  }
}

/* ============================================================
   2026-08-01 (c): «Эффект от внедрения» — типографический
   data reveal вместо карточек, поповер расчёта.
   ============================================================ */

/* Одна горизонтальная композиция: три колонки, тонкие линии между.
   Строки заданы на уровне ряда, а элементы наследуют их через subgrid —
   так подписи выравниваются между собой независимо от длины числа. */
.pe-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(24px, 3.4vw, 62px);
}

.pe-item {
  position: relative;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: clamp(12px, 1.5vw, 20px);
  min-width: 0;
}

@supports not (grid-template-rows: subgrid) {
  .pe-row { grid-template-rows: auto; }
  .pe-item { grid-row: auto; grid-template-rows: auto auto; align-content: start; }
}

/* Разделители — те самые тонкие линии, из которых дальше вырастет
   строчная вёрстка стоимости. Появляются вместе с числами. */
.pe-item + .pe-item::before {
  content: "";
  position: absolute;
  top: -.12em;
  bottom: 0;
  left: calc(clamp(24px, 3.4vw, 62px) / -2);
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--pe-rule, rgba(195, 255, 248, .2)) 14%, var(--pe-rule, rgba(195, 255, 248, .2)) 84%, transparent);
  /* прогресс приходит из --pe-td: его задаёт либо сцена, либо .is-in */
  transform: scaleY(var(--pe-td, 0));
  transform-origin: 50% 0;
}

/* Маска: строка выезжает из-за края, а не просто проявляется.
   Внутренний отступ даёт запас под выносные элементы шрифта. */
.pe-mask {
  display: block;
  overflow: hidden;
  padding-block: .14em;
  margin-block: -.14em;
  perspective: 900px;
}

.pe-fig,
.pe-label {
  display: block;
  transform-origin: 50% 0;
}

.pe-fig {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .4em;
}

.pe-num {
  font-family: var(--display);
  font-weight: 600;
  /* потолок 60px, а не 64: самое длинное число («65 000 ₽») иначе
     занимает 360px из 372px колонки и упирается в разделитель */
  font-size: clamp(30px, 3.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -.015em;
  white-space: nowrap;
  background: linear-gradient(96deg, #0A70F5 0%, #19C8E8 46%, #C3FFF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pe-pre,
.pe-post {
  color: var(--muted);
  font-size: clamp(13px, 1.02vw, 16px);
  line-height: 1.35;
}

.pe-pre { align-self: center; }

.pe-label {
  color: var(--muted);
  font-size: clamp(14px, 1.04vw, 16.5px);
  line-height: 1.5;
  max-width: 34ch;
}

/* ---------- Кнопка «Как посчитано» ---------- */
.pe-foot {
  position: relative;
  margin-top: clamp(34px, 4vw, 58px);
}

.pe-calc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(174, 198, 235, .2);
  background: transparent;
  color: var(--soft);
  font-size: 13.5px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}

.pe-calc::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur-base) var(--ease-standard);
}

.pe-calc:hover {
  color: #eaf7fa;
  border-color: rgba(25, 229, 255, .42);
  background: rgba(25, 229, 255, .07);
}

.pe-calc:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .72);
  outline-offset: 3px;
}

.pe-calc:active { transform: translateY(1px); }

.pe-calc[aria-expanded="true"] {
  color: #eaf7fa;
  border-color: rgba(25, 229, 255, .5);
  background: rgba(25, 229, 255, .1);
}

.pe-calc[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(225deg);
}

/* ---------- Поповер расчёта ---------- */
.pe-pop {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 0;
  width: min(470px, calc(100vw - 40px));
}

.pe-pop[hidden] { display: none; }

.pe-pop-bd { display: none; }

.pe-pop-in {
  position: relative;
  padding: 18px 20px 20px;
  border-radius: 18px;
  border: 1px solid rgba(174, 198, 235, .18);
  background: linear-gradient(158deg, rgba(14, 32, 60, .93), rgba(5, 14, 31, .95));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 26px 64px rgba(0, 6, 18, .52);
  opacity: 0;
  transform: translateY(-8px) scale(.985);
  transform-origin: 12% 0;
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}

.pe-pop.is-open .pe-pop-in {
  opacity: 1;
  transform: none;
}

/* Кадр сцены обрезан по 100svh, и на низких экранах поповер не помещался
   под кнопкой. Тогда раскрываем его вверх. */
.pe-pop.is-up {
  top: auto;
  bottom: calc(100% + 12px);
}

.pe-pop.is-up .pe-pop-in {
  transform-origin: 12% 100%;
  transform: translateY(8px) scale(.985);
}

.pe-pop.is-up.is-open .pe-pop-in {
  transform: none;
}

.pe-pop-grab { display: none; }

.pe-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pe-pop-head b {
  color: var(--soft);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
}

.pe-pop-x {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 0;
  background: rgba(255, 255, 255, .05);
  color: var(--soft);
  font-size: 12px;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.pe-pop-x:hover { background: rgba(255, 255, 255, .1); color: #eaf7fa; }
.pe-pop-x:focus-visible { outline: 2px solid rgba(25, 229, 255, .72); outline-offset: 2px; }

.pe-pop-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: pe-calc;
}

.pe-pop-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.pe-pop-list li::before {
  counter-increment: pe-calc;
  content: counter(pe-calc);
  position: absolute;
  left: 0;
  top: .1em;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(25, 229, 255, .12);
  color: rgba(150, 226, 240, .95);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Планшет ---------- */
@media (max-width: 1060px) {
  .pe-row { column-gap: clamp(18px, 2.6vw, 34px); }
  .pe-item + .pe-item::before { left: calc(clamp(18px, 2.6vw, 34px) / -2); }
}

/* ---------- Мобильный: колонка + нижняя шторка ---------- */
@media (max-width: 760px) {
  .pe-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: clamp(26px, 7vw, 38px);
  }
  .pe-item {
    grid-row: auto;
    grid-template-rows: auto auto;
  }
  /* по вертикали линия становится горизонтальной над блоком */
  .pe-item + .pe-item::before {
    top: calc(clamp(26px, 7vw, 38px) / -2);
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--pe-rule, rgba(195, 255, 248, .2)), transparent 78%);
    transform: scaleX(var(--pe-td, 0));
    transform-origin: 0 50%;
  }

  .pe-calc { min-height: 44px; padding: 11px 18px; }

  .pe-pop {
    position: fixed;
    z-index: 1200;
    inset: auto 0 0 0;
    top: auto;
    width: auto;
  }
  .pe-pop-bd {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(1, 6, 15, .62);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-standard);
  }
  .pe-pop.is-open .pe-pop-bd { opacity: 1; }

  .pe-pop-in {
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
    padding: 12px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    opacity: 1;
    transform: translateY(100%);
    transition: transform var(--dur-base) var(--ease-standard);
  }
  .pe-pop.is-open .pe-pop-in { transform: none; }

  .pe-pop-grab {
    display: block;
    width: 38px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(196, 218, 226, .28);
  }
  .pe-pop-x { width: 34px; height: 34px; }
}

/* ---------- Без анимации ---------- */
@media (prefers-reduced-motion: reduce) {
  .pe-fig,
  .pe-label {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pe-item + .pe-item::before { transform: none !important; transition: none; }
  .pe-pop-in { transition: opacity var(--dur-fast) linear; }
}

/* ============================================================
   2026-08-01 (d): «Эффект» — второй кадр той же закреплённой сцены.
   Раньше блок жил отдельной секцией со своим фоном и собственным
   IntersectionObserver: сцена заканчивалась, экран отлипал, и эффект
   появлялся сам по себе. Теперь оба кадра лежат в одном .ps-stage
   и раскрываются общим прогрессом дорожки.
   ============================================================ */

/* Оба кадра занимают одну и ту же ячейку сетки сцены */
.ps-stage {
  place-items: stretch;
  grid-template: 1fr / 1fr;
}

.ps-inner,
.ps-frame {
  grid-area: 1 / 1;
  min-width: 0;
}

/* Прогресс раскрытия держим в кастомных свойствах: так одним и тем же
   набором правил пользуются оба режима — скраб по сцене на десктопе
   и обычный переход по появлению на мобильном. @property делает их
   анимируемыми, иначе переход по числу не работает. */
@property --pe-tf { syntax: "<number>"; initial-value: 0; inherits: true; }
@property --pe-tl { syntax: "<number>"; initial-value: 0; inherits: true; }
@property --pe-td { syntax: "<number>"; initial-value: 0; inherits: true; }

.pe-fig {
  opacity: var(--pe-tf, 0);
  transform:
    translate3d(0, calc((1 - var(--pe-tf, 0)) * 108%), 0)
    rotateX(calc((1 - var(--pe-tf, 0)) * -16deg));
  transition: --pe-tf .84s var(--ease-standard);
  transition-delay: calc(var(--pe-i, 0) * 120ms);
}

.pe-label {
  opacity: var(--pe-tl, 0);
  transform:
    translate3d(0, calc((1 - var(--pe-tl, 0)) * 108%), 0)
    rotateX(calc((1 - var(--pe-tl, 0)) * -16deg));
  transition: --pe-tl .84s var(--ease-standard);
  transition-delay: calc(var(--pe-i, 0) * 120ms + 90ms);
}

/* сам transform задан выше — здесь только скорость появления линии */
.pe-item + .pe-item::before {
  transition: --pe-td .92s var(--ease-standard);
  transition-delay: calc(var(--pe-i, 0) * 120ms);
}

.pe-row.is-in .pe-item {
  --pe-tf: 1;
  --pe-tl: 1;
  --pe-td: 1;
}

/* Скраб по сцене: значения приходят покадрово, переход только мешает */
.pe-row.is-scrubbed .pe-fig,
.pe-row.is-scrubbed .pe-label,
.pe-row.is-scrubbed .pe-item + .pe-item::before {
  transition: none;
}

/* Кнопка расчёта приходит последней */
.pe-foot {
  opacity: var(--pe-tb, 0);
  transform: translate3d(0, calc((1 - var(--pe-tb, 0)) * 16px), 0);
}

@property --pe-tb { syntax: "<number>"; initial-value: 0; inherits: true; }

.ps-frame.is-live .pe-foot { --pe-tb: 1; }

@media (max-width: 760px) {
  
  /* Нижняя шторка позиционируется fixed, а любой transform на предке
     делает его containing block — и шторка перестаёт прижиматься к окну.
     На мобильном кнопка и так видна сразу, движение здесь не нужно. */
  .pe-foot { --pe-tb: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  
  /* значения выставляем через те же переменные, чтобы не перебить
     горизонтальную линию мобильной раскладки вертикальной scaleY */
  .pe-item { --pe-tf: 1; --pe-tl: 1; --pe-td: 1; }
  .pe-fig, .pe-label { transform: none; transition: none; }
  .pe-item + .pe-item::before { transition: none; }
  .pe-foot { --pe-tb: 1; transform: none; }
}

/* ============================================================
   2026-08-01 (e): «Стоимость» — строчный леджер третьим кадром
   той же сцены. Ни карточек, ни контейнеров, ни теней: только
   строки, разделённые тонкими линиями. Линии продолжают те, что
   стояли между колонками предыдущего кадра, — поэтому растут не
   из центра, а из их горизонтальных позиций.
   ============================================================ */
@property --pc-t { syntax: "<number>"; initial-value: 0; inherits: true; }
@property --pc-r { syntax: "<number>"; initial-value: 0; inherits: true; }

.pc-ledger {
  display: grid;
}

.pc-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 4vw, 88px);
  row-gap: clamp(6px, .8vw, 12px);
  align-items: baseline;
  padding-block: clamp(20px, 2.8vw, 38px);
}

/* Линия строки. transform-origin повторяет положение вертикальных
   разделителей кадра «Эффект»: первая строка растёт из 33.33%,
   вторая — из 66.67%, замыкающая — из середины. */
.pc-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pe-rule, rgba(195, 255, 248, .2)) 6%, var(--pe-rule, rgba(195, 255, 248, .2)) 94%, transparent);
  transform: scaleX(var(--pc-r, 0));
  transform-origin: var(--pc-from, 50%) 50%;
}

/* Разделители кадра «Эффект» стоят в середине межколонника, то есть на
   33.333% минус шестая часть зазора (и симметрично справа). Повторяем
   формулу, а не круглые проценты, — иначе линии стартуют мимо на ~10px. */
.pc-row:nth-child(odd) .pc-rule { --pc-from: calc(33.333% - clamp(24px, 3.4vw, 62px) / 6); }
.pc-row:nth-child(even) .pc-rule { --pc-from: calc(66.667% + clamp(24px, 3.4vw, 62px) / 6); }

.pc-rule-end {
  position: relative;
  display: block;
  height: 1px;
  --pc-from: 50%;
}

/* Развёртка строк — горизонтальная протяжка, без переворотов */
.pc-name,
.pc-price,
.pc-desc {
  display: block;
  min-width: 0;
  clip-path: inset(0 calc((1 - var(--pc-t, 0)) * 100%) 0 0);
}

.pc-name {
  grid-column: 1;
  grid-row: 1;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 34px);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.pc-price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.9vw, 30px);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(96deg, #0A70F5 0%, #19C8E8 46%, #C3FFF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pc-desc {
  grid-column: 1;
  grid-row: 2;
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(13.5px, 1vw, 16px);
  line-height: 1.5;
}

/* Путь без сцены: раскрытие по появлению блока */
.pc-ledger.is-in .pc-row,
.pc-ledger.is-in {
  --pc-t: 1;
  --pc-r: 1;
}

.pc-name,
.pc-price,
.pc-desc {
  transition: --pc-t .82s var(--ease-standard);
  transition-delay: calc(var(--pc-i, 0) * 140ms);
}

.pc-desc { transition-delay: calc(var(--pc-i, 0) * 140ms + 80ms); }

.pc-rule {
  transition: --pc-r .9s var(--ease-standard);
  transition-delay: calc(var(--pc-i, 0) * 140ms);
}

.pc-ledger.is-scrubbed .pc-name,
.pc-ledger.is-scrubbed .pc-price,
.pc-ledger.is-scrubbed .pc-desc,
.pc-ledger.is-scrubbed .pc-rule {
  transition: none;
}

@media (max-width: 760px) {
  .pc-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
    padding-block: clamp(18px, 5vw, 26px);
  }
  .pc-name { grid-row: 1; }
  .pc-price { grid-column: 1; grid-row: 2; justify-self: start; text-align: left; }
  .pc-desc { grid-column: 1; grid-row: 3; margin-top: 4px; }
  /* На мобильном разделители предыдущего кадра горизонтальные и растут
     слева — линии леджера продолжают их оттуда же. Специфичность должна
     совпадать с :nth-child-правилами выше, иначе они перебьют. */
  .pc-row:nth-child(odd) .pc-rule,
  .pc-row:nth-child(even) .pc-rule,
  .pc-rule-end { --pc-from: 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-ledger { --pc-t: 1; --pc-r: 1; }
  .pc-name, .pc-price, .pc-desc, .pc-rule { transition: none; }
}

/* ============================================================
   2026-08-02: сцена без анимации.
   Движок кадров не запускается при prefers-reduced-motion, а все три
   кадра лежат в одной ячейке сетки — без раскладки они наложились бы
   друг на друга. Здесь сцена разбирается в обычный вертикальный поток,
   как на узких экранах.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  

  .ps-stage {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }

  .ps-inner {
    display: block;
    padding-block: clamp(96px, 12vh, 132px) clamp(40px, 6vh, 72px);
  }

  .ps-body { display: block; height: auto; }
  .ps-side { display: block; }

  .ps-caps,
  .ps-channel {
    grid-area: auto;
    position: static;
    translate: none;
    width: 100%;
  }

  .ps-channel { margin-top: clamp(22px, 3vw, 34px); }

  .ps-devices {
    position: relative;
    height: auto;
    min-width: 0;
    margin-top: clamp(34px, 5vw, 56px);
    padding-bottom: clamp(48px, 7vw, 88px);
  }

  .ps-laptop {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(100%, 640px);
    margin-inline: auto;
    translate: none;
  }

  .ps-phone {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: min(26%, 210px);
    margin: 0;
    translate: none;
  }

  

  
}

/* ============================================================
   2026-08-02: финальный кадр — CTA и раскрытие футера шторкой.
   Панель призыва стала четвёртым кадром той же сцены, а футер лежит
   под страницей: main непрозрачен и едет по нему вверх, открывая
   футер снизу. Зазора между ними нет — низ сцены и есть кромка шторки.
   ============================================================ */
@property --pcta-t { syntax: "<number>"; initial-value: 0; inherits: true; }

/* Компактная стеклянная панель: копия слева, кнопка справа */
.pcta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
  padding: clamp(24px, 2.8vw, 40px) clamp(24px, 3vw, 46px);
  border-radius: clamp(20px, 1.8vw, 28px);
  border: 1px solid rgba(195, 255, 248, .12);
  background:
    linear-gradient(158deg, rgba(195, 255, 248, .08), rgba(195, 255, 248, .02) 58%),
    rgba(6, 18, 38, .55);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    inset 1.5px 1.5px 2px rgba(214, 245, 255, .2),
    inset -1.5px -1.5px 2px rgba(0, 8, 24, .4),
    0 18px 44px rgba(0, 6, 18, .38);
  opacity: var(--pcta-t, 0);
  transform: translate3d(0, calc((1 - var(--pcta-t, 0)) * 34px), 0);
}

.pcta-glow {
  position: absolute;
  z-index: 0;
  inset: -34% 12% auto;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(25, 207, 233, .16), transparent 66%);
  filter: blur(48px);
  pointer-events: none;
}

.pcta-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: clamp(8px, 1vw, 14px);
}

.pcta-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.pcta-copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(14px, 1.04vw, 17px);
  line-height: 1.5;
}

.pcta .btn {
  position: relative;
  z-index: 1;
  flex: none;
  white-space: nowrap;
}

/* Путь без сцены */
.ps-frame-cta.is-in .pcta,
.ps-frame-cta.is-live .pcta { --pcta-t: 1; }

.pcta {
  transition: --pcta-t .8s var(--ease-standard);
}

.ps-frame-cta.is-scrubbed .pcta { transition: none; }

/* ---------- Шторка футера ----------
   Футер прижат к низу окна и всё время лежит под страницей. main
   непрозрачен и перекрывает его; на последних экранах прокрутки
   main уезжает вверх и открывает футер. */
/* Класс вешает движок и только когда футер реально помещается в окно:
   на мобильном он занимает 871px при экране 844 и как шторка сломался бы. */
body.pp .site-page.has-curtain > main {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(7, 103, 240, .18), transparent 34%),
    radial-gradient(ellipse at 88% 24%, rgba(30, 196, 234, .12), transparent 36%),
    #020914;
}

body.pp .site-page.has-curtain > .footer-glass {
  position: sticky;
  bottom: 0;
  z-index: 0;
}

@media (max-width: 860px) {
  .pcta {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 4vw, 26px);
  }
  .pcta .btn { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .pcta { --pcta-t: 1; transition: none; transform: none; }
  
}

/* ============================================================
   2026-08-02: раздел «Наши продукты» — доработка витрины.
   Конструкция сохранена: заголовок и лид, описание слева, ноутбук
   по центру, показатели справа, стрелки, нижняя навигация 01–05.
   Правки точечные: иерархия заголовков, единая сетка слайдов,
   выравнивание по левому краю, масштаб сцены, общий стеклянный язык.
   ============================================================ */

/* Единый холодный стеклянный язык для управляющих элементов витрины */
#products .showcase {
  --sc-line: rgba(174, 205, 235, .2);
  --sc-line-hi: rgba(56, 182, 216, .5);
  --sc-fill: rgba(6, 20, 42, .55);
  --sc-fill-hi: rgba(10, 30, 58, .72);
  --sc-accent: #38b6d8;
}

/* Утилита для доступных подписей, которых не видно */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Рабочая ширина раздела ----------
   Секция расширена с 1240 до 1540: сцена была мелковата относительно
   свободного пространства вокруг. */
#products > .container {
  width: min(1540px, calc(100vw - 56px));
}

/* ---------- Иерархия: раздел → продукт → описание ---------- */
#products .section-header {
  text-align: left;
  max-width: none;
  margin-inline: 0;
  margin-bottom: clamp(44px, 4.4vw, 78px);
}

#products .section-header h2 {
  font-size: clamp(34px, 3.4vw, 60px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}

#products .section-header p {
  max-width: 1280px;
  margin-top: clamp(14px, 1.4vw, 24px);
  color: var(--muted);
  font-size: clamp(16px, 1.22vw, 22px);
  line-height: 1.45;
}

/* ---------- Единая сетка сцены ----------
   Колонки заданы жёстко, поэтому при переключении продукта не двигаются
   ни колонки, ни ноутбук, ни стрелки, ни кнопка, ни показатели. */
#products .showcase-stage {
  grid-template-columns: minmax(0, 410px) minmax(0, 1fr) minmax(0, 350px);
  gap: clamp(28px, 3.4vw, 65px);
  align-items: center;
  min-height: clamp(360px, 27vw, 470px);
  cursor: grab;
}

#products .showcase-stage.is-dragging { cursor: grabbing; }

/* ---------- Левая колонка: единое выравнивание по левому краю ---------- */
#products .showcase-copy {
  text-align: left;
}

/* Слайд — две фиксированные зоны: контейнер названия и контейнер
   описания. Их размеры одинаковы на всех пяти слайдах, поэтому тексты
   разной длины больше не двигают композицию. */
#products .showcase-item {
  display: grid;
  grid-template-rows: clamp(76px, 6.4vw, 108px) auto;
  row-gap: clamp(12px, 1.2vw, 20px);
  align-content: start;
}

#products .showcase-item h3 {
  margin: 0;
  align-self: end;
  /* Потолок 39, а не 42: «ИИ Пресс-Офис» набрано неразрывно и при 42px
     занимает 429px в колонке 410. При 39px — 398px, запас 12px. */
  font-size: clamp(26px, 2.2vw, 39px);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Составные части названия не разрываются: «ИИ-» не остаётся на строке
   одна, кавычки не уезжают отдельно. */
#products .showcase-item h3 .sc-nb {
  white-space: nowrap;
}

/* Сдержанный градиент System Blue → Cyan вместо прежнего яркого
   трёхточечного: название продукта — содержимое карусели, а не второй
   заголовок страницы. */
#products .showcase-item h3 a {
  background: linear-gradient(104deg, #2f7ef0 0%, #38b6d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#products .showcase-item h3 a:hover,
#products .showcase-item h3 a:focus-visible {
  filter: brightness(1.1);
}

#products .showcase-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14.5px, 1.12vw, 19px);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* ---------- Центральная зона ----------
   Стрелки вынесены в абсолют по краям колонки: ноутбук больше не делит
   с ними ширину и вырос, а положение стрелок от слайда не зависит. */
#products .showcase-center {
  position: relative;
  padding-inline: 0;
}

/* +10% к прежним 477px. Больше нельзя: при 560px корпус доходил до
   1261px и правая стрелка (с 1256px) начинала его перекрывать. */
#products .showcase-laptop {
  width: min(100%, 525px);
  max-width: none;
  margin-inline: auto;
}

/* Свечение под устройством — одно для всех продуктов: один оттенок,
   одна интенсивность, одна площадь. */
#products .showcase-laptop::before {
  right: 9%;
  left: 9%;
  bottom: -1%;
  height: 18%;
  background: radial-gradient(ellipse at 50% 52%, rgba(25, 190, 233, .26) 0%, rgba(20, 122, 255, .15) 44%, rgba(0, 102, 255, 0) 74%);
  filter: blur(38px);
  opacity: .9;
}

/* ---------- Стрелки ---------- */
#products .showcase-nav {
  width: clamp(44px, 3.4vw, 52px);
  height: clamp(44px, 3.4vw, 52px);
  border-radius: 50%;
  border: 1px solid var(--sc-line);
  background: var(--sc-fill);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(214, 240, 255, .1);
  color: var(--soft);
}

#products .showcase-nav-prev { left: 0; }
#products .showcase-nav-next { right: 0; }

#products .showcase-nav:hover {
  border-color: var(--sc-line-hi);
  background: var(--sc-fill-hi);
  color: var(--ink);
}

#products .showcase-nav-prev:hover { transform: translateX(-2px); }
#products .showcase-nav-next:hover { transform: translateX(2px); }
#products .showcase-nav:active { filter: brightness(.94); }

#products .showcase-nav[disabled] {
  opacity: .34;
  cursor: default;
  pointer-events: none;
}

#products .showcase-nav svg { width: 19px; height: 19px; }

/* ---------- Правая колонка ---------- */
#products .showcase-side {
  align-content: center;
  gap: clamp(16px, 1.7vw, 26px);
}

/* Текст эффекта занимает две строки всегда: даже если формулировка
   короче, блок «Внедрение» не поднимается. */
#products .showcase-fact strong {
  color: var(--ink);
  font-size: clamp(13.5px, 1.02vw, 16px);
  font-weight: 600;
  line-height: 1.42;
}

#products .showcase-fact span:first-child strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.84em;
}

#products .showcase-fact small {
  color: var(--muted-2);
}

#products .showcase-fact span {
  border-left: 1px solid var(--sc-line);
}

/* ---------- Кнопка «Подробнее» ---------- */
#products .showcase-more {
  padding: 12px 22px;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: var(--sc-fill);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(214, 240, 255, .1);
  color: var(--soft);
  font-size: 13.5px;
}

#products .showcase-more span {
  color: rgba(120, 200, 224, .82);
}

#products .showcase-more:hover {
  border-color: var(--sc-line-hi);
  background: var(--sc-fill-hi);
  color: var(--ink);
}

#products .showcase-more:hover span { transform: translate(3px, -3px); }

/* ---------- Нижняя навигация ----------
   Цифры остаются компактными, растёт только область нажатия. */
#products .showcase-tick {
  position: relative;
  padding: 10px 6px;
}

#products .showcase-tick::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  translate: -50% -50%;
}

#products .showcase-tick.is-active i {
  background: linear-gradient(90deg, #2f7ef0, #38b6d8);
}

#products .showcase-nav:focus-visible,
#products .showcase-tick:focus-visible,
#products .showcase-more:focus-visible {
  outline: 2px solid rgba(56, 182, 216, .8);
  outline-offset: 3px;
}

/* ---------- Планшет и мобильный ---------- */
@media (max-width: 1060px) {
  #products .showcase-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  #products .showcase-item { grid-template-rows: auto auto; }
  #products .showcase-item h3 { align-self: start; }
  #products .showcase-side { justify-items: start; }
}

@media (max-width: 760px) {
  #products .section-header h2 { font-size: clamp(30px, 8.6vw, 44px); }
  #products .section-header p { font-size: clamp(15px, 4.2vw, 18px); }
  #products .showcase-item h3 { font-size: clamp(26px, 8vw, 34px); }
  #products .showcase-item p { -webkit-line-clamp: 6; }
  #products .showcase-nav { opacity: .72; }
  #products .showcase-laptop { width: min(100%, 460px); }
}

/* ---------- Без анимации ----------
   Горизонтального пролёта нет, остаётся короткий crossfade. Свайп,
   стрелки и цифровая навигация продолжают работать. */
@media (prefers-reduced-motion: reduce) {
  #products .showcase-item,
  #products .showcase-fact {
    transform: none !important;
    transition: opacity var(--dur-fast) linear;
  }
  #products .showcase-screen-layer {
    transform: none !important;
    filter: none !important;
    transition: opacity var(--dur-fast) linear;
  }
}

/* Слежение за жестом: активный слайд и ноутбук идут за пальцем на
   ограниченную дистанцию, после отпускания смещение снимается. */
#products .showcase-item.is-active,
#products .showcase-center {
  translate: var(--sc-drag, 0px) 0;
}

#products .showcase-stage:not(.is-dragging) .showcase-item.is-active,
#products .showcase-stage:not(.is-dragging) .showcase-center {
  transition: translate var(--dur-base) var(--showcase-ease);
}

/* ---------- Витрина: порядок блоков на планшете и мобильном ----------
   Прежние правила ставили ноутбук первым (order: -1) и возвращали
   тексту центрирование — оба противоречат новой раскладке:
   название → описание → ноутбук → эффект → стоимость → кнопка → номера. */
@media (max-width: 1060px) {
  #products .showcase-center {
    order: 0;
    padding-inline: clamp(34px, 7vw, 52px);
  }
  #products .showcase-copy { text-align: left; }
  #products .showcase-item h3 { font-size: clamp(28px, 3.4vw, 36px); }
  #products .showcase-side { justify-items: start; }
  /* кнопка уходит под показатели */
  #products .showcase-side .showcase-more { order: 1; margin-bottom: 0; }
  #products .showcase-fact { justify-content: flex-start; }
}

@media (max-width: 760px) {
  #products .section-header h2 { font-size: clamp(34px, 9.8vw, 44px); }
  #products .showcase-item h3 { font-size: clamp(28px, 8vw, 34px); }
  #products .showcase-item p { font-size: clamp(15.5px, 4.3vw, 18px); }
  #products .showcase-fact { flex-direction: column; gap: 16px; }
  #products .showcase-fact span { max-width: none; }
}

/* Класс достался от прежнего названия раздела; ограничение ширины
   теперь задаётся самим .section-header. */
#products .flagship-heading {
  max-width: none;
}

/* line-height 1.1 плюс overflow: hidden срезали выносные элементы
   («р», «д»). Внутренний отступ даёт им запас, отрицательное поле
   возвращает блок на прежнее место. */
#products .showcase-item h3 {
  padding-block: .14em;
  margin-block: -.14em;
}

/* ============================================================
   2026-08-02: блок «Команда» — портреты без круглой маски.
   Центральная композиция, тёмно-синий фон, два профиля в ряд и
   типографика сохранены. Круглый контейнер с overflow: hidden убран:
   именно он обрезал человека при наведении. Портрет теперь свободно
   лежит над мягкой подсветкой.
   ============================================================ */
#team .team-head {
  max-width: 980px;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}

#team .team-head p {
  max-width: 960px;
  margin: clamp(22px, 2.2vw, 30px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 23px);
  line-height: 1.5;
  text-align: center;
}

#team .team-cards {
  max-width: 960px;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: clamp(48px, 8vw, 140px);
}

#team .team-member {
  display: grid;
  justify-items: center;
  /* обёртка профиля тоже обрезала по границе: при наведении выросший
     портрет срезало сверху на 15px — ровно тот дефект, ради которого
     убирали круглую маску */
  overflow: visible;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
  /* профили никуда не ведут — ложной кликабельности быть не должно */
  cursor: default;
}

#team .team-member:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

/* Три независимых слоя: подсветка, вырезанный портрет, подпись.
   overflow: visible — портрету есть куда расти при наведении. */
#team .team-portrait {
  position: relative;
  width: clamp(240px, 22vw, 330px);
  height: clamp(240px, 22vw, 330px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  display: grid;
  place-items: end center;
}

#team .team-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 46%;
  width: 116%;
  height: 104%;
  translate: -50% -50%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(47, 126, 240, .5) 0%,
    rgba(56, 182, 216, .26) 42%,
    rgba(20, 122, 255, 0) 78%);
  filter: blur(26px);
  opacity: .13;
  transition: opacity var(--dur-base) var(--ease-emphasis), scale var(--dur-base) var(--ease-emphasis);
}

#team .team-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  /* contain, а не cover: кадрирование задано в самом файле */
  object-fit: contain;
  object-position: bottom center;
  border-radius: 0;
  transform-origin: center bottom;
  transition: transform var(--dur-base) var(--ease-emphasis);
  /* нижние 8% растворяются, чтобы вырез не выглядел наклеенным */
  -webkit-mask-image: linear-gradient(180deg, #000 90%, rgba(0, 0, 0, .5) 96%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 90%, rgba(0, 0, 0, .5) 96%, transparent 100%);
}

#team .team-member:hover .team-portrait img {
  transform: translateY(-6px) scale(1.028);
}

#team .team-member:hover .team-glow {
  opacity: .2;
  scale: 1.08;
}

/* ---------- Подписи ---------- */
#team .team-body {
  padding: 0;
  text-align: center;
}

#team .team-member h3 {
  /* отступ меньше номинала: сверху к нему добавляется межстрочное поле
     строки, и фактический зазор до портрета выходит на 14px больше */
  margin: clamp(6px, .7vw, 10px) 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.15;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-emphasis);
}

#team .team-member .team-role {
  display: block;
  margin-top: clamp(5px, .5vw, 9px);
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 500;
  line-height: 1.35;
  transition: color var(--dur-base) var(--ease-emphasis);
}

#team .team-member:hover h3 { color: #f4fffd; }
#team .team-member:hover .team-role { color: var(--soft); }

/* ---------- Планшет ---------- */
@media (max-width: 1060px) {
  #team .team-cards { gap: clamp(48px, 7vw, 72px); }
  #team .team-portrait {
    width: clamp(240px, 26vw, 280px);
    height: clamp(240px, 26vw, 280px);
  }
}

/* ---------- Мобильный: профили друг под другом ---------- */
@media (max-width: 640px) {
  #team .team-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
    gap: clamp(56px, 14vw, 72px);
  }
  #team .team-portrait {
    width: min(100%, 300px);
    height: min(100vw - 56px, 300px);
  }
  /* приближение по наведению на тач-устройствах не нужно */
  #team .team-member:hover .team-portrait img { transform: none; }
  #team .team-member:hover .team-glow { opacity: .13; scale: 1; }
}

/* ---------- Без анимации ---------- */
@media (prefers-reduced-motion: reduce) {
  #team .team-portrait img { transform: none !important; transition: none; }
  #team .team-member:hover .team-glow { scale: 1; }
  #team .team-glow { transition: opacity var(--dur-fast) linear; }
  #team .team-member h3,
  #team .team-member .team-role { transition: none; }
}

/* Базовый h2 ограничен max-width: 820px без авто-полей, поэтому внутри
   980-пиксельного .team-head он прижимался к левому краю, а текст
   центрировался по своей коробке — заголовок уезжал влево на 80px. */
#team .team-head h2 {
  max-width: none;
  margin-inline: auto;
}

/* ============================================================
   2026-08-02: контактное окно на нативном <dialog>.
   Сохранены тёмная полупрозрачная поверхность, крупный заголовок,
   редактируемый текст, четыре способа связи с подсветкой по наведению,
   сине-голубая палитра и крестик в углу. Убрана выпуклая 3D-кнопка:
   копирование переехало в шапку блока сообщения.
   ============================================================ */
dialog.contact-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 2vw, 32px);
  border: 0;
  overflow: hidden;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
}

dialog.contact-modal:not([open]) { display: none; }

dialog.contact-modal::backdrop {
  background: rgba(2, 7, 18, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background-color var(--dur-base) var(--ease-standard), backdrop-filter var(--dur-base) var(--ease-standard);
}

dialog.contact-modal.is-open::backdrop {
  background: rgba(2, 7, 18, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Свет расходится из центра нажатой кнопки — видно, откуда окно */
.contact-beam {
  position: fixed;
  z-index: 0;
  left: var(--contact-ox, 50%);
  top: var(--contact-oy, 50%);
  width: 150vmax;
  height: 150vmax;
  translate: -50% -50%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(47, 126, 240, .3) 0%,
    rgba(56, 182, 216, .12) 34%,
    rgba(20, 122, 255, 0) 68%);
  opacity: 0;
  scale: .3;
  transition: opacity var(--dur-base) var(--ease-standard), scale var(--dur-slow) var(--ease-emphasis);
}

dialog.contact-modal.is-open .contact-beam { opacity: 1; scale: 1; }
dialog.contact-modal.is-closing .contact-beam { opacity: 0; scale: .9; }

/* ---------- Поверхность ---------- */
dialog.contact-modal .contact-sheet {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 3.4vw, 54px);
  border-radius: clamp(20px, 2.2vw, 30px);
  /* одна тонкая холодная обводка вместо двойного контура */
  border: 1px solid rgba(174, 205, 235, .14);
  background: linear-gradient(168deg, rgba(16, 32, 56, .9), rgba(7, 17, 34, .94));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px rgba(0, 6, 18, .55);
  opacity: 0;
  transform: translateY(28px) scale(.96);
  transition:
    opacity var(--dur-base) var(--ease-standard),
    transform var(--dur-slow) var(--ease-emphasis);
}

dialog.contact-modal.is-open .contact-sheet {
  opacity: 1;
  transform: none;
}

dialog.contact-modal.is-closing .contact-sheet {
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}

/* ---------- Ступенчатое появление содержимого ---------- */
.contact-lead-group,
.contact-message-editor,
.contact-actions .contact-action {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-slow) var(--ease-emphasis);
}

dialog.contact-modal.is-open .contact-lead-group,
dialog.contact-modal.is-open .contact-message-editor,
dialog.contact-modal.is-open .contact-actions .contact-action {
  opacity: 1;
  transform: none;
}

dialog.contact-modal.is-open .contact-lead-group { transition-delay: .16s; }
dialog.contact-modal.is-open .contact-message-editor { transition-delay: .21s; }
dialog.contact-modal.is-open .contact-actions .contact-action {
  transition-delay: calc(.27s + var(--contact-i, 0) * .05s);
}

/* ---------- Заголовок и пояснение ---------- */
dialog.contact-modal .contact-lead-group h2 {
  margin: 0;
  max-width: 22ch;
}

dialog.contact-modal .contact-lead-group p {
  margin: clamp(10px, 1vw, 16px) 0 0;
  max-width: 68ch;
}

/* ---------- Блок сообщения ---------- */
dialog.contact-modal .contact-message-editor {
  margin-top: clamp(20px, 2.4vw, 34px);
  display: grid;
  gap: 10px;
}

.contact-draft-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.contact-draft-label {
  color: var(--muted);
  font-size: clamp(12.5px, .92vw, 14px);
  font-weight: 600;
  letter-spacing: .01em;
}

/* Вторичная кнопка: без объёма, фаски и выпуклой нижней части */
.contact-copy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 13px;
  border: 1px solid rgba(174, 205, 235, .2);
  background: rgba(10, 24, 46, .72);
  color: var(--soft);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.contact-copy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-copy .contact-copy-ok { display: none; }
.contact-copy.is-copied .contact-copy-i { display: none; }
.contact-copy.is-copied .contact-copy-ok { display: block; }

.contact-copy:hover {
  background: rgba(24, 60, 104, .78);
  border-color: rgba(56, 182, 216, .48);
  color: #eaf7fa;
}

.contact-copy:active { background: rgba(14, 38, 70, .85); }

.contact-copy:focus-visible {
  outline: 2px solid rgba(56, 182, 216, .8);
  outline-offset: 3px;
}

.contact-copy.is-copied {
  border-color: rgba(56, 182, 216, .55);
  color: #eaf7fa;
}

.contact-copy-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Крестик ---------- */
dialog.contact-modal .contact-close {
  position: absolute;
  top: clamp(14px, 1.6vw, 22px);
  right: clamp(14px, 1.6vw, 22px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .04);
  color: var(--soft);
  font-size: 0;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

dialog.contact-modal .contact-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

dialog.contact-modal .contact-close:hover {
  background: rgba(56, 182, 216, .16);
  border-color: rgba(56, 182, 216, .4);
  color: #eaf7fa;
}

dialog.contact-modal .contact-close:active { background: rgba(56, 182, 216, .24); }

dialog.contact-modal .contact-close:focus-visible {
  outline: 2px solid rgba(56, 182, 216, .85);
  outline-offset: 3px;
}

/* ---------- Способы связи: полировка прежнего наведения ---------- */
dialog.contact-modal .contact-actions {
  margin-top: clamp(20px, 2.4vw, 34px);
}

dialog.contact-modal .contact-action {
  animation: none;
  transition:
    opacity var(--dur-base) var(--ease-standard),
    transform var(--dur-fast) var(--ease-emphasis),
    background-color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}

dialog.contact-modal.is-open .contact-action:hover {
  transform: translateY(-3px);
}

dialog.contact-modal .contact-action:focus-visible {
  outline: 2px solid rgba(56, 182, 216, .85);
  outline-offset: 3px;
}

dialog.contact-modal .contact-action:active { transform: translateY(-1px); }
dialog.contact-modal .contact-action:visited { color: inherit; }

/* длинная почта не должна вылезать за плитку */
dialog.contact-modal .contact-action small {
  overflow-wrap: anywhere;
}

/* Импульс на кнопке-источнике */
.is-contact-pulse {
  animation: contact-pulse .24s ease-out;
}

@keyframes contact-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 182, 216, .5); }
  100% { box-shadow: 0 0 0 14px rgba(56, 182, 216, 0); }
}

/* ---------- Планшет ---------- */
@media (max-width: 1024px) {
  dialog.contact-modal .contact-sheet { padding: clamp(24px, 4vw, 40px); }
  dialog.contact-modal .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Мобильный: почти полноэкранный диалог ---------- */
@media (max-width: 640px) {
  dialog.contact-modal { padding: 14px; }
  dialog.contact-modal .contact-sheet {
    width: 100%;
    max-height: calc(100dvh - 28px);
    padding: 20px 16px 22px;
    padding-top: max(20px, env(safe-area-inset-top));
    border-radius: 20px;
  }
  dialog.contact-modal .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-copy {
    padding: 10px 13px;
    min-height: 42px;
  }
  .contact-draft-label { font-size: 12.5px; }
}

@media (max-width: 380px) {
  dialog.contact-modal .contact-actions { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Без анимации: простое появление ---------- */
@media (prefers-reduced-motion: reduce) {
  dialog.contact-modal .contact-sheet,
  .contact-lead-group,
  .contact-message-editor,
  dialog.contact-modal .contact-actions .contact-action {
    transform: none !important;
    transition: opacity var(--dur-fast) linear !important;
    transition-delay: 0s !important;
  }
  .contact-beam { display: none; }
  .is-contact-pulse { animation: none; }
}

/* Прежняя 3D-кнопка была во всю ширину блока — новая компактная и
   стоит в строке заголовка редактора. */
dialog.contact-modal .contact-copy {
  width: auto;
  flex: none;
}

/* Вращение крестика на 90° — из прежней версии; по новой спецификации
   поворота быть не должно. */
dialog.contact-modal .contact-close:hover,
dialog.contact-modal .contact-close:focus-visible,
dialog.contact-modal .contact-close:active {
  transform: none;
}

/* Сброс наследия «жемчужной» кнопки: она была во всю ширину, с объёмной
   огранкой на пяти слоях теней и абсолютной галочкой поверх. Правила
   .contact-copy-wrap / -text / -star больше ни к чему не применяются,
   а вот сама .contact-copy и .contact-copy-ok — применяются. */
dialog.contact-modal .contact-copy,
dialog.contact-modal .contact-copy:hover,
dialog.contact-modal .contact-copy:active,
dialog.contact-modal .contact-copy:focus-visible {
  box-shadow: none;
  transform: none;
}

dialog.contact-modal .contact-copy:active {
  /* нажатие читается фоном, размеры не меняются */
  background: rgba(14, 38, 70, .9);
}

/* translate — самостоятельное свойство, а не часть transform: у прежней
   абсолютной галочки стояло `translate: 0 -50%` в паре с `top: 50%`.
   Сброс position и transform его не снимал, и галочка вставала на
   пол-высоты выше строки. */
dialog.contact-modal .contact-copy > .contact-copy-ok {
  position: static;
  inset: auto;
  width: 17px;
  height: 17px;
  opacity: 1;
  transform: none;
  translate: none;
  rotate: none;
  scale: none;
  color: inherit;
  font-size: 0;
  background: none;
}

/* Служебное поле для запасного пути копирования: вне экрана, но в DOM —
   execCommand требует, чтобы текст был выделен в реальном элементе. */
.contact-clip-helper {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Ряды сетки контактов считаются независимо, поэтому вторая пара плиток
   оказывалась выше первой. Выравниваем ряды по самой высокой. */
dialog.contact-modal .contact-actions {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

dialog.contact-modal .contact-action { height: 100%; }

@media (max-width: 640px) {
  /* почти полноэкранный лист: содержимое прокручивается внутри */
  dialog.contact-modal {
    padding: 12px;
    place-items: stretch;
  }
  dialog.contact-modal .contact-sheet {
    width: 100%;
    height: 100%;
    max-height: none;
  }
}

/* ============================================================
   2026-08-03: первый экран продуктовых страниц.
   Композиция, градиент заголовка, модель ноутбука и расположение
   колонок сохранены. Подзаголовок усилен, мини-заголовки функций
   сняты, описания стали крупными буллетами, интерфейс внутри экрана
   перестал обрезаться.
   ============================================================ */

/* ---------- Подзаголовок продукта ----------
   Читается как продолжение названия, а не отдельный блок: ближе,
   крупнее и контрастнее прежнего. */
.ps-lead {
  margin: clamp(12px, 1.1vw, 20px) 0 0;
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 27px);
  line-height: 1.35;
  font-weight: 400;
}

/* ---------- Функции: крупные буллеты без мини-заголовков ---------- */
.ps-caps {
  gap: clamp(16px, 1.7vw, 24px);
}

.ps-cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0 clamp(14px, 1.1vw, 17px);
}

/* Точка выравнивается по первой строке: половина её межстрочного
   интервала минус половина диаметра. */
.ps-cap::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: calc((1.45em - 7px) / 2);
  border-radius: 50%;
  background: linear-gradient(140deg, #0A70F5, #19C8E8);
  box-shadow: 0 0 9px rgba(25, 200, 232, .45);
}

.ps-cap-body {
  display: block;
  color: var(--soft);
  font-size: clamp(15px, 1.22vw, 21px);
  line-height: 1.45;
  font-weight: 400;
}

/* ---------- Баланс колонок ----------
   Текстовая колонка шире прежних 360px: буллеты крупнее и им нужна
   строка комфортной длины. */
.ps-body {
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
}

@media (max-width: 1440px) {
  .ps-body { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
}

@media (max-width: 1060px) and (min-width: 761px) {
  .ps-body { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
}

/* ---------- Экран внутри ноутбука ----------
   Скриншоты приведены к аспекту окна дисплея (1128x735), поэтому
   object-fit больше ничего не режет. Прежний cover подгонял картинку
   по высоте и срезал по 23px слева и справа — уезжали левое меню и
   правый край интерфейса. */
/* Окно выведено из прозрачной области laptop-frame-clean.webp
   (X 204..1331, Y 78..812 при холсте 1536x1024) и расширено на 5px
   в каждую сторону: рамка лежит поверх и прячет технические края.
   Скриншот растягивается в окно (fill), а не подгоняется по одной
   стороне — при cover срезало по 23px слева и справа, при contain
   оставались светлые полосы сверху и снизу. Вертикальная растяжка
   4,5% на глаз неразличима, зато не теряется ни пиксель интерфейса. */
.ps-laptop-screen {
  top: 7.13%;
  left: 12.96%;
  width: 74.09%;
  height: 72.66%;
  border-radius: 0;
  background: #eef1f6;
}

.ps-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

/* Подпись о канале живёт в той же колонке, что и буллеты, и после её
   расширения до 520px уезжала под телефон на 53px. Ей нужна своя,
   более узкая мера — так текст читается компактным блоком в 3–4 строки
   и не залезает на устройство. */
.ps-channel {
  width: min(100%, 400px);
}

@media (max-width: 1440px) {
  .ps-channel { width: min(100%, 340px); }
}

@media (max-width: 760px) {
  .ps-channel { width: 100%; }
}

/* ============================================================
   2026-08-03: продуктовая страница — дискретный секционный скролл.
   Прежняя модель (дорожка 760svh, sticky-сцена, четыре кадра в одной
   ячейке грида, состояние которых считалось от пикселей прокрутки)
   позволяла остановиться посреди появления сцены, на пустом кадре или
   между сценами. Теперь пять самостоятельных полноэкранных секций,
   между которыми невозможно встать: snap обязательный, а правило
   «один жест — одна секция» держит контроллер в site.js.
   ============================================================ */
:root {
  --pf-header: 75px;
  --pf-ease: var(--ease-standard);
}

/* Snap включаем только на продуктовых страницах */
html:has(> body.pp) {
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;          /* переход ведёт контроллер, не браузер */
}

body.pp .pf {
  position: relative;
}

/* Фон общий для всех секций и неподвижен: при переходе он не мигает */
body.pp .pf > .ps-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.pf-sec {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding-top: var(--pf-header);
  display: grid;
  align-content: center;
}

/* Последняя секция держит призыв и футер как одну законченную сцену */
#contact.pf-sec {
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr) auto;
  padding-bottom: 0;
}

.pf-inner {
  display: grid;
  align-content: center;
  min-height: 0;
}

#contact .pf-inner {
  grid-row: 1 / span 2;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
}

#contact .pf-inner > .container {
  align-self: center;
}

/* ---------- Переход ----------
   Уходящая секция на время перехода становится фиксированным слоем и
   остаётся на экране, пока входящая поднимается снизу. Прыжок прокрутки
   при этом мгновенный — snap встаёт точно, а пустого кадра не возникает. */
.pf-sec.is-leaving .pf-inner {
  position: fixed;
  inset: var(--pf-header) 0 0 0;
  z-index: 3;
  pointer-events: none;
  transform: translateY(-10vh);
  opacity: 0;
  transition:
    transform var(--dur-slow) var(--pf-ease),
    opacity var(--dur-slow) var(--ease-standard);
}

.pf-sec.is-entering .pf-inner {
  transform: translateY(10vh);
  opacity: 0;
}

.pf-sec.is-entering.is-active .pf-inner {
  transform: none;
  opacity: 1;
  transition:
    transform .56s var(--pf-ease),
    opacity var(--dur-slow) var(--ease-standard);
}

/* ---------- Содержимое секций ----------
   Кадры больше не лежат друг на друге и не прячутся по прогрессу. */
.ps-inner {
  height: auto;
  padding-block: 0;
  display: block;
}

.ps-head {
  transform: none !important;
  opacity: 1 !important;
}

.ps-body {
  height: auto;
  min-height: clamp(320px, 46dvh, 560px);
}

.ps-caps,
.ps-channel,
.ps-devices,
.ps-phone {
  opacity: 1;
  transform: none;
  grid-area: auto;
}

.ps-caps,
.ps-channel {
  position: static;
  translate: none;
}

.ps-devices {
  position: relative;
  height: 100%;
  min-height: clamp(320px, 46dvh, 560px);
}

/* Плитки возможностей проявляются один раз при открытии секции */
.pf-sec.is-active .ps-cap {
  animation: ps-cap-in .6s var(--pf-ease) both;
  animation-delay: calc(var(--ps-cap-i, 0) * 70ms + 120ms);
}

/* Внутренние анимации сцен запускаются от открытия секции,
   а не от количества прокрученных пикселей */
.pf-sec.is-active .pe-item {
  --pe-tf: 1;
  --pe-tl: 1;
  --pe-td: 1;
}

.pf-sec.is-active .pe-foot { --pe-tb: 1; }

.pf-sec.is-active .pc-row,
.pf-sec.is-active .pc-rule-end {
  --pc-t: 1;
  --pc-r: 1;
}

.pf-sec.is-active .pcta { --pcta-t: 1; }

/* ---------- Индикатор положения ---------- */
.pf-dots {
  position: fixed;
  z-index: 900;
  top: 50%;
  right: clamp(14px, 1.6vw, 26px);
  translate: 0 -50%;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.pf-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(174, 205, 235, .28);
  transition: background-color var(--dur-base) var(--ease-standard), scale var(--dur-base) var(--ease-standard);
}

.pf-dot:hover::before { background: rgba(174, 205, 235, .5); }

.pf-dot[aria-current="true"]::before {
  background: linear-gradient(140deg, #0A70F5, #19C8E8);
  scale: 1.45;
}

.pf-dot:focus-visible {
  outline: 2px solid rgba(56, 182, 216, .8);
  outline-offset: 2px;
  border-radius: 50%;
}

/* ---------- Низкие экраны ----------
   Если сцена не помещается, разрешаем прокрутку внутри неё, а не режем
   содержимое. */
@media (max-height: 780px) {
  .pf-sec { padding-top: calc(var(--pf-header) + 8px); }
  .ps-body { min-height: 0; }
  .ps-devices { min-height: 0; }
  .pf-inner { align-content: start; padding-block: clamp(12px, 2dvh, 28px); }
}

.pf-sec.is-scrollable .pf-inner {
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
}

/* ---------- Мобильный ---------- */
@media (max-width: 760px) {
  .pf-sec {
    min-height: 100dvh;
    padding-top: calc(var(--pf-header) + 10px);
  }
  .pf-inner { align-content: start; padding-block: 16px; }
  .ps-body { display: block; min-height: 0; }
  .ps-devices { height: auto; min-height: 0; }
}

/* ---------- Без анимации ----------
   Переход остаётся мгновенным, движение и масштабирование сняты. */
@media (prefers-reduced-motion: reduce) {
  .pf-sec.is-leaving .pf-inner,
  .pf-sec.is-entering .pf-inner,
  .pf-sec.is-entering.is-active .pf-inner {
    transform: none !important;
    transition: opacity var(--dur-fast) linear;
  }
  .pf-sec.is-active .ps-cap { animation: none; }
}

/* Ноутбук позиционирован абсолютно и по высоте больше своей колонки —
   даём контейнеру устройств его настоящую меру, иначе секция выглядит
   переполненной. Высота корпуса равна ширине, делённой на 1.5. */
.ps-devices {
  min-height: calc(var(--ps-lap-w, 0px) / 1.5);
}

@media (max-width: 760px) {
  .ps-devices { min-height: 0; }
}

/* Сцена выше окна: прокручиваем её содержимое внутри, а не режем.
   Переход к следующей секции — только после достижения нижней границы. */
.pf-sec.is-scrollable {
  min-height: 100dvh;
  height: 100dvh;
}

.pf-sec.is-scrollable .pf-inner {
  max-height: calc(100dvh - var(--pf-header));
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
}

/* Заголовки сцен «Эффект» и «Стоимость» брали размер и нижний отступ от
   правила .ps-frame h2. После пересборки в секции этого элемента нет, и
   заголовок прилипал к числам вплотную. Восстанавливаем на новой основе;
   призыв в #contact не трогаем — у него своя типографика. */
#effect h2,
#pricing h2 {
  margin: 0 0 clamp(26px, 3vw, 46px);
  max-width: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* ============================================================
   2026-08-03: «Наши продукты» — пересборка вертикали.
   Трёхколоночная структура, стрелки, свайп и нижняя навигация
   сохранены. Между вводным текстом и ноутбуком стояло 156px пустоты,
   из-за чего заголовок читался отдельно от сцены, а устройство
   проваливалось вниз. Сцена поднята и укрупнена, новых карточек и
   декора не добавлено.
   ============================================================ */
#products > .container {
  width: min(1760px, calc(100vw - 56px));
}

/* ---------- Верхний уровень ---------- */
#products .section-header {
  margin-bottom: clamp(40px, 4vw, 76px);
}

#products .section-header h2 {
  /* базовый h2 ограничен 820px — на 82px «Наши продукты» переносилось
     на вторую строку и раздвигало весь блок вниз */
  max-width: none;
  font-size: clamp(38px, 4.3vw, 82px);
  line-height: 1.0;
  /* к отступу сверху добавляется межстрочное поле строки лида,
     поэтому номинал меньше видимого зазора примерно на 14px */
  margin-bottom: clamp(10px, 1vw, 20px);
}

#products .section-header p {
  max-width: 1240px;
  margin-top: 0;
  font-size: clamp(17px, 1.36vw, 26px);
  line-height: 1.4;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Сцена ----------
   Ширина ноутбука — общая мера: от неё же считается высота центральной
   колонки, иначе абсолютный корпус вылезает за сцену. */
#products .showcase-stage {
  --sc-lap-w: clamp(460px, 36vw, 700px);
  grid-template-columns:
    minmax(320px, .9fr)
    minmax(520px, 1.25fr)
    minmax(300px, .78fr);
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
  min-height: 0;
}

#products .showcase-center {
  min-height: calc(var(--sc-lap-w) / 1.5);
}

#products .showcase-laptop {
  width: var(--sc-lap-w);
  max-width: none;
  max-height: 45dvh;
  margin-inline: auto;
}

/* Мягкое световое поле за нижней половиной дисплея. Оно связывает
   колонки и добавляет глубину — не подложка и не карточка. */
#products .showcase-laptop::before {
  right: -8%;
  left: -8%;
  bottom: 4%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 55%, rgba(47, 126, 240, .55) 0%, rgba(56, 182, 216, .3) 40%, rgba(20, 122, 255, 0) 72%);
  filter: blur(58px);
  opacity: .085;
}

/* ---------- Левая колонка ---------- */
#products .showcase-item {
  grid-template-rows: clamp(64px, 7.2vw, 128px) auto;
  row-gap: clamp(14px, 1.5vw, 28px);
}

/* Потолок кегля выведен из замера, а не назначен: «ИИ Пресс-Офис»
   набрано неразрывно и занимает 10.28 x кегль — это самое широкое из
   названий, которое некуда перенести. При 55px оно требовало 562px и
   обрезалось по контейнеру. 47px -> 483px при мере 500, запас 17px на
   разницу растеризации между браузерами. (Прежний рекордсмен по
   неразрывности, «Медиапризма», переименован в «ИИ-мониторинг инфополя» — тот
   длиннее, но переносится по дефису.) */
#products .showcase-item h3 {
  max-width: 500px;
  font-size: clamp(28px, 2.5vw, 47px);
  line-height: 1.08;
}

#products .showcase-item p {
  max-width: 500px;
  font-size: clamp(15px, 1.2vw, 22px);
  line-height: 1.5;
  -webkit-line-clamp: 4;
}

/* ---------- Правая колонка ---------- */
#products .showcase-more {
  min-height: 54px;
  padding: 15px 26px;
  font-size: 14.5px;
}

#products .showcase-side {
  gap: clamp(18px, 2vw, 36px);
}

#products .showcase-fact {
  gap: clamp(16px, 1.8vw, 26px);
}

#products .showcase-fact small {
  font-size: clamp(11px, .78vw, 14px);
  letter-spacing: .14em;
}

#products .showcase-fact strong {
  max-width: 360px;
  font-size: clamp(15px, 1.18vw, 22px);
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- Стрелки ---------- */
#products .showcase-nav {
  width: clamp(48px, 3.6vw, 60px);
  height: clamp(48px, 3.6vw, 60px);
}

#products .showcase-nav svg { width: 21px; height: 21px; }

/* ---------- Разделитель и навигация ---------- */
#products .showcase-foot {
  margin-top: clamp(26px, 2.6vw, 44px);
  padding-top: clamp(22px, 2.2vw, 34px);
}

#products .showcase-tick {
  padding: 8px 8px;
  font-size: 12px;
}

#products .showcase-tick::before {
  width: max(100%, 44px);
  height: max(100%, 44px);
}

#products .showcase-tick.is-active { color: #f4fffd; }

/* ---------- Планшет и мобильный ---------- */
@media (max-width: 1280px) {
  #products .showcase-stage {
    --sc-lap-w: clamp(380px, 40vw, 560px);
    grid-template-columns: minmax(260px, .9fr) minmax(400px, 1.2fr) minmax(240px, .8fr);
  }
}

@media (max-width: 1060px) {
  #products .showcase-stage {
    --sc-lap-w: min(100%, 560px);
    grid-template-columns: minmax(0, 1fr);
  }
  #products .showcase-center { min-height: 0; }
  #products .showcase-laptop { max-height: none; }
}

@media (max-width: 760px) {
  #products .showcase-item h3 { font-size: clamp(28px, 8vw, 36px); }
  #products .showcase-item p { font-size: clamp(15.5px, 4.3vw, 19px); }
  #products .showcase-fact strong { font-size: clamp(15px, 4.2vw, 18px); }
}

/* Ноутбук вырос почти во всю центральную колонку, и стрелки на её краях
   стали задевать корпус. Выносим их в межколоночный интервал и ставим
   ось на середину экрана, а не бокса: у PNG сверху 51px прозрачного
   поля, снизу 37, плюс ниже экрана идёт клавиатурная часть. */
@media (min-width: 1281px) {
  #products .showcase-nav-prev { left: -26px; }
  #products .showcase-nav-next { right: -26px; }
}

#products .showcase-nav {
  top: 43.5%;
}

/* На узких экранах между стрелкой и корпусом оставалось 2–4px.
   Немного сужаем устройство — дорожка под стрелки становится читаемой. */
@media (max-width: 760px) {
  #products .showcase-stage { --sc-lap-w: min(88%, 560px); }
}

/* ============================================================
   2026-08-03 (1.7.9): иконки каналов связи — инлайновый SVG.
   Прежние правила были написаны под <img>; теперь знак рисуется
   в самой разметке. Плитка иконки больше не нужна как подложка:
   SVG сам занимает весь квадрат со скруглением, поэтому фон и
   внутреннюю обводку контейнера снимаем — иначе они проступают
   по краю знака светлой каймой.
   ============================================================ */
.contact-actions-v2 .contact-icon-img:has(svg) {
  background: none;
  box-shadow: none;
  overflow: visible;
}

.contact-actions-v2 .contact-icon-img svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  /* тень своя, по цвету знака — плоские квадраты иначе висят в воздухе */
  box-shadow: 0 12px 26px rgba(0, 10, 30, .42);
}

.contact-action:hover .contact-icon-img svg {
  transform: translateY(-1px) scale(1.03);
}

.contact-icon-img svg {
  transition: transform var(--dur-base) var(--ease-standard);
}

@media (prefers-reduced-motion: reduce) {
  .contact-icon-img svg,
  .contact-action:hover .contact-icon-img svg { transition: none; transform: none; }
}

/* ============================================================
   2026-08-04 (1.9.0): ИИ-архитектор — предупреждение, поле ввода,
   карточка задачи.
   Прежний чат задавал три фиксированных вопроса, третьим спрашивал
   контакт и собирал заявку в браузере. Контакт больше не спрашивается
   нигде: связь идёт через существующее контактное окно, которое человек
   открывает сам.
   ============================================================ */

/* ---------- предупреждение до старта ---------- */
.cs-warning {
  padding: clamp(18px, 2.2vw, 26px);
  display: grid;
  gap: 12px;
  align-content: start;
}

.cs-warning p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--soft);
  max-width: 62ch;
}

.cs-rules-link {
  color: #9fe8f5;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cs-rules-link:hover { color: #d6f7ff; }

/* ---------- согласие с правилами ---------- */
/* Кнопка появляется только после отметки: галочка — предусловие старта,
   а не оформление. Состояние держит сам input, поэтому кнопку нельзя
   «показать» правкой класса в инспекторе — JS перечитывает .checked. */
.cs-consent {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
  max-width: 62ch;
}

/* Родной input скрыт визуально, но остаётся в потоке: фокус с клавиатуры
   и чтение скринридером работают штатно. */
.cs-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.cs-consent-mark {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1px solid rgba(174, 205, 235, .38);
  background: rgba(10, 24, 46, .72);
  display: grid;
  place-items: center;
  color: transparent;
  transition: background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.cs-consent:hover .cs-consent-mark { border-color: rgba(25, 229, 255, .55); }

.cs-consent input:checked ~ .cs-consent-mark {
  background: linear-gradient(135deg, var(--brand-blue, #0066ff), var(--brand-cyan, #19e5ff));
  border-color: transparent;
  color: #fff;
}

.cs-consent input:focus-visible ~ .cs-consent-mark {
  outline: 2px solid rgba(25, 229, 255, .8);
  outline-offset: 2px;
}

.cs-consent-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.cs-accept { justify-self: start; margin-top: 4px; }

/* ---------- поле ввода ---------- */
/* Одна колонка задаётся явно: выше по файлу .cs-form объявлен как
   grid с колонками «1fr auto», и без сброса поле ввода уезжало
   во вторую, auto-колонку — то есть прижималось к правому краю. */
.cs-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.cs-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.cs-input-row textarea {
  width: 100%;
  min-height: 44px;
  max-height: 150px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(174, 205, 235, .2);
  background: rgba(10, 24, 46, .72);
  color: var(--soft);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.45;
  resize: none;
  overflow-y: auto;
}

.cs-input-row textarea:focus-visible {
  outline: 2px solid rgba(56, 182, 216, .8);
  outline-offset: 2px;
}

.cs-input-row textarea:disabled { opacity: .5; cursor: not-allowed; }

.cs-counter {
  margin: 0;
  justify-self: end;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-2);
}

.cs-counter.is-near { color: #ffb45c; }

/* ---------- служебные сообщения ---------- */
.cs-msg.notice {
  background: rgba(10, 24, 46, .6);
  border: 1px solid rgba(174, 205, 235, .18);
  color: var(--soft);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: none;
}

.cs-msg.notice.warn { border-color: rgba(255, 180, 92, .4); }
.cs-msg.notice.hint { color: var(--muted); font-style: italic; }

/* ---------- карточка задачи ---------- */
.cs-summary {
  margin-top: 10px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(56, 182, 216, .28);
  background: rgba(8, 28, 58, .5);
  display: grid;
  gap: 12px;
}

.cs-summary h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f4fffd;
}

.cs-summary-list { margin: 0; display: grid; gap: 9px; }

.cs-summary-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.cs-summary-list dt {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cs-summary-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--soft);
}

.cs-summary-label {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cs-summary-products { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.cs-summary-products li {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(2, 9, 20, .38);
}

.cs-summary-products b { font-size: 14px; color: #f4fffd; }

/* Нейтральный уровень вместо процента: число выглядело бы как
   калиброванная вероятность, каковой оно не является. */
.cs-fit { font-size: 12.5px; color: #9ddfe0; }

.cs-summary-products small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.cs-summary-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.cs-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.cs-copy {
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(174, 205, 235, .22);
  background: rgba(10, 24, 46, .7);
  color: var(--soft);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}

.cs-copy:hover { background: rgba(24, 60, 104, .78); border-color: rgba(56, 182, 216, .48); }

/* ---------- удаление диалога ---------- */
.cs-wipe {
  margin-left: auto;
  margin-right: 8px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid rgba(174, 205, 235, .18);
  background: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.cs-wipe:hover { color: #f4fffd; border-color: rgba(56, 182, 216, .45); }

@media (max-width: 620px) {
  .cs-summary-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cs-wipe { font-size: 11px; padding: 5px 9px; }
}

/* ============================================================
   2026-08-06 «Мобилка 2.0», этап 1: продуктовые страницы на
   тач-устройствах — обычный вертикальный поток вместо секций.

   Гейт — класс pf-flow на html. Его ставит JS ровно по тому же
   условию (pointer: coarse или ширина ≤760px), по которому не
   запускает секционный контроллер: один источник истины, стили
   не могут разойтись с поведением. На десктопе класса нет —
   ни одно правило отсюда не применяется.
   ============================================================ */

/* Дискретный snap выключен: прокрутку ведёт только палец.
   Селектор повторяет :has(> body.pp) не для красоты: включающее правило
   html:has(> body.pp) имеет специфичность (0,1,2), и простой html.pf-flow
   с (0,1,1) ему проигрывал — snap оставался включённым. Проверено. */
html.pf-flow:has(> body.pp) { scroll-snap-type: none; }

.pf-flow .pf-sec {
  min-height: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  padding-top: 0;
  padding-bottom: 0;
  align-content: start;
}

/* Первый экран остаётся полноэкранной сценой знакомства */
.pf-flow #overview.pf-sec {
  min-height: 100svh;
  padding-top: calc(var(--pf-header, 63px) + 14px);
}

.pf-flow .pf-inner {
  min-height: 0;
  align-content: start;
  padding-block: 34px 44px;
}

/* Слои переходов десктопного контроллера не смеют прятать контент:
   именно замершие в промежуточном состоянии transform и opacity
   давали «пустые» экраны на телефоне */
.pf-flow .pf-sec .pf-inner {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Последняя сцена: призыв и футер — обычный поток, а не грид на
   высоту экрана; наезд футера на секцию уходит вместе с ним */
.pf-flow #contact.pf-sec { display: block; }
.pf-flow #contact .pf-inner { display: block; }

.pf-flow .ps-body { min-height: 0; }
.pf-flow .ps-devices { min-height: 0; height: auto; }

/* Сцена «В мессенджере»: главный герой — телефон. Ноутбук здесь
   дублирует первый экран и на ширине 340px нечитаем — скрыт. */
.pf-flow .ps-devices-duo .ps-laptop { display: none; }
.pf-flow .ps-devices-duo {
  display: grid;
  justify-items: center;
  padding-top: 18px;
}
.pf-flow .ps-devices-duo .ps-phone {
  position: static;
  width: min(58vw, 232px);
  margin: 0 auto;
  translate: none;
}

/* Точки-индикатор — атрибут дискретного скролла */
.pf-flow .pf-dots { display: none; }

/* Страховка видимости: reveal-переменные масок (цифры эффекта, строки
   стоимости, финальный призыв) в режиме потока раскрыты по умолчанию.
   Их выставлял класс is-active от IntersectionObserver, но наблюдатель —
   не гарантия: в скрытых вкладках и встроенных браузерах он может не
   сработать вовсе, а прятать цены из-за несработавшего наблюдателя —
   ровно тот класс ошибки, с которого началась вся операция. is-active
   остаётся за анимациями появления, видимость от него не зависит. */
/* Пока JS не взвёл pf-anim, «Эффект» и «Стоимость» видимы сразу —
   это страховка от молчащего наблюдателя. С pf-anim появление ведёт
   is-active от скролла, теми же правилами и переходами, что на
   десктопе: значения здесь не нужны, их даёт .pf-sec.is-active. */
.pf-flow:not(.pf-anim) .pf-sec .pe-item {
  --pe-tf: 1;
  --pe-tl: 1;
  --pe-td: 1;
}

.pf-flow .pf-sec .pe-foot { --pe-tb: 1; }

.pf-flow:not(.pf-anim) .pf-sec .pc-row,
.pf-flow:not(.pf-anim) .pf-sec .pc-rule-end {
  --pc-t: 1;
  --pc-r: 1;
}

.pf-flow .pf-sec .pcta { --pcta-t: 1; }

/* ---- Закреплённый призыв в зоне большого пальца ---- */
.pf-mcta { display: none; }

.pf-flow .pf-mcta {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 26px max(16px, env(safe-area-inset-right))
           max(12px, env(safe-area-inset-bottom))
           max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(2, 9, 20, 0), rgba(2, 9, 20, .9) 55%);
  /* Клики сквозь градиент проходят к странице, живёт только кнопка */
  pointer-events: none;
}

.pf-flow .pf-mcta .btn {
  width: 100%;
  min-height: 50px;
  pointer-events: auto;
}

/* Футер длиннее планки, последние ссылки не должны прятаться под ней */
.pf-flow body.pp { padding-bottom: 92px; }

/* Лёгкая левитация устройств. Свойство translate, а не transform:
   transform в этих блоках занят раскладкой и reveal-состояниями, и
   анимация по нему дралась бы с ними. Периоды разные, чтобы ноутбук
   и телефон не качались синхронно, как на пружине. */
@keyframes pf-flow-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

.pf-flow .ps-laptop {
  animation: pf-flow-float 5.6s ease-in-out infinite;
}

.pf-flow .ps-devices-duo .ps-phone {
  animation: pf-flow-float 4.4s ease-in-out .8s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pf-flow .ps-laptop,
  .pf-flow .ps-devices-duo .ps-phone { animation: none; }
}

/* Сцена мессенджера прижата к «Эффекту»: телефон и следующий заголовок
   разделяла суммарная пустота двух паддингов почти в экран */
.pf-flow #messenger .pf-inner { padding-bottom: 10px; }

/* Шапка уезжает вместе со страницей. На продуктовых она принудительно
   прозрачна (body.pp запрещает ей бар и блюр — на десктопе это часть
   закреплённой сцены), и в свободном потоке текст проезжал под
   полупрозрачным логотипом. Меню доступно вверху страницы, постоянное
   действие внизу держит планка CTA. */
.pf-flow body.pp .site-header {
  position: absolute;
}

/* Блок «Покажем продукт на ваших материалах» на телефоне скрыт: его
   кнопка дублировала закреплённую планку — два одинаковых «Связаться
   с нами» друг над другом читались как ошибка вёрстки. */
.pf-flow .pcta { display: none; }

.pf-flow #contact .pf-inner { padding-block: 0; }

/* ============================================================
   2026-08-07 «Мобилка 2.0», этап 2: главная — hero и витрина.
   Всё в @media; body в селекторах поднимает специфичность над
   инлайн-стилями главной, которые идут в документе позже site.css.
   ============================================================ */

/* Подсказка свайпа существует только на телефоне */
.showcase-hint { display: none; }

@media (max-width: 760px) {
  /* Hero-видео в портрете. Кадр 1916x1080 при ширине 375 показывает 26%
     своей ширины, и центральная четверть — самая тусклая часть ролика.
     Замер яркости по кадру (5 моментов, усреднение по колонкам) дал рост
     слева направо 15.4 -> 34.6: все световые потоки в правой части.
     object-position: 88% сдвигает кадр влево, открывая зону 65–91%
     ширины — те самые струи. Центр по вертикали сохранён. */
  /* Сдвиг кадра больше не нужен: на телефоне отдаётся вертикальный
     кроп, снятый как раз с этой позиции, — кадрировать его повторно
     значило бы срезать те самые световые потоки. */
  body .video-hero .hero-bg video { object-position: center center; }

  /* Подзаголовок: был ограничен 380px и вставал в четыре строки при
     собственной ширине текста 283px. Разрешаем всю ширину колонки и
     чуть уменьшаем кегль — строк становится меньше, блок компактнее. */
  body .video-hero .lead {
    max-width: none;
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.42;
  }

  /* Зазор между заголовком и подзаголовком складывался из трёх частей:
     row-gap 24px + строка-распорка + ещё row-gap 24px = 58px. Гасим
     row-gap и оставляем одну явную распорку — расстояние становится
     ровно тем, что написано. Ширину колонки не трогаем: она задана
     содержимым заголовка, и от неё зависит его перенос на четыре
     строки с «ИИ» отдельной строкой — это композиция, а не случайность. */
  body .video-hero .hero-copy {
    row-gap: 0;
    /* + распорка 22px и строка под кнопки (2026-08-23) */
    grid-template-rows: minmax(0, 1fr) auto 24px auto 22px auto minmax(0, 1.05fr);
  }

  /* Слово «автоматизировать?» при 32px шире экрана 375 — заголовок
     обрезался с обеих сторон.

     Сначала это лечилось переносом по слогам, но рвать слова в главном
     призыве нельзя. Значит кегль обязан быть таким, чтобы самое длинное
     слово влезало целиком. Оно занимает примерно 12.8 кегля, а строка
     это (вьюпорт − 36 полей контейнера − 32 поля карточки), отсюда
     предел кегля = (вьюпорт − 68) / 12.8. Формула ниже держится ниже
     этого предела с запасом около 6% на любой ширине от 320 до 412px. */
  body .final-cta h2 {
    max-width: 100%;
    font-size: clamp(18px, calc(7.5vw - 5.6px), 30px);
    overflow-wrap: normal;
    hyphens: manual;
  }

  /* Поля карточки поджаты: каждые снятые 6px с двух сторон — это
     примерно лишний кегль заголовка при том же запрете переносов. */
  body .final-cta {
    padding-inline: 16px;
  }

  /* Стрелки — орган управления для мыши; на тач их заменяет свайп */
  body .showcase-nav { display: none; }

  body .showcase-hint {
    display: block;
    margin: 10px 0 0;
    font-size: 11.5px;
    letter-spacing: .02em;
    text-align: center;
    color: var(--muted-2);
  }
}

/* Жест по витрине принадлежит странице только по вертикали. Свайп в
   скрипте витрины написан давно, но без touch-action браузер телефона
   забирал горизонтальное движение себе и обрывал жест pointercancel —
   свайп «не существовал», хотя код его ждал. */
/* Только тач: на мыши свойство безвредно, но десктопный слепок должен
   оставаться байт-в-байт прежним. coarse покрывает и телефон в альбоме. */
@media (pointer: coarse) {
  body .showcase-stage { touch-action: pan-y; }
}

/* ============================================================
   2026-08-07 «Мобилка 2.0», этап 3: команда в один экран.
   Было: одна колонка, портрет 300x300, карточка 330x373 —
   на двоих почти два экрана прокрутки. Стало: два портрета
   в ряд, блок целиком помещается в экран.
   ============================================================ */

@media (max-width: 760px) {
  /* Две колонки вместо одной. max-width снят: он ставился под
     одноколоночную раскладку (340px) и теперь сжимал бы обе карточки
     в половину экрана. */
  body #team .team-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: none;
  }

  /* justify-items: center здесь нельзя: центрированная ячейка грид-сетки
     берёт ширину по max-content, и подпись «Коммерческий директор»
     вылезала за колонку на 4px вместо переноса. Центрируем содержимое,
     а не ячейки. */
  body #team .team-member {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    text-align: center;
    gap: 12px;
  }

  body #team .team-portrait {
    justify-self: center;
  }

  /* Портреты крупнее на 20% без единого сдвига в раскладке.
     Расширить колонки было нельзя: человеку нужен бокс 190px, а два
     таких — 380px при экране 375. Но снимки это вырезы с прозрачным
     фоном, человек занимает 72.6% кадра, по бокам по 13-15% пустоты.
     Поэтому увеличивается сам снимок, а не колонка: при scale 1.2
     человек вырастает со 115px до 138px и всё равно остаётся внутри
     158-пиксельной колонки (края на +9 и +147), до соседа — 34px.
     Именно scale, а не transform: у transform в блоке
     prefers-reduced-motion стоит none !important, он бы это погасил.
     transform-origin: center bottom задан в базовом правиле, так что
     рост идёт вверх от ног — подписи снизу не двигаются. */
  body #team .team-portrait img {
    scale: 1.2;
  }

  body #team .team-body {
    justify-items: stretch;
  }

  /* Портрет от ширины колонки, а не фиксированный: на 360px он должен
     ужаться, на 412px — подрасти, оставаясь кругом. Верхняя граница
     160px — размер, при котором два портрета и подписи укладываются
     в экран вместе с заголовком блока. */
  body #team .team-portrait {
    width: min(100%, 160px);
    height: auto;
    aspect-ratio: 1;
  }

  /* На десктопе имя стоит в одну строку (white-space: nowrap), но в колонке
     ~158px «Максим Дедяев» требует 180px и вылезало за карточку. Ширина
     имени — примерно 10.5 кегля, а колонка это (вьюпорт − 60) / 2, так что
     уместить обоих в одну строку на 375px удалось бы только шрифтом 14px.
     Вместо этого width: min-content ломает строку по пробелу всегда: обе
     карточки переносятся одинаково, должности стоят на одной высоте,
     и раскладка держится вплоть до 320px. */
  body #team .team-member h3,
  body #team .team-member .team-role {
    white-space: normal;
    width: min-content;
    margin-inline: auto;
  }

  body #team .team-member h3 {
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.16;
  }

  body #team .team-member .team-role {
    margin-top: 5px;
    font-size: clamp(12px, 3.4vw, 13.5px);
    line-height: 1.25;
  }

  /* Подзаголовок блока занимал 210px из экрана — на телефоне это
     четверть высоты до того, как показался первый портрет. */
  body #team .team-head {
    margin-bottom: 22px;
  }

  body #team .team-head p {
    margin-top: 10px;
    font-size: clamp(14px, 3.7vw, 15.5px);
    line-height: 1.5;
  }
}

/* Этап 3, мелочи главной: подписи, нечитаемые на телефоне.
   Названия клиентов в ленте шли 10px, метка факта витрины — 11px,
   подсказка о свайпе — 11.5px. На вытянутой руке это уже не текст. */

@media (max-width: 760px) {
  body .client-logo-item span {
    font-size: 12px;
    line-height: 1.3;
  }

  /* Метка живёт в секции #products, и правило с id перебивает селектор
     по классу — отсюда id и здесь. */
  body #products .showcase-fact small {
    font-size: 12px;
  }

  body .showcase-hint {
    font-size: 12.5px;
  }
}

/* ============================================================
   2026-08-07 «Мобилка 2.0», этап 4: чат и контакты на телефоне.

   Чат был врезкой в потоке страницы: под ленту сообщений оставалось
   143px, то есть два-три сообщения. Когда открывается клавиатура,
   от диалога не оставалось ничего. Теперь на телефоне чат разворачи-
   вается на весь экран и держится за визуальный вьюпорт, поэтому
   поле ввода стоит ровно над клавиатурой.

   Полноэкранной делается сама .cs-card, а не .cs-chat внутри неё:
   у карточки backdrop-filter, а он создаёт содержащий блок, и
   position: fixed у потомка цеплялся бы за карточку вместо вьюпорта.
   Проверено на живой странице — чат с inset: 0 оставался на месте.
   ============================================================ */

@media (max-width: 760px) {
  /* Карточка уходит из потока, и документ укорачивается на её высоту.
     Место под неё резервирует JS: он замеряет высоту до перехода в
     полный экран и ставит её в min-height контейнера. Числом здесь не
     обойтись — высота вступления зависит от переносов текста и на
     разных ширинах разная (на 375px это 500px, не круглые 330). */

  /* Шапка сайта — fixed с z-index: 1000, то есть выше чата. Она ложилась
     поверх шапки диалога, и в точке крестика оказывалась кнопка меню:
     закрыть чат было нельзя, тап открывал бургер. В полноэкранном режиме
     шапке сайта делать нечего — убираем её вместе с её перехватом
     касаний, а панель поднимаем выше на случай других всплывающих слоёв. */
  html.cs-fs .site-header {
    display: none;
  }

  body .cs-card.chatting {
    position: fixed;
    z-index: 1200;
    left: 0;
    right: 0;
    /* не top: 0 и не 100dvh: на iOS при открытой клавиатуре слоевой
       вьюпорт уезжает вверх, и панель, привязанная к нему, прячется
       под клавиатуру. --cs-vh и --cs-vtop ведёт JS по visualViewport. */
    top: var(--cs-vtop, 0px);
    height: var(--cs-vh, 100dvh);
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    /* непрозрачный фон: под панелью остаётся прокручиваемая страница */
    background: #020914;
    box-shadow: none;
    transition: none;
  }

  /* Замок фона. Карточка уже fixed, поэтому её это не двигает. */
  html.cs-fs,
  html.cs-fs body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body .cs-card.chatting .cs-chat {
    height: 100%;
    animation: none;
  }

  body .cs-card.chatting .cs-chat-head {
    flex: none;
    padding: 12px 14px;
  }

  /* 30x30 было меньше любой рекомендации по целям касания */
  body .cs-card.chatting .cs-close {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  body .cs-card.chatting .cs-wipe {
    min-height: 40px;
    padding-inline: 12px;
  }

  body .cs-card.chatting .cs-messages {
    flex: 1;
    min-height: 0;
    padding: 16px 14px;
    scroll-padding-bottom: 12px;
  }

  body .cs-card.chatting .cs-msg {
    max-width: 92%;
    font-size: 15px;
  }

  body .cs-card.chatting .cs-form,
  body .cs-card.chatting .cs-warning {
    flex: none;
    /* нижняя безопасная зона: полоса домашнего индикатора. При открытой
       клавиатуре iOS сам отдаёт здесь 0 — двойного отступа не будет. */
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  /* Меньше 16px — и iOS зумит страницу при фокусе, после чего сайт
     остаётся увеличенным и едет вбок. Было 14.5px. */
  body .cs-input-row textarea {
    font-size: 16px;
    min-height: 46px;
  }

  body .cs-card.chatting .cs-send {
    width: 46px;
    min-height: 46px;
  }

  body .cs-counter {
    font-size: 12px;
  }

  /* ---------- Контакты: нижний лист ---------- */

  /* Лист был карточкой с полями по бокам и упирался в самый низ экрана
     скруглёнными углами. Теперь это нижний лист: во всю ширину,
     скругления только сверху, «язычок» как приглашение к свайпу. */
  body dialog.contact-modal {
    padding: 0;
    place-items: end stretch;
  }

  body dialog.contact-modal .contact-sheet {
    width: 100%;
    height: auto;
    max-height: min(92dvh, var(--cs-vh, 92dvh));
    border-radius: 24px 24px 0 0;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Язычок уезжает вместе с содержимым — и это правильно: свайп вниз
     закрывает лист только в самом верху прокрутки, ровно там, где
     язычок и виден. */
  body dialog.contact-modal .contact-sheet::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: rgba(174, 205, 235, .28);
  }

  body dialog.contact-modal .contact-sheet.is-dragging {
    transition: none;
  }

  body dialog.contact-modal .contact-close {
    width: 44px;
    height: 44px;
  }

  body dialog.contact-modal .contact-draft textarea {
    font-size: 16px;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  body dialog.contact-modal[open] .contact-sheet {
    animation: cs-sheet-up .34s var(--ease-emphasis);
  }
}

@keyframes cs-sheet-up {
  from { transform: translateY(14%); }
  to { transform: translateY(0); }
}

/* ============================================================
   2026-08-07 «Мобилка 2.0», этап 4.5: документы и футер.

   Документы. Текст уезжал за правый край экрана на 48px — читать
   было нельзя. Причина не в отступах: .legal-card это грид, а колонка
   грида не может стать уже min-content своего содержимого. Самым
   широким оказался сам заголовок — слово «использования» при 32px
   плюс 44px отступа под крестик дают 362px при коробке в 291.
   Колонка растянулась под него, и следом уехали все абзацы.

   Футер занимал 871px — больше экрана целиком, при том что четыре
   колонки ссылок стояли одна под другой.
   ============================================================ */

@media (max-width: 760px) {
  /* minmax(0, 1fr) снимает автоматический минимум колонки: теперь она
     сжимается до ширины карточки, а не до самого широкого слова. */
  body .legal-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 16px 22px;
    /* .container отдаёт карточке margin-right: -20px и явную ширину — на
       широком экране это часть композиции, на телефоне карточка от этого
       стояла несимметрично: 28px слева и 8px справа. Отпускаем ширину,
       чтобы она просто заполнила поле страницы. */
    margin-inline: 0;
    width: auto;
  }

  /* Поля страницы поджаты: ширина уходит в текст, а не в пустоту по краям */
  body.legal-page .content-section {
    padding-inline: 14px;
  }

  /* Класс legal-page висит на самом <body>, поэтому селектор пишется
     без пробела: «body .legal-page» не совпадает ни с чем.
     Кегль — чтобы «использования» влезало в строку целиком даже с
     отступом под крестик. Слово занимает около 9.9 кегля. */
  body.legal-page h1 {
    font-size: clamp(21px, 6.2vw, 28px);
    padding-right: 46px;
    line-height: 1.12;
  }

  body .legal-card h2 {
    font-size: 16px;
  }

  /* anywhere, а не break-word: только anywhere уменьшает min-content,
     то есть не даёт длинному адресу почты или номеру ОГРНИП снова
     распереть колонку. Заголовков это не касается — там перенос слова
     недопустим. */
  body .legal-card p,
  body .legal-card li,
  body .legal-card dd {
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  /* ---------- Футер ---------- */

  /* Четыре колонки в две — высота ссылок и шаг между ними не тронуты,
     сокращается только число рядов. Плотнее ставить нельзя: шаг 34px
     и так на грани комфортного попадания пальцем. */
  body .footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
    align-items: start;
  }

  body .footer-grid {
    gap: 22px;
  }
}

/* ============================================================
   2026-08-07 «Мобилка 2.0», этап 5: полировка.

   Цели касания, безопасные зоны, кегли. Ориентир — 44px: это
   рекомендация Apple, и она же строже Material (48dp по большей
   стороне) в части того, что палец должен попадать по любой стороне.

   Замер до правок: 25 целей меньше 44px на главной, из них 15 —
   ссылки футера высотой 17px.
   ============================================================ */

@media (max-width: 760px) {
  /* ---------- Шапка ---------- */

  /* Логотип — ссылка на главную, а высота у неё была 24px по картинке.
     Шапка 63px, так что 44px помещаются без изменения вида. */
  body .brand-lockup {
    min-height: 44px;
    align-items: center;
  }

  /* .header-v2 .menu-toggle задаёт 42px и по специфичности выше
     селектора по одному классу — отсюда .header-v2 и здесь. */
  body .header-v2 .menu-toggle,
  body .menu-toggle {
    width: 44px;
    height: 44px;
  }

  /* ---------- Витрина ---------- */

  /* Заголовок карточки — ссылка на продукт.
     Здесь стоял inline-flex с min-height: 44px ради цели касания, и это
     ломало вёрстку: флекс-контейнер по умолчанию не переносит строки, а
     внутри заголовка есть span с white-space: nowrap. «ИИ-менеджер
     «Алина»» требовал 435px при доступных 319 и обрезался — у h3 стоит
     overflow: hidden. Три карточки из пяти были подрезаны.

     Возвращаем строчное поведение: текст снова переносится (270px в две
     строки). Высоту касания даёт межстрочный интервал — две строки по
     36px это 72px, одна строка 36px; padding здесь не помог бы, потому
     что h3 обрезает всё, что выходит за него, вместе с областью нажатия. */
  body .showcase-item h3 a {
    display: inline;
    min-height: 0;
  }

  body #products .showcase-item h3 {
    line-height: 1.2;
  }

  body .showcase-tick {
    min-width: 44px;
    min-height: 44px;
  }

  /* ---------- Подсказка «?» ----------
     Точка 17x17. Растить её саму нельзя: она стоит внутри строки текста,
     и элемент высотой 44px раздвинул бы саму строку. Поэтому растёт
     только область попадания — невидимый круг 44x44, спозиционированный
     абсолютно, то есть на раскладку не влияющий.

     Обязательно ::before, а не ::after: у ::after уже есть работа —
     он выводит текст подсказки через content: attr(aria-label). Первая
     версия этой правки заняла его, и вместо пузырька с текстом
     появлялась пустая коробка 44x44 поверх абзаца. */
  body .info-tip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }

  /* ---------- Футер ---------- */

  /* Пятнадцать ссылок высотой 17px — самая большая группа промахов.
     Зазор 2px оставлен намеренно: у смежных целей должна быть граница,
     иначе промах попадает не мимо, а по соседней ссылке. */
  body .footer-col ul {
    gap: 2px;
  }

  body .footer-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  body .footer-brand-col p {
    font-size: 15px;
  }

  body .footer-copy {
    font-size: 13.5px;
  }

  /* ---------- Документы ---------- */

  body .legal-close {
    width: 44px;
    height: 44px;
  }

  /* «Вернуться на сайт» — самостоятельная навигационная ссылка высотой
     18px. Условие :only-child отделяет её от ссылок внутри предложения
     (почта в пункте 12.2): для тех WCAG делает исключение, и растить их
     нельзя — они часть строки текста. */
  body.legal-page p > a:only-child {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Крестик стал шире — заголовку нужно уступить ему больше места,
     иначе последнее слово первой строки уедет под кнопку. */
  body.legal-page h1 {
    padding-right: 58px;
  }

  /* ---------- Безопасные зоны ----------
     Футер и закреплённая кнопка продуктовой их уже учитывают:
     .footer-glass берёт max(24px, env(safe-area-inset-bottom)), а
     .pf-flow .pf-mcta — max() по всем трём сторонам, включая боковые
     вырезы в альбомной ориентации. Дублировать не нужно: calc(24px +
     env(...)) поверх max() только добавил бы футеру лишние 24px на
     телефонах с вырезом, а для .pf-mcta правило по одному классу и
     вовсе не победило бы .pf-flow .pf-mcta по специфичности.

     Не покрытой оставалась только страница документа: футера там нет,
     текст просто упирался в нижний край. */
  body.legal-page .content-section {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   2026-08-07: панель «Как посчитано» тонула под соседней секцией.

   У панели z-index: 1200, но живёт она внутри section.pf-sec, у которой
   position: relative и z-index: 1. Секция создаёт контекст наложения,
   и 1200 действует только внутри неё. Соседняя секция «Стоимость» идёт
   следом в разметке и при равном z-index рисуется поверх — вместе с ней
   поверх панели вылезали её заголовок, строки цен и закреплённая кнопка.
   Панель при этом выглядела полупрозрачной, хотя фон у неё непрозрачный
   на 93%: просто её перекрывали сверху.

   Лечится не z-index'ом самой панели — он уже максимальный внутри своего
   контекста, — а подъёмом всей секции на время, пока лист открыт.
   ============================================================ */

@media (max-width: 760px) {
  body .pf-sec:has(.pe-pop.is-open) {
    z-index: 1200;
  }
}

@media (max-width: 760px) {
  /* Крестик листа «Как посчитано» — 34x34. В аудит этапа 5 он не попал:
     панель закрыта по умолчанию, и её содержимого в замере не было. */
  body .pe-pop-x {
    width: 44px;
    height: 44px;
  }

  /* Текст расчёта — 13.5px. По той же причине не попал в аудит кеглей:
     панель закрыта, и её содержимого в замере не было. */
  body .pe-pop-list li {
    font-size: 15px;
  }
}

/* ============================================================
   2026-08-07, этап 6 (приёмка): три находки юзабилити-прохода.
   ============================================================ */

@media (max-width: 760px) {
  /* Пункты раскрытого меню — 34-39px. Та же слепая зона аудита, что и
     у листа «Как посчитано»: меню закрыто по умолчанию, и в замер
     этапа 5 его пункты не попали. */
  body .header-v2 .nav-links a {
    min-height: 44px;
    align-items: center;
  }

  /* Кнопка «Скопировать» в окне контактов - 42px высоты */
  body dialog.contact-modal .contact-copy {
    min-height: 44px;
  }
}

/* ============================================================
   2026-08-07: плашка согласия ИИ-архитектора — во всю ширину карточки.

   Текст и строка согласия были зажаты в 62ch. Ограничение задавалось
   ради удобной длины строки, но карточка чата шире, и на большом экране
   плашка читалась как узкая колонка в пустом поле — правая половина
   пустовала. Снимаем ограничение и выравниваем по ширине.

   Выключка по формату только на широких экранах: в узкой колонке
   телефона она рвала бы строку большими пробелами.
   ============================================================ */

.cs-warning p,
.cs-consent {
  max-width: none;
}

@media (min-width: 761px) {
  .cs-warning p,
  .cs-consent-text {
    text-align: justify;
    text-align-last: left;
  }
}

/* ============================================================
   2026-08-07: обрезка последнего глифа в градиентных заголовках.

   У текста с background-clip: text фон рисуется по инлайн-боксу, а
   боковой вынос глифа в него не входит. В финальном CTA слову
   «автоматизировать» требовалось 756px, фон рисовался на 751 — мягкий
   знак срезало на 5px. Расширяем фоновый бокс вправо и тем же
   отрицательным полем возвращаем текст на место, чтобы раскладка и
   перенос строк не сдвинулись.
   ============================================================ */

.final-cta h2 em {
  padding-right: .08em;
  margin-right: -.08em;
}

/* ============================================================
   2026-08-07: блок «И так же в мессенджере» на телефоне.

   Заголовок шёл 17px, описание 13px — мельче основного текста страницы,
   хотя места под ними оставалось больше пятисот пикселей: ноутбук на
   телефоне скрыт, и секцию занимал только текст и макет телефона.
   Поднимаем кегли до читаемых. Верхняя граница clamp подобрана так,
   чтобы прирост высоты не съел зазор до макета телефона.
   ============================================================ */

@media (max-width: 760px) {
  body .ps-channel b {
    font-size: clamp(19px, 5.4vw, 23px);
    line-height: 1.24;
  }

  body .ps-channel span {
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.5;
  }
}

/* ============================================================
   2026-08-07: кнопка возврата на продуктовых страницах.

   Единственным путём назад был логотип — неочевидно: люди не обязаны
   догадываться, что он ведёт на главную. Кнопка живёт в шапке, а не в
   начале страницы: продуктовая листается по секциям, и элемент,
   привязанный к первому экрану, исчез бы после первого же жеста.

   Ведёт на #products, а не просто на главную: человек пришёл из
   витрины продуктов и ожидает вернуться туда же.
   ============================================================ */

.ps-back {
  display: none;
  align-items: center;
  gap: 7px;
  /* 44px — цель касания, как у остальных органов управления */
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(174, 205, 235, .22);
  background: rgba(9, 20, 44, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--soft);
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.ps-back svg {
  flex: none;
  transition: transform var(--dur-fast) var(--ease-emphasis);
}

.ps-back:hover {
  border-color: rgba(25, 229, 255, .45);
  background: rgba(12, 28, 58, .72);
  color: #eaf7fa;
}

.ps-back:hover svg { transform: translateX(-2px); }

.ps-back:focus-visible {
  outline: 2px solid rgba(25, 229, 255, .8);
  outline-offset: 2px;
}

/* Только на продуктовых: на главной возвращаться некуда. */
body.pp .header-v2 .ps-back { display: inline-flex; }

/* Своя колонка слева, остальные элементы шапки сдвигаются на одну. */
body.pp .header-v2 .nav-inner {
  grid-template-columns: auto 1fr auto 1fr;
}

body.pp .header-v2 .ps-back { grid-column: 1; justify-self: start; }
body.pp .header-v2 .nav-links { grid-column: 2; justify-self: start; }
body.pp .header-v2 .brand-lockup { grid-column: 3; }
body.pp .header-v2 .nav-actions { grid-column: 4; }

@media (max-width: 960px) {
  /* Навигация и кнопка связи скрыты, остаётся: назад — логотип — меню */
  body.pp .header-v2 .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  body.pp .header-v2 .ps-back { grid-column: 1; }
  body.pp .header-v2 .brand-lockup { grid-column: 2; justify-self: center; }
  body.pp .header-v2 .menu-toggle { grid-column: 3; }
}

/* Слово убираем только там, где оно правда не влезает. Ширина шапки —
   100vw минус 48px полей; кнопка со словом 94px, логотип 142px, меню
   44px и два зазора по 16px дают 312px, то есть до 360px включительно
   всё помещается. Ниже остаётся одна стрелка. */
@media (max-width: 359px) {
  body.pp .header-v2 .ps-back { padding: 11px; }
  body.pp .header-v2 .ps-back span { display: none; }
}

/* ============================================================
   ПРОХОД «КАК В APPLE» (2026-08-23)
   Шесть правок по аудиту двумя скиллами (design-taste-frontend,
   apple-design). Токены движения заведены в :root выше, все
   transition по файлу приведены к ним скриптом. Ниже — всё
   остальное, одним блоком в конце файла, чтобы выигрывать
   по порядку у всех прежних слоёв.
   ============================================================ */

/* --- 1. Шапка как материал. При прокрутке она раньше РОСЛА с 74
   до 106px (паддинги .site-header.is-scrolled перебивали padding:0
   у .header-v2 по специфичности). Теперь наоборот: 72 → 64px.
   Вместо жёсткой нижней границы — короткий градиентный фейд на
   стыке с контентом (scroll edge effect), верхняя грань ловит
   свет одним пикселем. ---------------------------------------- */
.header-v2,
.header-v2.is-scrolled,
.header-v2.is-compact {
  padding: 0;
  border-bottom: 0;
  transition:
    background-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}
.header-v2 .nav-inner {
  min-height: 72px;
  transition: min-height var(--dur-base) var(--ease-standard);
}
.header-v2.is-scrolled .nav-inner,
.header-v2.is-compact .nav-inner { min-height: 64px; }
.header-v2.is-scrolled,
.header-v2.is-compact {
  background: rgba(2, 9, 20, .66);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(195, 255, 248, .07);
}
.header-v2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(2, 9, 20, .5), rgba(2, 9, 20, 0));
  transition: opacity var(--dur-base) var(--ease-standard);
}
.header-v2.is-scrolled::after { opacity: 1; }
@media (prefers-reduced-transparency: reduce) {
  .header-v2.is-scrolled,
  .header-v2.is-compact {
    background: rgb(2, 9, 20);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: inset 0 -1px 0 rgba(195, 255, 248, .14);
  }
  .header-v2::after { display: none; }
}
@media (prefers-contrast: more) {
  .header-v2.is-scrolled,
  .header-v2.is-compact {
    background: rgb(2, 9, 20);
    box-shadow: inset 0 -1px 0 rgba(195, 255, 248, .4);
  }
}

/* --- 2. Отклик на нажатие. Подсветка по pointer-down, а не по
   hover: на телефоне ховера нет, и тап по карточке до перехода
   раньше не давал ничего. scale(.97) за 150 мс — физическое
   «продавливание», как у системных кнопок. ------------------- */
.btn,
.showcase-nav,
.showcase-tick,
.client-logo-item,
.team-member,
.person-card,
.nav-links a,
.nav-drop a,
.footer-col a,
.menu-toggle,
.ps-back,
.contact-card-link,
.pf-card,
.pf-list-item,
.pf-cost-card,
.pf-step {
  -webkit-tap-highlight-color: transparent;
}
.nav-links a,
.nav-drop a,
.footer-col a {
  transition:
    color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}
.btn:active,
.showcase-nav:active,
.showcase-tick:active,
.client-logo-item:active,
.team-member:active,
.person-card:active,
.menu-toggle:active,
.ps-back:active,
.contact-card-link:active {
  transform: scale(.97);
  transition-duration: var(--dur-fast);
}
.nav-links a:active,
.nav-drop a:active,
.footer-col a:active {
  transform: scale(.96);
  opacity: .75;
  transition-duration: var(--dur-fast);
}
.btn-primary:active {
  box-shadow:
    inset 0 1px 0 rgba(195, 255, 248, .12),
    0 8px 20px rgba(0, 102, 255, .22);
}

/* --- 3. Трекинг зависит от кегля. Чем крупнее текст, тем плотнее:
   буквы визуально расползаются при росте кегля. Мелкие подписи,
   наоборот, чуть разрежены. Тело — ноль. -------------------- */
h1 { letter-spacing: -.02em; }
h2 { letter-spacing: -.018em; }
h3 { letter-spacing: -.012em; }
.video-hero h1 { letter-spacing: -.022em; line-height: 1.02; }
.team-head h2,
#products .section-header h2,
.final-cta h2 { letter-spacing: -.02em; }
#products .showcase-item h3 { letter-spacing: -.015em; }
.team-member h3 { letter-spacing: -.012em; }
#process .work-step h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: -.006em;
}
.lead,
.section-header p,
p { letter-spacing: 0; }
.client-logo-item span { letter-spacing: .015em; }
.showcase-status,
.team-role,
.footer-col a { letter-spacing: .005em; }

/* --- 4. Кнопки в hero. Первый экран раньше не имел действия:
   только заголовок и лид, единственная кнопка жила в шапке.
   Стеклянная вторичная — тот же материал, что и шапка. ------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.hero-actions .btn {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 16px;
}
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(195, 255, 248, .18);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, .13);
  border-color: var(--muted-2);
}
.btn-glass:active { background: rgba(255, 255, 255, .1); }
@media (prefers-reduced-transparency: reduce) {
  .btn-glass {
    background: rgba(8, 28, 58, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* --- 5. Ритм «Как проходит работа». Шаги оставлены как были (четыре
   колонки, правка откачена по просьбе 2026-08-23); причины — одна
   строка с вертикальными разделителями вместо трёх карточек. ----- */
#process .work-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1080px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(195, 255, 248, .15);
}
#process .work-reason,
#process .work-reason + .work-reason {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  padding: 2px clamp(22px, 3vw, 44px) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#process .work-reason + .work-reason {
  padding-left: clamp(22px, 3vw, 44px);
  border-left: 1px solid rgba(195, 255, 248, .15);
}
#process .work-reason:last-child { padding-right: 0; }
#process .work-reason b { font-size: 15px; color: #fff; }
#process .work-reason p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 760px) {
  #process .work-reasons {
    flex-direction: column;
    gap: 18px;
    padding-top: 22px;
  }
  #process .work-reason,
  #process .work-reason + .work-reason {
    flex: 0 0 auto; /* в колонке basis 0 сжимал пункты до строки */
    padding: 0;
    border-left: 0;
  }
  #process .work-reason + .work-reason {
    padding-top: 18px;
    border-top: 1px solid rgba(195, 255, 248, .12);
  }
}


/* ============================================================
   v9 (2026-08-23): единый контейнер, заголовки по центру,
   hero «время», кейсы, ChatGPT, подтверждения, окно документа
   ============================================================ */
:root { --container: min(var(--max), calc(100vw - 56px)); }
/* единый контейнер и ритм секций */
.section { padding-left: 28px; padding-right: 28px; }
#clients.section, #products.section, #process.section, #why-not-chat.section, #team.section { padding-top: clamp(72px, 7.5vw, 104px); padding-bottom: clamp(72px, 7.5vw, 104px); }
.container, #team .team-head, #team .team-cards, .proof { width: var(--container); max-width: none; margin-left: auto; margin-right: auto; }
#products .container, #process .container { width: var(--container); }
/* заголовки секций: один кегль, по центру */
.section-header, #team .team-head { display: grid; gap: 12px; justify-items: center; text-align: center; margin: 0 auto clamp(28px, 3.2vw, 40px); }
.section-header h2, #team .team-head h2, .final-cta h2 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; max-width: none; }
.section-header h2, #team .team-head h2 { font-size: clamp(30px, 3.2vw, 46px); }
.section-header p, #team .team-head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.final-cta h2 { font-size: clamp(32px, 3.8vw, 56px); }
#clients .section-header { margin-bottom: clamp(20px, 2.6vw, 32px); }
#products .flagship-heading { max-width: none; }
.compact-header { margin-bottom: clamp(28px, 3.2vw, 40px); }
/* акцент: один голубой для слов, один синий для действий */
#products .section-header h2, .showcase-item h3, .showcase-item h3 a { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; color: var(--ink); }
#products .showcase-item h3 a:hover { color: var(--cyan); }
.final-cta h2 em { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; color: var(--cyan); font-style: normal; }
.btn-primary, .btn-primary:hover { box-shadow: none; border-color: transparent; }
body::before { background: radial-gradient(52% 42% at 14% 5%, rgba(0, 102, 255, .09), transparent 64%); }

/* hero: текст слева, ноутбук справа во всю половину */
.video-hero .hero-inner.hero-v9 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; column-gap: clamp(28px, 4vw, 56px); text-align: left; width: var(--container); padding: clamp(104px, 13svh, 136px) 0 clamp(32px, 5svh, 56px); }
.hero-v9 .hero-copy { display: grid; gap: clamp(16px, 2.2svh, 24px); justify-items: start; max-width: 560px; }
.hero-v9 h1 { font-size: clamp(34px, 4.3vw, 62px); line-height: 1.04; letter-spacing: -.022em; max-width: none; margin: 0; }
.hero-v9 h1 em { font-style: normal; color: var(--cyan); }
.hero-v9 .lead { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: var(--soft); }
.hero-v9 .hero-actions { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(195, 255, 248, .18); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-glass:hover { background: rgba(255, 255, 255, .13); }
.hero-device { display: block; width: 100%; justify-self: end; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.hero-device .hl-laptop { position: relative; display: block; width: 100%; aspect-ratio: 1536 / 1024; }
.hero-device .hl-frame { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; filter: drop-shadow(0 34px 56px rgba(0, 0, 0, .55)); }
/* экран: видео вписано целиком, поля — цвет подложки приложения */
.hero-device .hl-screen { position: absolute; z-index: 1; top: 7.62%; left: 13.28%; width: 73.3%; height: 71.88%; overflow: hidden; border-radius: clamp(3px, .5vw, 7px); background: #eef3f7; }
.hero-device .hl-screen img, .hero-device .hl-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: #eef3f7; }
.hero-device .hl-screen video { z-index: 1; }
@media (max-width: 1000px) {
  .video-hero .hero-inner.hero-v9 { grid-template-columns: 1fr; row-gap: 28px; padding-top: 92px; text-align: center; }
  .hero-v9 .hero-copy { justify-items: center; max-width: none; }
  .hero-v9 h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-v9 .hero-actions { width: 100%; flex-direction: column; align-items: center; }
  .hero-v9 .hero-actions .btn { width: 100%; max-width: 360px; }
}
body .video-hero .hero-v9 .hero-copy { grid-template-rows: none; grid-auto-rows: auto; height: auto; row-gap: clamp(16px, 2.2svh, 24px); }

/* ChatGPT */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: var(--container); margin: 0 auto; }
.vs-card { padding: clamp(24px, 2.6vw, 36px) clamp(24px, 2.8vw, 40px); border-radius: 16px; border: 1px solid rgba(195, 255, 248, .14); background: rgba(8, 28, 58, .28); }
.vs-yes { border-color: rgba(25, 229, 255, .35); background: rgba(8, 28, 58, .5); }
.vs-card h3 { margin: 0 0 20px; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -.015em; color: var(--ink); }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-card li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 1.45; color: var(--soft); }
.vs-yes li { color: var(--ink); }
.vs-card li i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--muted); }
.vs-yes li i { background: rgba(25, 229, 255, .14); color: var(--cyan); }
.vs-card li svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }

/* команда как была + подтверждения без подписи */
#team.team-section { padding-top: clamp(72px, 7.5vw, 104px); padding-bottom: clamp(72px, 7.5vw, 104px); }
#team .team-head { margin-bottom: clamp(24px, 3vw, 40px); }
#team .team-portrait { width: clamp(200px, 18vw, 260px); height: clamp(200px, 18vw, 260px); }
.proof { margin-top: clamp(36px, 4vw, 56px); }
.proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proof-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 12px; align-items: start; padding: 22px 24px; border: 1px solid rgba(195, 255, 248, .14); border-radius: 16px; background: rgba(8, 28, 58, .28); color: inherit; text-decoration: none; transition: border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); -webkit-tap-highlight-color: transparent; }
.proof-item:hover { border-color: rgba(25, 229, 255, .35); }
.proof-item:active { transform: scale(.99); }
.proof-ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(25, 229, 255, .35); display: grid; place-items: center; color: var(--cyan); }
.proof-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.proof-text { display: grid; gap: 6px; }
.proof-text b { font-size: 17px; color: var(--ink); }
.proof-text span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.proof-item em { grid-column: 1 / -1; font-style: normal; font-size: 14px; color: var(--cyan); }
@media (max-width: 900px) { .proof-row { grid-template-columns: 1fr; } }

/* окно документа */
.doc-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; }
.doc-overlay { position: absolute; inset: 0; background: rgba(2, 9, 20, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity var(--dur-base) var(--ease-standard); }
.doc-panel { position: relative; width: min(960px, 100%); height: min(88vh, 1200px); display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: #0a1a33; border: 1px solid rgba(195, 255, 248, .16); box-shadow: 0 40px 90px rgba(0, 0, 0, .6); transform: translateY(16px) scale(.985); opacity: 0; transition: transform var(--dur-slow) var(--ease-emphasis), opacity var(--dur-base) var(--ease-standard); }
.doc-modal.is-open .doc-overlay { opacity: 1; }
.doc-modal.is-open .doc-panel { transform: none; opacity: 1; }
.doc-head { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-bottom: 1px solid rgba(195, 255, 248, .12); font-size: 15px; font-weight: 600; color: var(--ink); }
.doc-head span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-ext { font-size: 13.5px; font-weight: 500; color: var(--cyan); white-space: nowrap; }
.doc-close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(195, 255, 248, .16); background: rgba(255, 255, 255, .06); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.doc-panel iframe { width: 100%; height: 100%; border: 0; background: #fff; }
@media (max-width: 640px) { .doc-modal { padding: 0; } .doc-panel { width: 100%; height: 100%; border-radius: 0; } .doc-ext { display: none; } }
.video-hero .hero-inner.hero-v9 h1 { font-size: clamp(34px, 4.3vw, 62px); line-height: 1.04; }
#products .section-header h2, #products .flagship-heading h2, .showcase-section .section-header h2 { font-size: clamp(30px, 3.2vw, 46px); text-align: center; }
#products .section-header, #products .flagship-heading { justify-items: center; text-align: center; }
@media (max-width: 1000px) { .video-hero .hero-inner.hero-v9 h1 { font-size: clamp(30px, 8vw, 40px); } }
#products .showcase-item h3 { font-size: clamp(22px, 1.9vw, 32px); }
#products .showcase-item p { -webkit-line-clamp: 6; font-size: 15px; }

/* --- v10 --- */
.video-hero .hero-copy h1 { margin: 0; }
.video-hero h1 em { color: var(--cyan); }
.video-hero .hero-actions { margin: 8px 0 0; }
/* чередование фонов: «Как проходит работа» как команда */
#process { background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(5, 20, 46, .42) 18%, rgba(4, 24, 62, .46) 78%, var(--canvas) 100%),
    radial-gradient(54% 58% at 50% 48%, rgba(0, 102, 255, .12), transparent 76%); }
#why-not-chat { background: var(--canvas); }
/* ChatGPT: подводка шире, в две строки; карточки — серая и голубая */
#why-not-chat .section-header p { max-width: 86ch; font-size: 17.5px; }
.vs-card h3 { color: var(--muted); }
.vs-yes h3 { color: var(--cyan); }
.vs-card li { color: var(--muted); }
.vs-yes li { color: var(--ink); }
/* команда в один экран, свечение сильнее, плитки без иконок */
#team.team-section { padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px); }
#team .team-head { margin-bottom: clamp(16px, 2vw, 28px); }
#team .team-portrait { width: clamp(170px, 15vw, 220px); height: clamp(170px, 15vw, 220px); }
/* свечение при наведении: та же геометрия, что в оригинале, чуть ярче */
#team .team-member:hover .team-glow { opacity: .3; scale: 1.06; }
.proof { margin-top: clamp(28px, 3vw, 40px); }
.proof-title { margin: 0 0 14px; text-align: center; font-size: 15px; color: var(--muted); letter-spacing: 0; text-transform: none; }
.proof-item { grid-template-columns: 1fr; grid-template-rows: auto auto; row-gap: 10px; padding: 20px 22px; }
.proof-item em { grid-column: auto; }
@media (max-width: 900px) { #team .team-portrait { width: 150px; height: 150px; } }
/* акцент в hero как в оригинале: на телефоне «ИИ», на десктопе «вашу» */
.video-hero h1 em.hero-em-wide { color: inherit; }
@media (min-width: 761px) {
  .video-hero h1 em.hero-em-narrow { color: inherit; }
  .video-hero h1 em.hero-em-wide { color: var(--cyan); }
}

/* --- v11: правки Максима по мобильной версии (24.08) --- */
/* заголовок карусели: плоский цвет, без сломанного градиента */
#products .showcase-item h3 a { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; color: var(--cyan); }
#products .showcase-item h3 a:hover, #products .showcase-item h3 a:focus-visible { filter: none; color: #5ff0ff; }
@media (max-width: 760px) {
  /* hero: воздух между заголовком и лидом */
  body .video-hero .hero-copy { gap: 18px; }
  /* кейсы: без пустой фиксированной строки под заголовком */
  #products .showcase-item, body #products .showcase-item { grid-template-rows: auto auto; row-gap: 12px; }
  #products .showcase-item h3 { align-self: start; }
  /* плитки доверия: свайп вместо длинного столбца */
  .proof-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .proof-row::-webkit-scrollbar { display: none; }
  .proof-item { flex: 0 0 82%; scroll-snap-align: start; }
}
