@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* ================================
   Всё по-новому — site-specific стили
   Дизайн-система (палитра, шрифты, spacing, радиусы) — в tokens.css / base.css.
   Ничего цветного / размерного хардкодить здесь нельзя — только через var(--*).
   ================================ */

@import "tokens.css?v=1791038627";
@import "base.css?v=1787768602";

/* Reset any base.css defaults we override for landing layouts */
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; max-width: none; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
img, picture, video, canvas, svg { border-radius: 0; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled {
  background: var(--color-canvas-a85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-hairline);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: var(--space-md) var(--space-lg);
  display: flex; align-items: center; gap: var(--space-lg);
}
.brand {
  display: inline-flex; align-items: center;
  line-height: 0;
}
.brand img {
  display: block; height: 35px; width: auto;
  border-radius: var(--radius-sm);
}
@media (max-width: 700px) {
  .brand img { height: 32px; }
}
/* Header text scale — Infera-style: 16/500 nav, 20/400 phone, 16/500 CTA */
.nav-links { display: flex; gap: var(--space-lg); margin-left: auto; font-size: 16px; align-items: center; }
.nav-links > a, .nav-links .nav-item > a { color: var(--color-ink-muted); font-weight: 500; }
.nav-links > a:hover, .nav-links .nav-item > a:hover { color: var(--color-ink); text-decoration: none; }
.nav-links > a.active, .nav-links .nav-item > a.active { color: var(--color-ink); }
.nav-phone {
  color: var(--color-ink) !important;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-phone:hover { color: var(--color-primary) !important; text-decoration: none !important; }
/* Header CTA sits above default .btn to match Infera's 16px/500 */
.nav .btn { font-size: 16px; font-weight: 500; padding: 12px 20px; }

/* Dropdown menu (Products) */
.nav-links .nav-item,
.nav-region { position: relative; display: inline-flex; align-items: center; }
.nav-links .nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-links .dd-caret,
.nav-region .dd-caret {
  width: 14px; height: 14px;
  opacity: 0.7;
  flex-shrink: 0;
  margin-left: 4px;
  transition: transform 0.2s ease, opacity 0.15s ease, color 0.15s ease;
}
.nav-item:hover .dd-caret,
.nav-item:focus-within .dd-caret { transform: rotate(180deg); opacity: 1; color: var(--color-primary); }
.nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  min-width: 340px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-xs);
  box-shadow: var(--shadow-popover);
  z-index: 200;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu { display: block; }

/* Region switcher (BY <-> RU).
   Переиспользует .nav-item / .dropdown-menu от «Продуктов»: открывается на
   hover/focus-within чистым CSS, без единой строки JS. */
.flag {
  display: block;
  width: 22px; height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
  /* Белые поля обоих флагов иначе сливаются с подложкой меню. */
  box-shadow: inset 0 0 0 1px var(--color-tint-a16);
}
.nav-region__toggle {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--color-ink-muted);
  font-weight: 500;
  cursor: default;
  user-select: none;
}
.nav-item:hover .nav-region__toggle,
.nav-item:focus-within .nav-region__toggle { color: var(--color-ink); }
.nav-region__code { font-size: 15px; letter-spacing: 0.02em; }
/* Меню региона висит у правого края шапки: 340px от «Продуктов» вылезли бы
   за вьюпорт, поэтому своя ширина и привязка к правому краю. */
.dropdown-menu--region { min-width: 232px; left: auto; right: 0; }
/* Флаг — прямой ребёнок .dd-item, без .dd-icon: у того margin-top под эмодзи. */
.dropdown-menu--region .dd-item { align-items: center; }
.dd-item--static { cursor: default; }
.dd-item--static:hover { background: var(--color-surface-3); }
.mobile-menu__item--current .mobile-menu__title { color: var(--color-ink-subtle); }

/* Mobile controls (burger + tap-to-call icon) — hidden on desktop, shown ≤900px */
.nav-mobile-phone {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  min-width: 40px; flex-shrink: 0;
  margin-left: auto;
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile-phone:hover { color: var(--color-primary); text-decoration: none; }
.nav-burger {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  min-width: 40px; flex-shrink: 0;
  background: none; border: none; cursor: pointer;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.nav-burger:hover { background: var(--color-tint-a05); }
.nav-burger span {
  position: absolute; left: 8px;
  display: block;
  width: 24px; height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.15s ease, top 0.2s ease;
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 25px; }
.nav-burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Mobile fullscreen menu (opens under fixed nav)
   Compact by design — must fit on iPhone SE (667px) without inner scroll,
   because iOS Safari + body:overflow:hidden + inner-scroll is unreliable
   under touch. If items grow further, drop sub-titles first. */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  /* Above .nav (z-index 100). The menu is a sibling of nav (not a child),
     so raising z-index cleanly covers the fixed nav including its logo.
     Without this, the nav logo shows on top of the menu and hides the
     top-right "Закрыть" button underneath. */
  background: var(--color-canvas);
  overflow-y: auto;
  padding: 64px var(--space-lg) var(--space-md);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner {
  max-width: 600px; margin: 0 auto;
}
.mobile-menu__section {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-hairline);
}
.mobile-menu__section:last-child { border-bottom: none; }
.mobile-menu__label {
  font-family: var(--font-mono);
  font-size: var(--font-size-caption);
  color: var(--color-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mobile-menu__item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  color: var(--color-ink); text-decoration: none;
}
.mobile-menu__item:hover,
.mobile-menu__item:focus { text-decoration: none; color: var(--color-ink); }
.mobile-menu__icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.mobile-menu__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mobile-menu__title { font-weight: var(--font-weight-medium); font-size: 16px; color: var(--color-ink); line-height: 1.25; }
.mobile-menu__sub { color: var(--color-ink-subtle); font-size: 13px; line-height: 1.3; }
.mobile-menu__link {
  display: block; padding: 10px 0;
  color: var(--color-ink);
  font-size: 17px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}
.mobile-menu__link:hover { color: var(--color-primary); text-decoration: none; }
.mobile-menu__phone {
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* Explicit close button — top-right of the menu, obvious tap target */
.mobile-menu__close {
  position: absolute;
  top: 12px;
  right: var(--space-lg);
  z-index: 2;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: none; border: none;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu__close:hover {
  background: var(--color-tint-a06);
  color: var(--color-primary);
}
.mobile-menu__close-label { line-height: 1; }

/* When the mobile menu is open, hide the burger — the explicit X inside the
   menu is the sole close affordance (avoids two overlapping close targets). */
body.mobile-menu-open .nav-burger,
body.mobile-menu-open .nav-mobile-phone { visibility: hidden; }

/* Very short viewports (< 640px height) — drop sub-titles to save vertical space */
@media (max-height: 640px) {
  .mobile-menu__sub { display: none; }
  .mobile-menu__item { padding: 6px 0; }
}
body.mobile-menu-open { overflow: hidden; }
.dd-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-md);
  color: var(--color-ink); text-decoration: none;
}
.dd-item:hover { background: var(--color-surface-3); text-decoration: none; color: var(--color-ink); }
.dd-item.dd-active { background: var(--color-surface-3); }
.dd-item.dd-active .dd-title { color: var(--color-primary); }
.dd-icon { font-size: 20px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.dd-text { display: flex; flex-direction: column; gap: 2px; }
.dd-title { font-weight: var(--font-weight-medium); color: var(--color-ink); font-size: var(--font-size-body); }
.dd-sub { color: var(--color-ink-subtle); font-size: var(--font-size-caption); line-height: 1.4; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: var(--radius-md);
  font-size: var(--font-size-button); font-weight: var(--font-weight-medium);
  cursor: pointer; border: 1px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none; font-family: var(--font-sans); white-space: nowrap;
}
.btn:hover, a.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-ink); color: var(--color-canvas); }
.btn-primary:hover, a.btn-primary:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
  text-decoration: none;
}
.btn-large { padding: 14px 24px; font-size: 15px; }
.btn-secondary {
  background: var(--color-surface-2); color: var(--color-ink);
  border: 1px solid var(--color-hairline-strong);
}
.btn-secondary:hover, a.btn-secondary:hover {
  background: var(--color-surface-3);
  color: var(--color-ink);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* CONTAINERS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 var(--space-lg); }

section { padding: var(--space-section) 0; }
section:first-of-type { padding-top: 64px; }

/* BREADCRUMB */
.breadcrumb {
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-ink-subtle); margin-bottom: 20px; letter-spacing: 0.5px;
}
.breadcrumb a { color: var(--color-ink-muted); }
.breadcrumb .sep { color: var(--color-ink-tertiary); margin: 0 var(--space-xs); }

/* HERO */
.hero { padding: 60px 0 var(--space-section) 0; }
.hero-eyebrow {
  display: inline-flex; gap: var(--space-md); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-lg);
}
.hero-eyebrow span:not(:last-child)::after {
  content: "·"; margin-left: var(--space-md); color: var(--color-ink-tertiary);
}

/* HEADINGS — site-scale (site can override base.css sizes) */
h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-xl);
  letter-spacing: -2px;
  color: var(--color-ink);
  max-width: 640px; margin-bottom: var(--space-lg);
}
h1 .accent { color: var(--color-primary); }
h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-lg);
  letter-spacing: -1.2px;
  color: var(--color-ink);
  margin-bottom: var(--space-lg); max-width: 800px;
}
h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-headline);
  letter-spacing: var(--letter-spacing-card-title);
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}
.hero-sub {
  font-size: var(--font-size-subhead);
  color: var(--color-ink-muted);
  max-width: 640px; line-height: var(--line-height-body);
  margin-bottom: var(--space-xxl);
}
.lede {
  font-size: var(--font-size-body-lg);
  color: var(--color-ink-muted);
  max-width: 720px; line-height: 1.55; margin-bottom: var(--space-xxl);
}
.section-label {
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: var(--space-md);
}

/* HERO CTA — обе кнопки идентичны по высоте/ширине */
.hero-cta { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: stretch; }
.hero-cta .btn { padding: 16px 28px; font-size: var(--font-size-body); min-width: 220px; }
.hero-cta .note { font-size: var(--font-size-eyebrow); color: var(--color-ink-subtle); margin-left: var(--space-xs); }

/* HERO — background video (Infera-style) — header floats over, hero = full viewport */
.hero-video-bg {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  display: flex;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-top: 120px;
  padding-bottom: var(--space-lg);
}
/* .hero-glass — see override block after .glass-block below for higher specificity */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-canvas);
}
.hero-video-wrap video,
.hero-video-wrap img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero-video-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--color-canvas) 0%,
    var(--color-canvas) 5%,
    var(--color-canvas-a85) 18%,
    var(--color-canvas-a50) 40%,
    var(--color-canvas-a15) 70%,
    transparent 100%
  );
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero-video-bg { min-height: 100svh; }
  .hero-inner { padding-top: 90px; padding-bottom: var(--space-md); gap: var(--space-lg); }
}

/* PROBLEM / PROSE */
.prose { font-size: 17px; color: var(--color-ink-muted); max-width: 720px; line-height: 1.65; }
.prose p { margin-bottom: 20px; }
.prose-list {
  list-style: none; padding: var(--space-lg) 0; margin: var(--space-xl) 0;
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}
.prose-list li {
  padding: var(--space-sm) 0; color: var(--color-ink-muted);
  font-size: var(--font-size-body); display: flex; gap: var(--space-sm);
}
.prose-list li::before { content: "—"; color: var(--color-primary); flex-shrink: 0; }
.punch {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: var(--font-weight-semibold); line-height: 1.2;
  letter-spacing: -0.8px; color: var(--color-ink);
  padding-top: var(--space-xl); max-width: 780px;
}
.punch .accent { color: var(--color-primary); }

/* STEPS */
.steps {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}
.step {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.2s;
}
.step:hover { border-color: var(--color-hairline-strong); }
.step-num {
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-primary); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: var(--space-sm);
}
.step p { color: var(--color-ink-muted); font-size: 15px; line-height: 1.55; }

/* PIPELINE — vertical timeline with numbered circles + connector line */
.pipeline {
  display: flex; flex-direction: column;
  margin-top: var(--space-xl);
  max-width: 720px;
}
.pipeline-step {
  display: flex; align-items: flex-start; gap: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-xl);
}
.pipeline-step:last-child { padding-bottom: 0; }
.pipeline-step:not(:last-child)::before {
  /* vertical connector line between circles */
  content: '';
  position: absolute;
  left: 21px; /* center of 44px circle */
  top: 48px;  /* below circle (44px + 4px gap) */
  bottom: 4px;
  width: 2px;
  background: var(--color-hairline);
}
.pipeline-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-surface-1);
  border: 1.5px solid var(--color-hairline-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-primary);
  z-index: 1;
  line-height: 1;
}
.pipeline-content { flex: 1; padding-top: 8px; }
.pipeline-content h3 { margin: 0 0 var(--space-xs) 0; }
.pipeline-content p {
  color: var(--color-ink-muted);
  font-size: 15px; line-height: 1.55;
  margin: 0;
}

/* CASE */
.case-block {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl); padding: var(--space-xxl); margin-top: var(--space-xl);
}
.case-metric {
  display: flex; align-items: baseline; gap: var(--space-md);
  padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-hairline);
  margin-bottom: var(--space-xl);
}
.case-metric .value {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: var(--font-weight-semibold); letter-spacing: -2px;
  color: var(--color-primary); line-height: 1;
}
.case-metric .label { color: var(--color-ink-muted); font-size: 17px; max-width: 400px; }
.testimonial {
  font-family: var(--font-display); font-size: var(--font-size-card-title);
  line-height: 1.5; letter-spacing: -0.3px;
  color: var(--color-ink); font-style: italic;
  padding-left: 20px; border-left: 3px solid var(--color-primary);
  margin-bottom: var(--space-lg);
}
.testimonial-author {
  font-family: var(--font-mono); font-size: var(--font-size-eyebrow);
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1px;
}

/* Historical-quote card — используется на /obuchenie-ii под H2 compare-таблицы.
   Двухколоночная композиция: слева avatar+author в стек, справа italic quote
   с вертикальным teal-разделителем. Комактная, служит intro к сравнению.
   На мобиле — стек. */
.quote-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 780px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-md) var(--space-lg);
}
.quote-card__side {
  display: flex; flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}
.quote-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  object-fit: cover;
  background: var(--color-canvas);
  box-shadow: 0 0 16px var(--color-primary-a15);
}
.quote-card__author {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-ink-subtle);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  white-space: nowrap;
  text-align: center;
}
.quote-card__text {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--color-ink);
  font-style: italic;
  letter-spacing: -0.1px;
  margin: 0;
  padding-left: var(--space-lg);
  border-left: 1px solid var(--color-primary);
  max-width: 560px;
  align-self: stretch;
  display: flex; align-items: center;
}
@media (max-width: 600px) {
  .quote-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
  }
  .quote-card__side { flex-direction: row; align-items: center; gap: var(--space-sm); }
  .quote-card__avatar { width: 56px; height: 56px; }
  .quote-card__text {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--color-primary);
    padding-top: var(--space-md);
    max-width: none;
  }
}

/* CASES GRID — короткие карточки-кейсы (обзорный ряд) */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}
.cases-grid--2 { grid-template-columns: repeat(2, 1fr); }
.case-card {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: 14px; padding: var(--space-xl);
  display: flex; flex-direction: column;
}
.case-card-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: var(--space-md);
}
.case-card h3 { margin-bottom: var(--space-md); font-size: 20px; letter-spacing: -0.4px; }
.case-card-metric {
  font-family: var(--font-display);
  font-size: 40px; font-weight: var(--font-weight-semibold);
  color: var(--color-primary); line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 4px;
}
/* «Было → стало» внутри метрики: <s>4 часа</s> 2 сообщения. Стрелка читалась
   как «было 4 часа, стало 2 сообщения»; зачёркнутое «было» + акцентное «стало»
   читается однозначно. */
.case-card-metric s {
  color: var(--color-ink-muted); font-size: 0.6em; font-weight: var(--font-weight-medium);
  letter-spacing: -0.5px; vertical-align: 0.08em; margin-right: 0.15em;
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.case-card-metric-label {
  color: var(--color-ink-muted); font-size: 13px;
  line-height: 1.45; margin-bottom: var(--space-md);
}
.case-card p { color: var(--color-ink-muted); font-size: 15px; line-height: 1.55; margin: 0; }

/* BEHAVIOR */
.behavior-block {
  background: linear-gradient(180deg, var(--color-surface-1) 0%, var(--color-canvas) 100%);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl); padding: var(--space-xxl); margin-top: var(--space-xl);
}
.behavior-block p {
  font-size: var(--font-size-body-lg); color: var(--color-ink-muted);
  line-height: 1.6; margin-bottom: 20px; max-width: 720px;
}
.behavior-block .punch-line {
  font-family: var(--font-display); font-size: 26px;
  font-weight: var(--font-weight-semibold); color: var(--color-ink);
  letter-spacing: -0.5px; margin-top: var(--space-lg);
}

/* PRICING TEASER */
.pricing-teaser {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl); padding: 40px; margin-top: var(--space-xl);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: var(--space-xl);
}
.pricing-teaser .pt-info h3 { margin-bottom: var(--space-xs); }
.pricing-teaser .pt-info p { color: var(--color-ink-muted); font-size: 15px; max-width: 500px; }
.pricing-teaser .pt-info .roi-hint {
  font-size: var(--font-size-body-sm); color: var(--color-ink-subtle);
  margin-top: var(--space-sm); font-family: var(--font-mono);
}
.pricing-teaser .pt-info .roi-hint a { color: var(--color-primary); }
.pricing-teaser .pt-cta {
  text-align: right; display: flex;
  flex-direction: column; gap: var(--space-xs);
}
.pricing-teaser .pt-cta .price {
  font-family: var(--font-display); font-size: var(--space-xl);
  font-weight: var(--font-weight-semibold); color: var(--color-ink);
  letter-spacing: -1px; white-space: nowrap;
}
.pricing-teaser .pt-cta .price .period { font-size: var(--font-size-body-sm); color: var(--color-ink-subtle); font-weight: var(--font-weight-regular); }

/* PRICING FULL */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}
.price-card {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
}
.price-card.featured {
  border-color: var(--color-primary); background: var(--color-surface-2);
}
.price-card .rec-badge {
  position: absolute; top: -11px; left: 24px;
  background: var(--color-primary); color: var(--color-on-primary);
  font-family: var(--font-mono); font-size: 10px;
  padding: 5px 12px; border-radius: var(--radius-xs);
  text-transform: uppercase; letter-spacing: 1px; font-weight: var(--font-weight-semibold);
}
.price-name {
  font-family: var(--font-display); font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-semibold); color: var(--color-ink); margin-bottom: var(--space-xs);
}
.price-amount {
  font-family: var(--font-display); font-size: 44px;
  font-weight: var(--font-weight-semibold); color: var(--color-ink);
  letter-spacing: -1.5px; margin-bottom: var(--space-xxs); line-height: 1;
}
.price-amount .period { font-size: 15px; font-weight: var(--font-weight-regular); color: var(--color-ink-subtle); }
.price-sub { font-size: var(--font-size-eyebrow); color: var(--color-ink-subtle); margin-bottom: var(--space-lg); }
.price-features { list-style: none; padding: 0; margin: 0 0 var(--space-lg) 0; flex: 1; }
.price-features li {
  font-size: var(--font-size-body-sm); color: var(--color-ink-muted);
  padding: var(--space-xs) 0 var(--space-xs) 24px; position: relative; line-height: 1.4;
}
.price-features li::before {
  content: "✓"; position: absolute;
  left: 0; top: var(--space-xs); color: var(--color-primary); font-weight: var(--font-weight-semibold);
}

/* ROI CALCULATOR */
.roi-calc {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl); padding: 40px; margin-top: var(--space-xl);
}
.roi-calc-formula {
  font-family: var(--font-mono); font-size: var(--font-size-body-sm);
  color: var(--color-ink-muted); padding-bottom: 20px;
  border-bottom: 1px solid var(--color-hairline); margin-bottom: var(--space-lg);
}
.roi-slider-row {
  display: flex; align-items: center; gap: var(--space-lg);
  margin-bottom: var(--space-lg); flex-wrap: wrap;
}
.roi-slider-row label {
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1.2px;
  min-width: 200px;
}
.roi-slider-row input[type="range"] {
  flex: 1; min-width: 200px;
  -webkit-appearance: none; appearance: none;
  height: 6px; background: var(--color-surface-2);
  border-radius: 3px; outline: none;
}
.roi-slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; background: var(--color-primary);
  border-radius: var(--radius-pill); cursor: pointer;
  border: 3px solid var(--color-canvas);
}
.roi-slider-row input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--color-primary);
  border-radius: var(--radius-pill); cursor: pointer; border: 3px solid var(--color-canvas);
}
.roi-slider-row .value-display {
  font-family: var(--font-display); font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-semibold); color: var(--color-ink);
  min-width: 60px; text-align: right;
}
.roi-result {
  background: var(--color-surface-2); border-radius: var(--radius-lg);
  padding: var(--space-xl); text-align: center;
  border: 1px solid var(--color-hairline); margin-top: var(--space-lg);
}
.roi-result .result-label {
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: var(--space-sm);
}
.roi-result .result-value {
  font-family: var(--font-display); font-size: 48px;
  font-weight: var(--font-weight-semibold); color: var(--color-primary);
  letter-spacing: -1.5px; line-height: 1; margin-bottom: var(--space-xs);
}
.roi-result .result-caption {
  color: var(--color-ink-muted); font-size: 15px;
}

/* FAQ (accordion via <details>/<summary>) */
.faq-list { margin-top: var(--space-xl); }
.faq-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-hairline);
}
.faq-item:first-child { border-top: 1px solid var(--color-hairline); }
.faq-item[open] { padding-bottom: var(--space-xl); }
.faq-q {
  font-family: var(--font-display); font-size: 19px;
  font-weight: var(--font-weight-semibold); color: var(--color-ink);
  letter-spacing: -0.3px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color 0.15s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--color-primary); }
.faq-q::after {
  content: '';
  position: absolute;
  right: 4px; top: 0.5em;
  width: 10px; height: 10px;
  border-right: 2px solid var(--color-ink-muted);
  border-bottom: 2px solid var(--color-ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s, border-color 0.2s;
}
.faq-item[open] .faq-q { color: var(--color-primary); }
.faq-item[open] .faq-q::after {
  transform: rotate(-135deg);
  top: 0.75em;
  border-color: var(--color-primary);
}
.faq-a {
  color: var(--color-ink-muted); font-size: 15px; line-height: 1.6;
  max-width: 800px;
  margin-top: var(--space-md);
}
.faq-a p { margin: 0 0 var(--space-md) 0; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 0 0 var(--space-md) 0; padding-left: 1.25em; }
.faq-a ul:last-child { margin-bottom: 0; }
.faq-a li { margin-bottom: var(--space-sm); }
.faq-a li:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--color-ink); font-weight: var(--font-weight-semibold); }

/* PRODUCTS GRID (HUB) */
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}
.product-card {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: 14px; padding: var(--space-xl);
  transition: border-color 0.2s, transform 0.2s;
  display: block; text-decoration: none; color: inherit;
}
.product-card:hover { border-color: var(--color-primary); transform: translateY(-2px); text-decoration: none; }
.product-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: var(--space-md);
}
.product-card h3 { margin-bottom: var(--space-sm); }
.product-card p { color: var(--color-ink-muted); font-size: 15px; line-height: 1.55; margin-bottom: var(--space-md); }
.product-card .arrow {
  font-family: var(--font-mono); font-size: var(--font-size-eyebrow);
  color: var(--color-primary);
}

/* TRUST METRICS — GLASS BLOCK (frosted-glass over blob-lit surface) */
.glass-section { padding-top: 0; margin-top: var(--space-xl); }
.glass-block {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-xxl);
  background: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  overflow: hidden;
  isolation: isolate;
}
.glass-blob {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.glass-blob-1 { top: -200px; left: -140px; background: var(--color-primary); }
.glass-blob-2 { bottom: -200px; right: -100px; background: var(--color-secondary); }
/* Hero-scoped override: strip the glass shell (bg/border/radius/padding + blobs) */
.glass-block.hero-glass {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  margin: 0;
}
.glass-block.hero-glass .glass-blob { display: none; }
/* Hero sub — крупнее и белый (как Infera: 24px / 1.33) */
.hero-video-bg .hero-sub {
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1.33;
}
.glass-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.glass-grid--3 { grid-template-columns: repeat(3, 1fr); }
.glass-grid--1 { grid-template-columns: 1fr; }
.glass-card {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-tint-a04);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--color-tint-a08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 var(--color-tint-a05);
}
.glass-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  font-size: 28px; line-height: 1;
  box-shadow: inset 0 1px 0 var(--color-tint-a18), 0 6px 22px var(--color-shade-a35);
}
.glass-icon-teal   { background: var(--gradient-teal); }
.glass-icon-purple { background: var(--gradient-purple); }
.glass-icon-blue   { background: var(--gradient-blue); }
.glass-icon-orange { background: var(--gradient-orange); }

/* Плитка с растровой иконкой: фон запечён в саму картинку, поэтому градиентный
   модификатор здесь не нужен. overflow — иначе квадратная картинка срежет
   border-radius; ::after возвращает верхнюю подсветку, которую перекрыл <img>
   (inset-тень рисуется под контентом). */
.glass-icon-img { background: none; overflow: hidden; position: relative; }
.glass-icon-img img { width: 100%; height: 100%; display: block; }
.glass-icon-img::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 var(--color-tint-a18);
}
.glass-body { min-width: 0; }
.glass-title {
  font-family: var(--font-display);
  font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ink);
  letter-spacing: var(--letter-spacing-card-title);
  line-height: 1.2;
  margin-bottom: 2px;
}
.glass-sub {
  font-size: var(--font-size-body-sm);
  color: var(--color-ink-muted);
  line-height: 1.4;
}

/* COMPARISON BLOCK */
.compare-block {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl); padding: var(--space-xxl); margin-top: var(--space-xl);
}
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-xl); margin-top: var(--space-lg);
}
.compare-col { padding: var(--space-lg); border-radius: var(--radius-lg); }
.compare-col.bad { background: var(--color-canvas); border: 1px solid var(--color-hairline); }
.compare-col.good { background: var(--color-surface-2); border: 1px solid var(--color-primary); }
.compare-col h4 {
  font-family: var(--font-display); font-size: var(--font-size-body-lg);
  font-weight: var(--font-weight-semibold); margin-bottom: var(--space-md);
}
.compare-col.bad h4 { color: var(--color-ink-subtle); }
.compare-col.good h4 { color: var(--color-primary); }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { padding: var(--space-xs) 0; color: var(--color-ink-muted); font-size: var(--font-size-body-sm); line-height: 1.5; display: flex; gap: var(--space-xs); }
.compare-col.bad li::before { content: "—"; color: var(--color-ink-tertiary); }
.compare-col.bad li.plus::before { content: "+"; color: var(--color-primary); font-weight: var(--font-weight-semibold); }
.compare-col.good li::before { content: "+"; color: var(--color-primary); font-weight: var(--font-weight-semibold); }
/* .key — the row that carries the whole argument. Lifted out of the list with
   a tinted band + accent rail; negative margins keep the +/— marker on the
   same left edge as every other row. */
.compare-col li.key {
  color: var(--color-ink);
  font-weight: var(--font-weight-medium);
  padding: var(--space-sm);
  margin: var(--space-xs) calc(-1 * var(--space-sm)) var(--space-xs) calc(-1 * (var(--space-sm) + 2px));
  border-left: 2px solid var(--color-ink-tertiary);
  border-radius: var(--radius-md);
  background: var(--color-surface-3);
}
.compare-col.good li.key {
  border-left-color: var(--color-primary);
  background: var(--color-primary-a10);
}

/* Semantic comparison table — Google подхватывает <table> под table-featured-snippet,
   div-grid не годится. Визуально та же двухколоночная симметрия что .compare-grid,
   но со <thead>/<tbody>/<th scope="col"> для SEO и accessibility. */
.compare-table {
  width: 100%;
  border-collapse: separate; border-spacing: var(--space-md) 0;
  margin-top: var(--space-lg);
}
.compare-table thead th {
  font-family: var(--font-display); font-size: var(--font-size-body-lg);
  font-weight: var(--font-weight-semibold);
  text-align: left; padding: var(--space-md);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.compare-table thead th:first-child {
  color: var(--color-ink-subtle);
  background: var(--color-canvas); border: 1px solid var(--color-hairline);
  border-bottom: none;
}
.compare-table thead th:last-child {
  color: var(--color-primary);
  background: var(--color-surface-2); border: 1px solid var(--color-primary);
  border-bottom: none;
}
.compare-table tbody td {
  color: var(--color-ink-muted); font-size: var(--font-size-body-sm); line-height: 1.5;
  padding: var(--space-sm) var(--space-md);
  vertical-align: top;
  border-left: 1px solid var(--color-hairline); border-right: 1px solid var(--color-hairline);
}
.compare-table tbody td:first-child {
  background: var(--color-canvas);
  border-left: 1px solid var(--color-hairline);
}
.compare-table tbody td:last-child {
  color: var(--color-ink);
  background: var(--color-surface-2);
  border-left: 1px solid var(--color-primary); border-right: 1px solid var(--color-primary);
}
.compare-table tbody tr:last-child td:first-child {
  border-bottom: 1px solid var(--color-hairline);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.compare-table tbody tr:last-child td:last-child {
  border-bottom: 1px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.compare-table tbody td::before {
  display: inline-block; margin-right: var(--space-xs);
  font-weight: var(--font-weight-semibold);
}
.compare-table tbody td:first-child::before { content: "—"; color: var(--color-ink-tertiary); }
.compare-table tbody td:last-child::before { content: "+"; color: var(--color-primary); }
@media (max-width: 700px) {
  .compare-table { border-spacing: 0 var(--space-sm); }
  .compare-table, .compare-table thead, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table thead th { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .compare-table tbody tr { display: grid; grid-template-columns: 1fr; margin-bottom: var(--space-md); }
  .compare-table tbody td:first-child { border-radius: 0; border-bottom: none; }
  .compare-table tbody td:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); border-top: none; }
}

/* WHY US (4-alternative comparison, custom.php) */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}
.why-card {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: var(--space-sm);
  transition: border-color 0.2s;
}
.why-card:hover { border-color: var(--color-hairline-strong); }
.why-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ink);
  letter-spacing: var(--letter-spacing-card-title);
  line-height: var(--line-height-card-title);
}
.why-card__body {
  color: var(--color-ink-muted);
  font-size: 15px; line-height: 1.55;
  margin: 0;
}
.why-card--ours {
  background: linear-gradient(135deg, var(--color-primary-a10), var(--color-primary-a02));
  border-color: var(--color-primary-a40);
}
.why-card--ours .why-card__title { color: var(--color-primary); }

/* LOGOS BLOCK */
.logos-block {
  padding: 40px var(--space-xl) var(--space-lg); text-align: center;
  border-top: 1px solid var(--color-hairline);
  margin-top: var(--space-xl);
}
.logos-label {
  font-family: var(--font-mono); font-size: var(--font-size-caption);
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* LOGOS MARQUEE — auto-scrolling infinite carousel, works for 4..N logos */
.logos-marquee {
  overflow: hidden;
  padding: var(--space-lg) 0 40px;
  border-bottom: 1px solid var(--color-hairline);
  margin-bottom: var(--space-xl);
  /* Fade edges so logos softly appear/disappear */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.logos-marquee-track {
  display: flex; width: max-content;
  animation: logos-scroll 28s linear infinite;
}
.logos-marquee:hover .logos-marquee-track { animation-play-state: paused; }
.logos-marquee-group {
  display: flex; gap: var(--space-md);
  padding-right: var(--space-md); /* keep gap between duplicated groups */
  align-items: center;
}
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-marquee-track { animation: none; }
  .logos-marquee { -webkit-mask-image: none; mask-image: none; }
}

.client-logo {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  width: 270px; height: 108px; padding: 0 12px;   /* 1.5x от исходного; паддинг ужат — он съедал ширину у вордмарков */
  background: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  opacity: 0.85;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none; box-sizing: border-box;
}
.client-logo img {
  max-width: 100%; max-height: 60px;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
.client-logo:hover {
  opacity: 1;
  border-color: var(--color-hairline-strong);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .client-logo { width: 225px; height: 90px; padding: 0 10px; }
  .client-logo img { max-height: 48px; }
  .logos-marquee-track { animation-duration: 22s; }
}

/* FINAL CTA + FORM */
.final-cta {
  background: linear-gradient(135deg, var(--color-surface-1) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-hairline-strong);
  border-radius: 20px; padding: 64px var(--space-xxl);
  margin: var(--space-xxl) 0; text-align: center;
}
.final-cta h2 { margin-left: auto; margin-right: auto; }
.final-cta .lede { margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.form { max-width: 500px; margin: 0 auto; text-align: left; }
.form-row { margin-bottom: var(--space-md); }
.form-row label {
  display: block; font-family: var(--font-mono);
  font-size: 11px; color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: var(--space-sm) var(--space-md);
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-md); color: var(--color-ink);
  font-family: var(--font-sans); font-size: 15px;
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--color-ink-tertiary); }
.form-row textarea { min-height: 100px; resize: vertical; font-family: var(--font-sans); }
.form .btn-primary { width: 100%; padding: var(--space-md); font-size: var(--font-size-body); margin-top: var(--space-xs); }
.form-note {
  font-size: var(--font-size-eyebrow); color: var(--color-ink-subtle);
  text-align: center; margin-top: var(--space-md);
}

/* CONTACT PAGE */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl); margin-top: var(--space-xxl);
}
.contact-info {
  background: var(--color-surface-1); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl); padding: 40px;
}
.contact-item { margin-bottom: var(--space-lg); }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: var(--space-xs);
}
.contact-item .value {
  font-family: var(--font-display); font-size: var(--font-size-subhead);
  color: var(--color-ink); font-weight: var(--font-weight-medium);
}
.contact-item .value a { color: var(--color-ink); }
.contact-item .value a:hover { color: var(--color-primary); text-decoration: none; }

/* FOOTER */
footer { border-top: 1px solid var(--color-hairline); padding: var(--space-xxl) 0 var(--space-xl) 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p {
  color: var(--color-ink-subtle); font-size: var(--font-size-body-sm);
  margin-top: var(--space-sm); max-width: 280px; line-height: 1.5;
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-ink-subtle);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: var(--space-md); font-weight: var(--font-weight-medium);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-ink-muted); font-size: var(--font-size-body-sm); }
.footer-col a:hover { color: var(--color-ink); text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0 auto;
  padding: var(--space-lg); border-top: 1px solid var(--color-hairline);
  color: var(--color-ink-tertiary); font-size: var(--font-size-caption);
  font-family: var(--font-mono); letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero { padding: var(--space-xl) 0 64px 0; }
  /* max-width снимаем: на узком экране ширину задаёт вьюпорт, а 640px
     резал бы заголовок ещё раз поверх этого. Ограничение — только для десктопа. */
  h1 { font-size: 40px; letter-spacing: -1.2px; max-width: none; }
  h2 { font-size: var(--space-xl); letter-spacing: -0.8px; }
  .hero-sub { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .glass-grid { grid-template-columns: 1fr; }
  .glass-block { padding: var(--space-lg); }
  .glass-blob { width: 320px; height: 320px; filter: blur(90px); opacity: 0.35; }
  .glass-blob-1 { top: -140px; left: -100px; }
  .glass-blob-2 { bottom: -140px; right: -60px; }
  .glass-icon { width: 48px; height: 48px; font-size: 24px; }
  .compare-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .case-block, .behavior-block, .compare-block { padding: var(--space-xl) var(--space-lg); }
  .final-cta { padding: var(--space-xxl) var(--space-lg); }
  .case-metric { flex-direction: column; gap: var(--space-xs); }
  .pricing-teaser { grid-template-columns: 1fr; gap: 20px; }
  .pricing-teaser .pt-cta { text-align: left; }
  .roi-slider-row label { min-width: auto; }
  .nav-links { display: none; }
  .nav-mobile-phone { display: inline-flex; }
  .nav-burger { display: inline-flex; }
  /* Mobile header — no CTA button; conversion via phone icon or burger-menu.
     There's a Demo CTA in the hero and elsewhere on the page, so no need to
     duplicate it in the sticky nav. */
  .nav-inner .btn[data-cta="header"] { display: none; }
  .nav-inner { gap: var(--space-sm); }
  .nav-region { display: none; }
}

/* ================================
   LEAD MODAL
   Единая форма заявки, открывается со всех CTA сайта.
   ================================ */
.lead-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
}
.lead-modal[hidden] { display: none; }
.lead-modal__overlay {
  position: absolute; inset: 0;
  background: var(--color-shade-a72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.lead-modal__panel {
  position: relative;
  background: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-modal);
}
.lead-modal__close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: var(--color-ink-muted);
  font-size: 28px; line-height: 1; cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.lead-modal__close:hover { color: var(--color-ink); background: var(--color-tint-a05); }
.lead-modal__title {
  font-size: 26px; margin: 8px 0 8px; line-height: 1.25;
}
.lead-modal__sub {
  color: var(--color-ink-muted);
  margin-bottom: var(--space-lg);
  font-size: 15px;
}
.lead-modal .form-note {
  color: var(--color-ink-muted); font-size: 14px;
  margin-top: var(--space-md);
}
@media (max-width: 700px) {
  .lead-modal { padding: 12px; }
  .lead-modal__panel { padding: var(--space-lg); }
  .lead-modal__title { font-size: 22px; }
}
body.lead-modal-open { overflow: hidden; }

/* ================================
   AI WIDGET
   Sticky bottom-right prompt: «Сайт создан с ИИ — хотите так же?»
   Dark surface widget in the site's own linear-dark palette; text reads as
   body (not display), CTA inherits .btn .btn-primary from the site's button
   system so it looks like the rest of the CTAs.
   Trigger: 30 сек на странице. localStorage flag ставится ТОЛЬКО при клике
   на × этого виджета — «Хочу также!» и clicks по другим CTA виджет не глушат.
   z-index 999 — ниже .lead-modal (1000), чтобы модалка перекрывала виджет.
   ================================ */
.ai-widget {
  position: fixed;
  right: 24px;
  bottom: 96px; /* Sits above the chat launcher (56px + 24px margin + 16px gap) */
  z-index: 999;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-floating);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.ai-widget[hidden] { display: none; }
.ai-widget.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.ai-widget__close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: var(--color-ink-subtle);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.ai-widget__close:hover {
  color: var(--color-ink);
  background: var(--color-tint-a05);
}
.ai-widget__text {
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.05px;
  margin: 0 0 var(--space-md);
  padding-right: 20px; /* Clearance for the × close button */
}
.ai-widget__cta {
  width: auto;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 600px) {
  .ai-widget {
    left: 12px;
    right: 12px;
    bottom: 12px; /* Chat launcher overlaps it on mobile — intended (Владимир, 2026-09-13) */
    width: auto;
    padding: var(--space-md);
  }
  .ai-widget__text { font-size: 14px; }
}

/* ============================================================
   Reveal-on-scroll — Motion One initial states.
   The <html>.has-js-anim class is set by inline JS in header.php
   only when JS is on AND prefers-reduced-motion is not reduce.
   Without JS or with reduced motion, elements are visible by default.
   Motion One toggles final state via animate() inside inView().
   ============================================================ */
.has-js-anim [data-anim] { opacity: 0; will-change: opacity, transform; }
.has-js-anim [data-anim="up"]    { transform: translateY(2rem); }
.has-js-anim [data-anim="down"]  { transform: translateY(-2rem); }
.has-js-anim [data-anim="left"]  { transform: translateX(2rem); }
.has-js-anim [data-anim="right"] { transform: translateX(-2rem); }
.has-js-anim [data-anim="fade"]  { transform: none; }

/* ================================
   CHAT WIDGET
   Live chat with the AI agent («ИИ Василий»). Round launcher bottom-right,
   panel opens above it; fullscreen on ≤600px. Same surface ladder as the
   ai-widget and lead-modal: surface-1 panel, hairline border, teal accents.
   Prototype: no backend — see inc/chat-widget.php and the chat IIFE in site.js.
   ================================ */
.chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  font-family: var(--font-sans);
}
.chat__launcher {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-primary);
  color: var(--color-on-primary);
  cursor: pointer;
  box-shadow: 0 8px 28px var(--color-shade-a45), 0 0 0 0 var(--color-primary-a35);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.chat__launcher:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.chat__launcher:focus-visible { outline: none; box-shadow: 0 8px 28px var(--color-shade-a45), var(--shadow-focus-ring); }
.chat__icon { display: block; }
.chat__icon--close { display: none; }
.chat.is-open .chat__icon--open { display: none; }
.chat.is-open .chat__icon--close { display: block; }
/* Hide the sticky ai-widget while the chat panel is open — same corner. */
body.chat-open .ai-widget { display: none; }

.chat__panel {
  position: absolute;
  right: 0;
  bottom: 72px; /* launcher 56px + 16px gap */
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  display: flex;
  flex-direction: column;
  padding: 0; /* not a <section>, but guard against global section padding anyway */
  background: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  transform-origin: bottom right;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.chat__panel[hidden] { display: none; }
.chat.is-open .chat__panel { transform: none; opacity: 1; }

.chat__header {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-hairline);
  background: var(--color-surface-2);
}
.chat__avatar {
  display: block;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--color-hairline-strong);
}
.chat__who { flex: 1; min-width: 0; }
.chat__name {
  color: var(--color-ink);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-body);
}
.chat__status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
  color: var(--color-ink-subtle);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
}
.chat__status-dot {
  width: 7px; height: 7px; border-radius: var(--radius-full);
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-a18);
}
.chat__close {
  background: none; border: none;
  color: var(--color-ink-subtle);
  font-size: 26px; line-height: 1; cursor: pointer;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.chat__close:hover { color: var(--color-ink); background: var(--color-tint-a05); }

.chat__log {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex; flex-direction: column; gap: var(--space-xs);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.chat__msg { display: flex; max-width: 85%; }
.chat__msg--agent { align-self: flex-start; }
.chat__msg--user  { align-self: flex-end; }
.chat__bubble {
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  animation: chat-bubble-in 0.18s ease both;
}
.chat__msg--agent .chat__bubble {
  background: var(--color-surface-3);
  color: var(--color-ink);
  border: 1px solid var(--color-hairline);
  border-bottom-left-radius: var(--radius-xs);
}
.chat__msg--user .chat__bubble {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-bottom-right-radius: var(--radius-xs);
}
.chat__bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.chat__msg--agent .chat__bubble a { color: var(--color-primary); }
@keyframes chat-bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Typing indicator — three pulsing dots inside an agent bubble */
/* The indicator is one persistent element toggled with .is-visible: it fades and
   slides instead of being re-created (that re-ran the bubble animation and blinked). */
.chat__msg--typing {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.chat__msg--typing:not(.is-visible) {
  height: 0;
  margin-top: calc(-1 * var(--space-xs)); /* cancel the log's flex gap while hidden */
  overflow: hidden;
}
.chat__msg--typing.is-visible { opacity: 1; transform: none; }
.chat__msg--typing .chat__bubble { animation: none; padding: 12px 16px; }
.chat__typing { display: inline-flex; gap: 5px; align-items: center; height: 16px; }
.chat__typing i {
  display: block; width: 6px; height: 6px; border-radius: var(--radius-full);
  background: var(--color-ink-subtle);
  animation: chat-typing 1.1s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.chat__composer {
  display: flex; align-items: flex-end; gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md) 0;
  border-top: 1px solid var(--color-hairline);
  background: var(--color-surface-1);
}
.chat__input {
  flex: 1;
  min-height: 42px;
  max-height: 120px;
  padding: 10px 14px;
  resize: none;
  background: var(--color-surface-2);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-lg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--font-size-body-sm);
  line-height: 1.45;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.chat__input::placeholder { color: var(--color-ink-subtle); }
.chat__input:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--shadow-focus-ring); }
.chat__send {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border: none; border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.chat__send:hover { background: var(--color-primary-hover); }
.chat__send:disabled { opacity: 0.4; cursor: default; }
.chat__send:focus-visible { outline: none; box-shadow: var(--shadow-focus-ring); }
.chat__hint {
  margin: 0;
  padding: 6px var(--space-md) var(--space-sm);
  color: var(--color-ink-tertiary);
  font-size: 11px;
  line-height: var(--line-height-caption);
  text-align: center;
}

/* Markdown-ответы агента (p / списки / код / ссылки) и вложения */
.chat__bubble p { margin: 0 0 0.55em; }
.chat__bubble p:last-child { margin-bottom: 0; }
.chat__bubble .chat__h { font-weight: 600; margin: 0.6em 0 0.3em; }
.chat__bubble .chat__h:first-child { margin-top: 0; }
.chat__bubble ul, .chat__bubble ol { margin: 0.2em 0 0.6em 1.25em; padding: 0; }
.chat__bubble li { margin: 0.15em 0; }
.chat__bubble code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--color-tint-a08);
}
.chat__bubble pre {
  margin: 0.4em 0 0.6em;
  padding: 0.6em 0.75em;
  border-radius: 8px;
  background: var(--color-tint-a08);
  overflow-x: auto;
}
.chat__bubble pre code { padding: 0; background: none; font-size: 0.85em; }
.chat__files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.5em; }
.chat__files img { max-width: 100%; max-height: 220px; border-radius: 8px; display: block; }
.chat__file {
  display: inline-block;
  padding: 0.35em 0.7em;
  border-radius: 999px;
  border: 1px solid currentColor;
  text-decoration: none !important;
  font-size: 0.9em;
}

@media (max-width: 600px) {
  .chat { right: 12px; bottom: 12px; }
  .chat__launcher { width: 52px; height: 52px; }
  /* Fullscreen panel; the launcher hides and the header × is the only close. */
  .chat__panel {
    position: fixed; inset: 0;
    width: auto; max-width: none;
    height: auto; max-height: none;
    border-radius: 0; border: none;
    transform-origin: center bottom;
  }
  .chat.is-open .chat__launcher { display: none; }
  .chat__header { padding-top: calc(var(--space-md) + env(safe-area-inset-top, 0px)); }
  .chat__hint { display: none; }
  .chat__composer { padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px)); }
  body.chat-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .chat__panel, .chat__launcher { transition: none; }
  .chat__bubble { animation: none; }
  .chat__typing i { animation: none; opacity: 0.7; }
  .chat__msg--typing { transition: none; }
  .chat__log { scroll-behavior: auto; }
}

/* ── Voice try section + call widget (/golosovoy-assistent) ─────────
   Живой callable-виджет отдельной секцией сразу под hero. Виджет
   подключается к LiveKit-агенту БелЖД (JS в pages/golosovoy-assistent.php).
   Состояния (idle / listening / speaking) переключаются JS через классы
   на #card, кольца анимируются CSS. Порт CSS из demo/belzd/index.php,
   адаптирован под палитру спойка. */
.voice-try-section {
  text-align: center;
}
.voice-try-section .section-label,
.voice-try-section .lede {
  text-align: center;
}
.voice-try-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}
.voice-try-section h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
}
.voice-try-section .lede {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  color: var(--color-ink-muted);
}

.voice-call {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: 28px;
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  box-shadow: 0 24px 60px -30px var(--color-shade-a70),
              inset 0 1px 0 var(--color-tint-a05);
}
/* Без этого .voice-call__btn { display: grid } перебивает [hidden] */
.voice-call [hidden] { display: none !important; }

.voice-call__avatar-wrap {
  position: relative;
  width: 9rem; height: 9rem;
  margin: 0 auto 1.5rem;
  display: grid; place-items: center;
}
.voice-call__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--color-primary-a16);
  will-change: transform, opacity;
}
.voice-call.idle .voice-call__ring,
.voice-call.listening .voice-call__ring { animation: voice-call-breathe 3.4s ease-in-out infinite; }
.voice-call.speaking .voice-call__ring  { animation: voice-call-talk    1.15s ease-in-out infinite; }
.voice-call__ring--two { animation-delay: 0.38s !important; }
@keyframes voice-call-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.28; }
  50%      { transform: scale(1.08); opacity: 0.16; }
}
@keyframes voice-call-talk {
  0%, 100% { transform: scale(1);    opacity: 0.36; }
  50%      { transform: scale(1.28); opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .voice-call__ring { animation: none !important; }
}

.voice-call__avatar {
  position: relative;
  width: 6rem; height: 6rem;
  border-radius: 50%;
  background: var(--gradient-teal);
  color: var(--color-on-accent);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px var(--color-primary-a55),
              inset 0 1px 0 var(--color-tint-a20);
}
.voice-call__avatar svg { width: 2.8rem; height: 2.8rem; }

.voice-call__title {
  font-size: 1.3rem;
  font-weight: 650;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.voice-call__state {
  color: var(--color-ink-muted);
  font-size: 0.95rem;
  min-height: 1.5rem;
  margin: 0 0 0.35rem;
}
.voice-call__state.err { color: var(--color-danger); }
.voice-call__timer {
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
  font-size: 0.88rem;
  min-height: 1.3rem;
  margin: 0;
}

.voice-call__controls {
  display: flex; gap: 1.1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.voice-call__btn {
  width: 3.9rem; height: 3.9rem;
  border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--color-on-accent);
  transition: transform 0.12s, filter 0.12s;
}
.voice-call__btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.voice-call__btn:active { transform: translateY(0); }
.voice-call__btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.voice-call__btn svg { width: 1.55rem; height: 1.55rem; }
.voice-call__btn--answer {
  background: var(--color-primary);
  color: var(--color-on-primary);
  width: auto;
  border-radius: 999px;
  padding: 0 1.9rem;
  height: 3.4rem;
  gap: 0.6rem;
  grid-auto-flow: column;
  font: inherit; font-weight: 650;
}
.voice-call__btn--end { background: var(--color-danger); }
.voice-call__btn--mute {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-tint-a15);
}
.voice-call__btn--mute.on {
  background: var(--color-ink);
  color: var(--color-canvas);
  border-color: var(--color-ink);
}

.voice-call__sound {
  margin-top: 1.1rem;
  font: inherit; font-weight: 600;
  cursor: pointer;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
}
.voice-call__sound:hover { filter: brightness(1.1); }

.voice-call__hints {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  text-align: left;
}
.voice-call__hints summary {
  cursor: pointer;
  text-align: center;
  list-style: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-tint-a15);
  border-radius: 999px;
  /* Пилюля по ширине текста, но по центру карточки: у .voice-call__hints
     text-align: left — он нужен раскрытому списку, и inline-block от него
     прижимался бы влево. */
  display: block;
  width: fit-content;
  margin-inline: auto;
  transition: color 0.12s, border-color 0.12s;
}
.voice-call__hints summary::-webkit-details-marker { display: none; }
.voice-call__hints summary:hover { color: var(--color-ink); }
.voice-call__hints[open] summary { margin-bottom: 0.8rem; }
.voice-call__hints ul { margin: 0.5rem 0 0; padding-left: 1.1rem; line-height: 1.5; }
.voice-call__hints li { margin-bottom: 4px; }
.voice-call__hints-note {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  opacity: 0.8;
  line-height: 1.5;
}

.voice-call__diag {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--color-ink-muted);
  font-size: 0.72rem;
  opacity: 0.6;
}

@media (max-width: 700px) {
  .voice-call { padding: 2rem 1.25rem 1.5rem; border-radius: 22px; }
  .voice-call__avatar-wrap { width: 8rem; height: 8rem; margin-bottom: 1.25rem; }
  .voice-call__avatar { width: 5.25rem; height: 5.25rem; }
  .voice-call__avatar svg { width: 2.4rem; height: 2.4rem; }
  .voice-try-section h2 { font-size: 28px; }
}
