/* ==========================================================================
   Лендинг Sell & Buy — глобальные стили
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-dark-blue: #020658;
  --color-primary-25: #f0f9ff;
  --color-primary-300: #50b6fb;
  --color-primary-400: #35a0e7;
  --color-primary-500: #2891d7;
  --color-primary-600: #197bbd;
  --color-neutral-700: #1f1f1f;
  --color-neutral-600: #4b4b4b;
  --color-neutral-400: #cacaca;
  --color-neutral-200: #eeeeee;
  --color-neutral-75: #f8f8f8;
  --color-green: #6bb700;

  --font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container-max: 1920px;
  --side-padding: 130px;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-card: 18px 13px 56.4px 0 rgba(172, 197, 230, 0.25);
  --shadow-card-alt: -26px -6px 107.3px 0 rgba(172, 197, 230, 0.25);

  --site-header-height: 90px;
  --scroll-offset-top: calc(var(--site-header-height) + 20px);
  /* На экранах шире container-max — выравнивание контента по центру, фон секции на 100% */
  --section-inline-padding: max(var(--side-padding), calc((100% - var(--container-max)) / 2));
}

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

html {
  scroll-padding-top: var(--scroll-offset-top);
  /* Защита от декора (свечения, «орбиты», размытые ореолы), вылезающих за
     секцию и дающих горизонтальный скролл на узких экранах. `clip` вместо
     `hidden` — не создаёт контейнер прокрутки и не ломает position:sticky выше. */
  overflow-x: clip;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--color-neutral-700);
  background-color: var(--color-white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-main {
  padding-top: var(--site-header-height);
}

/* ==========================================================================
   Flash-toast (уведомления после редиректа)
   ========================================================================== */

.site-toast-region {
  position: fixed;
  z-index: 1200;
  top: calc(var(--site-header-height) + 16px);
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.site-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid transparent;
  box-shadow:
    0 4px 16px rgba(2, 6, 88, 0.06),
    0 20px 48px -16px rgba(2, 6, 88, 0.28);
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: auto;
}

.site-toast--visible {
  transform: translateX(0);
  opacity: 1;
}

.site-toast--leaving {
  transform: translateX(20px);
  opacity: 0;
}

.site-toast--success {
  border-left-color: var(--color-green);
}

.site-toast--success .site-toast__icon {
  color: var(--color-green);
}

.site-toast--error {
  border-left-color: #e5484d;
}

.site-toast--error .site-toast__icon {
  color: #e5484d;
}

.site-toast__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.site-toast__message {
  flex: 1;
  margin: 0;
  padding-top: 1px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-neutral-700);
}

.site-toast__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -4px -4px -4px 0;
  padding: 4px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-neutral-600);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-toast__close:hover {
  color: var(--color-neutral-700);
  background-color: var(--color-neutral-75);
}

.site-toast__close:focus-visible {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition: none;
  }
}

@media (max-width: 480px) {
  .site-toast-region {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}

/* ==========================================================================
   Переиспользуемые кнопки
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn:active {
  transform: translateY(0);
  opacity: 1;
}

.btn--primary {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  height: 48px;
  padding: 8px 52px;
  min-width: 220px;
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-dark-blue);
  border: 1px solid var(--color-dark-blue);
  height: 48px;
  padding: 8px 48px;
  min-width: 220px;
}

.btn--accent {
  background-color: var(--color-primary-400);
  color: var(--color-white);
  height: 56px;
  padding: 14px 40px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  min-width: 260px;
}

.btn--accent:hover {
  background-color: var(--color-primary-500);
  opacity: 1;
}

.btn--cta-dark {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  height: 56px;
  padding: 8px 40px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  min-width: 260px;
}

/* ==========================================================================
   Шапка сайта
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-neutral-200);
  box-shadow: 0 1px 0 rgba(2, 6, 88, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 90px;
  padding: 0 var(--side-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.site-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-neutral-700);
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.site-header__burger:active {
  opacity: 0.7;
}

/* Mobile-first: nav/actions скрыты, пока не подтверждён широкий экран.
   Иначе до media query (и до загрузки CSS) на мобилке мелькает desktop-меню. */
.site-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--color-neutral-700);
  transition: color 0.2s ease;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.site-nav__link:hover,
.site-nav__trigger:hover,
.site-nav__item.is-open .site-nav__trigger {
  color: #ff8b2a;
}

/* Высота шеврона согласована с кеглем текста меню. */
.site-nav__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 7px;
  transition: transform 0.2s ease;
}

.site-nav__item.is-open .site-nav__chevron,
.mobile-menu__group.is-open .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__item {
  position: relative;
}

/* Левый край панели совпадает с началом пункта меню (left: 0 относительно item).
   padding-top — невидимый «мост» для hover без разрыва. */
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  padding-top: 16px;
}

.site-nav__dropdown[hidden] {
  display: none;
}

.site-nav__dropdown-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  background-color: var(--color-white);
  box-shadow: 0 8px 28px rgba(2, 6, 88, 0.12);
  white-space: nowrap;
}

.site-nav__dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-700);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav__dropdown-link:hover {
  color: #ff8b2a;
  background: #fff3e8;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 12px;
}

/* Компактные кнопки в шапке — глобальные .btn--primary / .btn--secondary
   рассчитаны на CTA в hero (min-width: 220px), в хедере это слишком широко. */
.site-header__actions .btn {
  height: 44px;
  min-width: 0;
  padding: 12px 24px;
  font-size: 15px;
}

/* ==========================================================================
   Переключатель языков
   ========================================================================== */

.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-switch__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #bab6b6;
  border-radius: 24px;
  color: #191919;
  background: rgba(255, 255, 255, 0.01);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switch__chevron {
  flex-shrink: 0;
  width: 11px;
  height: 7px;
  margin: 4.5px 2.5px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.lang-switch.is-open .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__trigger:hover,
.lang-switch.is-open .lang-switch__trigger {
  color: #ff8b2a;
  border-color: #ff8b2a;
}

.lang-switch__trigger:hover .lang-switch__chevron,
.lang-switch.is-open .lang-switch__chevron {
  filter: brightness(0) saturate(100%) invert(66%) sepia(88%) saturate(2022%) hue-rotate(337deg) brightness(102%) contrast(102%);
}

.lang-switch__menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 16px);
  right: 0;
  display: flex;
  min-width: 168px;
  padding: 8px;
  flex-direction: column;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(2, 6, 88, 0.12);
}

.lang-switch__menu[hidden] {
  display: none;
}

.lang-switch__option {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--color-neutral-700);
  font-size: 14px;
  line-height: 20px;
}

.lang-switch__option:hover {
  color: #ff8b2a;
  background: #fff3e8;
}

.lang-switch__option--current {
  color: #ff8b2a;
  background: #fff3e8;
  font-weight: 500;
}

.lang-switch--mobile {
  margin: 24px 0 4px;
  padding-top: 24px;
  border-top: 1px solid var(--color-neutral-200);
}

.lang-switch--mobile .lang-switch__trigger {
  justify-content: flex-start;
  width: auto;
  min-height: 42px;
}

.lang-switch--mobile .lang-switch__menu {
  position: static;
  width: 168px;
  margin-top: 8px;
  box-shadow: none;
}

/* ==========================================================================
   Мобильное меню (оверлей)
   ========================================================================== */

.mobile-menu {
  display: none;
  position: fixed;
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: auto;
  width: min(420px, calc(100% - 16px));
  z-index: 1000;
  background: rgba(255, 252, 248, 0.98);
  border: 1px solid rgba(186, 182, 182, 0.72);
  border-radius: 24px;
  box-shadow:
    0 24px 64px rgba(2, 6, 88, 0.18),
    0 0 0 100vmax rgba(2, 6, 88, 0.18);
  backdrop-filter: blur(18px);
  flex-direction: column;
  padding: 16px 20px 32px;
  opacity: 0;
  transform: translateX(calc(100% + 24px));
  transform-origin: right center;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu--animating {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    visibility 0s linear 0.3s;
}

.mobile-menu--open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu--open.mobile-menu--animating {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    visibility 0s;
}

.mobile-menu__header,
.mobile-menu__nav,
.mobile-menu > .lang-switch,
.mobile-menu__actions {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.2s ease-out;
}

.mobile-menu--open .mobile-menu__header,
.mobile-menu--open .mobile-menu__nav,
.mobile-menu--open > .lang-switch,
.mobile-menu--open .mobile-menu__actions {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu--open .mobile-menu__nav {
  transition-delay: 0s;
}

.mobile-menu--open > .lang-switch {
  transition-delay: 0.02s;
}

.mobile-menu--open .mobile-menu__actions {
  transition-delay: 0.04s;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  flex-shrink: 0;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-neutral-700);
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--color-neutral-200);
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
  order: 2;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu__close:hover {
  color: #ff8b2a;
  border-color: #ff8b2a;
  transform: rotate(4deg);
}

.mobile-menu__logo {
  order: 1;
}

.mobile-menu__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  padding: 0;
}

.mobile-menu__nav > a,
.mobile-menu__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-neutral-700);
  transition: color 0.2s ease, background-color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.mobile-menu__nav > a:active,
.mobile-menu__nav > a:hover,
.mobile-menu__trigger:active,
.mobile-menu__trigger:hover,
.mobile-menu__group.is-open .mobile-menu__trigger {
  color: #ff8b2a;
  background: #fff3e8;
}

.mobile-menu__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__submenu {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  background: #fff;
}

.mobile-menu__submenu[hidden] {
  display: none;
}

.mobile-menu__sublink {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-700);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mobile-menu__sublink:hover,
.mobile-menu__sublink:active {
  color: #ff8b2a;
  background: #fff3e8;
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.mobile-menu__btn {
  width: 100%;
  height: 60px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  min-width: 0;
  padding: 8px 24px;
}

/* ==========================================================================
   Первый экран (hero)
   ========================================================================== */

.hero {
  background-color: var(--color-dark-blue);
  background-image:
    radial-gradient(80% 60% at 100% 0%, rgba(53, 160, 231, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #060a6e 0%, #020658 55%, #01023f 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
  opacity: 0.7;
}

.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}

.hero__bg-glow--blue {
  width: 720px;
  height: 720px;
  top: -240px;
  right: -160px;
  background: radial-gradient(circle, rgba(80, 182, 251, 0.55) 0%, rgba(80, 182, 251, 0) 70%);
}

.hero__bg-glow--green {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(155, 224, 62, 0.32) 0%, rgba(155, 224, 62, 0) 70%);
  opacity: 0.45;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 96px var(--side-padding) 112px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 24px 0;
}

.hero__title-accent {
  background: linear-gradient(120deg, #9be03e 0%, #50b6fb 60%, #c5f05a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: rgba(155, 224, 62, 0.12);
  border: 1px solid rgba(155, 224, 62, 0.35);
  color: #c5f05a;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #9be03e;
  box-shadow: 0 0 0 3px rgba(155, 224, 62, 0.25);
  flex-shrink: 0;
}

.hero__badge-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(155, 224, 62, 0.55);
  animation: hero-pulse 2.4s ease-out infinite;
}

@keyframes hero-pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

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

.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero__secondary svg {
  transition: transform 0.2s ease;
}

.hero__secondary:hover {
  color: #c5f05a;
}

.hero__secondary:hover svg {
  transform: translateX(3px);
}

.hero__highlights {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__highlights svg {
  color: #9be03e;
  flex-shrink: 0;
}

.hero__images {
  position: relative;
  height: 594px;
  width: 100%;
  max-width: 881px;
  justify-self: end;
}

.hero__images-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(80, 182, 251, 0.35) 0%, transparent 70%),
    radial-gradient(50% 60% at 80% 80%, rgba(155, 224, 62, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero__image-desktop {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 88%;
  max-width: 877px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #0a0f3a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 255, 255, 0.03);
}

.hero__image-desktop img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image-mobile {
  position: absolute;
  right: 0;
  top: 89px;
  z-index: 2;
  width: 235px;
  max-height: 501px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #0a0f3a;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero__image-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Блок «О продукте» — графики
   ========================================================================== */

/* ==========================================================================
   Карусель возможностей (аналитика / интеграции / касса)
   ========================================================================== */

.features-carousel {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px var(--section-inline-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.features-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(80, 182, 251, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-25) 100%);
  pointer-events: none;
}

.features-carousel__anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.features-carousel__switch {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  background-color: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(85, 120, 0, 0.1);
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.features-carousel__switch::-webkit-scrollbar {
  display: none;
}

.features-carousel__tab {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-neutral-600);
  padding: 12px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.features-carousel__tab:hover {
  color: var(--color-green);
}

.features-carousel__tab.is-active {
  background-color: #dff8bf;
  color: var(--color-green);
  box-shadow: 0 1px 1px rgba(2, 6, 88, 0.08);
}

.features-carousel__tab:focus-visible {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 2px;
}

.features-carousel__viewport {
  width: 100%;
  overflow: hidden;
  transition: height 0.35s ease;
}

.features-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .features-carousel__track,
  .features-carousel__viewport {
    transition: none;
  }
}

.features-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.features-carousel__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

.about-slide__text,
.integration-slide__text,
.terminal-slide__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 636px;
}

.features-carousel__cta {
  align-self: flex-start;
  width: 300px;
  min-width: 0;
  height: 54px;
  padding: 17px 24px;
  gap: 16px;
}

.about-slide__images {
  flex: 1 1 0;
  min-width: 0;
  max-width: 638px;
  width: 100%;
}

.features-carousel__slide--about.is-active .about__image--top {
  transform: none;
}

.features-carousel__slide--about:hover .about__image--top {
  transform: translate(-4px, -4px);
}

.features-carousel__slide--about:hover .about__image--bottom {
  transform: translate(4px, 4px);
}

/* Коллаж по Figma: контейнер 638×410, карточки + tip внутри. */
.about__images {
  position: relative;
  width: 100%;
  max-width: 638px;
  aspect-ratio: 638 / 410;
  height: auto;
}

.about__images-glow {
  display: none;
}

@media (min-width: 1025px) {
  .about__images-glow {
    display: block;
    position: absolute;
    inset: -10% -8% -10% -8%;
    z-index: 0;
    background:
      radial-gradient(50% 60% at 30% 30%, rgba(80, 182, 251, 0.28) 0%, transparent 70%),
      radial-gradient(45% 55% at 80% 80%, rgba(155, 224, 62, 0.22) 0%, transparent 70%);
    filter: blur(48px);
    pointer-events: none;
  }
}

.about__image {
  position: absolute;
  border: 4px solid var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.4s ease;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.about__image--top {
  left: 1.25%;
  top: 0;
  width: 64.83%;
  aspect-ratio: 413 / 288;
  height: auto;
  max-width: none;
  box-shadow: var(--shadow-card-alt);
  z-index: 1;
}

.about__image--bottom {
  left: 28.18%;
  top: 26.23%;
  width: 71.82%;
  aspect-ratio: 458 / 268;
  height: auto;
  max-width: none;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.about__tip {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(320px, 50.2%);
  max-width: 320px;
  min-height: 108px;
  box-sizing: border-box;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(80, 182, 251, 0.25);
  border-radius: var(--radius-md);
  box-shadow:
    0 18px 40px rgba(2, 6, 88, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.about__tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  color: var(--color-white);
  flex-shrink: 0;
}

.about__tip-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.about__tip-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.about__tip-eyebrow {
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary-500);
  margin: 0;
}

.about__tip-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-neutral-700);
  margin: 0;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 772px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(80, 182, 251, 0.12);
  color: var(--color-primary-600);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-400);
  box-shadow: 0 0 0 3px rgba(80, 182, 251, 0.2);
}

.about__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(80, 182, 251, 0.14) 0%, rgba(155, 224, 62, 0.18) 100%);
  color: var(--color-primary-600);
  flex-shrink: 0;
}

.about__feature-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.about__feature-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 4px 0;
}

.about__feature-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

.section-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.section-lead {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-neutral-600);
  font-weight: 400;
  margin: 0;
}

/* Касса: коллаж скриншотов (Figma 8363:1352 — 638×587) */
.terminal-slide__images {
  position: relative;
  width: 100%;
  max-width: 638px;
  flex: 1 1 0;
  min-width: 0;
  margin-left: auto;
  aspect-ratio: 638 / 587;
}

.terminal-slide__image {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(85, 120, 0, 0.1);
  background: var(--color-white);
}

.terminal-slide__image img,
.terminal-slide__image picture,
.terminal-slide__image picture img {
  position: absolute;
  max-width: none;
  display: block;
}

.terminal-slide__image picture {
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Меню: 443×379 @ (0, 0), кроп img w 151.9% / top -10.95% */
.terminal-slide__image--menu {
  left: 0;
  top: 0;
  width: 69.47%; /* 443/638 */
  aspect-ratio: 443 / 379;
  z-index: 1;
}

.terminal-slide__image--menu img {
  left: 0;
  top: -10.95%;
  width: 151.9%;
  height: 110.95%;
}

/* Модификаторы: 520×237 @ (29, 309), bottom 41 */
.terminal-slide__image--modifiers {
  left: 4.49%; /* 28.63/638 */
  bottom: 6.98%; /* 41/587 */
  width: 81.5%; /* 520/638 */
  aspect-ratio: 520 / 237;
  z-index: 2;
}

.terminal-slide__image--modifiers img {
  left: 0;
  top: -0.03%;
  width: 100%;
  height: 159.96%;
}

/* Заказ: 255×419 @ (383, 84) — вертикально по центру справа */
.terminal-slide__image--order {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 39.97%; /* 255/638 */
  aspect-ratio: 255 / 419;
  z-index: 3;
}

.terminal-slide__image--order img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

/* ==========================================================================
   Блок интеграций (слайд карусели)
   ========================================================================== */

.integration-slide .integration__grid {
  flex: 1 1 0;
  min-width: 0;
  max-width: 638px;
  margin-left: auto;
}

.integration__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 772px;
}

.integration__tags-label {
  margin: 8px 0 -8px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

.integration__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration__tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-primary-600);
  border: 1px solid rgba(40, 145, 215, 0.22);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.integration__tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-400);
  flex-shrink: 0;
}

.integration__tags li:hover {
  transform: translateY(-2px);
  background-color: var(--color-primary-25);
  box-shadow: 0 6px 16px rgba(40, 145, 215, 0.15);
}

.integration__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.integration__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 124px;
  padding: 20px 12px;
  background-color: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.integration__tile:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 145, 215, 0.28);
  box-shadow: 0 14px 32px rgba(40, 145, 215, 0.14);
}

.integration__tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(80, 182, 251, 0.14) 0%, rgba(155, 224, 62, 0.18) 100%);
  flex-shrink: 0;
}

.integration__tile-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.integration__tile-label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.integration__tile--more {
  border-style: dashed;
  background-color: rgba(255, 255, 255, 0.72);
}

.integration__tile--more .integration__tile-label {
  color: var(--color-primary-600);
}

/* ==========================================================================
   Блок «Для кого»
   ========================================================================== */

.for-whom-wrap {
  padding: 24px 32px 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.for-whom {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(80, 182, 251, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-primary-25) 0%, #e8f4fe 100%);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 80px 64px;
  align-items: center;
}

.for-whom__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(40, 145, 215, 0.12) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 90%);
  opacity: 0.55;
}

.for-whom__bg-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 224, 62, 0.22) 0%, rgba(155, 224, 62, 0) 70%);
  filter: blur(40px);
}

.for-whom__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.for-whom__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.for-whom__industries {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.for-whom__industries li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-neutral-700);
  border: 1px solid rgba(40, 145, 215, 0.20);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.for-whom__industries li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-400);
  flex-shrink: 0;
}

.for-whom__industries li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 145, 215, 0.15);
}

.for-whom__industry--active {
  background: linear-gradient(135deg, var(--color-green) 0%, #8ad300 100%) !important;
  color: var(--color-white) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(107, 183, 0, 0.30) !important;
}

.for-whom__industry--active::before {
  display: none;
}

.for-whom__industry--active svg {
  color: var(--color-white);
}

.for-whom__images {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 818 / 488;
  min-width: 0;
  /* Явная высота — чтобы % у вложенных absolute-рамок считались стабильно. */
  height: auto;
}

.for-whom__image {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: #d9d9d9;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.for-whom__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.for-whom__image:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

/* Координаты коллажа (макет 818×488): inset вместо width+height %. */
.for-whom__image--1 {
  inset: 0 85.82% 73.36% 0;
}

.for-whom__image--2 {
  inset: 0 34.35% 36.89% 16.99%;
}

.for-whom__image--3 {
  inset: 0 0 67.42% 68.58%;
}

.for-whom__image--4 {
  inset: 68.03% 51.47% 0 0;
}

.for-whom__image--5 {
  inset: 37.5% 0 0 68.58%;
}

/* ==========================================================================
   Блок преимуществ
   ========================================================================== */

.section-advantages {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px var(--section-inline-padding);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 0% 100%, rgba(155, 224, 62, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-25) 100%);
  pointer-events: none;
}

.advantages__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.advantages__header .section-eyebrow {
  align-self: center;
}

.advantages__title {
  margin: 0;
}

.advantages__subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.advantage-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 289px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.advantage-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-300) 0%, var(--color-green) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 145, 215, 0.30);
  box-shadow: 0 18px 36px rgba(40, 145, 215, 0.14);
}

.advantage-card:hover::after {
  opacity: 1;
}

.advantage-card:hover .advantage-card__icon {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(40, 145, 215, 0.35);
}

.advantage-card__number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: rgba(40, 145, 215, 0.10);
  letter-spacing: -0.02em;
  pointer-events: none;
}

.advantage-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.advantage-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(40, 145, 215, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.advantage-card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.advantage-card__text {
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: var(--color-neutral-600);
}

.advantages__footer {
  margin: 8px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
}

.advantages__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: var(--color-primary-600);
  font-weight: 600;
  transition: color 0.2s ease, gap 0.2s ease;
}

.advantages__footer-link svg {
  transition: transform 0.2s ease;
}

.advantages__footer-link:hover {
  color: var(--color-primary-500);
}

.advantages__footer-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Блок вопросов и ответов (FAQ)
   ========================================================================== */

.section-faq {
  padding: 96px var(--side-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section-faq__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: var(--scroll-offset-top);
}

.section-faq__title {
  margin: 0;
}

.section-faq__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.section-faq__cta {
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(155, 224, 62, 0.16) 0%, transparent 70%),
    linear-gradient(135deg, var(--color-primary-25) 0%, var(--color-white) 100%);
  border: 1px solid rgba(40, 145, 215, 0.18);
}

.section-faq__cta-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.section-faq__cta-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
}

.section-faq__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-primary-600);
  transition: color 0.2s ease;
}

.section-faq__cta-link svg {
  transition: transform 0.2s ease;
}

.section-faq__cta-link:hover {
  color: var(--color-primary-500);
}

.section-faq__cta-link:hover svg {
  transform: translateX(3px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(40, 145, 215, 0.28);
}

.faq-item[open] {
  border-color: rgba(40, 145, 215, 0.30);
  box-shadow: 0 14px 32px rgba(40, 145, 215, 0.10);
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-neutral-700);
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
  transition: color 0.2s ease;
}

.faq-item__summary:hover {
  color: var(--color-primary-600);
}

.faq-item[open] .faq-item__summary {
  color: var(--color-primary-600);
  padding-bottom: 12px;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-primary-400);
  border-radius: var(--radius-md);
}

.faq-item__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary-25);
  color: var(--color-primary-500);
  transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  color: var(--color-white);
}

.faq-item__answer {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.faq-item__answer p {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(40, 145, 215, 0.10);
}

/* ==========================================================================
   Контакты (форма + соцсети)
   ========================================================================== */

.section-contacts {
  background-color: var(--color-dark-blue);
  padding: 72px var(--side-padding);
}

.contacts {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1320px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -40px rgba(2, 6, 88, 0.45);
}

.contacts__form-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  padding: 64px 72px;
  align-items: stretch;
  /* Мягкое фирменное свечение в левом верхнем углу — глубина без отвлечения от формы. */
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(80, 182, 251, 0.10) 0%, transparent 60%),
    radial-gradient(420px 320px at 100% 100%, rgba(2, 6, 88, 0.05) 0%, transparent 65%),
    var(--color-white);
}

/* --- Колонка с текстом (интро) ---------------------------------------- */

.contacts__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.contacts__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background-color: var(--color-primary-25);
  color: var(--color-primary-600);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.contacts__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
  box-shadow: 0 0 0 4px rgba(107, 183, 0, 0.18);
  flex-shrink: 0;
}

.contacts__benefits {
  list-style: none;
  margin: 12px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-neutral-200);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-700);
  font-weight: 500;
}

.contacts__benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(107, 183, 0, 0.14);
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: -2px;
}

.contacts__benefit-icon svg {
  display: block;
}

.contacts__trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 16px;
  background-color: var(--color-primary-25);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-700);
}

.contacts__trust svg {
  color: var(--color-primary-500);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Колонка с формой -------------------------------------------------- */

.contacts-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 100%;
  min-width: 0;
  padding: 32px 32px 28px;
  background-color: var(--color-neutral-75);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
}

.contacts-form__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.contacts-form__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.contacts-form__subtitle {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

/* Поля формы — модель из sellnbuy-admin (_inputs.scss).
   Лейбл всегда статичен сверху, маленький; у инпута увеличенный padding-top,
   чтобы текст вводился ниже лейбла. На фокус — primary‑цвет рамки и лейбла. */
.field {
  position: relative;
  width: 100%;
}

.field__label,
.field__label--inside {
  position: absolute;
  top: 8px;
  left: 16px;
  right: 16px;
  display: block;
  width: auto;
  max-width: none;
  background: transparent;
  padding: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--color-neutral-600);
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  pointer-events: none;
  z-index: 2;
  transition: color 0.15s ease;
}

.field__required {
  color: var(--color-primary-600);
  font-size: 12px;
  margin-left: 2px;
}

.field__control {
  width: 100%;
  height: 56px;
  padding: 22px 16px 6px;
  border: 1px solid var(--color-neutral-400);
  border-radius: 8px;
  background-color: var(--color-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-neutral-700);
  box-sizing: border-box;
}

.field__control--textarea {
  height: auto;
  min-height: 140px;
  resize: vertical;
  padding: 28px 16px 12px;
}

.field__control::placeholder {
  color: var(--color-neutral-500);
}

.field__control:focus {
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(40, 145, 215, 0.15);
}

.field:has(.field__control:focus) .field__label,
.field:has(.field__control:focus) .field__label--inside {
  color: var(--color-primary-600);
}

.field__control:disabled {
  border-color: var(--color-neutral-400);
  color: var(--color-neutral-500);
  background-color: var(--color-neutral-75);
  cursor: not-allowed;
}

.field:has(.field__control:disabled) .field__label,
.field:has(.field__control:disabled) .field__label--inside {
  color: var(--color-neutral-400);
}

.contacts-form__submit {
  width: 100%;
  margin-top: 8px;
}

.contacts-form__note {
  font-size: 13px;
  line-height: 18px;
  color: var(--color-neutral-600);
  margin: 4px 0 0;
}

.contacts-form__note a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacts-form__note a:hover {
  color: var(--color-primary-600);
}

/* ==========================================================================
   Юридическая страница (/privacy) — политика / условия / cookie
   ========================================================================== */

.legal-page {
  background-color: var(--color-neutral-75);
  padding: 64px var(--side-padding) 96px;
}

.legal-page__inner {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 64px 64px 56px;
  box-shadow: 0 4px 32px rgba(20, 40, 80, 0.04);
}

.legal-page__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.legal-page__eyebrow {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary-500);
  margin: 0;
}

.legal-page__title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.legal-page__updated {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
  margin: 0;
}

.legal-page__updated a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__notice {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--color-primary-400);
  background-color: var(--color-primary-25);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 22px;
  color: var(--color-neutral-700);
}

.legal-page__notice a {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__toc {
  background-color: var(--color-neutral-75);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-page__toc-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-neutral-600);
  margin: 0 0 12px;
}

.legal-page__toc ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.legal-page__toc li {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-700);
}

.legal-page__toc a {
  color: var(--color-neutral-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-page__toc a:hover {
  color: var(--color-primary-500);
  border-bottom-color: var(--color-primary-300);
}

.legal-page__section {
  margin-bottom: 40px;
  scroll-margin-top: var(--scroll-offset-top);
}

.legal-page__section:last-of-type {
  margin-bottom: 24px;
}

.legal-page__section h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 16px;
}

.legal-page__section h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 24px 0 8px;
}

.legal-page__section p {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-neutral-700);
  margin: 0 0 14px;
}

.legal-page__section p:last-child {
  margin-bottom: 0;
}

.legal-page__section ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-page__section li {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-700);
}

.legal-page__section a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-page__section a:hover {
  color: var(--color-primary-600);
}

.legal-page__section strong {
  font-weight: 600;
  color: var(--color-neutral-700);
}

.legal-page__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-neutral-200);
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
}

.legal-page__footer a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .legal-page {
    padding: 48px var(--side-padding) 72px;
  }

  .legal-page__inner {
    padding: 48px 40px;
  }

  .legal-page__title {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 720px) {
  .legal-page {
    padding: 24px 16px 48px;
  }

  .legal-page__inner {
    padding: 32px 20px 28px;
    border-radius: 16px;
  }

  .legal-page__title {
    font-size: 24px;
    line-height: 30px;
  }

  .legal-page__updated {
    font-size: 14px;
    line-height: 20px;
  }

  .legal-page__toc {
    padding: 20px;
    margin-bottom: 32px;
  }

  .legal-page__toc ol {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-page__section {
    margin-bottom: 32px;
  }

  .legal-page__section h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .legal-page__section h3 {
    font-size: 17px;
    line-height: 22px;
    margin-top: 20px;
  }

  .legal-page__section p,
  .legal-page__section li {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ==========================================================================
   SEO-лендинги (/crm-dlya-kafe, /crm-dlya-restorana, /avtomatizaciya-biznesa)
   ========================================================================== */

.seo-page {
  display: flex;
  flex-direction: column;
}

.seo-page__hero {
  position: relative;
  padding: 72px var(--side-padding) 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 100%);
}

.seo-page__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seo-page__hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.seo-page__hero-glow--blue {
  width: 420px;
  height: 420px;
  top: -120px;
  right: 10%;
  background: rgba(80, 182, 251, 0.35);
}

.seo-page__hero-glow--green {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: 5%;
  background: rgba(107, 183, 0, 0.2);
}

.seo-page__hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seo-page__eyebrow {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary-500);
  margin: 0;
}

.seo-page__title {
  font-size: 48px;
  line-height: 56px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.seo-page__lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-neutral-600);
  margin: 0;
  max-width: 720px;
}

.seo-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.seo-page__secondary-link {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-primary-500);
  text-decoration: none;
}

.seo-page__secondary-link:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-page__intro,
.seo-page__benefits,
.seo-page__faq,
.seo-page__related {
  padding: 72px var(--side-padding);
}

.seo-page__intro-inner,
.seo-page__benefits-inner,
.seo-page__faq-inner,
.seo-page__related-inner {
  max-width: 820px;
  margin: 0 auto;
}

.seo-page__section-title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 24px;
}

.seo-page__text {
  font-size: 17px;
  line-height: 28px;
  color: var(--color-neutral-600);
  margin: 0 0 16px;
}

.seo-page__text:last-child {
  margin-bottom: 0;
}

.seo-page__features {
  padding: 72px var(--side-padding);
  background-color: var(--color-neutral-75);
}

.seo-page__features-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.seo-page__features-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 40px;
}

.seo-page__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-page__feature-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.seo-page__feature-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 12px;
}

.seo-page__feature-text {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
  margin: 0;
}

.seo-page__benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seo-page__benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.seo-page__benefit-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-green);
}

.seo-page__faq .faq-list {
  max-width: 820px;
}

.seo-page__cta {
  padding: 80px var(--side-padding);
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, #0a1a8f 100%);
}

.seo-page__cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.seo-page__cta-title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.seo-page__cta-text {
  font-size: 17px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.seo-page__cta-btn {
  margin-top: 8px;
}

.seo-page__related {
  background-color: var(--color-neutral-75);
  padding-top: 48px;
  padding-bottom: 48px;
}

.seo-page__related-title {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-neutral-600);
  margin: 0 0 16px;
}

.seo-page__related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.seo-page__related a {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--color-primary-500);
  text-decoration: none;
}

.seo-page__related a:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Страница POS-терминала (/pos-terminal)
   ========================================================================== */

.pos-page {
  width: 100%;
}

.pos-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px var(--section-inline-padding);
}

.pos-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 100%);
  pointer-events: none;
}

.pos-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.pos-hero__glow--blue {
  width: 420px;
  height: 320px;
  right: 12%;
  top: 10%;
  background: rgba(80, 182, 251, 0.3);
}

.pos-hero__glow--green {
  width: 360px;
  height: 280px;
  left: 8%;
  bottom: 5%;
  background: rgba(107, 183, 0, 0.2);
}

.pos-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.pos-hero__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pos-hero__eyebrow {
  margin: 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-primary-500);
}

.pos-hero__title {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 56px;
  font-weight: 600;
  color: var(--color-neutral-900);
}

.pos-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-neutral-600);
  max-width: 36em;
}

.pos-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.pos-hero__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px 0 14px;
  border-radius: 6px;
  background: #000;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

a.store-badge:hover {
  color: #fff;
  opacity: 0.92;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}

.store-badge__caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  opacity: 0.92;
}

.store-badge__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.store-badge img {
  display: block;
  flex-shrink: 0;
}

.pos-hero__media {
  flex: 0 0 480px;
  width: 480px;
  max-width: 100%;
}

.pos-hero__media img,
.pos-hero__media picture,
.pos-hero__media picture img {
  display: block;
  width: 100%;
  height: auto;
}

.pos-audience {
  padding: 72px var(--section-inline-padding);
  background: var(--color-primary-25);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pos-audience__header,
.pos-helps__header,
.pos-features__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  max-width: 1320px;
  width: 100%;
  margin-inline: auto;
}

.pos-features__header {
  align-items: center;
  text-align: center;
}

.pos-audience__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.pos-audience__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(4, 11, 103, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
}

.pos-audience__photo {
  aspect-ratio: 4096 / 2731;
  overflow: hidden;
}

.pos-audience__photo img,
.pos-audience__photo picture,
.pos-audience__photo picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-audience__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
}

.pos-audience__name {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-900);
}

.pos-audience__desc {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.pos-helps {
  padding: 72px var(--section-inline-padding);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pos-helps__grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 40px;
}

.pos-helps__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(4, 11, 103, 0.12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pos-helps__visual {
  position: relative;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pos-helps__visual--fast {
  background: #dcf1ff;
}

/* Целый кадр из Figma @3x — без CSS rotate/filter. */
.pos-helps__visual--fast .pos-helps__scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.pos-helps__visual--fast .pos-helps__scene-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-helps__visual--check {
  background: #f9fdee;
}

.pos-helps__visual--stock {
  background: rgba(197, 240, 90, 0.1);
}

.pos-helps__visual--orders {
  background: #dcf1ff;
}

.pos-helps__chip,
.pos-helps__panel,
.pos-helps__addon,
.pos-helps__toast,
.pos-helps__order {
  position: absolute;
  box-shadow: 0 4px 32px rgba(4, 11, 103, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.pos-helps__chip img,
.pos-helps__panel img,
.pos-helps__addon img,
.pos-helps__toast img,
.pos-helps__order img,
.pos-helps__chip picture,
.pos-helps__panel picture,
.pos-helps__addon picture,
.pos-helps__toast picture,
.pos-helps__order picture,
.pos-helps__chip picture img,
.pos-helps__panel picture img,
.pos-helps__addon picture img,
.pos-helps__toast picture img,
.pos-helps__order picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-helps__panel {
  right: -2%;
  top: 50%;
  width: 53%;
  transform: translateY(-50%);
}

.pos-helps__addon {
  left: 3.5%;
  top: 50%;
  width: 65%;
  transform: translateY(-50%);
  z-index: 1;
}

.pos-helps__toast--1 {
  left: 50%;
  top: 24px;
  width: 50%;
  transform: translateX(-50%);
}

.pos-helps__toast--2 {
  left: 50%;
  top: 96px;
  width: 59%;
  transform: translateX(-50%);
}

.pos-helps__toast--3 {
  left: 50%;
  bottom: 18px;
  width: 69%;
  transform: translateX(-50%);
}

.pos-helps__order--a {
  left: 12px;
  top: 12px;
  width: 50%;
  z-index: 2;
}

.pos-helps__order--b {
  right: 12px;
  top: 12px;
  width: 35%;
  z-index: 1;
}

.pos-helps__order--c {
  left: 20%;
  bottom: 12px;
  width: 50%;
  z-index: 3;
}

.pos-helps__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-neutral-900);
}

.pos-helps__text {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.pos-helps__card .pos-helps__title {
  margin-top: -8px;
}

.pos-helps__card {
  gap: 16px;
}

.pos-helps__visual {
  margin-bottom: 24px;
}

.pos-features {
  position: relative;
  isolation: isolate;
  padding: 72px var(--section-inline-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.pos-features::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(80, 182, 251, 0.1) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-25) 100%);
  pointer-events: none;
}

.pos-features__switch {
  flex-wrap: wrap;
  justify-content: center;
}

.pos-features__viewport {
  width: 100%;
  max-width: 1320px;
  overflow: hidden;
  transition: height 0.35s ease;
}

.pos-features__slide {
  width: 100%;
  flex: 0 0 100%;
}

.pos-features__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.pos-features__media {
  position: relative;
  flex: 0 0 640px;
  width: 640px;
  max-width: 48%;
  height: 420px;
}

.pos-features__ipad {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  max-width: 100%;
}

.pos-features__ipad img,
.pos-features__ipad picture,
.pos-features__ipad picture img {
  display: block;
  width: 100%;
  height: auto;
}

.pos-features__text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 636px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pos-features__slide-title {
  margin: 0;
  font-size: 36px;
  line-height: 43px;
  font-weight: 600;
  color: var(--color-neutral-900);
}

.pos-features__slide-lead {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-neutral-600);
}

.pos-features__text .pos-features__slide-lead + .pos-features__slide-lead {
  margin-top: -16px;
}

@media (max-width: 1024px) {
  .pos-hero__inner {
    flex-direction: column;
    gap: 48px;
  }

  .pos-hero__media {
    flex-basis: auto;
    width: min(480px, 100%);
    margin-inline: auto;
  }

  .pos-hero__title {
    font-size: 40px;
    line-height: 48px;
  }

  .pos-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pos-helps__grid {
    gap: 40px;
  }

  .pos-features__content {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .pos-features__media {
    flex-basis: auto;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 640 / 420;
  }

  .pos-features__ipad {
    width: min(540px, 90%);
  }

  .pos-features__slide-title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (max-width: 767px) {
  .pos-hero,
  .pos-audience,
  .pos-helps,
  .pos-features {
    padding: 56px 24px;
  }

  .pos-hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .pos-hero__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .pos-hero__content {
    gap: 24px;
  }

  .pos-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pos-hero__stores {
    justify-content: stretch;
  }

  .store-badge {
    flex: 1 1 auto;
    justify-content: center;
  }

  .pos-audience__grid,
  .pos-helps__grid {
    grid-template-columns: 1fr;
  }

  .pos-helps__title {
    font-size: 22px;
  }

  .pos-helps__text {
    font-size: 16px;
    line-height: 22px;
  }

  .pos-helps__visual {
    height: 240px;
  }

  .pos-features__slide-title {
    font-size: 24px;
    line-height: 30px;
  }

  .pos-features__slide-lead {
    font-size: 16px;
    line-height: 24px;
  }

  .pos-features__switch {
    gap: 8px;
    align-self: stretch;
    width: 100%;
  }
}

/* ---------- CRM для кафе (на базе POS) ---------- */
.cafe-page .cafe-hero__media,
.business-page .cafe-hero__media,
.business-page .business-hero__media {
  flex: 0 0 min(560px, 48%);
  width: min(560px, 48%);
}

.cafe-page .cafe-hero__media img,
.cafe-page .cafe-hero__media picture,
.cafe-page .cafe-hero__media picture img,
.business-page .cafe-hero__media img,
.business-page .cafe-hero__media picture,
.business-page .cafe-hero__media picture img,
.business-page .business-hero__media img,
.business-page .business-hero__media picture,
.business-page .business-hero__media picture img {
  border-radius: var(--radius-lg);
  box-shadow: none;
  object-fit: cover;
}

.cafe-intro,
.cafe-benefits,
.cafe-faq {
  padding: 72px var(--section-inline-padding, var(--side-padding));
}

.cafe-intro {
  background: var(--color-white);
}

.cafe-benefits {
  background: var(--color-neutral-75);
}

.cafe-intro__inner,
.cafe-benefits__inner,
.cafe-faq .seo-page__faq-inner {
  max-width: 820px;
  margin: 0 auto;
}

.cafe-helps__visual--shot {
  background: var(--color-primary-25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cafe-helps__visual--shot img,
.cafe-helps__visual--shot picture,
.cafe-helps__visual--shot picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: calc(var(--radius-lg) - 4px);
  box-shadow: none;
}

.cafe-helps__visual--integrations {
  background: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cafe-helps__icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.cafe-helps__icons li {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(4, 11, 103, 0.08);
}

.cafe-helps__icons img {
  display: block;
  width: 28px;
  height: 28px;
}

@media (max-width: 1024px) {
  .cafe-page .cafe-hero__media,
  .business-page .cafe-hero__media,
  .business-page .business-hero__media {
    flex-basis: auto;
    width: min(560px, 100%);
  }
}

@media (max-width: 767px) {
  .cafe-intro,
  .cafe-benefits,
  .cafe-faq {
    padding: 56px 24px;
  }

  .cafe-page .pos-hero__actions,
  .business-page .pos-hero__actions {
    align-items: stretch;
  }

  .cafe-page .pos-hero__actions .btn,
  .cafe-page .pos-hero__actions .seo-page__secondary-link,
  .business-page .pos-hero__actions .btn,
  .business-page .pos-hero__actions .seo-page__secondary-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .seo-page__hero {
    padding: 56px var(--side-padding) 64px;
  }

  .seo-page__title {
    font-size: 40px;
    line-height: 48px;
  }

  .seo-page__feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .seo-page__hero,
  .seo-page__intro,
  .seo-page__features,
  .seo-page__benefits,
  .seo-page__faq,
  .seo-page__cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .seo-page__title {
    font-size: 32px;
    line-height: 40px;
  }

  .seo-page__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .seo-page__section-title,
  .seo-page__cta-title {
    font-size: 28px;
    line-height: 34px;
  }

  .seo-page__feature-card {
    padding: 24px;
  }

  .seo-page__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .seo-page__hero-actions .btn {
    justify-content: center;
  }
}

/* ==========================================================================
   Подвал сайта
   ========================================================================== */

/* Тёмный подвал в несколько колонок.
   Токены цвета локальны здесь, чтобы не засорять глобальный :root
   (остальная страница на светлой палитре). */
.site-footer {
  --footer-bg:        var(--color-dark-blue);
  --footer-bg-soft:   #0a0f78;
  --footer-text:      rgba(255, 255, 255, 0.78);
  --footer-text-mute: rgba(255, 255, 255, 0.55);
  --footer-link:      #ffffff;
  --footer-link-hover: var(--color-primary-300);
  --footer-divider:   rgba(255, 255, 255, 0.12);

  background:
    radial-gradient(120% 80% at 0% 0%, var(--footer-bg-soft) 0%, transparent 60%),
    radial-gradient(120% 80% at 100% 0%, rgba(40, 145, 215, 0.18) 0%, transparent 60%),
    var(--footer-bg);
  color: var(--footer-text);
  padding: 80px var(--side-padding) 32px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
  /* Позволяет grid/flex‑родителю сжимать колонку уже max-content детей (иначе
     кнопка с width:max-content раздувает трек и даёт горизонтальный скролл). */
  min-width: 0;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
}

.site-footer__logo img {
  height: 40px;
  width: auto;
  display: block;
  /* logo-footer.svg уже для тёмного фона (белый текст и корзина, стрелки #020658).
     Не применять invert к img: иначе стрелки и корпус сливаются в один цвет. */
}

.site-footer__tagline {
  font-size: 16px;
  line-height: 24px;
  color: var(--footer-text);
  margin: 0;
  max-width: 380px;
}

.site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--footer-divider);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--footer-text);
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.site-footer__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
  box-shadow: 0 0 0 4px rgba(107, 183, 0, 0.18);
  flex-shrink: 0;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: var(--color-primary-400);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.site-footer__cta:hover {
  background-color: var(--color-primary-500);
  transform: translateY(-1px);
}

.site-footer__cta svg {
  display: block;
  flex-shrink: 0;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.site-footer__col-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--footer-text-mute);
  margin: 0 0 18px;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col a {
  color: var(--footer-link);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer__col a:hover {
  color: var(--footer-link-hover);
}

.site-footer__contacts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__contact-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--footer-text-mute);
  font-weight: 500;
}

.site-footer__contacts a {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--footer-link);
  word-break: break-all;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--footer-divider);
}

.site-footer__copy,
.site-footer__made {
  font-size: 13px;
  line-height: 18px;
  color: var(--footer-text-mute);
  margin: 0;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  font-size: 13px;
  line-height: 18px;
  color: var(--footer-text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--footer-link-hover);
}

/* ==========================================================================
   Адаптивная вёрстка
   ========================================================================== */

@media (max-width: 1440px) {
  :root {
    --side-padding: 64px;
  }

  .hero__inner,
  .features-carousel__content {
    gap: 40px;
  }

  .for-whom__content {
    padding-left: 32px;
  }
}

@media (max-width: 1200px) {
  .hero__title {
    font-size: 38px;
    line-height: 46px;
  }

  .hero__subtitle,
  .section-lead {
    font-size: 18px;
    line-height: 26px;
  }

  .section-title {
    font-size: 32px;
  }

  .for-whom {
    padding: 56px 40px;
    gap: 32px;
  }

  .contacts__form-wrap {
    padding: 48px 48px;
    gap: 48px;
  }
}

/* Шапка: desktop-nav только от 1281px; ниже — бургер + drawer. */
@media (min-width: 1281px) {
  .site-header__burger {
    display: none;
  }

  .site-nav,
  .site-header__actions {
    display: flex;
  }
}

@media (max-width: 1280px) {
  :root {
    --site-header-height: 76px;
  }

  .site-header__inner {
    height: 76px;
    justify-content: flex-start;
    gap: 16px;
  }

  .mobile-menu:not([hidden]) {
    display: flex;
  }
}

@media (max-width: 1024px) {
  :root {
    --side-padding: 32px;
  }

  .btn--primary,
  .btn--secondary {
    height: 44px;
    min-width: 0;
    padding: 8px 24px;
  }

  .hero__inner,
  .features-carousel__content,
  .for-whom {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-carousel__content {
    align-items: stretch;
  }

  .about-slide__images,
  .terminal-slide__images,
  .integration__grid {
    flex: none;
    width: 100%;
    margin-inline: auto;
  }

  .about__image,
  .terminal-slide__image,
  .integration__tile {
    box-shadow: none;
  }

  .integration__tile:hover {
    box-shadow: none;
  }

  .hero__inner {
    padding: 80px var(--side-padding) 100px;
  }

  .hero__bg-grid {
    background-size: 44px 44px;
  }

  .hero__bg-glow--blue {
    width: 520px;
    height: 520px;
  }

  .hero__highlights {
    gap: 10px 20px;
  }

  .features-carousel {
    padding: 64px var(--section-inline-padding);
    gap: 40px;
  }

  .features-carousel__content {
    gap: 48px;
  }

  .integration__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .for-whom__content {
    padding-left: 0;
  }

  .hero__images,
  .about__images,
  .about-slide__images,
  .integration__grid,
  .terminal-slide__images,
  .for-whom__images {
    margin-left: auto;
    margin-right: auto;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .section-faq {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px var(--side-padding);
  }

  .section-faq__header {
    position: static;
    top: auto;
  }

  .contacts__form-wrap {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 40px;
  }

  .contacts-form {
    padding: 28px 28px 24px;
  }

  .site-footer {
    padding: 64px var(--side-padding) 32px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__columns {
    gap: 32px;
  }
}

/* ==========================================================================
   Мобильная вёрстка (≤720px) — макет Figma Mobile (375px)
   ========================================================================== */

@media (max-width: 720px) {
  :root {
    --side-padding: 20px;
  }

  /* --- Шапка --- */
  :root {
    --site-header-height: 56px;
  }

  .site-header__inner {
    height: 56px;
    padding: 16px 20px;
    gap: 12px;
  }

  .site-header__logo img {
    height: 24px;
  }

  /* --- Типографика (общие переопределения) --- */
  .section-title {
    font-size: 22px;
    line-height: 26px;
  }

  .section-lead {
    font-size: 16px;
    line-height: 20px;
  }

  /* --- Кнопки --- */
  .btn--accent,
  .btn--cta-dark {
    width: 100%;
    min-width: 0;
    height: 60px;
    padding: 8px 24px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0;
  }

  /* --- Первый экран --- */
  .hero__inner {
    padding: 44px 20px;
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .hero__content {
    gap: 48px;
    width: 100%;
  }

  .hero__title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .hero__title-accent {
    white-space: normal;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .hero__badge {
    padding: 6px 12px;
    font-size: 12px;
    line-height: 16px;
    gap: 8px;
  }

  .hero__badge-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 2px rgba(107, 183, 0, 0.25);
  }

  .hero__bg-grid {
    background-size: 36px 36px;
    opacity: 0.5;
  }

  .hero__bg-glow--blue {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
  }

  .hero__bg-glow--green {
    width: 320px;
    height: 320px;
    left: -140px;
    bottom: -160px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__secondary {
    height: 48px;
    justify-content: center;
    padding: 0;
  }

  .hero__highlights {
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
    font-size: 13px;
    line-height: 18px;
  }

  .hero__images {
    height: auto;
    max-width: 100%;
    aspect-ratio: 335 / 226;
    justify-self: stretch;
  }

  .hero__images-glow {
    filter: blur(28px);
  }

  .hero__image-desktop {
    width: 99.7%;
    border-width: 1px;
    border-radius: 6px;
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  .hero__image-mobile {
    width: 38%;
    top: 14.97%;
    bottom: 0.7%;
    left: auto;
    right: 0;
    transform: translateX(calc(-50% + 50.4%));
    height: auto;
    border-width: 1.5px;
    border-radius: 6px;
  }

  /* --- Карусель возможностей --- */
  .features-carousel {
    padding: 48px 20px;
    gap: 28px;
  }

  .features-carousel__switch {
    gap: 4px;
    padding: 6px;
    align-self: stretch;
    width: 100%;
  }

  .features-carousel__tab {
    padding: 10px 12px;
    font-size: 11px;
    letter-spacing: 0.2px;
    flex: 0 0 auto;
  }

  .features-carousel__content {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
    text-align: left;
  }

  .about-slide__text,
  .integration-slide__text,
  .terminal-slide__text {
    order: -1;
    gap: 16px;
    width: 100%;
    max-width: none;
    flex: none;
  }

  .features-carousel__cta {
    width: 100%;
  }

  .section-eyebrow {
    padding: 5px 12px;
    font-size: 12px;
    line-height: 14px;
  }

  .about__features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about__feature-icon {
    width: 36px;
    height: 36px;
  }

  .about__feature-title {
    font-size: 15px;
    line-height: 20px;
  }

  .about__feature-desc {
    font-size: 14px;
    line-height: 18px;
  }

  .about-slide__images,
  .about__images {
    max-width: 335px;
    width: 100%;
    margin: 0 auto;
    flex: none;
    /* Без tip снизу — ниже кропаем пустое место, где просвечивал фон */
    aspect-ratio: 335 / 190;
    overflow: hidden;
  }

  .about__tip {
    display: none;
  }

  .about__image {
    border-width: 1.5px;
    border-radius: 6px;
    box-shadow: none;
  }

  .about__image--top {
    width: 64.83%;
    left: 1.25%;
    top: 0;
  }

  .about__image--bottom {
    width: 71.82%;
    left: 28.18%;
    top: 26.23%;
  }

  .terminal-slide__images {
    max-width: 335px;
    width: 100%;
    margin-inline: auto;
    flex: none;
    aspect-ratio: 335 / 308; /* 638/587 */
  }

  .terminal-slide__image {
    border-radius: 10px;
    box-shadow: none;
  }

  /* --- Интеграции (слайд) --- */
  .integration-slide__text {
    gap: 16px;
    width: 100%;
    max-width: none;
  }

  .integration__tags-label {
    margin: 4px 0 -4px;
    font-size: 12px;
    line-height: 14px;
  }

  .integration__tags {
    gap: 6px;
  }

  .integration__tags li {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 16px;
  }

  .integration__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 100%;
    margin: 0;
  }

  .integration__tile {
    min-height: 100px;
    padding: 16px 10px;
    gap: 10px;
    border-radius: 12px;
    box-shadow: none;
  }

  .integration__tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .integration__tile-icon img {
    width: 20px;
    height: 20px;
  }

  .integration__tile-label {
    font-size: 13px;
    line-height: 16px;
  }

  /* --- Для кого --- */
  .for-whom-wrap {
    padding: 16px 20px 32px;
  }

  .for-whom {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 44px 20px;
    border-radius: 20px;
    align-items: stretch;
  }

  .for-whom__content {
    gap: 32px;
    padding-left: 0;
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
  }

  .for-whom__text {
    gap: 16px;
  }

  .for-whom__text > .section-title {
    font-size: 22px;
    line-height: 26px;
  }

  .for-whom__industries {
    margin-top: 8px;
    gap: 6px;
  }

  .for-whom__industries li {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 16px;
  }

  .for-whom__image {
    cursor: default;
  }

  .for-whom__image:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  }

  .for-whom__images {
    height: auto;
    max-width: 100%;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 64px;
    gap: 8px;
    width: 100%;
    aspect-ratio: auto;
  }

  .for-whom__image {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 10px;
  }

  /* picture из responsive_image_tag — растягиваем на ячейку сетки */
  .for-whom__image picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .for-whom__image img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .for-whom__image--1 {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    inset: auto;
  }

  .for-whom__image--2 {
    grid-column: 2 / span 3;
    grid-row: 1 / span 2;
    inset: auto;
  }

  .for-whom__image--3 {
    grid-column: 5 / span 2;
    grid-row: 1 / span 1;
    inset: auto;
  }

  .for-whom__image--4 {
    grid-column: 1 / span 4;
    grid-row: 3 / span 1;
    inset: auto;
  }

  .for-whom__image--5 {
    grid-column: 5 / span 2;
    grid-row: 2 / span 2;
    inset: auto;
  }

  /* --- Преимущества --- */
  .section-advantages {
    padding: 56px 20px;
    gap: 28px;
  }

  .advantages__header {
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  .advantages__title {
    font-size: 22px;
    line-height: 26px;
    text-align: left;
  }

  .advantages__subtitle {
    font-size: 15px;
    line-height: 21px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .advantage-card {
    padding: 22px 20px;
    gap: 14px;
    min-height: auto;
    border-radius: var(--radius-md);
  }

  .advantage-card__number {
    top: 14px;
    right: 18px;
    font-size: 36px;
  }

  .advantage-card__head {
    gap: 12px;
  }

  .advantage-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 6px 14px rgba(40, 145, 215, 0.22);
  }

  .advantage-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .advantage-card:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    border-color: rgba(40, 145, 215, 0.12);
  }

  .advantage-card:hover::after {
    opacity: 0;
  }

  .advantage-card:hover .advantage-card__icon {
    transform: none;
    box-shadow: 0 6px 14px rgba(40, 145, 215, 0.22);
  }

  .advantage-card__title {
    font-size: 17px;
    line-height: 22px;
    padding-right: 40px;
  }

  .advantage-card__text {
    font-size: 15px;
    line-height: 20px;
  }

  .advantages__footer {
    text-align: left;
    font-size: 14px;
    line-height: 20px;
  }

  .advantages__footer-link {
    margin-left: 0;
    display: inline-flex;
  }

  /* --- Вопросы и ответы --- */
  .section-faq {
    padding: 56px 20px;
    gap: 28px;
  }

  .section-faq__header {
    gap: 12px;
  }

  .section-faq__title {
    font-size: 22px;
    line-height: 26px;
    text-align: left;
  }

  .section-faq__subtitle {
    font-size: 15px;
    line-height: 21px;
  }

  .section-faq__cta {
    margin-top: 8px;
    padding: 18px 18px 16px;
    border-radius: var(--radius-md);
  }

  .section-faq__cta-title {
    font-size: 15px;
    line-height: 20px;
  }

  .section-faq__cta-text {
    font-size: 13px;
    line-height: 18px;
  }

  .section-faq__cta-link {
    font-size: 13px;
    line-height: 18px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item__summary {
    padding: 18px 20px;
    font-size: 16px;
    line-height: 22px;
    gap: 16px;
  }

  .faq-item[open] .faq-item__summary {
    padding-bottom: 10px;
  }

  .faq-item__chevron {
    width: 28px;
    height: 28px;
  }

  .faq-item__answer {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 22px;
  }

  /* --- Контакты --- */
  .section-contacts {
    padding: 44px 12px;
  }

  .contacts {
    border-radius: 16px;
  }

  .contacts__form-wrap {
    grid-template-columns: 1fr;
    padding: 32px 16px;
    gap: 32px;
  }

  .contacts__intro {
    gap: 14px;
    text-align: center;
    align-items: center;
    max-width: none;
  }

  .contacts__eyebrow {
    font-size: 12px;
    line-height: 16px;
    padding: 5px 12px 5px 10px;
  }

  .contacts__intro .section-title {
    font-size: 22px;
    line-height: 28px;
  }

  .contacts__benefits {
    align-self: stretch;
    text-align: left;
    padding-top: 20px;
    margin-top: 6px;
  }

  .contacts__benefits li {
    font-size: 15px;
    line-height: 22px;
  }

  .contacts__trust {
    align-self: stretch;
    text-align: left;
    font-size: 13px;
    line-height: 18px;
    padding: 12px 14px;
  }

  .contacts-form {
    width: 100%;
    gap: 22px;
    padding: 24px 20px 22px;
    border-radius: 16px;
  }

  .contacts-form__title {
    font-size: 18px;
    line-height: 24px;
  }

  .contacts-form__subtitle {
    font-size: 13px;
    line-height: 18px;
  }

  .contacts-form__note {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .contacts-form__submit {
    height: 60px;
  }

  /* На узком экране длинные лейблы переносятся в 2 строки —
     даём textarea запас под высоту двухстрочного лейбла. */
  .field__control--textarea {
    padding-top: 44px;
  }

  /* --- Подвал --- */
  .site-footer {
    padding: 56px 20px 28px;
  }

  .site-footer__inner {
    gap: 40px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .site-footer__logo img {
    height: 32px;
  }

  .site-footer__tagline {
    font-size: 15px;
    line-height: 22px;
  }

  .site-footer__cta {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    height: auto;
    min-height: 48px;
    padding: 10px 14px;
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
    row-gap: 4px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .site-footer__col-title {
    margin-bottom: 14px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
  }

  .site-footer__legal {
    gap: 8px 20px;
  }
}

@media (max-width: 480px) {
  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Согласие на cookie — нижний баннер + модальное окно
   ========================================================================== */

.cookie-banner {
  position: fixed;
  z-index: 1100;
  inset: auto 16px 16px 16px;
  padding: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 -2px 16px rgba(2, 6, 88, 0.04),
    0 24px 60px -20px rgba(2, 6, 88, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 32px;
  align-items: center;
  padding: 20px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.cookie-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cookie-banner__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.cookie-banner__lead {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

.cookie-banner__lead a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__lead a:hover {
  color: var(--color-primary-600);
}

.cookie-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* --- Кнопки (баннер и модалка общие) ---------------------------------- */

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--color-neutral-700);
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cookie-btn:active {
  transform: translateY(1px);
}

.cookie-btn--primary {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  border-color: var(--color-dark-blue);
}

.cookie-btn--primary:hover {
  background-color: #0a0f78;
}

.cookie-btn--secondary {
  background-color: var(--color-white);
  color: var(--color-neutral-700);
  border-color: var(--color-neutral-400);
}

.cookie-btn--secondary:hover {
  border-color: var(--color-dark-blue);
  color: var(--color-dark-blue);
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--color-neutral-600);
  border-color: transparent;
  padding: 0 12px;
}

.cookie-btn--ghost:hover {
  color: var(--color-dark-blue);
  background-color: var(--color-neutral-75);
}

/* --- Модальное окно ---------------------------------------------------- */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-modal--open {
  display: flex;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 6, 88, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: cookie-modal-fade 0.18s ease;
}

.cookie-modal__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(2, 6, 88, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: cookie-modal-pop 0.2s ease;
}

@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cookie-modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-neutral-200);
}

.cookie-modal__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.cookie-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-neutral-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cookie-modal__close:hover {
  background-color: var(--color-neutral-75);
  color: var(--color-neutral-700);
}

.cookie-modal__body {
  padding: 22px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-modal__intro {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

.cookie-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-cat {
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background-color: var(--color-neutral-75);
}

.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-cat__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.cookie-cat__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.cookie-cat__badge--always {
  background-color: rgba(107, 183, 0, 0.14);
  color: #3f7100;
}

.cookie-cat__desc {
  font-size: 13px;
  line-height: 19px;
  color: var(--color-neutral-600);
  margin: 0;
}

/* --- Переключатели ----------------------------------------------------- */

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

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

.cookie-toggle__track {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  background-color: var(--color-neutral-400);
  border-radius: 999px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.cookie-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.cookie-toggle__input:checked + .cookie-toggle__track {
  background-color: var(--color-primary-500);
}

.cookie-toggle__input:checked + .cookie-toggle__track .cookie-toggle__thumb {
  transform: translateX(18px);
}

.cookie-toggle__input:focus-visible + .cookie-toggle__track {
  box-shadow: 0 0 0 3px rgba(40, 145, 215, 0.25);
}

.cookie-toggle__label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--color-neutral-600);
}

.cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 28px;
  border-top: 1px solid var(--color-neutral-200);
  background-color: var(--color-neutral-75);
}

.cookie-modal__footer-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .cookie-banner {
    inset: auto 8px 8px 8px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 18px 16px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cookie-modal {
    padding: 0;
    align-items: flex-end;
  }

  .cookie-modal__panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    animation: cookie-modal-slide-up 0.22s ease;
  }

  @keyframes cookie-modal-slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .cookie-modal__header,
  .cookie-modal__footer {
    padding: 16px 18px;
  }

  .cookie-modal__body {
    padding: 18px;
  }

  .cookie-modal__footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-modal__footer-right {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-modal__footer .cookie-btn {
    height: 44px;
    width: 100%;
  }
}

/* ==========================================================================
   Блог — список и статья
   ========================================================================== */

.blog-index {
  position: relative;
  width: 100%;
  padding: 72px var(--section-inline-padding) 96px;
  background: linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 42%);
  overflow: hidden;
}

.blog-index__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-index__bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -180px;
  right: 8%;
  border-radius: 50%;
  background: rgba(80, 182, 251, 0.22);
  filter: blur(90px);
}

.blog-index__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-index__header {
  margin-bottom: 40px;
  max-width: 760px;
}

.blog-index__eyebrow {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary-500);
  margin: 0 0 12px;
}

.blog-index__title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 16px;
}

.blog-index__lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-neutral-600);
  margin: 0;
}

.blog-index__empty {
  font-size: 17px;
  line-height: 26px;
  color: var(--color-neutral-600);
  margin: 0;
  padding: 24px 0;
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-list__item {
  min-width: 0;
}

.blog-list__link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  box-shadow: 0 8px 28px rgba(20, 40, 80, 0.05);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-list__link:hover {
  border-color: rgba(40, 145, 215, 0.28);
  box-shadow: 0 12px 32px rgba(20, 40, 80, 0.08);
  transform: translateY(-1px);
}

.blog-list__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-neutral-75);
}

.blog-list__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-list__date {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--color-primary-500);
}

.blog-list__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list__arrow {
  flex-shrink: 0;
  color: var(--color-primary-400);
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-list__link:hover .blog-list__arrow {
  color: var(--color-primary-600);
  transform: translateX(2px);
}

.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.blog-pagination .pagy {
  --H: 205;
  --S: 72%;
  --L: 48%;
  --B: 0;
  --A: 1;
  --spacing: 0.35rem;
  --padding: 0.7rem;
  --rounding: 999px;
  --border-width: 0;
  --font-size: 0.875rem;
  --font-weight: 600;
  --line-height: 1.4;
  --text: hsl(var(--H) var(--S) calc(var(--L) - (25 * var(--B))) / var(--A));
  --text-hover: hsl(var(--H) var(--S) calc(var(--L) - (30 * var(--B))) / var(--A));
  --text-current: hsl(var(--H) var(--S) calc(100 * (var(--B) + 1)) / var(--A));
  --background: hsl(var(--H) var(--S) calc(var(--L) + (30 * var(--B))) / var(--A));
  --background-hover: hsl(var(--H) var(--S) calc(var(--L) + (20 * var(--B))) / var(--A));
  --background-current: hsl(var(--H) var(--S) var(--L) / var(--A));
  color: var(--text);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: var(--font-weight);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .pagy > :not([hidden]) ~ :not([hidden]) {
  margin-inline-start: var(--spacing);
}

.blog-pagination .pagy a:not([role="separator"]) {
  display: block;
  text-decoration: none;
  background-color: var(--background);
  padding: calc(var(--padding) / 3) var(--padding);
  border-radius: var(--rounding);
  color: inherit;
}

.blog-pagination .pagy a[href]:hover {
  background-color: var(--background-hover);
  color: var(--text-hover);
}

.blog-pagination .pagy a:not([href]) {
  cursor: default;
}

.blog-pagination .pagy a[role="link"]:not([aria-current]) {
  opacity: 0.6;
}

.blog-pagination .pagy a[aria-current] {
  background-color: var(--background-current);
  color: var(--text-current);
}

.blog-article {
  position: relative;
  width: 100%;
  padding: 40px var(--section-inline-padding) 80px;
  background: linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 32%);
  overflow: hidden;
}

.blog-article__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-article__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.blog-article__bg-glow--blue {
  width: 520px;
  height: 520px;
  top: -200px;
  right: 6%;
  background: rgba(80, 182, 251, 0.24);
}

.blog-article__bg-glow--green {
  width: 420px;
  height: 420px;
  top: 120px;
  left: -8%;
  background: rgba(155, 224, 62, 0.14);
}

.blog-article__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-article__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.blog-article__breadcrumbs {
  flex: 1 1 auto;
  min-width: 0;
}

.blog-article__breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
}

.blog-article__breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-500);
}

.blog-article__breadcrumbs-item:not(:last-child)::after {
  content: "/";
  color: var(--color-neutral-400);
}

.blog-article__breadcrumbs-link {
  color: var(--color-primary-500);
  text-decoration: none;
  font-weight: 500;
}

.blog-article__breadcrumbs-link:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article__sheet {
  width: 100%;
  padding: 36px 44px 32px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  box-shadow: var(--shadow-card);
}

.blog-article__header {
  margin-bottom: 24px;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-500);
}

.blog-article__date {
  font-weight: 600;
  color: var(--color-primary-500);
}

.blog-article__meta-sep {
  color: var(--color-neutral-400);
}

.blog-article__reading-time,
.blog-article__author {
  color: var(--color-neutral-500);
}

.blog-article__author {
  font-weight: 500;
}

.blog-article__title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 12px;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.blog-article__lead {
  font-size: 19px;
  line-height: 28px;
  color: var(--color-neutral-600);
  margin: 0;
  text-wrap: pretty;
}

.blog-share {
  display: flex;
  align-items: center;
}

.blog-share--topbar {
  flex: 0 0 auto;
}

.blog-share__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.blog-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(40, 145, 215, 0.16);
  background: var(--color-white);
  color: var(--color-neutral-700);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-share__button svg {
  display: block;
  flex-shrink: 0;
}

.blog-share__button-text {
  display: none;
}

.blog-share__button:hover {
  border-color: rgba(40, 145, 215, 0.32);
  background: var(--color-primary-25);
  color: var(--color-primary-600);
}

.blog-share__button--copied {
  border-color: rgba(88, 166, 44, 0.35);
  background: rgba(155, 224, 62, 0.16);
  color: var(--color-neutral-700);
}

.blog-share__button--telegram:hover {
  border-color: rgba(42, 171, 238, 0.35);
  background: rgba(42, 171, 238, 0.1);
  color: #1f8fd4;
}

.blog-share__button--vk:hover {
  border-color: rgba(76, 117, 163, 0.35);
  background: rgba(76, 117, 163, 0.1);
  color: #4c75a3;
}

.blog-article__cover {
  margin: 0 0 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(40, 145, 215, 0.1);
}

.blog-article__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-article__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-article__toc {
  margin: 0 0 32px;
  padding: 22px 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(40, 145, 215, 0.14);
  border-left: 4px solid var(--color-primary-400);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(155, 224, 62, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, var(--color-primary-25) 0%, var(--color-white) 72%);
}

.blog-article__toc[hidden] {
  display: none;
}

.blog-article__toc-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(40, 145, 215, 0.12);
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-600);
}

.blog-article__toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--toc-rows, 4), auto);
  grid-auto-flow: column;
  gap: 6px 18px;
  counter-reset: toc;
}

.blog-article__toc-item {
  min-width: 0;
  font-size: 15px;
  line-height: 22px;
}

.blog-article__toc-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-neutral-700);
  text-decoration: none;
  overflow-wrap: break-word;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-article__toc-item a:hover {
  background: rgba(40, 145, 215, 0.08);
  color: var(--color-primary-600);
}

.blog-article__toc-item a:focus-visible {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 1px;
}

.blog-article__toc-item--level-1 a::before,
.blog-article__toc-item--level-2 a::before {
  content: counter(toc);
  counter-increment: toc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.2);
  color: var(--color-primary-600);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-article__toc-item a:hover::before {
  background: var(--color-primary-400);
  border-color: var(--color-primary-400);
  color: var(--color-white);
}

.blog-article__toc-item--level-3 a {
  padding-left: 28px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
}

.blog-article__toc-item--level-3 a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin: 7px 0 0;
  border-radius: 50%;
  background: var(--color-primary-400);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.blog-article__toc-item--level-3 a:hover::before {
  opacity: 1;
  background: var(--color-primary-400);
}

.blog-article__body {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-neutral-700);
}

.blog-article__body h2 {
  font-size: 28px;
  line-height: 34px;
  margin: 32px 0 14px;
  scroll-margin-top: var(--scroll-offset-top);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.blog-article__body h3 {
  font-size: 22px;
  line-height: 28px;
  margin: 28px 0 10px;
  scroll-margin-top: var(--scroll-offset-top);
}

.blog-article__body h1 {
  scroll-margin-top: var(--scroll-offset-top);
}

.blog-article__body p,
.blog-article__body ul,
.blog-article__body ol {
  margin: 0 0 16px;
}

.blog-article__body a {
  color: var(--color-primary-500);
}

.blog-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.blog-article__body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--color-primary-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-primary-25);
  color: var(--color-neutral-600);
}

/* Blog article prose — cards, callouts, steps (Action Text content) */
.blog-article__body .blog-prose__section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(40, 145, 215, 0.12);
}

.blog-article__body .blog-prose__section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.blog-article__body .blog-prose__section--final {
  margin-bottom: 8px;
}

.blog-article__body h2 {
  position: relative;
  padding-top: 4px;
}

.blog-article__body .blog-prose__section > h2 {
  margin-top: 0;
}

.blog-article__body .blog-prose__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.blog-article__body .blog-prose__card {
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--color-neutral-75);
  border: 1px solid rgba(40, 145, 215, 0.1);
}

.blog-article__body .blog-prose__card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.blog-article__body .blog-prose__card p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__card p + p {
  margin-top: 10px;
}

.blog-article__body .blog-prose__panel-list {
  margin: 20px 0;
  padding: 18px 22px 18px 42px;
  border-radius: var(--radius-md);
  background: var(--color-neutral-75);
  border: 1px solid rgba(40, 145, 215, 0.08);
  list-style: none;
}

.blog-article__body .blog-prose__panel-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 0;
  font-size: 17px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__panel-list li:last-child {
  margin-bottom: 0;
}

.blog-article__body .blog-prose__panel-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-400);
}

.blog-article__body .blog-prose__callout {
  margin: 28px 0 0;
  padding: 20px 24px;
  border: 1px solid rgba(40, 145, 215, 0.16);
  border-left: 4px solid var(--color-primary-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(155, 224, 62, 0.1) 0%, transparent 65%),
    linear-gradient(135deg, var(--color-primary-25) 0%, var(--color-white) 100%);
}

.blog-article__body .blog-prose__callout--accent {
  border-left-color: var(--color-green);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(40, 145, 215, 0.08) 0%, transparent 65%),
    linear-gradient(135deg, rgba(107, 183, 0, 0.08) 0%, var(--color-white) 100%);
}

.blog-article__body .blog-prose__callout p {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__callout p + p {
  margin-top: 10px;
}

.blog-article__body .blog-prose__callout a {
  font-weight: 600;
}

.blog-article__body .blog-prose__flow {
  margin-top: 12px !important;
  font-size: 15px !important;
  line-height: 24px !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-primary-600) !important;
}

.blog-article__body .blog-prose__checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: checklist;
}

.blog-article__body .blog-prose__checklist li {
  counter-increment: checklist;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.1);
  font-size: 16px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__checklist li::before {
  content: counter(checklist);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-primary-25);
  color: var(--color-primary-600);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.blog-article__body .blog-prose__checklist-text {
  min-width: 0;
  overflow-wrap: break-word;
}

.blog-article__body .blog-prose__checklist-text strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--color-neutral-700);
  overflow-wrap: break-word;
}

.blog-article__body .blog-prose__checklist-text p {
  margin: 0;
}

.blog-article__body .blog-prose__steps {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}

.blog-article__body .blog-prose__steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--color-neutral-75);
  border: 1px solid rgba(40, 145, 215, 0.08);
  font-size: 16px;
  line-height: 26px;
  color: var(--color-neutral-600);
  overflow-wrap: break-word;
}

.blog-article__body .blog-prose__steps li::before {
  content: counter(step);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-400) 0%, var(--color-primary-600) 100%);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.blog-article__body .blog-prose__step-text {
  flex: 1;
  min-width: 0;
}

.blog-article__body .blog-prose__steps li strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

/* Старые статьи без .blog-prose__step-text */
.blog-article__body .blog-prose__steps li:not(:has(.blog-prose__step-text)) {
  display: block;
  overflow: hidden;
}

.blog-article__body .blog-prose__steps li:not(:has(.blog-prose__step-text))::before {
  float: left;
  margin-right: 16px;
}

/* Schema / architecture flow */
.blog-article__body .blog-prose__diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin: 28px 0 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(40, 145, 215, 0.12);
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(40, 145, 215, 0.08) 0%, transparent 55%),
    radial-gradient(70% 70% at 100% 100%, rgba(155, 224, 62, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 100%);
}

.blog-article__body .blog-prose__diagram-node {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.14);
  box-shadow: 0 8px 24px rgba(2, 6, 88, 0.04);
}

.blog-article__body .blog-prose__diagram-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -14px; /* половина gap 28px — центр стрелки в середине зазора */
  z-index: 1;
  box-sizing: border-box;
  transform: translate(50%, -50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.18);
  color: var(--color-primary-500);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.blog-article__body .blog-prose__diagram-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-500);
}

.blog-article__body .blog-prose__diagram-node strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.blog-article__body .blog-prose__diagram-node p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__diagram-caption {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
}

/* Comparison grid */
.blog-article__body .blog-prose__compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.blog-article__body .blog-prose__compare-col {
  margin: 0;
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  background: var(--color-neutral-75);
  border: 1px solid rgba(40, 145, 215, 0.1);
}

.blog-article__body .blog-prose__compare-col--accent {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(155, 224, 62, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 100%);
  border-color: rgba(40, 145, 215, 0.22);
  box-shadow: 0 10px 28px rgba(2, 6, 88, 0.05);
}

.blog-article__body .blog-prose__compare-col h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.blog-article__body .blog-prose__compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-article__body .blog-prose__compare-col li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__compare-col li:last-child {
  margin-bottom: 0;
}

.blog-article__body .blog-prose__compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-neutral-400);
}

.blog-article__body .blog-prose__compare-col--accent li::before {
  background: var(--color-green);
}

/* Figures / gallery */
.blog-article__body .blog-prose__figure {
  margin: 28px 0 8px;
}

.blog-article__body .blog-prose__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(40, 145, 215, 0.1);
  background: var(--color-neutral-75);
}

.blog-article__body .blog-prose__caption {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
}

.blog-article__body .blog-prose__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 8px;
}

.blog-article__body .blog-prose__gallery .blog-prose__figure {
  margin: 0;
}

.blog-article__body .blog-prose__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.blog-article__body .blog-prose__badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--color-primary-25);
  border: 1px solid rgba(40, 145, 215, 0.14);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--color-primary-600);
}

.blog-article__footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(40, 145, 215, 0.1);
}

.blog-article__back {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-primary-500);
  text-decoration: none;
}

.blog-article__back:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 424px);
  align-items: start;
  gap: 24px 32px;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-md);
  scroll-margin-top: var(--scroll-offset-top);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(155, 224, 62, 0.14) 0%, transparent 70%),
    linear-gradient(135deg, var(--color-primary-25) 0%, var(--color-white) 100%);
  border: 1px solid rgba(40, 145, 215, 0.16);
}

.blog-article__cta-form {
  width: 100%;
  max-width: 424px;
  justify-self: end;
}

.blog-article__cta-title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.blog-article__cta-text {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
}

.blog-article__cta-button {
  flex-shrink: 0;
}

.blog-article__related {
  margin-top: 40px;
}

.blog-article__related-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.blog-article__related-title {
  margin: 0;
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.blog-article__related-link {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-primary-500);
  text-decoration: none;
}

.blog-article__related-link:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   База знаний
   ========================================================================== */

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

.kb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: #dcf1ff;
  color: var(--color-primary-500);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.0325rem;
  text-transform: uppercase;
}

.kb-badge--soft {
  background: rgba(80, 182, 251, 0.12);
  color: var(--color-primary-600);
}

.kb-badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.25rem;
  background: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(53, 160, 231, 0.25);
}

.kb-badge--soft .kb-badge__dot {
  background: var(--color-primary-400);
}

/* Hero */
.kb-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26.25rem;
  padding: 5rem var(--section-inline-padding);
  background: linear-gradient(180deg, #060a6e 0%, #01023f 100%);
  overflow: hidden;
}

.kb-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.kb-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.043) 2%, transparent 2%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.043) 2%, transparent 2%);
  background-size: 3rem 3rem;
}

.kb-hero__glow {
  position: absolute;
  top: -6.25rem;
  left: -6.25rem;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 182, 251, 0.27) 0%, transparent 70%);
  filter: blur(50px);
}

.kb-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 50rem;
  width: 100%;
  text-align: center;
}

.kb-hero__eyebrow {
  margin: 0;
  color: var(--color-primary-400);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.kb-hero__title {
  margin: 0;
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 600;
  line-height: 3.5rem;
}

.kb-hero__lead {
  margin: 0;
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
}

/* Sections grid */
.kb-sections {
  padding: 4rem var(--section-inline-padding);
  background: var(--color-neutral-75);
}

.kb-sections--white {
  background: var(--color-white);
}

.kb-sections__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 82rem;
  margin: 0 auto;
}

.kb-sections__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.kb-sections__title {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.kb-sections__empty {
  margin: 0;
  color: var(--color-neutral-600);
  font-size: 1rem;
}

.kb-sections__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 1px 2px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kb-card:hover {
  transform: translateY(-2px);
  box-shadow: 18px 16px 64px 0 rgba(172, 197, 230, 0.35), 0 2px 4px rgba(15, 23, 42, 0.06);
}

.kb-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  overflow: hidden;
}

.kb-card__icon img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.kb-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kb-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-neutral-700);
}

.kb-card__desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-neutral-600);
}

/* FAQ */
.kb-faq {
  padding: 6.25rem var(--section-inline-padding);
  background: var(--color-white);
}

.kb-faq__inner {
  display: grid;
  grid-template-columns: 26.25rem minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
  max-width: 82rem;
  margin: 0 auto;
}

.kb-faq__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.kb-faq__title {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 2.75rem;
}

.kb-faq__lead {
  margin: 0;
  color: var(--color-neutral-600);
  font-size: 1rem;
  line-height: 1.5rem;
}

.kb-faq__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--color-dark-blue);
  border-radius: 0.375rem;
  color: var(--color-dark-blue);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.kb-faq__cta:hover {
  background: var(--color-primary-25);
}

.kb-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kb-faq-item {
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  border-radius: 0.75rem;
  overflow: hidden;
}

.kb-faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-neutral-700);
}

.kb-faq-item__summary::-webkit-details-marker {
  display: none;
}

.kb-faq-item__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 1rem;
  background: var(--color-primary-25);
}

.kb-faq-item__icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.kb-faq-item__icon--minus {
  display: none;
}

.kb-faq-item[open] .kb-faq-item__icon--plus {
  display: none;
}

.kb-faq-item[open] .kb-faq-item__icon--minus {
  display: block;
}

.kb-faq-item__answer {
  padding: 0 1.5rem 1.5rem;
}

.kb-faq-item__answer p {
  margin: 0;
  color: var(--color-neutral-600);
  font-size: 1rem;
  line-height: 1.5rem;
}

/* Section page */
.kb-section-page {
  padding: 4rem var(--section-inline-padding);
  background: var(--color-neutral-75);
}

.kb-section-page__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 82rem;
  margin: 0 auto;
}

.kb-section-page__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.kb-section-page__title {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.kb-section-page__body {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.kb-sidebar {
  flex: 0 0 17.5rem;
  padding: 1.5rem;
  background: var(--color-white);
}

.kb-sidebar__title {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.kb-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
}

.kb-sidebar__link {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-neutral-700);
  text-decoration: none;
}

.kb-sidebar__link:hover {
  color: var(--color-primary-500);
}

.kb-sidebar__link--active {
  color: var(--color-primary-500);
}

.kb-sidebar__empty,
.kb-article__empty {
  margin: 0;
  color: var(--color-neutral-600);
  font-size: 1rem;
}

.kb-article {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.kb-article__title {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.625rem;
}

.kb-article__body {
  color: var(--color-neutral-600);
  font-size: 1rem;
  line-height: 1.25rem;
}

.kb-article__body p {
  margin: 0 0 1rem;
}

.kb-article__body p:last-child {
  margin-bottom: 0;
}

.kb-article__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  align-self: flex-start;
  background: var(--color-primary-400);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.kb-article__cta:hover {
  background: var(--color-primary-500);
}

.kb-article__cta img {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}

/* Contacts */
.kb-contacts {
  padding: 5rem var(--section-inline-padding);
  background: var(--color-dark-blue);
}

.kb-contacts__inner {
  max-width: 82rem;
  margin: 0 auto;
}

.kb-contacts__card {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  padding: 4rem;
  background: var(--color-white);
  border-radius: 1.5rem;
  overflow: hidden;
}

.kb-contacts__form-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.kb-contacts__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.kb-contacts__title {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
}

.kb-contacts__lead {
  margin: 0;
  color: var(--color-neutral-600);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.kb-contacts__aside {
  flex: 0 0 22.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kb-contacts__photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.kb-contacts__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.kb-contacts__info-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.kb-contacts__emails {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kb-contacts__emails li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kb-contacts__email-label {
  font-size: 0.875rem;
  color: var(--color-neutral-600);
}

.kb-contacts__emails a {
  color: var(--color-primary-500);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.kb-contacts__emails a:hover {
  text-decoration: underline;
}

.kb-contacts .contacts-form__submit {
  width: 100%;
}

.kb-contacts .contacts-form__header {
  display: none;
}

@media (max-width: 1100px) {
  .kb-faq__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kb-sections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kb-contacts__card {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .kb-contacts__aside {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .kb-hero {
    min-height: 0;
    padding: 3.5rem var(--section-inline-padding);
  }

  .kb-hero__title {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .kb-hero__lead {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .kb-sections,
  .kb-section-page {
    padding: 3rem var(--section-inline-padding);
  }

  .kb-sections__title,
  .kb-section-page__title,
  .kb-faq__title {
    font-size: 1.75rem;
    line-height: 2.125rem;
  }

  .kb-sections__grid {
    grid-template-columns: 1fr;
  }

  .kb-section-page__body {
    flex-direction: column;
  }

  .kb-sidebar {
    flex: none;
    width: 100%;
  }

  .kb-faq {
    padding: 4rem var(--section-inline-padding);
  }

  .kb-contacts {
    padding: 3rem var(--section-inline-padding);
  }

  .kb-contacts__card {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .kb-contacts__title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Админка блога
   ========================================================================== */

.admin-layout {
  min-height: 100vh;
  background: var(--color-neutral-75);
}

.admin-layout__header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-neutral-200);
}

.admin-layout__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-layout__brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-neutral-700);
  text-decoration: none;
}

.admin-layout__nav {
  display: flex;
  gap: 20px;
}

.admin-layout__nav a {
  font-size: 15px;
  color: var(--color-primary-500);
  text-decoration: none;
}

.admin-layout__main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.admin-flash {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.admin-flash--notice {
  background: rgba(107, 183, 0, 0.12);
  color: #3f6900;
}

.admin-flash--alert {
  background: rgba(220, 53, 69, 0.1);
  color: #842029;
}

.admin-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-page__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary-500);
  margin: 0 0 8px;
}

.admin-page__title {
  font-size: 32px;
  line-height: 38px;
  margin: 0;
  color: var(--color-neutral-700);
}

.admin-page__header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(20, 40, 80, 0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-neutral-200);
  vertical-align: top;
}

.admin-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-neutral-600);
}

.admin-table__slug {
  display: block;
  font-size: 13px;
  color: var(--color-neutral-600);
  margin-top: 4px;
}

.admin-table__link {
  color: var(--color-neutral-700);
  font-weight: 500;
  text-decoration: none;
}

.admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-table__actions a {
  color: var(--color-primary-500);
  text-decoration: none;
  font-size: 14px;
}

.admin-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge--draft {
  background: rgba(75, 75, 75, 0.12);
  color: var(--color-neutral-600);
}

.admin-badge--published {
  background: rgba(107, 183, 0, 0.15);
  color: #3f6900;
}

.admin-empty {
  color: var(--color-neutral-600);
}

.admin-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.admin-meta dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-neutral-600);
  margin-bottom: 4px;
}

.admin-meta dd {
  margin: 0;
  color: var(--color-neutral-700);
}

.admin-preview {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.admin-preview h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.admin-page__footer {
  display: flex;
  gap: 20px;
  align-items: center;
}

.admin-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-primary-500);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.admin-link--danger {
  color: #c0392b;
}

.admin-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.admin-form__errors {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.admin-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-form__field--wide {
  grid-column: 1 / -1;
}

.admin-form__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.admin-form__field input,
.admin-form__field select,
.admin-form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  font: inherit;
}

.admin-form__hint {
  font-size: 13px;
  line-height: 18px;
  color: var(--color-neutral-600);
  margin: 0;
}

.admin-form__cover-preview img {
  display: block;
  max-width: 240px;
  border-radius: var(--radius-md);
  margin-top: 8px;
}

.admin-form__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.admin-rich-text {
  display: grid;
  gap: 10px;
}

.admin-rich-text__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-md);
  background: var(--color-surface-muted, #f4f4f5);
  width: fit-content;
}

.admin-rich-text__tab {
  appearance: none;
  border: 0;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  color: var(--color-text-muted, #52525b);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}

.admin-rich-text__tab--active {
  background: #fff;
  color: var(--color-text, #18181b);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.admin-rich-text__hint {
  margin: 0;
}

.admin-rich-text__source {
  width: 100%;
  min-height: 420px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  tab-size: 2;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid var(--color-border, #d4d4d8);
  border-radius: var(--radius-md);
  background: #fafafa;
  color: var(--color-text, #18181b);
}

.admin-rich-text__source:focus {
  outline: 2px solid var(--color-primary, #2563eb);
  outline-offset: 1px;
}

.admin-rich-text trix-editor {
  min-height: 320px;
}

.admin-rich-text__preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-rich-text__preview-note {
  margin: 0;
  flex: 1 1 240px;
}

.admin-rich-text__preview-refresh {
  appearance: none;
  border: 1px solid var(--color-border, #d4d4d8);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text, #18181b);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}

.admin-rich-text__preview-refresh:hover {
  border-color: var(--color-primary, #2563eb);
  color: var(--color-primary, #2563eb);
}

.admin-rich-text__preview-sheet {
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  box-shadow: var(--shadow-card);
}

.admin-rich-text__preview-title {
  font-size: 32px;
  line-height: 40px;
}

.admin-rich-text__preview-lead {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-article__body .blog-prose__diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 28px;
  }

  .blog-article__body .blog-prose__diagram-node:nth-child(2n):not(:last-child)::after {
    display: none;
  }

  .blog-article__body .blog-prose__diagram-node:nth-child(odd):not(:last-child)::after {
    content: "→";
    right: -14px;
    top: 50%;
    bottom: auto;
    left: auto;
    transform: translate(50%, -50%);
  }

  .blog-article__body .blog-prose__compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .blog-index,
  .blog-article {
    padding: 48px 24px 72px;
  }

  .blog-article__sheet {
    padding: 24px 20px 20px;
  }

  .blog-article__title {
    font-size: clamp(21px, 6.4vw, 26px);
    line-height: 1.32;
  }

  .blog-article__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .blog-article__body {
    font-size: 16px;
    line-height: 26px;
  }

  .blog-article__body h2 {
    font-size: 22px;
    line-height: 28px;
    margin: 28px 0 12px;
    text-wrap: balance;
  }

  .blog-article__body h3 {
    font-size: 19px;
    line-height: 26px;
    margin: 24px 0 8px;
  }

  .blog-article__body .blog-prose__card h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .blog-article__body .blog-prose__card p {
    font-size: 15px;
    line-height: 24px;
  }

  .blog-article__body .blog-prose__panel-list li {
    font-size: 15px;
    line-height: 24px;
  }

  .blog-article__body .blog-prose__callout p {
    font-size: 15px;
    line-height: 24px;
  }

  .blog-article__body .blog-prose__flow {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .blog-article__body .blog-prose__checklist li {
    font-size: 15px;
    line-height: 24px;
    padding: 12px 14px;
    gap: 12px;
  }

  .blog-article__body .blog-prose__steps li {
    font-size: 15px;
    line-height: 24px;
    padding: 14px 16px;
    gap: 12px;
  }

  .blog-article__body .blog-prose__steps li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .blog-article__body .blog-prose__section {
    margin-top: 36px;
    padding-top: 36px;
  }

  .blog-article__body .blog-prose__cards {
    grid-template-columns: 1fr;
  }

  .blog-article__body .blog-prose__callout {
    padding: 16px 18px;
  }

  .blog-article__body .blog-prose__checklist li::before {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .blog-article__body .blog-prose__diagram {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 14px;
  }

  /* Перебиваем tablet nth-child(odd) → — иначе на 1/3 узлах остаётся → */
  .blog-article__body .blog-prose__diagram-node:nth-child(odd):not(:last-child)::after,
  .blog-article__body .blog-prose__diagram-node:nth-child(even):not(:last-child)::after {
    display: grid;
    top: auto;
    right: auto;
    bottom: -14px;
    left: 50%;
    transform: translate(-50%, 50%);
    content: "↓";
  }

  .blog-article__body .blog-prose__compare {
    grid-template-columns: 1fr;
  }

  .blog-article__body .blog-prose__gallery {
    grid-template-columns: 1fr;
  }

  .blog-article__body .blog-prose__diagram-node strong {
    font-size: 14px;
    line-height: 20px;
  }

  .blog-article__body .blog-prose__compare-col li {
    font-size: 14px;
    line-height: 21px;
  }

  .blog-article__toc {
    margin-bottom: 24px;
    padding: 16px 18px 14px;
  }

  .blog-article__toc-title {
    margin-bottom: 12px;
    padding-bottom: 10px;
    font-size: 13px;
    line-height: 16px;
  }

  .blog-article__toc-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 4px;
  }

  .blog-article__toc-item {
    font-size: 14px;
    line-height: 20px;
  }

  .blog-article__toc-item a {
    padding: 8px 10px;
    gap: 8px;
  }

  .blog-article__toc-item--level-1 a::before,
  .blog-article__toc-item--level-2 a::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .blog-article__toc-item--level-3 a {
    padding-left: 22px;
    font-size: 13px;
    line-height: 19px;
  }

  .blog-article__topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-share__actions {
    justify-content: flex-start;
  }

  .blog-article__cta {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .blog-article__cta-form {
    max-width: none;
    justify-self: stretch;
  }

  .blog-article__cta-title {
    font-size: 20px;
    line-height: 26px;
  }

  .blog-article__cta-button {
    width: 100%;
    justify-content: center;
  }

  .blog-index__title {
    font-size: 32px;
    line-height: 40px;
  }

  .blog-list__link {
    padding: 14px 16px;
    gap: 12px;
  }

  .blog-list__thumb {
    width: 72px;
    height: 52px;
  }

  .admin-form__grid {
    grid-template-columns: 1fr;
  }

  .admin-page__header {
    flex-direction: column;
  }
}

/* ==========================================================================
   Доступность: уважение к настройке «уменьшить анимацию»
   ========================================================================== */

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

/* ==========================================================================
   Лендинг 2026 — дизайн Website / Figma
   ========================================================================== */

.landing-v2 {
  --v2-primary: #020658;
  --v2-accent: #ff8b2a;
  --v2-text: #191919;
  --v2-muted: #817b7b;
  --v2-border: #bab6b6;
  --v2-warm: #fffcf8;
  color: var(--v2-text);
  background: var(--v2-warm);
}

.v2-analytics,
.v2-pricing,
.v2-demo {
  position: relative;
}

.v2-anchor {
  position: absolute;
  top: 0;
  left: 0;
  scroll-margin-top: var(--scroll-offset-top);
}

.landing-v2 h1,
.landing-v2 h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.08px;
}

.landing-v2 em {
  font-weight: 500;
}

.v2-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px 0;
  overflow: hidden;
}

.v2-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 48px));
  text-align: center;
}

.v2-hero__intro h1 {
  max-width: 1120px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.33;
}

.v2-hero__intro p {
  font-size: 20px;
  line-height: 32px;
}

.v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 32px;
  border: 1px solid var(--v2-primary);
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.v2-button:hover {
  transform: translateY(-1px);
}

.v2-button--primary {
  color: #fff;
  background: var(--v2-primary);
}

.v2-button--secondary {
  color: var(--v2-primary);
  background: transparent;
}

.v2-showcase {
  display: flex;
  gap: 16px;
  width: calc(100% - 48px);
  max-width: 1390px;
  height: 400px;
}

.v2-showcase__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition:
    flex-basis 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    flex-grow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.v2-showcase__card--side {
  flex: 0 1 300px;
}

.v2-showcase__card--main {
  flex: 1 1 758px;
}

@media (hover: hover) and (pointer: fine) {
  .v2-showcase:has(.v2-showcase__card:hover) .v2-showcase__card {
    flex-basis: 300px;
    flex-grow: 0;
  }

  .v2-showcase:has(.v2-showcase__card:hover) .v2-showcase__card:hover {
    flex-basis: 758px;
    flex-grow: 1;
    box-shadow: 0 16px 40px rgba(35, 22, 12, 0.16);
  }
}

.v2-showcase__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(25, 25, 25, 0.48));
  pointer-events: none;
}

.v2-showcase__card > img:not(.v2-showcase__device) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-showcase__card--side:first-child > img {
  object-position: 13% top;
}

.v2-showcase__card--side:last-child > img {
  object-position: left top;
}

.v2-showcase__card span {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(5px);
  font-size: 16px;
  line-height: 24px;
}

.v2-showcase__background {
  position: absolute;
  inset: 0;
}

.v2-showcase__device {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -78px;
  width: min(77%, 584px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 22px rgba(35, 22, 12, 0.25));
}

.landing-v2 .progressive-image {
  opacity: 0.82;
  filter: blur(12px);
  transition: opacity 0.55s ease, filter 0.55s ease;
}

.landing-v2 .progressive-image.progressive-image--loaded {
  opacity: 1;
  filter: blur(0);
}

.landing-v2 .v2-showcase__device.progressive-image {
  filter: drop-shadow(0 0 22px rgba(35, 22, 12, 0.25)) blur(12px);
}

.landing-v2 .v2-showcase__device.progressive-image--loaded {
  filter: drop-shadow(0 0 22px rgba(35, 22, 12, 0.25)) blur(0);
}

.v2-hero__proofs {
  display: flex;
  justify-content: center;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.v2-hero__proofs li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 24px;
}

.v2-hero__proofs li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--v2-accent);
  font-weight: 700;
}

.v2-analytics {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 64px;
  background: #fff;
}

.v2-analytics__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 640px);
  gap: 48px;
  align-items: start;
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
}

.v2-analytics__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.v2-tabs {
  display: flex;
  gap: 32px;
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  overflow: auto hidden;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.v2-tabs button {
  flex: 0 0 auto;
  padding-bottom: 8px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.v2-tabs .is-active {
  color: var(--v2-accent);
  border-bottom: 2px solid var(--v2-accent);
  font-weight: 500;
}

.v2-slider__viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-slider__track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.v2-slider__slide {
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  flex-direction: column;
  gap: 64px;
}

.v2-slider__slide:not(.is-active) {
  pointer-events: none;
}

.v2-analytics h2,
.v2-section-header h1,
.v2-section-header h2,
.v2-demo h2 {
  font-size: 48px;
  line-height: 64px;
}

.v2-analytics__copy > p,
.v2-demo__copy > p {
  font-size: 16px;
  line-height: 24px;
}

.v2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--v2-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.v2-text-link span {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.25s ease;
}

.v2-text-link__arrow {
  width: 24px;
  height: 13px;
  flex: 0 0 24px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-text-link:hover span,
.v2-text-link:focus-visible span {
  background-size: 100% 1px;
}

.v2-text-link:hover .v2-text-link__arrow,
.v2-text-link:focus-visible .v2-text-link__arrow {
  transform: translateX(6px);
}

.v2-analytics__visual {
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: #f8f8f8;
}

.v2-analytics__visual img {
  width: 100%;
  aspect-ratio: 1.46;
  object-fit: cover;
  object-position: right top;
}

.v2-analytics__visual--dashboard {
  padding: 0;
  border: 0;
  background: transparent;
}

.v2-analytics__visual--dashboard img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.v2-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
}

.v2-feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-feature__icon-slot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  width: 56px;
  height: 32px;
}

.v2-feature .v2-feature__icon-slot img {
  flex: none;
}

.v2-feature img,
.v2-demo__features img {
  width: 36px;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.v2-feature p,
.v2-demo__features p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.v2-analytics__visual--terminal {
  display: block;
  min-height: 0;
  background: #fffcf8;
}

.v2-analytics__visual--terminal img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.v2-feature__payment-icon {
  position: relative;
  width: 56px;
  height: 32px;
}

.v2-feature__payment-icon .v2-feature__payment-cash {
  position: absolute;
  top: 0;
  left: 11px;
  width: 39px;
  height: 21px;
  object-fit: fill;
  transform: rotate(-15.65deg);
}

.v2-feature__payment-icon .v2-feature__payment-card {
  position: absolute;
  top: 4px;
  left: 0;
  width: 34px;
  height: 27px;
  object-fit: fill;
}

.v2-feature .v2-feature__pos-icon {
  height: 32px;
  object-fit: fill;
}

.v2-feature .v2-feature__pos-icon--bill {
  width: 31px;
}

.v2-feature .v2-feature__pos-icon--order {
  width: 55px;
}

.v2-feature .v2-feature__pos-icon--interface {
  width: 35px;
}

.v2-analytics__visual--integration {
  background: #fff;
}

.v2-analytics__visual--integration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}

.v2-feature .v2-feature__integration-icon {
  height: 32px;
  object-fit: fill;
}

.v2-feature .v2-feature__integration-icon--data,
.v2-feature .v2-feature__integration-icon--custom {
  width: 32px;
}

.v2-feature .v2-feature__integration-icon--payment {
  width: 39px;
}

.v2-feature .v2-feature__integration-icon--services {
  width: 36px;
}

.v2-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px;
  overflow: visible;
  background: var(--v2-warm);
}

.v2-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.v2-section-header > p {
  font-size: 16px;
  line-height: 24px;
}

.v2-period {
  display: flex;
  max-width: 100%;
  padding: 2px;
  border: 1px solid var(--v2-border);
  border-radius: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.v2-period::-webkit-scrollbar {
  display: none;
}

.v2-period button {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 0;
  border-radius: 40px;
  color: inherit;
  background: transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.v2-period .is-active {
  color: var(--v2-accent);
  background: #fff;
}

.v2-period button:not(.is-active):hover {
  color: var(--v2-accent);
  background: #fff3e8;
}

.v2-period b {
  margin-left: 4px;
  color: var(--v2-accent);
  font-size: 12px;
}

.v2-plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  width: 100%;
  max-width: 1310px;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
}

.v2-plan {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  min-width: 0;
  background: #fff;
}

.v2-plan:first-child {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.v2-plan:last-child {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.v2-plan + .v2-plan:not(.v2-plan--popular) {
  border-left: 1px solid var(--v2-border);
}

.v2-plan--popular {
  z-index: 1;
  margin: -8px -1px;
  padding: 8px 0;
  border: 1px solid var(--v2-accent);
  border-radius: 16px;
  background: #fff;
}

.v2-plan--popular + .v2-plan:not(.v2-plan--popular) {
  border-left: none;
}

.v2-plan__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  margin: 0;
  padding: 8px 16px;
  border-radius: 40px;
  color: #fff;
  background: var(--v2-accent);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.v2-plan__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-row: 1;
  padding: 24px 16px;
  border-bottom: 1px solid var(--v2-border);
}

.v2-plan__level {
  display: flex;
  gap: 8px;
  min-height: 16px;
}

.v2-plan__bean {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  overflow: clip;
}

.v2-plan__bean img {
  display: block;
  width: 14px;
  height: 10px;
}

.v2-plan h3 {
  color: var(--v2-primary);
  font-size: 32px;
  line-height: 48px;
  font-weight: 500;
}

.v2-plan__lead {
  margin: 0;
  min-height: 48px;
  font-size: 16px;
  line-height: 24px;
}

.v2-plan__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--v2-accent);
  font-size: 32px;
  line-height: 48px;
  font-weight: 500;
  white-space: nowrap;
}

.v2-plan__old-price {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  margin-bottom: -4px;
  color: rgba(255, 139, 42, 0.68);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  animation: v2-old-price-in 0.28s ease both;
}

.v2-plan__old-price::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  left: -3px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-4deg);
}

.v2-plan__old-price[hidden] {
  display: none;
}

.v2-plan__old-price .byn-currency-symbol {
  width: 0.58em;
  height: 0.58em;
}

@keyframes v2-old-price-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v2-plan__price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.12em;
}

.v2-plan__price-line .byn-currency-symbol {
  align-self: center;
  width: 0.62em;
  height: 0.62em;
  vertical-align: 0;
  transform: translateY(0.06em);
}

.v2-plan__price [data-pricing-toggle-target="amount"] {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.v2-plan__price [data-pricing-toggle-target="amount"].is-changing {
  opacity: 0;
  transform: translateY(-4px);
}

.v2-plan__price small {
  display: block;
  margin-top: -8px;
  color: var(--v2-muted);
  font-family: var(--font-family);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.v2-plan__price small[hidden] {
  display: none;
}

.v2-plan__cta {
  width: 100%;
  margin-top: auto;
}

.v2-plan__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-row: 2;
  padding: 24px 0;
}

.v2-plan__audience {
  margin: 0;
  min-height: 48px;
  padding: 0 16px;
  font-weight: 500;
  line-height: 24px;
}

.v2-plan__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-plan__list > li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 24px;
}

.v2-plan__list--accent > li {
  background: #fff3e8;
}

.v2-plan__tick {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: clip;
}

.v2-plan__tick img {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-plan__crm,
.v2-plan__previous,
.v2-plan__unit {
  display: inline;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.v2-plan__crm-text,
.v2-plan__previous-text,
.v2-plan__unit-text {
  text-decoration: underline dotted #191919;
  text-decoration-thickness: 5%;
  text-underline-offset: 3px;
}

.v2-plan__list--accent .v2-plan__unit-text {
  white-space: nowrap;
}

.v2-info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: baseline;
}

.v2-info-tip__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: -4px 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.v2-info-tip__icon {
  display: block;
  width: 16px;
  height: 16px;
  overflow: clip;
}

.v2-info-tip__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-info-tip__bubble {
  position: absolute;
  z-index: 8;
  bottom: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: min(260px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.12);
  color: var(--v2-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
  white-space: normal;
  transform: translateX(-50%);
}

.v2-info-tip__bubble[hidden] {
  display: none;
}

.v2-plan-modal {
  width: min(800px, calc(100% - 32px));
  max-height: min(944px, calc(100vh - 32px));
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.v2-plan-modal:not([open]) {
  display: none;
}

.v2-plan-modal[open] {
  display: flex;
  flex-direction: column;
}

.v2-plan-modal::backdrop {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.v2-plan-modal__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-height: min(944px, calc(100vh - 32px));
  padding: 24px 0;
  overflow: hidden;
  border: 1px solid var(--v2-muted);
  border-radius: 16px;
  background: #fff;
  color: var(--v2-text);
}

.v2-plan-modal__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
}

.v2-plan-modal__heading {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.v2-plan-modal__title {
  margin: 0;
  color: var(--v2-primary);
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.v2-plan-modal__title--crm {
  color: var(--v2-text);
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
}

.v2-plan-modal__lead {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.v2-plan-modal__card:has([data-plan-variant="hint"]:not([hidden])) {
  gap: 16px;
}

.v2-plan-modal__panel[data-plan-key="crm"] .v2-plan-modal__row {
  grid-template-columns: minmax(0, 1fr) 72px;
}

.v2-plan-modal__panel--hint .v2-plan-modal__row {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  align-items: start;
}

.v2-plan-modal__example {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-plan-modal__example-title {
  font-weight: 700;
}

.v2-plan-modal__example-text {
  font-weight: 400;
}

.v2-plan-modal__close {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -8px -8px 0 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.v2-plan-modal__close-icon {
  display: block;
  width: 24px;
  height: 24px;
  overflow: clip;
}

.v2-plan-modal__close-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-plan-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.v2-plan-modal__table {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: visible;
  border-radius: 16px;
}

.v2-plan-modal__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  align-items: center;
  min-height: 72px;
}

.v2-plan-modal__row--head {
  background: var(--v2-warm);
}

.v2-plan-modal__head-label {
  padding: 24px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.08px;
}

.v2-plan-modal__label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.08px;
}

.v2-plan-modal__check,
.v2-plan-modal__value {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: -0.08px;
  text-align: center;
}

.v2-plan-modal__tick {
  display: block;
  width: 24px;
  height: 24px;
  overflow: clip;
}

.v2-plan-modal__tick img {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-plan-modal__value {
  box-sizing: border-box;
  gap: 0.2em;
  padding-right: 32px;
  white-space: nowrap;
}

.v2-plan-modal__value .byn-currency-symbol {
  width: 0.82em;
  height: 0.82em;
}

.v2-plan-modal__discount {
  color: var(--v2-accent);
  font-weight: 500;
}

@media (max-width: 720px) {
  .v2-plan-modal {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
  }

  .v2-plan-modal__card {
    max-height: calc(100vh - 16px);
    padding: 16px 0;
    gap: 16px;
  }

  .v2-plan-modal__header {
    padding: 0 16px;
  }

  .v2-plan-modal__row {
    grid-template-columns: minmax(0, 1fr) minmax(148px, 42%);
    min-height: 56px;
  }

  .v2-plan-modal__head-label,
  .v2-plan-modal__label,
  .v2-plan-modal__check,
  .v2-plan-modal__value {
    padding: 16px;
  }

  .v2-plan-modal__value {
    padding-right: 20px;
    white-space: normal;
  }

  .v2-plan-modal__head-label {
    font-size: 18px;
  }

  .v2-plan-modal__title--crm {
    font-size: 24px;
    line-height: 32px;
  }

  .v2-plan-modal__panel[data-plan-key="crm"] .v2-plan-modal__row {
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .v2-plan-modal__panel--hint .v2-plan-modal__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.byn-currency-symbol {
  display: inline-block;
  width: 0.82em;
  height: 0.82em;
  flex: 0 0 auto;
  vertical-align: -0.04em;
  background-color: currentColor;
  mask: url("/assets/icons/byn-symbol-e70164b1.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/icons/byn-symbol-e70164b1.svg") center / contain no-repeat;
}

.v2-modules {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1310px;
}

.v2-modules .v2-section-header {
  gap: 32px;
}

.v2-modules .v2-section-header > p {
  max-width: 720px;
}

.v2-modules__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-modules__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--v2-muted);
  border-radius: 8px;
  background: #fff;
}

.v2-modules__item h3,
.v2-modules__title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.v2-modules__action {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.v2-modules__item--action .v2-modules__title {
  text-decoration: underline dotted #191919;
  text-decoration-thickness: 5%;
  text-underline-offset: 3px;
}

.v2-modules__item p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.v2-modules__icon {
  display: block;
  overflow: clip;
  flex: 0 0 auto;
}

.v2-modules__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-modules__icon--wfo,
.v2-modules__icon--forecast {
  width: 35px;
  height: 32px;
}

.v2-modules__icon--analytics {
  width: 32px;
  height: 32px;
}

.v2-modules__icon--procurement {
  width: 50px;
  height: 32px;
}

.v2-modules__icon--loyalty {
  width: 33px;
  height: 32px;
}

.v2-modules__icon--mailing {
  width: 31px;
  height: 32px;
}

.v2-modules__icon--integrations {
  width: 36px;
  height: 32px;
}

.v2-modules__icon--site {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 29px;
}

.v2-modules__icon--site img {
  width: 29px;
  height: 36px;
  transform: rotate(90deg);
}

.v2-modules__icon--report_units,
.v2-modules__icon--site_units {
  width: 32px;
  height: 32px;
}

.v2-pricing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.pricing-compare,
.pricing-faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px;
  background: #fff;
  scroll-margin-top: var(--scroll-offset-top);
}

.pricing-compare__header,
.pricing-faq__title,
.pricing-compare .pricing-accordion,
.pricing-faq .pricing-accordion {
  width: 100%;
  max-width: 1310px;
}

.pricing-compare__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.pricing-compare__header h2,
.pricing-faq__title {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
}

.pricing-compare__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.pricing-compare__scroll {
  width: 100%;
  max-width: 1310px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.pricing-compare__table {
  width: 100%;
  min-width: 1080px;
  border: 1px solid var(--v2-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.pricing-compare__group {
  background: var(--v2-warm);
}

.pricing-compare__table th,
.pricing-compare__table td {
  padding: 24px;
  border-top: 1px solid var(--v2-border);
  vertical-align: middle;
}

.pricing-compare__table tbody:first-child .pricing-compare__group th {
  border-top: 0;
}

.pricing-compare__table th[scope="col"] {
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  text-align: center;
}

.pricing-compare__table th[scope="col"]:first-child,
.pricing-compare__table th[scope="row"] {
  min-width: 240px;
  width: 27%;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: left;
}

.pricing-compare__table .v2-plan__unit {
  width: 100%;
}

.pricing-compare__table td .v2-plan__unit {
  text-align: center;
}

.pricing-compare__table th[scope="col"]:first-child {
  font-size: 20px;
  line-height: 32px;
}

.pricing-compare__table td {
  width: 14.6%;
  min-width: 160px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.pricing-compare__table th[scope="row"],
.pricing-compare__table .pricing-compare__group th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

.pricing-compare__table .pricing-compare__group th:first-child {
  background: var(--v2-warm);
}

.pricing-compare__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  overflow: clip;
}

.pricing-compare__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.pricing-compare__icon--dash {
  opacity: 0.4;
}

.pricing-accordion {
  display: flex;
  flex-direction: column;
}

.pricing-accordion--notes {
  gap: 32px;
}

.pricing-accordion--notes .pricing-accordion__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
}

.pricing-accordion--faq {
  gap: 24px;
}

.pricing-accordion__item {
  border-bottom: 1px solid var(--v2-border);
}

.pricing-accordion--faq .pricing-accordion__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
}

.pricing-accordion--faq .pricing-accordion__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pricing-accordion__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.pricing-accordion__summary::-webkit-details-marker {
  display: none;
}

.pricing-accordion__question {
  min-width: 0;
}

.pricing-accordion--notes .pricing-accordion__question {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.pricing-accordion--faq .pricing-accordion__question {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.pricing-accordion__toggle {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.pricing-accordion__icon {
  display: block;
  width: 24px;
  height: 24px;
}

.pricing-accordion__icon--minus {
  display: none;
}

.pricing-accordion__item[open] .pricing-accordion__icon--plus {
  display: none;
}

.pricing-accordion__item[open] .pricing-accordion__icon--minus {
  display: block;
}

.pricing-accordion__body {
  margin: 0;
  padding: 0 40px 16px 0;
  font-size: 16px;
  line-height: 24px;
}

.pricing-accordion--faq .pricing-accordion__body {
  padding: 0;
}

@media (max-width: 1100px) {
  .pricing-compare,
  .pricing-faq {
    padding: 32px;
  }

  .pricing-compare__header h2,
  .pricing-faq__title {
    font-size: 40px;
    line-height: 48px;
  }

  .pricing-accordion--notes .pricing-accordion__question {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 720px) {
  .pricing-compare,
  .pricing-faq {
    padding: 32px 16px;
  }

  .pricing-compare__header h2,
  .pricing-faq__title {
    font-size: 32px;
    line-height: 40px;
  }

  .pricing-compare__table th,
  .pricing-compare__table td {
    padding: 16px;
  }

  .pricing-compare__table th[scope="col"] {
    font-size: 16px;
    line-height: 24px;
  }
}

.v2-demo {
  display: grid;
  grid-template-columns: minmax(0, 814px) 424px;
  gap: 72px;
  justify-content: center;
  padding: 64px;
  background: #fff;
}

.v2-demo__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.v2-demo__lead--mobile {
  display: none;
}

.v2-demo__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.v2-demo__features article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-demo__form {
  width: 424px;
  padding: 32px;
  align-self: start;
  border: 1px solid var(--v2-border);
  border-radius: 24px;
  background: #fff;
}

.v2-demo__form .contacts-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.v2-demo__form .field {
  margin: 0;
}

.v2-demo__form .field__control {
  width: 100%;
  height: 50px;
  padding: 19px 15px 7px;
  border: 1px solid #cacaca;
  border-radius: 4px;
  background: #fff;
}

.v2-demo__form .field__control--textarea {
  min-height: 74px;
  padding-top: 31px;
  overflow-y: hidden;
  resize: none;
}

.v2-demo__form .field__label--inside {
  top: 7px;
  left: 15px;
  padding: 0;
  color: #4b4b4b;
  background: transparent;
  font-size: 12px;
  line-height: 16px;
  transform: none;
}

.v2-demo__form .field__control:placeholder-shown + .field__label--inside {
  top: 7px;
  font-size: 12px;
  transform: none;
}

.v2-demo__form .contacts-form__submit {
  width: 100%;
  min-width: 0;
  height: 56px;
}

.v2-demo__form .contacts-form__note {
  color: var(--v2-muted);
  font-size: 12px;
  line-height: 16px;
}

/* Общие шапка и подвал в визуальном языке нового макета. */
.site-header {
  top: 16px;
  left: 24px;
  right: 24px;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.site-header__inner {
  height: 74px;
  max-width: 1390px;
  padding: 0 32px;
}

.site-header__logo img {
  width: 176px;
  height: 32px;
}

.site-header__actions .btn {
  height: 48px;
  padding: 12px 24px;
}

.site-footer {
  --footer-text: #817b7b;
  --footer-text-mute: #bab6b6;
  --footer-link: #191919;
  --footer-link-hover: #ff8b2a;
  --footer-divider: #eeeeee;
  padding: 64px;
  color: var(--color-neutral-700);
  background: #fffcf8;
}

.site-footer__inner {
  max-width: 1310px;
}

.site-footer__top {
  align-items: flex-start;
}

.site-footer__tagline {
  color: #817b7b;
}

.site-footer__col-title {
  margin-bottom: 16px;
  color: #817b7b;
  font-size: 12px;
  line-height: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer__col ul {
  gap: 10px;
}

.site-footer__col a {
  color: #191919;
  font-size: 16px;
  line-height: 24px;
}

.site-footer__contact-label {
  color: #817b7b;
}

.site-footer__contacts a {
  color: #191919;
  font-size: 16px;
  line-height: 24px;
}

.site-footer__status,
.site-footer__cta {
  display: none;
}

.site-footer__bottom {
  margin-top: 48px;
  margin-bottom: -64px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 0;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

@media (max-width: 1100px) {
  :root {
    --site-header-height: 92px;
  }

  .site-main {
    padding-top: var(--site-header-height);
  }

  .v2-hero {
    padding: 32px 0;
  }

  .v2-hero__intro {
    width: min(688px, calc(100% - 64px));
  }

  .v2-hero__intro h1 {
    font-size: clamp(44px, 7vw, 64px);
    line-height: 1.22;
  }

  .v2-hero__intro p {
    font-size: 16px;
    line-height: 24px;
  }

  .v2-showcase {
    width: max-content;
    height: 208px;
  }

  .v2-showcase__card--side {
    flex-basis: 156px;
  }

  .v2-showcase__card--main {
    flex-basis: 394px;
  }

  @media (hover: hover) and (pointer: fine) {
    .v2-showcase:has(.v2-showcase__card:hover) .v2-showcase__card {
      flex-basis: 156px;
    }

    .v2-showcase:has(.v2-showcase__card:hover) .v2-showcase__card:hover {
      flex-basis: 394px;
    }
  }

  .v2-showcase__card span {
    left: 12px;
    bottom: 12px;
    padding: 8px 16px;
    font-size: 12px;
    line-height: 16px;
  }

  .v2-showcase__device {
    bottom: -45px;
  }

  .v2-hero__proofs {
    gap: 24px;
    padding: 0 32px;
  }

  .v2-hero__proofs li {
    flex: 1;
  }

  .v2-analytics,
  .v2-pricing,
  .v2-demo {
    padding: 32px;
  }

  .v2-analytics {
    gap: 64px;
  }

  .v2-slider__slide {
    gap: 64px;
  }

  .v2-analytics__main {
    grid-template-columns: 1fr;
    gap: 32px;
    min-width: 0;
  }

  .v2-analytics__copy,
  .v2-analytics__visual {
    width: 100%;
    min-width: 0;
  }

  .v2-analytics h2,
  .v2-section-header h1,
  .v2-section-header h2,
  .v2-demo h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .v2-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .v2-modules__grid {
    grid-template-columns: 1fr 1fr;
  }

  .v2-plans {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 24px;
    margin-top: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .v2-plan {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    border: 1px solid var(--v2-border);
    border-radius: 16px;
  }

  .v2-plan:first-child,
  .v2-plan:last-child {
    border-radius: 16px;
  }

  .v2-plan--popular {
    margin: 16px 0 0;
    padding: 8px 0 0;
    border: 1px solid var(--v2-accent);
  }

  .v2-plan--popular + .v2-plan:not(.v2-plan--popular) {
    border-left: 1px solid var(--v2-border);
  }

  .v2-plan h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .v2-plan__price {
    font-size: 24px;
    line-height: 32px;
  }

  .v2-plan__audience {
    min-height: 0;
  }

  .v2-demo {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .v2-demo__copy {
    max-width: none;
  }

  .v2-demo__features {
    display: none;
  }

  .v2-demo__form {
    width: 100%;
  }

  .site-header__burger {
    display: inline-flex !important;
    width: 24px;
    height: 24px;
  }

  .site-header {
    top: 16px;
    left: 16px;
    right: 16px;
    border-radius: 16px;
  }

  .site-header__inner {
    justify-content: flex-start;
    gap: 16px;
    height: 74px;
    padding: 0 16px;
  }

  .site-header__logo img {
    width: 176px;
    height: 32px;
  }

  .site-header__actions {
    display: flex !important;
    margin-left: auto;
  }

  .site-header__actions .lang-switch {
    display: none;
  }

  .site-header__actions .btn {
    min-width: 0;
    height: 56px;
    padding: 16px 24px;
    font-size: 16px;
  }

  .site-footer {
    padding: 32px;
  }

  .site-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px 32px;
    margin-bottom: -32px;
    padding-bottom: 32px;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: space-between;
  }

  .site-footer__copy {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer__made {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  :root {
    --site-header-height: 88px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-main {
    padding-top: var(--site-header-height);
  }

  .site-header {
    top: 16px;
    left: 16px;
    right: 16px;
    border-radius: 8px;
  }

  .site-header__inner {
    height: 70px;
    padding: 0 8px;
  }

  .site-header__logo img {
    width: 176px;
    height: 32px;
  }

  .site-header__actions {
    display: none !important;
  }

  .mobile-menu {
    background: #fffcf8;
    backdrop-filter: none;
  }

  .v2-hero {
    gap: 32px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .v2-hero__intro {
    width: 100%;
    padding: 0 32px;
  }

  .v2-hero__intro h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .v2-button {
    min-height: 56px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .v2-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    height: 181px;
    padding: 0 16px;
    transform: none;
  }

  .v2-showcase__card,
  .v2-showcase__card--side,
  .v2-showcase__card--main {
    width: 100%;
    min-width: 0;
  }

  .v2-showcase__device {
    width: 220px;
    max-width: none;
  }

  .v2-hero__proofs {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0 16px;
  }

  .v2-analytics,
  .v2-pricing,
  .v2-demo {
    padding: 32px 16px;
  }

  .v2-analytics {
    gap: 32px;
    min-width: 0;
  }

  .v2-slider__slide {
    gap: 32px;
  }

  .v2-tabs {
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .v2-analytics__copy {
    gap: 16px;
  }

  .v2-analytics h2,
  .v2-section-header h1,
  .v2-section-header h2,
  .v2-demo h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .v2-feature-grid,
  .v2-demo__features,
  .v2-modules__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .v2-feature,
  .v2-demo__features article {
    flex-direction: row;
    align-items: flex-start;
  }

  .v2-feature img,
  .v2-demo__features img {
    flex: 0 0 36px;
  }

  .v2-pricing {
    gap: 16px;
  }

  .v2-section-header {
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .v2-section-header > * {
    max-width: 100%;
  }

  .v2-period {
    width: 100%;
    min-width: 0;
  }

  .v2-plan__price {
    font-size: 22px;
    line-height: 32px;
    white-space: normal;
  }

  .v2-plan h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .v2-demo__form {
    padding: 16px;
    border-radius: 24px;
  }

  .v2-demo__lead--full {
    display: none;
  }

  .v2-demo__lead--mobile {
    display: block;
  }

  .site-footer {
    padding: 32px;
  }

  .site-footer__top {
    gap: 32px;
  }

  .site-footer__brand {
    width: 100%;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__col:nth-child(1) {
    order: 3;
  }

  .site-footer__col:nth-child(2) {
    order: 2;
  }

  .site-footer__col:nth-child(3) {
    order: 1;
  }

  .site-footer__bottom {
    display: flex;
    margin: 0 -32px -32px;
    padding: 32px;
    border: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer__legal {
    order: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer__copy {
    order: 2;
  }

  .site-footer__made {
    order: 3;
  }
}

/* ==========================================================================
   POS-система — визуальный язык landing v2
   ========================================================================== */

.pos-page.landing-v2 {
  width: 100%;
  overflow: clip;
  background: var(--v2-warm);
}

.pos-page h1,
.pos-page h2,
.pos-page h3,
.pos-page p {
  overflow-wrap: anywhere;
}

.pos-page .pos-section-eyebrow,
.pos-page .pos-hero__eyebrow {
  margin: 0;
  color: var(--v2-accent);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pos-page .section-title,
.pos-page .seo-page__section-title {
  margin: 0;
  color: var(--v2-text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pos-page .pos-hero {
  padding: 112px 64px 96px;
  background:
    radial-gradient(circle at 82% 25%, rgba(255, 139, 42, 0.12), transparent 30%),
    var(--v2-warm);
}

.pos-page .pos-hero__inner {
  width: 100%;
  max-width: 1312px;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.pos-page .pos-hero__content {
  gap: 32px;
}

.pos-page .pos-hero__title {
  max-width: 760px;
  margin: 0;
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.pos-page .pos-hero__lead {
  max-width: 650px;
  color: var(--v2-muted);
  font-size: 18px;
  line-height: 28px;
}

.pos-page .pos-hero__actions {
  gap: 12px;
}

.pos-page .v2-button--primary:hover {
  color: #fff;
  background: #11166d;
}

.pos-page .store-badge {
  height: 56px;
  border: 1px solid #191919;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pos-page a.store-badge:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(2, 6, 88, 0.14);
}

.pos-page .pos-hero__media {
  flex: 0 1 590px;
  width: min(590px, 48%);
  padding: 28px;
  border: 1px solid rgba(186, 182, 182, 0.72);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(70, 45, 24, 0.1);
}

.pos-page .pos-audience,
.pos-page .pos-helps,
.pos-page .pos-features {
  padding: 96px 64px;
  gap: 48px;
}

.pos-page .pos-audience {
  background: #fff;
}

.pos-page .pos-helps {
  background: var(--v2-warm);
}

.pos-page .pos-audience__header,
.pos-page .pos-helps__header,
.pos-page .pos-features__header {
  max-width: 1312px;
  gap: 16px;
}

.pos-page .pos-audience__header,
.pos-page .pos-helps__header {
  align-items: flex-start;
  text-align: left;
}

.pos-page .pos-audience__grid,
.pos-page .pos-helps__grid {
  max-width: 1312px;
}

.pos-page .pos-audience__grid {
  gap: 16px;
}

.pos-page .pos-audience__card,
.pos-page .pos-helps__card {
  border: 1px solid rgba(186, 182, 182, 0.72);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

.pos-page .pos-audience__card:hover,
.pos-page .pos-helps__card:hover {
  border-color: rgba(255, 139, 42, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(70, 45, 24, 0.09);
}

.pos-page .pos-audience__card {
  gap: 20px;
  padding-bottom: 24px;
}

.pos-page .pos-audience__photo {
  border-radius: 15px 15px 0 0;
}

.pos-page .pos-audience__body {
  gap: 10px;
  padding-inline: 24px;
}

.pos-page .pos-audience__name,
.pos-page .pos-helps__title,
.pos-page .pos-features__slide-title {
  color: var(--v2-primary);
  font-weight: 500;
}

.pos-page .pos-audience__name {
  font-size: 21px;
  line-height: 28px;
}

.pos-page .pos-audience__desc,
.pos-page .pos-helps__text,
.pos-page .pos-features__slide-lead {
  color: var(--v2-muted);
}

.pos-page .pos-helps__grid {
  gap: 24px;
}

.pos-page .pos-helps__card {
  gap: 16px;
  padding: 24px;
}

.pos-page .pos-helps__visual {
  height: 300px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.pos-page .pos-helps__visual--fast,
.pos-page .pos-helps__visual--orders {
  background: #f6eee5;
}

.pos-page .pos-helps__visual--check {
  background: #fff7ee;
}

.pos-page .pos-helps__visual--stock {
  background: #f7f4ed;
}

.pos-page .pos-helps__title {
  margin-top: 0;
  font-size: 28px;
  line-height: 1.2;
}

.pos-page .pos-helps__text {
  font-size: 17px;
  line-height: 26px;
}

.pos-page .pos-features {
  background: #fff;
}

.pos-page .pos-features::before {
  display: none;
}

.pos-page .pos-features__header {
  align-items: center;
  text-align: center;
}

.pos-page .pos-features__switch {
  width: min(100%, 920px);
  justify-content: center;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.pos-page .pos-features__switch::-webkit-scrollbar {
  display: none;
}

.pos-page .pos-features__switch button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pos-page .pos-features__switch button:hover {
  color: var(--v2-accent);
}

.pos-page .pos-features__switch button:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--v2-accent);
  outline-offset: 4px;
}

.pos-page .pos-features__viewport {
  max-width: 1312px;
}

.pos-page .pos-features__content {
  gap: clamp(48px, 7vw, 96px);
  padding: 16px 0;
}

.pos-page .pos-features__media {
  flex: 0 1 620px;
  width: min(620px, 50%);
  max-width: 50%;
  height: 430px;
  border: 1px solid rgba(186, 182, 182, 0.62);
  border-radius: 20px;
  background: var(--v2-warm);
}

.pos-page .pos-features__ipad {
  width: min(560px, 90%);
}

.pos-page .pos-features__text {
  max-width: 520px;
  gap: 20px;
}

.pos-page .pos-features__slide-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pos-page .pos-features__slide-lead {
  font-size: 17px;
  line-height: 27px;
}

.pos-page .seo-page__faq {
  padding: 96px 64px;
  background: var(--v2-warm);
}

.pos-page .seo-page__faq-inner {
  max-width: 960px;
}

.pos-page .seo-page__section-title {
  margin-bottom: 40px;
  text-align: center;
}

.pos-page .faq-list {
  gap: 12px;
}

.pos-page .faq-item {
  border-color: rgba(186, 182, 182, 0.72);
  border-radius: 12px;
  box-shadow: none;
}

.pos-page .faq-item:hover,
.pos-page .faq-item[open] {
  border-color: rgba(255, 139, 42, 0.72);
  box-shadow: 0 14px 36px rgba(70, 45, 24, 0.07);
}

.pos-page .faq-item__summary {
  padding: 24px 28px;
  color: var(--v2-primary);
  font-size: 17px;
  line-height: 26px;
}

.pos-page .faq-item__summary:hover,
.pos-page .faq-item[open] .faq-item__summary {
  color: var(--v2-accent);
}

.pos-page .faq-item__summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--v2-accent);
}

.pos-page .faq-item__chevron {
  background: #fff3e8;
  color: var(--v2-accent);
}

.pos-page .faq-item[open] .faq-item__chevron {
  color: #fff;
  background: var(--v2-accent);
}

.pos-page .faq-item__answer {
  color: var(--v2-muted);
}

.pos-page .faq-item__answer p {
  border-color: rgba(255, 139, 42, 0.16);
}

.pos-page .pos-page__cta {
  padding: 96px 64px;
  background: #fff;
  scroll-margin-top: var(--scroll-offset-top);
}

.pos-page .pos-page__cta .seo-page__cta-inner {
  max-width: 1312px;
  padding: 64px;
  gap: 20px;
  border: 1px solid rgba(186, 182, 182, 0.72);
  border-radius: 20px;
  background: var(--v2-warm);
}

.pos-page .pos-page__cta .seo-page__cta-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 424px;
  align-items: start;
  gap: 48px 64px;
  text-align: left;
}

.pos-page .pos-page__cta .seo-page__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pos-page .pos-page__cta .seo-page__cta-form {
  width: 100%;
  max-width: 424px;
  justify-self: end;
}

.pos-page .pos-page__cta .seo-page__cta-title {
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 400;
}

.pos-page .pos-page__cta .seo-page__cta-text {
  max-width: 620px;
  color: var(--v2-muted);
  font-size: 17px;
  line-height: 27px;
}

.pos-page .seo-page__related {
  padding: 48px 64px 64px;
  background: #fff;
}

.pos-page .seo-page__related-inner {
  max-width: 1312px;
}

.pos-page .seo-page__related-title {
  color: var(--v2-muted);
}

.pos-page .seo-page__related a {
  color: var(--v2-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pos-page .seo-page__related a:hover {
  color: var(--v2-accent);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .pos-page .pos-hero,
  .pos-page .pos-audience,
  .pos-page .pos-helps,
  .pos-page .pos-features,
  .pos-page .seo-page__faq,
  .pos-page .pos-page__cta {
    padding: 80px 32px;
  }

  .pos-page .pos-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
  }

  .pos-page .pos-hero__content {
    max-width: 820px;
  }

  .pos-page .pos-hero__media {
    flex-basis: auto;
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .pos-page .pos-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pos-page .pos-features__content {
    flex-direction: column;
    align-items: stretch;
  }

  .pos-page .pos-features__media {
    flex-basis: auto;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 640 / 430;
  }

  .pos-page .pos-features__text {
    max-width: 760px;
  }

  .pos-page .seo-page__related {
    padding-inline: 32px;
  }

  .pos-page .pos-page__cta .seo-page__cta-inner--split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pos-page .pos-page__cta .seo-page__cta-form {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .pos-page .pos-hero,
  .pos-page .pos-audience,
  .pos-page .pos-helps,
  .pos-page .pos-features,
  .pos-page .seo-page__faq,
  .pos-page .pos-page__cta {
    padding: 64px 16px;
  }

  .pos-page .pos-hero {
    padding-top: 80px;
  }

  .pos-page .pos-hero__inner {
    gap: 40px;
  }

  .pos-page .pos-hero__content {
    gap: 24px;
  }

  .pos-page .pos-hero__title {
    font-size: clamp(40px, 10.8vw, 46px);
    line-height: 1.06;
  }

  .pos-page .pos-hero__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .pos-page .pos-hero__actions,
  .pos-page .pos-hero__stores {
    width: 100%;
  }

  .pos-page .v2-button,
  .pos-page .store-badge {
    width: 100%;
  }

  .pos-page .pos-hero__media {
    padding: 12px;
    border-radius: 16px;
  }

  .pos-page .section-title,
  .pos-page .seo-page__section-title {
    font-size: 36px;
  }

  .pos-page .pos-audience,
  .pos-page .pos-helps,
  .pos-page .pos-features {
    gap: 32px;
  }

  .pos-page .pos-audience__grid,
  .pos-page .pos-helps__grid {
    grid-template-columns: 1fr;
  }

  .pos-page .pos-audience__card:hover,
  .pos-page .pos-helps__card:hover {
    transform: none;
  }

  .pos-page .pos-helps__card {
    padding: 16px;
  }

  .pos-page .pos-helps__visual {
    height: 240px;
    margin-bottom: 8px;
  }

  .pos-page .pos-helps__title {
    font-size: 24px;
  }

  .pos-page .pos-features__switch {
    justify-content: flex-start;
    align-self: stretch;
    gap: 20px;
    padding: 4px 2px;
  }

  .pos-page .pos-features__content {
    gap: 28px;
    padding-top: 8px;
  }

  .pos-page .pos-features__slide-title {
    font-size: 32px;
  }

  .pos-page .pos-features__slide-lead {
    font-size: 16px;
    line-height: 24px;
  }

  .pos-page .faq-item__summary {
    gap: 16px;
    padding: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .pos-page .faq-item__answer {
    padding: 0 20px 20px;
  }

  .pos-page .pos-page__cta .seo-page__cta-inner {
    padding: 40px 20px;
  }

  .pos-page .seo-page__related {
    padding: 40px 16px 56px;
  }

  .pos-page .seo-page__related ul {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   Общая дизайн-система публичных страниц v2
   ========================================================================== */

.public-page {
  --v2-primary: #020658;
  --v2-accent: #ff8b2a;
  --v2-text: #191919;
  --v2-muted: #817b7b;
  --v2-border: #bab6b6;
  --v2-warm: #fffcf8;
  width: 100%;
  min-width: 0;
  color: var(--v2-text);
  background: var(--v2-warm);
}

.public-page h1,
.public-page h2 {
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.public-page h1,
.public-page h2,
.public-page h3,
.public-page p {
  overflow-wrap: anywhere;
}

.public-page.business-page .pos-hero__title,
.public-page--blog .blog-article__title,
.public-page--blog .blog-list__title,
.public-page--legal .legal-page__title {
  overflow-wrap: normal;
  word-break: normal;
}

.public-page a:focus-visible,
.public-page button:focus-visible,
.public-page summary:focus-visible {
  outline: 2px solid var(--v2-accent);
  outline-offset: 3px;
}

/* Business SEO pages */

.public-page.business-page .cafe-intro,
.public-page.business-page .business-intro,
.public-page.business-page .cafe-benefits,
.public-page.business-page .business-benefits {
  padding: 96px 64px;
}

.public-page.business-page .cafe-intro,
.public-page.business-page .business-intro {
  background: var(--v2-warm);
}

.public-page.business-page .cafe-benefits,
.public-page.business-page .business-benefits {
  background: #fff;
}

.public-page.business-page .cafe-intro__inner,
.public-page.business-page .cafe-benefits__inner {
  max-width: 960px;
}

.public-page.business-page .seo-page__section-title {
  color: var(--v2-primary);
}

.public-page.business-page .seo-page__text {
  color: var(--v2-muted);
  font-size: 18px;
  line-height: 30px;
}

.public-page.business-page .seo-page__secondary-link {
  color: var(--v2-primary);
  font-weight: 600;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.public-page.business-page .seo-page__secondary-link:hover {
  color: var(--v2-accent);
}

.public-page.business-page .seo-page__benefit-list {
  gap: 12px;
}

.public-page.business-page .seo-page__benefit-list li {
  padding: 18px 20px;
  border: 1px solid rgba(186, 182, 182, 0.62);
  border-radius: 12px;
  background: var(--v2-warm);
}

.public-page.business-page .seo-page__benefit-list svg {
  color: var(--v2-accent);
}

/* Blog */

.public-page--blog.blog-index {
  position: relative;
  padding: 112px 64px 104px;
  background:
    radial-gradient(circle at 85% 5%, rgba(255, 139, 42, 0.1), transparent 28%),
    var(--v2-warm);
}

.public-page--blog .blog-index__inner,
.public-page--blog .blog-article__inner {
  width: 100%;
  max-width: 1312px;
  margin-inline: auto;
}

.public-page--blog .blog-index__header {
  max-width: 860px;
  margin-bottom: 56px;
}

.public-page--blog .blog-index__eyebrow {
  color: var(--v2-accent);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-page--blog .blog-index__title {
  color: var(--v2-primary);
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 400;
}

.public-page--blog .blog-index__lead {
  max-width: 760px;
  color: var(--v2-muted);
  font-size: 18px;
  line-height: 28px;
}

.public-page--blog .blog-list {
  gap: 16px;
}

.public-page--blog .blog-list__item {
  border: 1px solid rgba(186, 182, 182, 0.68);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

.public-page--blog .blog-list__item:hover {
  border-color: rgba(255, 139, 42, 0.72);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(70, 45, 24, 0.08);
}

.public-page--blog .blog-list__link {
  min-height: 144px;
  padding: 16px;
  color: var(--v2-text);
}

.public-page--blog .blog-list__thumb {
  width: 176px;
  min-width: 176px;
  height: 112px;
  border-radius: 10px;
}

.public-page--blog .blog-list__date {
  color: var(--v2-accent);
}

.public-page--blog .blog-list__title {
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
}

.public-page--blog .blog-list__excerpt {
  color: var(--v2-muted);
}

.public-page--blog .blog-list__arrow {
  color: var(--v2-accent);
  transition: transform 0.2s ease;
}

.public-page--blog .blog-list__item:hover .blog-list__arrow {
  transform: translateX(4px);
}

.public-page--blog .blog-pagination a,
.public-page--blog .blog-pagination [aria-current="page"] {
  border-color: rgba(186, 182, 182, 0.72);
  color: var(--v2-primary);
  background: #fff;
}

.public-page--blog .blog-pagination a:hover,
.public-page--blog .blog-pagination [aria-current="page"] {
  border-color: var(--v2-accent);
  color: var(--v2-accent);
}

.public-page--blog.blog-article {
  position: relative;
  padding: 72px 64px 104px;
  background: var(--v2-warm);
}

.public-page--blog .blog-article__topbar {
  max-width: 960px;
  margin-inline: auto;
}

.public-page--blog .blog-article__breadcrumbs-link,
.public-page--blog .blog-article__back,
.public-page--blog .blog-article__related-link {
  color: var(--v2-primary);
  transition: color 0.2s ease;
}

.public-page--blog .blog-article__breadcrumbs-link:hover,
.public-page--blog .blog-article__back:hover,
.public-page--blog .blog-article__related-link:hover {
  color: var(--v2-accent);
}

.public-page--blog .blog-share__button {
  border-color: rgba(186, 182, 182, 0.72);
  color: var(--v2-primary);
  background: #fff;
}

.public-page--blog .blog-share__button:hover {
  border-color: var(--v2-accent);
  color: var(--v2-accent);
  background: #fff3e8;
}

.public-page--blog .blog-article__sheet {
  max-width: 960px;
  margin-inline: auto;
  border: 1px solid rgba(186, 182, 182, 0.62);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(70, 45, 24, 0.07);
}

.public-page--blog .blog-article__header {
  max-width: 800px;
  margin-inline: auto;
}

.public-page--blog .blog-article__meta,
.public-page--blog .blog-article__date,
.public-page--blog .blog-article__reading-time,
.public-page--blog .blog-article__author {
  color: var(--v2-muted);
}

.public-page--blog .blog-article__title {
  color: var(--v2-primary);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 400;
}

.public-page--blog .blog-article__lead {
  color: var(--v2-muted);
  font-size: 19px;
  line-height: 30px;
}

.public-page--blog .blog-article__cover {
  border-radius: 14px;
}

.public-page--blog .blog-article__toc {
  border-color: #ffd8b8;
  background: #fffaf5;
}

.public-page--blog .blog-article__toc-title,
.public-page--blog .blog-article__toc a {
  color: var(--v2-primary);
}

.public-page--blog .blog-article__toc-title {
  border-bottom-color: #ffe2ca;
}

.public-page--blog .blog-article__toc a:hover {
  color: var(--v2-accent);
  background: #fff1e5;
}

.public-page--blog .blog-article__toc-item--level-1 a::before,
.public-page--blog .blog-article__toc-item--level-2 a::before {
  color: var(--v2-accent);
  border-color: #ffc899;
  background: #fff;
}

.public-page--blog .blog-article__toc-item a:hover::before {
  color: #fff;
  border-color: var(--v2-accent);
  background: var(--v2-accent);
}

.public-page--blog .blog-article__toc-item--level-3 a::before,
.public-page--blog .blog-article__toc-item--level-3 a:hover::before {
  background: var(--v2-accent);
}

.public-page--blog .blog-article__toc-item a:focus-visible {
  outline-color: var(--v2-accent);
}

.public-page--blog .blog-article__body {
  color: var(--v2-text);
  font-size: 18px;
  line-height: 1.75;
}

.public-page--blog .blog-article__body h2,
.public-page--blog .blog-article__body h3 {
  color: var(--v2-primary);
}

.public-page--blog .blog-article__body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 400;
}

.public-page--blog .blog-article__body a {
  color: var(--v2-accent);
}

.public-page--blog .blog-article__body blockquote {
  border-left-color: var(--v2-accent);
  background: #fff8f1;
}

.public-page--blog .blog-article__body .blog-prose__section {
  border-top-color: rgba(186, 182, 182, 0.48);
}

.public-page--blog .blog-article__body .blog-prose__panel,
.public-page--blog .blog-article__body .blog-prose__checklist li,
.public-page--blog .blog-article__body .blog-prose__steps li,
.public-page--blog .blog-article__body .blog-prose__compare-col {
  border-color: rgba(186, 182, 182, 0.58);
  background: var(--v2-warm);
}

.public-page--blog .blog-article__body .blog-prose__panel-list li::before,
.public-page--blog .blog-article__body .blog-prose__compare-col li::before {
  background: var(--v2-accent);
}

.public-page--blog .blog-article__body .blog-prose__callout,
.public-page--blog .blog-article__body .blog-prose__callout--accent {
  border-color: #ffd8b8;
  border-left-color: var(--v2-accent);
  background: #fff8f1;
}

.public-page--blog .blog-article__body .blog-prose__flow {
  color: var(--v2-accent) !important;
}

.public-page--blog .blog-article__body .blog-prose__checklist li::before {
  color: var(--v2-accent);
  background: #fff3e8;
}

.public-page--blog .blog-article__body .blog-prose__steps li::before {
  color: #fff;
  background: var(--v2-accent);
}

.public-page--blog .blog-article__body .blog-prose__diagram {
  border-color: #ffd8b8;
  background: #fff8f1;
}

.public-page--blog .blog-article__body .blog-prose__diagram-node {
  border-color: rgba(186, 182, 182, 0.58);
  box-shadow: none;
}

.public-page--blog .blog-article__body .blog-prose__diagram-node:not(:last-child)::after {
  color: var(--v2-accent);
  border-color: #ffc899;
}

.public-page--blog .blog-article__body .blog-prose__diagram-kicker {
  color: var(--v2-accent);
}

.public-page--blog .blog-article__body .blog-prose__compare-col--accent {
  border-color: #ffc899;
  background: #fff8f1;
  box-shadow: none;
}

.public-page--blog .blog-article__body .blog-prose__compare-col--accent li::before {
  background: var(--v2-accent);
}

.public-page--blog .blog-article__body .blog-prose__figure img {
  border-color: rgba(186, 182, 182, 0.58);
  background: var(--v2-warm);
}

.public-page--blog .blog-article__body .blog-prose__badge {
  color: var(--v2-accent);
  border-color: #ffd8b8;
  background: #fff3e8;
}

.public-page--blog .blog-article__footer {
  border-top-color: rgba(186, 182, 182, 0.48);
}

.public-page--blog .blog-article__cta {
  border: 1px solid rgba(186, 182, 182, 0.62);
  border-radius: 16px;
  background: var(--v2-warm);
}

.public-page--blog .blog-article__cta-title {
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.public-page--blog .blog-article__cta-text {
  color: var(--v2-muted);
}

.public-page--blog .blog-article__related {
  max-width: 960px;
  margin-inline: auto;
}

.public-page--blog .blog-article__related-title {
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
}

/* Knowledge base */

.public-page--knowledge .kb-hero {
  position: relative;
  padding: 112px 64px 96px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 139, 42, 0.11), transparent 30%),
    var(--v2-warm);
}

.public-page--knowledge .kb-hero__inner,
.public-page--knowledge .kb-sections__inner,
.public-page--knowledge .kb-section-page__inner,
.public-page--knowledge .kb-faq__inner,
.public-page--knowledge .kb-contacts__inner {
  max-width: 1312px;
}

.public-page--knowledge .kb-hero__eyebrow,
.public-page--knowledge .kb-badge {
  color: var(--v2-accent);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-page--knowledge .kb-badge__dot {
  background: var(--v2-accent);
  box-shadow: none;
}

.public-page--knowledge .kb-hero__title {
  max-width: 900px;
  color: var(--v2-primary);
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 400;
}

.public-page--knowledge .kb-hero__lead {
  max-width: 760px;
  color: var(--v2-muted);
  font-size: 18px;
  line-height: 28px;
}

.public-page--knowledge .kb-sections {
  padding: 96px 64px;
  background: #fff;
}

.public-page--knowledge .kb-sections--white {
  background: var(--v2-warm);
}

.public-page--knowledge .kb-sections__title,
.public-page--knowledge .kb-faq__title,
.public-page--knowledge .kb-contacts__title {
  color: var(--v2-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 400;
}

.public-page--knowledge .kb-card {
  min-height: 100%;
  border: 1px solid rgba(186, 182, 182, 0.68);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

.public-page--knowledge .kb-card:hover {
  border-color: rgba(255, 139, 42, 0.72);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(70, 45, 24, 0.08);
}

.public-page--knowledge .kb-card__icon {
  color: var(--v2-accent);
  background: #fff3e8;
}

.public-page--knowledge .kb-card__title {
  color: var(--v2-primary);
}

.public-page--knowledge .kb-card__desc {
  color: var(--v2-muted);
}

.public-page--knowledge .kb-faq {
  padding: 96px 64px;
  background: var(--v2-warm);
}

.public-page--knowledge .kb-faq__lead {
  color: var(--v2-muted);
}

.public-page--knowledge .kb-faq__cta {
  color: var(--v2-primary);
  border-color: var(--v2-primary);
}

.public-page--knowledge .kb-faq__cta:hover {
  color: var(--v2-accent);
  border-color: var(--v2-accent);
}

.public-page--knowledge .kb-faq-item {
  border-color: rgba(186, 182, 182, 0.68);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.public-page--knowledge .kb-faq-item:hover,
.public-page--knowledge .kb-faq-item[open] {
  border-color: rgba(255, 139, 42, 0.72);
}

.public-page--knowledge .kb-faq-item__summary {
  color: var(--v2-primary);
}

.public-page--knowledge .kb-faq-item[open] .kb-faq-item__summary,
.public-page--knowledge .kb-faq-item__summary:hover {
  color: var(--v2-accent);
}

.public-page--knowledge .kb-faq-item__answer {
  color: var(--v2-muted);
}

.public-page--knowledge .kb-contacts {
  padding: 96px 64px;
  background: #fff;
}

.public-page--knowledge .kb-contacts__card {
  border: 1px solid rgba(186, 182, 182, 0.68);
  border-radius: 20px;
  background: var(--v2-warm);
  box-shadow: none;
}

.public-page--knowledge .kb-contacts__lead,
.public-page--knowledge .kb-contacts__email-label {
  color: var(--v2-muted);
}

.public-page--knowledge .kb-contacts__emails a {
  color: var(--v2-primary);
}

.public-page--knowledge .kb-contacts__emails a:hover {
  color: var(--v2-accent);
}

.public-page--knowledge .kb-contacts .contacts-form {
  border-color: rgba(186, 182, 182, 0.68);
  background: #fff;
  box-shadow: none;
}

.public-page--knowledge .kb-section-page {
  padding: 96px 64px;
  background: var(--v2-warm);
}

.public-page--knowledge .kb-section-page__title {
  color: var(--v2-primary);
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 400;
}

.public-page--knowledge .kb-sidebar,
.public-page--knowledge .kb-article {
  border: 1px solid rgba(186, 182, 182, 0.68);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.public-page--knowledge .kb-sidebar__title,
.public-page--knowledge .kb-article__title {
  color: var(--v2-primary);
}

.public-page--knowledge .kb-sidebar__link {
  color: var(--v2-text);
  border-radius: 8px;
}

.public-page--knowledge .kb-sidebar__link:hover,
.public-page--knowledge .kb-sidebar__link--active {
  color: var(--v2-accent);
  background: #fff3e8;
}

.public-page--knowledge .kb-article__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  line-height: 1.16;
  font-weight: 400;
}

.public-page--knowledge .kb-article__body {
  color: var(--v2-text);
  font-size: 17px;
  line-height: 1.75;
}

.public-page--knowledge .kb-article__body h2,
.public-page--knowledge .kb-article__body h3 {
  color: var(--v2-primary);
}

.public-page--knowledge .kb-article__body a,
.public-page--knowledge .kb-article__cta {
  color: var(--v2-accent);
}

/* Legal page */

.public-page--legal.legal-page {
  padding: 96px 64px 112px;
  background:
    radial-gradient(circle at 84% 4%, rgba(255, 139, 42, 0.09), transparent 24%),
    var(--v2-warm);
}

.public-page--legal .legal-page__inner {
  max-width: 960px;
  padding: 64px;
  border: 1px solid rgba(186, 182, 182, 0.62);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(70, 45, 24, 0.06);
}

.public-page--legal .legal-page__eyebrow {
  color: var(--v2-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.public-page--legal .legal-page__title {
  color: var(--v2-primary);
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 400;
}

.public-page--legal .legal-page__updated,
.public-page--legal .legal-page__section,
.public-page--legal .legal-page__footer {
  color: var(--v2-muted);
}

.public-page--legal a {
  color: var(--v2-primary);
  text-underline-offset: 3px;
}

.public-page--legal a:hover {
  color: var(--v2-accent);
}

.public-page--legal .legal-page__notice,
.public-page--legal .legal-page__toc {
  border-color: rgba(255, 139, 42, 0.24);
  background: #fff8f1;
}

.public-page--legal .legal-page__toc-title {
  color: var(--v2-primary);
}

.public-page--legal .legal-page__section {
  border-color: rgba(186, 182, 182, 0.45);
  font-size: 17px;
  line-height: 1.75;
}

.public-page--legal .legal-page__section h2 {
  color: var(--v2-primary);
  font-size: 34px;
  line-height: 1.2;
}

.public-page--legal .legal-page__section h3 {
  color: var(--v2-primary);
}

.public-page--legal .legal-page__footer {
  border-color: rgba(186, 182, 182, 0.55);
  background: var(--v2-warm);
}

@media (max-width: 1100px) {
  .public-page.business-page .cafe-intro,
  .public-page.business-page .business-intro,
  .public-page.business-page .cafe-benefits,
  .public-page.business-page .business-benefits,
  .public-page--knowledge .kb-hero,
  .public-page--knowledge .kb-sections,
  .public-page--knowledge .kb-faq,
  .public-page--knowledge .kb-contacts,
  .public-page--knowledge .kb-section-page {
    padding: 80px 32px;
  }

  .public-page--blog.blog-index {
    padding: 96px 32px 80px;
  }

  .public-page--blog.blog-article {
    padding: 64px 32px 80px;
  }

  .public-page--legal.legal-page {
    padding: 80px 32px 96px;
  }
}

@media (max-width: 600px) {
  .public-page.business-page .cafe-intro,
  .public-page.business-page .business-intro,
  .public-page.business-page .cafe-benefits,
  .public-page.business-page .business-benefits,
  .public-page--knowledge .kb-hero,
  .public-page--knowledge .kb-sections,
  .public-page--knowledge .kb-faq,
  .public-page--knowledge .kb-contacts,
  .public-page--knowledge .kb-section-page {
    padding: 64px 16px;
  }

  .public-page--blog.blog-index,
  .public-page--blog.blog-article {
    padding: 64px 16px;
  }

  .public-page--blog .blog-index__header {
    margin-bottom: 40px;
  }

  .public-page--blog .blog-index__title,
  .public-page--knowledge .kb-hero__title {
    font-size: 44px;
  }

  .public-page--blog .blog-list__link {
    padding: 12px;
  }

  .public-page--blog .blog-list__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .public-page--blog .blog-list__item:hover,
  .public-page--knowledge .kb-card:hover {
    transform: none;
  }

  .public-page--blog .blog-article__sheet {
    border-radius: 14px;
  }

  .public-page--blog .blog-article__title {
    font-size: 36px;
  }

  .public-page--blog .blog-article__body {
    font-size: 16px;
  }

  .public-page--blog .blog-article__body h2 {
    font-size: 30px;
  }

  .public-page--blog .blog-article__related-title {
    font-size: 34px;
  }

  .public-page--knowledge .kb-section-page__title {
    font-size: 42px;
  }

  .public-page--knowledge .kb-article__title {
    font-size: 34px;
  }

  .public-page--legal.legal-page {
    padding: 64px 16px 80px;
  }

  .public-page--legal .legal-page__inner {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .public-page--legal .legal-page__title {
    font-size: 36px;
  }

  .public-page--legal .legal-page__section h2 {
    font-size: 29px;
  }
}
