
:root {

  /* Палитра сайта — ровно пять цветов:
     #09090b фон, #18181b поверхность, #fafafa текст,
     #71717a второстепенное, #6366f1 акцент.
     Оттенки между ними — только через прозрачность этих же цветов. */
  --canvas:         #09090b;
  --surface-1:      #18181b;
  --surface-2:      rgba(250, 250, 250, 0.06);
  --surface-3:      rgba(250, 250, 250, 0.1);
  --inverse-canvas: #fafafa;

  --hairline:       rgba(250, 250, 250, 0.09);
  --hairline-soft:  rgba(250, 250, 250, 0.055);

  --ink:            #fafafa;
  --ink-2:          rgba(250, 250, 250, 0.82);
  --ink-muted:      #71717a;
  --ink-4:          #71717a;
  --on-primary:     #09090b;

  --brand:          #6366f1;
  --brand-hi:       #6366f1;
  --brand-rgb:      99, 102, 241;
  --brand-bg:       rgba(var(--brand-rgb), 0.14);

  --accent-blue:    var(--brand);
  --semantic-success: #6366f1;
  --lx-accent:      var(--brand);
  --lx-accent-hi:   var(--brand-hi);
  --lx-accent-bg:   var(--brand-bg);
  --lx-yellow:      #6366f1;
  --lx-orange:      #6366f1;

  --gradient-orange:  linear-gradient(150deg, #6366f1 0%, rgba(99, 102, 241, 0.55) 100%);
  --heading-fill:     linear-gradient(180deg, #fafafa 30%, rgba(250, 250, 250, 0.64) 100%);
  --shadow-lg:        0 3rem 8rem -2rem rgba(9, 9, 11, 0.65);

  --fv-glow: #6366f1;
  --fv-strength: 0.55;
  --fv-spread: -4%;

  --rounded-xs:   0.4rem;
  --rounded-sm:   0.6rem;
  --rounded-md:   1rem;
  --rounded-lg:   1.5rem;
  --rounded-xl:   2rem;
  --rounded-xxl:  3rem;
  --rounded-pill: 10rem;
  --rounded-full: 9999px;

  --space-xxs:  0.4rem;
  --space-xs:   0.8rem;
  --space-sm:   1.2rem;
  --space-md:   1.5rem;
  --space-lg:   2rem;
  --space-xl:   3rem;
  --space-xxl:  4rem;

  --space-section: clamp(7.2rem, 3.6rem + 7vw, 12rem);

  --container: 128rem;
  --gutter: clamp(1.6rem, 0.9rem + 2.2vw, 3rem);
  --nav-h: 5.6rem;

  --fade: 4rem;

  --edge-fade: linear-gradient(to right,
    transparent 0,
    rgba(9, 9, 11, 0.35) calc(var(--fade) * 0.35),
    rgba(9, 9, 11, 0.80) calc(var(--fade) * 0.62),
    rgba(9, 9, 11, 0.97) calc(var(--fade) * 0.82),
    #09090b var(--fade),
    #09090b calc(100% - var(--fade)),
    rgba(9, 9, 11, 0.97) calc(100% - var(--fade) * 0.82),
    rgba(9, 9, 11, 0.80) calc(100% - var(--fade) * 0.62),
    rgba(9, 9, 11, 0.35) calc(100% - var(--fade) * 0.35),
    transparent 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.25, 0.9, 0.3, 1);

  --reveal-dur: 0.72s;
  --reveal-step: 70ms;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.006em;

  font-feature-settings: "cv01" 1, "cv05" 1, "cv09" 1, "cv11" 1,
                         "ss03" 1, "ss07" 1, "dlig" 1;
  font-variant-ligatures: discretionary-ligatures;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

::selection { background: rgba(var(--brand-rgb), 0.45); color: var(--ink); }

::-webkit-scrollbar { width: 1rem; height: 1rem; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: var(--rounded-full);
  border: 2px solid var(--canvas);
}
::-webkit-scrollbar-thumb:hover { background: #18181b; }

.hero__title {
  font-size: clamp(2.9rem, 1.16rem + 5.65vw, 8.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.display-xl {
  font-size: clamp(2.9rem, 1.22rem + 4.67vw, 7.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.display-md {
  font-size: clamp(2.2rem, 1.81rem + 1.09vw, 3.2rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.031em;
}

.body-lg {
  font-size: clamp(1.6rem, 1.45rem + 0.35vw, 1.8rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.micro {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Подпись секции: маленькие заглавные и светящаяся метка фирменного цвета */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0.4rem rgba(var(--brand-rgb), 0.16), 0 0 1.4rem rgba(var(--brand-rgb), 0.8);
}

/* Крупные заголовки — с мягким градиентом сверху вниз, как у металла */
.display-xl:not([data-split="done"]),
.display-xl .rline__i,
.hero__title:not([data-split="done"]),
.hero__title .rline__i {
  background: var(--heading-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (forced-colors: active) {
  .display-xl:not([data-split="done"]),
  .display-xl .rline__i,
  .hero__title:not([data-split="done"]),
  .hero__title .rline__i { background: none; color: CanvasText; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.edge-fade {
  -webkit-mask-image: var(--edge-fade);
  mask-image: var(--edge-fade);
}

.section-head { margin-bottom: clamp(3.6rem, 2rem + 3vw, 6.4rem); }

.section-head--split {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-xxl);
}

.section-head__lead {
  max-width: 40rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.section-head__note {
  max-width: 62rem;
  margin-top: var(--space-md);
  color: var(--ink-muted);
}

.soon {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: var(--space-lg);

  min-height: 20rem;
  padding: var(--space-xl);

  border: 1px solid var(--hairline-soft);
  border-radius: var(--rounded-xxl);

  background: var(--canvas);
}

.soon__main {
  position: relative;
  z-index: 2;

  flex: 0 1 auto;
  max-width: 42rem;
}

.soon__label {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;

  clip-path: inset(50%);
  white-space: nowrap;
}

.soon__title {
  max-width: 34rem;
  margin: 0;

  font-size: clamp(2.6rem, 2rem + 1.4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;

  letter-spacing: -0.035em;

  color: var(--ink);
}

.soon__text {
  max-width: 38rem;

  margin: var(--space-sm) 0 0;

  font-size: 1.5rem;
  line-height: 1.45;

  letter-spacing: -0.01em;

  color: var(--ink-muted);
}

.soon__visual {
  position: relative;
  z-index: 1;

  flex: 1 1 0;
  min-width: 0;

  display: flex;
  align-items: center;
  gap: var(--space-sm);

  pointer-events: none;
}

.soon__track {
  position: relative;

  flex: 1 1 0;
  min-width: 0;
  height: clamp(7rem, 5rem + 4vw, 11rem);
}

.soon__route {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;

  -webkit-mask-image: linear-gradient(90deg, transparent 0, #09090b 26%);
  mask-image: linear-gradient(90deg, transparent 0, #09090b 26%);
}

.soon__path {
  stroke: var(--ink-muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 3 11;

  opacity: 0.35;

  vector-effect: non-scaling-stroke;
}

.soon__code {
  display: inline-flex;

  font-size: clamp(5.6rem, 4rem + 3.4vw, 9rem);
  font-weight: 500;
  line-height: 1;

  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;

  color: var(--ink-muted);
  opacity: 0.35;

  user-select: none;
}

.soon__code i {
  font-style: normal;
}

.soon__head-dot {
  position: absolute;

  width: 0.9rem;
  height: 0.9rem;
  margin: -0.45rem 0 0 -0.45rem;

  border-radius: var(--rounded-full);

  background: var(--accent-blue);
  box-shadow: 0 0 0 0.5rem rgba(99, 102, 241, 0.16);

  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.soon__head-dot.is-on {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .soon.is-live .soon__path {
    stroke: var(--accent-blue);
    opacity: 0.85;

    transition: stroke 0.9s var(--ease), opacity 0.9s var(--ease);
  }

  .soon.is-live.is-done .soon__path {
    stroke: var(--ink-muted);
    opacity: 0.35;
  }

  .soon.is-live .soon__code {
    opacity: 1;
  }

  .soon.is-live .soon__code i {
    opacity: 0;
  }

  .soon.is-live.is-done .soon__code i {
    animation: soon-digit 1.1s var(--ease) both;
    animation-delay: calc(var(--n) * 140ms);
  }
}

@keyframes soon-digit {
  0% {
    opacity: 0;
    transform: translateY(1.6rem);
    color: var(--ink);
  }

  45% {
    opacity: 1;
    transform: translateY(0);
    color: var(--ink);
  }

  100% {
    opacity: 0.35;
    transform: translateY(0);
    color: var(--ink-muted);
  }
}

@media (max-width: 900px) {
  .soon {
    min-height: 19rem;
    gap: var(--space-md);
  }

  .soon__main {
    max-width: 34rem;
  }
}

@media (max-width: 720px) {
  .soon {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-lg);

    min-height: 0;
    padding: var(--space-lg);
  }

  .soon__main {
    max-width: none;
  }

  .soon__title {
    max-width: 100%;

    font-size: clamp(2.4rem, 9vw, 3.1rem);
    line-height: 1.07;
  }

  .soon__text {
    max-width: 100%;

    margin-top: var(--space-sm);

    font-size: 1.4rem;
  }

  .soon__visual {
    flex: none;
    width: 100%;
  }

  .soon__track {
    height: 7rem;
  }

  .soon__code {
    font-size: 6.4rem;
  }
}

@media (max-width: 380px) {
  .soon {
    padding: var(--space-md);
  }

  .soon__title {
    font-size: 2.35rem;
  }

  .soon__text {
    font-size: 1.35rem;
  }

  .soon__code {
    font-size: 5.2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);

  min-height: 4.4rem;
  padding: 1rem 2rem;
  border-radius: var(--rounded-pill);
  border: 1px solid transparent;

  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;

  transition: transform 0.3s var(--ease),
              background-color 0.3s var(--ease),
              border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease),
              opacity 0.3s var(--ease);
}

.btn:hover  { transform: scale(1.05); }
.btn:active { transform: scale(0.97); }

.btn svg {
  width: 1.7rem;
  height: 1.7rem;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg { transform: translateX(0.2rem); }

.btn--primary {
  background: var(--inverse-canvas);
  color: var(--on-primary);
}
.btn--primary:hover {
  background: #fafafa;
  box-shadow: 0 0.8rem 2.4rem rgba(250, 250, 250, 0.16);
}

.btn--secondary {
  background: var(--surface-1);
  color: var(--ink);
}
.btn--secondary:hover {
  background: var(--surface-2);
  box-shadow: 0 0.8rem 2.4rem rgba(9, 9, 11, 0.45);
}

.btn--lg {
  min-height: 5.2rem;
  padding: 1.4rem 2.6rem;
  font-size: 1.5rem;
}

.btn--block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  margin-bottom: var(--space-lg);
  border-radius: var(--rounded-pill);
  background: var(--surface-1);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.chip svg { width: 1.4rem; height: 1.4rem; }

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* После прокрутки шапка остаётся сплошной: полупрозрачный фон с размытием
   мигал во время анимаций переключения (браузер не размывает слой анимации). */
.topnav.is-scrolled {
  background: var(--canvas);
  border-bottom-color: var(--hairline-soft);
}

.topnav__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.topnav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.topnav__logo {
  display: block;
  width: auto;
  height: 3.4rem;
}

.topnav__menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.topnav__link {
  position: relative;
  z-index: 1;
  padding: 0.8rem 1.4rem;
  border-radius: var(--rounded-pill);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.topnav__link:hover,
.topnav__link.is-active { color: var(--ink); }

.topnav__pill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3.4rem;
  border-radius: var(--rounded-pill);
  background: var(--surface-1);
  opacity: 0;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease),
              width 0.35s var(--ease),
              opacity 0.25s var(--ease);
  pointer-events: none;
}
.topnav__pill.is-on { opacity: 1; }

.topnav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.topnav__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.topnav__actions { display: flex; align-items: center; gap: var(--space-sm); }

/* Выбор языка: кнопка с текущим языком и выпадающее меню переводов */
.lang { position: relative; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.6rem;
  padding: 0 1.1rem 0 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.lang__btn:hover,
.lang.is-open .lang__btn { border-color: rgba(250, 250, 250, 0.28); background: rgba(250, 250, 250, 0.04); }
.lang__btn:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.lang__globe { width: 1.6rem; height: 1.6rem; color: var(--ink-muted); stroke-width: 1.75; }
.lang__chev {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--ink-muted);
  transition: transform 0.35s var(--ease);
}
.lang.is-open .lang__chev { transform: rotate(180deg); }

.lang__panel {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  z-index: 120;
  min-width: 23rem;
  padding: 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: 1.6rem;
  background: rgba(24, 24, 27, 0.92);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 2.4rem 6rem -1.2rem rgba(9, 9, 11, 0.7), 0 0 0 1px rgba(9, 9, 11, 0.4);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.6rem) scale(0.96);
  transition: opacity 0.22s var(--ease), transform 0.32s var(--ease), visibility 0s linear 0.32s;
}
.lang.is-open .lang__panel,
html:not(.js) .lang:focus-within .lang__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.22s var(--ease), transform 0.32s var(--ease), visibility 0s;
}

.lang__title {
  padding: 0.8rem 1rem 0.6rem;
  color: var(--ink-muted);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang__item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 500;
  outline: none;
  transition: background-color 0.2s var(--ease);
}
.lang__item:hover,
.lang__item:focus-visible { background: rgba(250, 250, 250, 0.07); }
.lang__item:focus-visible { box-shadow: inset 0 0 0 1px var(--accent-blue); }
.lang__badge {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang__item.is-active .lang__badge { background: var(--ink); color: var(--on-primary); }
.lang__name { flex: 1; }
.lang__check { width: 1.6rem; height: 1.6rem; color: var(--ink); opacity: 0; }
.lang__item.is-active .lang__check { opacity: 1; }

/* Пункты появляются лесенкой вслед за панелью */
.lang__list li { opacity: 0; transform: translateY(-0.4rem); transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
.lang.is-open .lang__list li,
html:not(.js) .lang:focus-within .lang__list li { opacity: 1; transform: none; }
.lang.is-open .lang__list li:nth-child(2) { transition-delay: 40ms; }
.lang.is-open .lang__list li:nth-child(3) { transition-delay: 80ms; }

/* В мобильном меню кнопка внизу экрана — список раскрывается вверх */
.mobile-menu .lang { align-self: flex-start; margin-bottom: var(--space-sm); }
.mobile-menu .lang__btn { min-height: 4.4rem; padding-inline: 1.4rem; font-size: 1.4rem; }
.mobile-menu .lang__panel { top: auto; right: auto; bottom: calc(100% + 1rem); left: 0; transform-origin: bottom left; }

@media (prefers-reduced-motion: reduce) {
  .lang__panel, .lang__list li, .lang__chev { transition: none; }
}
.topnav__actions .btn { min-height: 3.6rem; padding: 0.8rem 1.6rem; }

.topnav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 4rem;
  height: 4rem;
  border-radius: var(--rounded-full);
  background: var(--surface-1);
}

.topnav__burger span {
  display: block;
  width: 1.6rem;
  height: 0.15rem;
  margin-inline: auto;
  border-radius: 0.2rem;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.topnav__burger.is-open span:nth-child(1) { transform: translateY(0.55rem) rotate(45deg); }
.topnav__burger.is-open span:nth-child(2) { opacity: 0; }
.topnav__burger.is-open span:nth-child(3) { transform: translateY(-0.55rem) rotate(-45deg); }

@media (max-width: 1200px) {
  .topnav__inner { gap: var(--space-md); }
  .topnav__link { padding: 0.8rem 1rem; }
  .topnav__actions { gap: var(--space-xs); }
  .topnav__actions .btn { padding: 0.8rem 1.2rem; }
  .topnav__tag { display: none; }
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  padding: var(--space-xl);
  background: var(--canvas);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: translateY(0); }

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-xl);
}

.mobile-menu__list a {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.042em;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.mobile-menu__list a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 8rem) 0 10rem;
  overflow: hidden;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(250, 250, 250, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(250, 250, 250, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #09090b 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #09090b 20%, transparent 100%);
}

.hero__ridge {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #09090b 24%, #09090b 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #09090b 24%, #09090b 72%, transparent 100%);
}

.hero__ridge-photo {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: 0.22;
  filter: grayscale(0.52) contrast(1.08);
}

.hero__ridge::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0) 46%, rgba(9, 9, 11, 0.58) 100%),
    linear-gradient(90deg, rgba(9, 9, 11, 0.72) 0%, rgba(9, 9, 11, 0.3) 52%, rgba(9, 9, 11, 0.08) 100%);
}

@media (max-width: 1024px) {
  .hero__ridge-photo {
    object-position: 50% 38%;
    opacity: 0.19;
  }

  .hero__ridge::after {
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.5) 0%, rgba(9, 9, 11, 0.28) 100%);
  }
}

@media (max-width: 768px) {
  .hero__ridge {
    bottom: auto;
    height: 68%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #09090b 22%, #09090b 66%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #09090b 22%, #09090b 66%, transparent 100%);
  }

  .hero__ridge-photo {
    object-position: 50% 46%;
    opacity: 0.2;
  }

  .hero__ridge::after {
    background: linear-gradient(
      180deg,
      rgba(9, 9, 11, 0.42) 0%,
      rgba(9, 9, 11, 0.2) 55%,
      rgba(9, 9, 11, 0.5) 100%
    );
  }
}

@media (max-width: 480px) {
  .hero__ridge {
    height: 62%;
  }

  .hero__ridge-photo {
    object-position: 50% 48%;
    opacity: 0.18;
  }
}

@media (prefers-reduced-data: reduce) {
  .hero__ridge {
    display: none;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-xxl);
}

.hero__left { max-width: 68rem; }

.hero__title { margin-top: var(--space-xl); }

.hero__lead {
  margin-top: var(--space-xl);
  max-width: 48rem;
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xxl);
}

/* Тезисы под заголовком первого экрана: иконка, короткое название и пояснение.
   Без чисел — только то, что продукт действительно умеет. */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem 3.2rem;
  margin-top: clamp(4rem, 2.4rem + 3vw, 6.4rem);
  padding-top: 3.2rem;
  border-top: 1px solid var(--hairline-soft);
}
.facts--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }

.facts__item dt {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.facts__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.16), rgba(var(--brand-rgb), 0.04));
  color: var(--brand-hi);
}
.facts__icon .ico { width: 1.8rem; height: 1.8rem; stroke-width: 1.75; }
.facts__item dd {
  padding-left: 4.8rem;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .facts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62rem;
}

.hero__glow {
  position: absolute;
  width: 56rem;
  height: 56rem;
  border-radius: var(--rounded-full);
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.30), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 46rem);

  --tilt: -7deg;
  --tilt-float: -4.5deg;
  transform: rotate(var(--tilt));

  translate: var(--px, 0px);
  transition: translate 0.9s var(--ease);
}

.phone__img {
  width: 100%;
  filter: drop-shadow(0 50px 70px rgba(9, 9, 11, 0.8));
}

.carousel-section {
  padding: 0 0 var(--space-section);
  overflow: hidden;
}

.fcard {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 29.6rem;
  height: 20rem;
  padding: var(--space-lg);
  border-radius: var(--rounded-xl);
  background: var(--surface-1);
}

.fcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: auto;
  border-radius: var(--rounded-md);
  background: var(--surface-2);
  color: var(--ink);
}
.fcard__icon svg { width: 1.8rem; height: 1.8rem; }

.fcard__title {
  margin-top: var(--space-lg);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.036em;
}

.fcard__text {
  margin-top: var(--space-xs);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.features { overflow-x: clip; }

.fblock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8rem;
  margin-bottom: var(--space-section);
}

.fblock:last-child { margin-bottom: 0; }

.fblock--rev .fblock__text  { order: 2; }
.fblock--rev .fblock__visual { order: 1; }
.fblock--rev.fblock--plain .fblock__text { order: 0; }

.fblock__text { max-width: 52rem; }

.fblock--plain { grid-template-columns: 1fr; }
.fblock--plain .fblock__text { max-width: none; }

.fblock__text .body-lg {
  margin-top: var(--space-md);
  color: var(--ink-muted);
}

.journey { position: relative; }

.journey > section {
  position: relative;
  z-index: 1;
}

.route {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.route__svg {
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 100% 0);
}

.route__arrow {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  will-change: transform;
}

.route__arrow.is-on { opacity: 1; }

.route__arrow svg {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  filter: drop-shadow(0 0.2rem 0.6rem rgba(9, 9, 11, 0.65));
}

@media (max-width: 768px) {
  .route__arrow svg { width: 1.43rem; height: 1.43rem; }
}

.route__line {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3 11;
  filter: blur(0.4px);
  opacity: 0.5;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.checklist svg {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--semantic-success);
}

.ln-soft   { stroke: var(--hairline); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ln-accent { stroke: var(--accent-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ln-fill   { fill: var(--ink); }
.ln-fill--ok { fill: var(--semantic-success); }

.spotlight {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  padding: var(--space-xl);
  border-radius: var(--rounded-xxl);
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}

.spotlight:hover { transform: translateY(-8px); }

.spotlight--orange {
  background: var(--gradient-orange);
  color: var(--ink);
}
.spotlight--orange .spotlight__eyebrow { opacity: 0.8; }
.spotlight--orange .spotlight__tag { background: rgba(9, 9, 11, 0.22); }

.spotlight__eyebrow {
  margin-bottom: auto;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.75;
}

.spotlight__title {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.031em;
}

.spotlight__text {
  margin-top: var(--space-sm);
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  opacity: 0.8;
}

.spotlight__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.spotlight__tag {
  padding: 0.8rem 1.4rem;
  border-radius: var(--rounded-pill);
  background: rgba(250, 250, 250, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.rcard {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--rounded-xl);
  background: var(--surface-1);
}

.rcard:hover {
  transform: translateY(-8px);
  background: var(--surface-2);
}

.rcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.rcard__level {
  padding: 0.5rem 1rem;
  border-radius: var(--rounded-sm);
  background: var(--surface-2);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.rcard:hover .rcard__level { background: var(--canvas); }

.rcard__days {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.rcard__title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.036em;
}

.rcard__text {
  margin-top: var(--space-xs);
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.rcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  margin-top: auto;
  padding-top: var(--space-lg);
}

.rcard__meta dt {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.rcard__meta dd {
  margin: 0.3rem 0 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.routes__spot { aspect-ratio: auto; }

.routes__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.tcard {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--rounded-xl);
  background: var(--surface-1);
}

.tcard:hover { transform: translateY(-8px); }

.tcard__kicker {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.tcard__title {
  margin-top: var(--space-xs);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.036em;
}

.tcard__price {
  margin-top: var(--space-md);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.031em;
  font-variant-numeric: tabular-nums;
}

.tcard__price span {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.tcard__text {
  margin-top: var(--space-sm);
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.tcard__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
  padding: var(--space-lg) 0 0;
  border-top: 1px solid var(--hairline-soft);
}

.tcard__list li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.tcard__list svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--semantic-success);
}

.tcard .btn { margin-top: auto; }

.tours__note {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.download__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 9.6rem var(--space-xxl);
  border-radius: var(--rounded-xxl);
  background: var(--surface-1);
  box-shadow: inset 0 0.5px 0 0 rgba(250, 250, 250, 0.10),
              0 10px 30px rgba(9, 9, 11, 0.25);
}

.download__lead {
  margin-top: var(--space-lg);
  max-width: 48rem;
  color: var(--ink-muted);
}

.download__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xxl);
}

.download__facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.download__facts svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--semantic-success);
}

.footer {
  padding: 6.4rem 0 var(--space-xxl);
  background: var(--canvas);
  border-top: 1px solid var(--hairline-soft);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xxl);
  padding-bottom: 6.4rem;
}

.footer__tagline {
  margin-top: var(--space-md);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: var(--rounded-md);
  background: var(--surface-2);
  color: var(--ink);
  transition: background-color 0.25s var(--ease);
}
.footer__social a:hover,
.footer__social a:focus-visible {
  background: var(--surface-3);
}
.footer__social .ico { width: 1.8rem; height: 1.8rem; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col h3 {
  margin-bottom: var(--space-xxs);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.footer__col a {
  position: relative;
  align-self: flex-start;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--ink); }

.footer__col a::after,
.footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer__col a:hover::after,
.footer__legal a:hover::after { transform: scaleX(1); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
}

.footer__legal a {
  position: relative;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.footer__legal a:hover { color: var(--ink); }

.statuspage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.statuspage__inner { max-width: 64rem; }

.statuspage__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xxl);
}

.statuspage__text {
  margin-top: var(--space-md);
  color: var(--ink-muted);
}

.statuspage__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

@media (max-width: 1280px) {
  .phone { width: min(100%, 40rem); }
  .fblock { gap: 5.6rem; }
}

@media (max-width: 1024px) {
  .topnav__menu,
  .topnav__actions { display: none; }
  .topnav__burger { display: flex; }

  .hero { min-height: auto; padding: calc(var(--nav-h) + 7.2rem) 0 8.8rem; }
  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 5.6rem;
  }
  .hero__left { max-width: 72rem; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__right { order: 2; min-height: 0; width: 100%; }

  .section-head--split { grid-template-columns: 1fr; }
  .section-head__lead { text-align: left; max-width: 46rem; }

  .fblock {
    grid-template-columns: 1fr;
    gap: var(--space-xxl);
  }
  .fblock--rev .fblock__text  { order: 1; }
  .fblock--rev .fblock__visual { order: 2; }
  .fblock__text { max-width: 64rem; }



  .footer__top { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
  :root {
    --fade: 1.8rem;
  }

  .hero { padding: calc(var(--nav-h) + 5.6rem) 0 7.2rem; }
  .hero__lead { font-size: 1.6rem; }
  .phone { width: min(100%, 32rem); }



  .tcard--featured { order: -1; }

  .download__card { padding: 6.4rem var(--space-lg); }

  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .fcard { width: 26.8rem; height: auto; min-height: 19rem; }

  .mobile-menu__list a { font-size: 2rem; }

  .rcard__meta { gap: var(--space-md); }
  .download__facts { flex-direction: column; align-items: center; gap: var(--space-sm); }
  .footer__cols { grid-template-columns: 1fr; }
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  flex-shrink: 0;
  border-radius: var(--rounded-full);
  background: #71717a;
}
.dot--ok   { background: var(--semantic-success); }
.dot--blue { background: var(--accent-blue); }

.ava {
  display: inline-block;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--rounded-full);
  background: linear-gradient(140deg, #18181b, #18181b);
  border: 1px solid var(--hairline);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-lg);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--brand-hi);
  transition: color 0.25s var(--ease);
}
.link svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s var(--ease);
}
.link:hover svg { transform: translateX(0.4rem); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.tags li {
  padding: 0.6rem 1.2rem;
  border-radius: var(--rounded-pill);
  background: var(--surface-1);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.ministeps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: 0;
  list-style: none;
}
.ministeps li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ministeps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: var(--rounded-full);
  background: var(--surface-2);
  font-size: 1.2rem;
  color: var(--ink-muted);
}

.hero__float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  translate: var(--px, 0px);
  transition: translate 1.1s var(--ease);
}

.hero__float--route {
  --n: 0;
  left: -8%;
  bottom: 0;
  width: 26.8rem;
}

.hero__float--book {
  --n: 1;
  right: -10%;
  top: -7%;
  width: 25rem;
}

.hero__float img {
  display: block;
  width: 100%;
  height: auto;
}

.pcard {
  padding: var(--space-lg);
  border-radius: var(--rounded-xl);
  background: var(--surface-1);
}
.pcard:hover { transform: translateY(-8px); background: var(--surface-2); }

.pcard,
.tcard,
.rcard,
.mcard,
.review { position: relative; isolation: isolate; }

.pcard::before,
.tcard::before,
.rcard::before,
.mcard::before,
.review::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    22rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(250, 250, 250, 0.07),
    transparent 60%
  );
}
.pcard:hover::before,
.tcard:hover::before,
.rcard:hover::before,
.mcard:hover::before,
.review:hover::before { opacity: 1; }

.pcard,
.tcard,
.rcard,
.mcard,
.review {
  box-shadow: inset 0 0.5px 0 0 rgba(250, 250, 250, 0.07);
  transition: transform 0.3s var(--ease),
              background-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.pcard:hover,
.tcard:hover,
.rcard:hover,
.mcard:hover,
.review:hover {
  box-shadow: inset 0 0.5px 0 0 rgba(250, 250, 250, 0.16),
              0 1.8rem 4rem rgba(9, 9, 11, 0.45);
}

.ctrack .tcard:hover,
.ctrack .rcard:hover {
  box-shadow: inset 0 0.5px 0 0 rgba(250, 250, 250, 0.16);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-section);
}
.mcard {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--rounded-xl);
  background: var(--surface-1);
}
.mcard:hover { transform: translateY(-8px); background: var(--surface-2); }

.mcard > *:not(.mcard__icon) {
  position: relative;
  z-index: 1;
}

.mcard__icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  display: block;
  height: 100%;
  aspect-ratio: 1;
  margin: 0;
  background: none;
  border-radius: 0;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
}
.mcard__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.25;
}
.mcard:hover .mcard__icon { opacity: 0.1; }

.mcard__title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.033em;
}

.mcard__text {
  margin-top: var(--space-xs);
  font-size: 1.4rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.mcard__list,
.notif {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.mcard__list li,
.notif li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.mcard__list svg { width: 1.4rem; height: 1.4rem; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--rounded-pill);
  background: var(--canvas);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.badge svg { width: 1.3rem; height: 1.3rem; }

.tcard__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
}

.tcard__rate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.tcard__rate svg { width: 1.3rem; height: 1.3rem; color: var(--ink); }

.tcard__by {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.carousel { position: relative; }

.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.carousel__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.carousel__hint svg { width: 1.5rem; height: 1.5rem; }

.carousel__nav { display: flex; gap: var(--space-xs); }

.cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--rounded-full);
  background: var(--surface-1);
  color: var(--ink);
  transition: background-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.cbtn:hover { background: var(--surface-2); }
.cbtn:disabled { opacity: 0.3; cursor: default; }
.cbtn svg {
  width: 1.7rem;
  height: 1.7rem;
  transition: transform 0.25s var(--ease);
}
.cbtn[data-dir="next"]:hover:not(:disabled) svg { transform: translateX(0.2rem); }
.cbtn[data-dir="prev"]:hover:not(:disabled) svg { transform: translateX(-0.2rem); }

.ctrack {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;

  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-block: 0.4rem var(--space-xs);
  scroll-padding-inline: var(--gutter);
}
.ctrack::-webkit-scrollbar { display: none; }

.ctrack > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Лента карточек: прокручивается пальцем, трекпадом, колесом с Shift
   и перетаскиванием мышью; автопрокрутку ведёт main.js. */
.flowlane {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1);
  padding-block: 0.4rem var(--space-xs);
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.flowlane::-webkit-scrollbar { display: none; }
.flowlane:focus-visible { outline: 2px solid var(--brand); outline-offset: 0.4rem; }
.flowlane.is-dragging { cursor: grabbing; user-select: none; }
.flowlane.is-dragging .fcard { pointer-events: none; }

.flowlane__track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}

.ctrack .tcard {
  width: 29.6rem;
  height: 46.8rem;
  overflow: hidden;
}
.ctrack .tcard__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ctrack .tcard__list { flex: 1 1 auto; overflow: hidden; }

.ctrack .rcard {
  width: 29.6rem;
  height: 25.2rem;
  overflow: hidden;
}
.ctrack .rcard__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ctrack .spotlight {
  width: 29.6rem;
  height: 25.2rem;
  aspect-ratio: auto;
  padding: var(--space-lg);
  min-height: 0;
  overflow: hidden;
}
.ctrack .spotlight__title { font-size: 2.4rem; letter-spacing: -0.031em; }
.ctrack .spotlight__text { display: none; }

.ctrack .tcard:hover,
.ctrack .rcard:hover,
.ctrack .spotlight:hover { transform: none; }
.ctrack .rcard:hover { background: var(--surface-2); }

@media (max-width: 768px) {
  .ctrack .tcard,
  .ctrack .rcard,
  .ctrack .spotlight { width: 100%; }

  .ctrack .tcard { height: 45.2rem; }
  .ctrack .rcard,
  .ctrack .spotlight { height: 23.6rem; }

  .ctrack .spotlight__text { display: block; }
}

@media (max-width: 480px) {
  .ctrack .tcard { height: 46.4rem; }
  .carousel__hint { font-size: 1.2rem; }
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xxl);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 5.6rem;
  padding: 1rem 2.4rem 1rem 2rem;
  border-radius: var(--rounded-pill);
  background: var(--inverse-canvas);
  color: var(--on-primary);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.store:hover { transform: scale(1.05); background: #fafafa; }
.store:active { transform: scale(0.97); }

.store--dark { background: var(--surface-2); color: var(--ink); }
.store--dark:hover { background: #18181b; }

.store__logo { width: 2.4rem; height: 2.4rem; flex-shrink: 0; }

.store__txt {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.store__txt small {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.65;
}
.store__txt b {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.031em;
}

/* Пропорции берутся из самой картинки (--fv-ratio задаёт шаблон), а высота
   ограничена, чтобы высокий мокап телефона не растягивал блок. */
.fvisual {
  --fv-ratio: 4 / 3;
  --fv-ratio-n: 1.3333;
  --fv-max-h: 60rem;
  position: relative;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: calc(var(--fv-max-h) * var(--fv-ratio-n));
  aspect-ratio: var(--fv-ratio);
}

.fvisual::before {
  content: "";
  position: absolute;
  inset: var(--fv-spread);
  border-radius: 50%;
  background: var(--fv-glow);
  opacity: var(--fv-strength);
  filter: blur(52px);
  pointer-events: none;
}

.fvisual__media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--rounded-xl);
  overflow: hidden;
}

.fvisual__media img,
.fvisual__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Затемнение краёв: обрезанный мокап по бокам плавно уходит в фон страницы.
   Доли сторон задаёт админ-панель (--fade-top/right/bottom/left). */
.fvisual__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--canvas), transparent var(--fade-top, 0%)),
    linear-gradient(to left, var(--canvas), transparent var(--fade-right, 0%)),
    linear-gradient(to top, var(--canvas), transparent var(--fade-bottom, 0%)),
    linear-gradient(to right, var(--canvas), transparent var(--fade-left, 0%));
}

@media (max-width: 1024px) {
  .fvisual::before { filter: blur(38px); }
  .fvisual { --fv-strength: 0.45; }
}

.business { position: relative; overflow: hidden; }

.app {
  border-radius: var(--rounded-xxl);
  background: var(--surface-1);
  overflow: hidden;
  box-shadow: inset 0 0.5px 0 0 rgba(250, 250, 250, 0.10),
              0 30px 80px rgba(9, 9, 11, 0.55);
}

.app__side {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--space-md);
  border-right: 1px solid var(--hairline-soft);
  background: var(--canvas);
}

.app__side-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 1.2rem;
  border-radius: var(--rounded-md);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.app__side-item svg { width: 1.5rem; height: 1.5rem; }
.app__side-item.is-active { background: var(--surface-1); color: var(--ink); }

.panel[hidden] { display: none; }

.app__hint-touch { display: none; }

.app__hint {
  margin-top: var(--space-md);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  text-align: center;
}
.panel.is-active { animation: panel-in 0.4s var(--ease); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.thumb {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: var(--rounded-sm);
  background: linear-gradient(140deg, #18181b, #18181b);
}

.upload {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.builder {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-lg);
}

.pt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--rounded-pill);
  background: var(--surface-2);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pt svg { width: 1.4rem; height: 1.4rem; color: var(--ink-muted); }
.pt--hotel svg { color: var(--accent-blue); }
.pt--food  svg { color: #6366f1; }
.pt--act   svg { color: var(--semantic-success); }

.sq { width: 0.8rem; height: 0.8rem; border-radius: 0.2rem; background: #71717a; }

.mini {
  padding: 0.5rem 1rem;
  border-radius: var(--rounded-sm);
  background: var(--surface-2);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  border-radius: var(--rounded-lg);
  background: var(--canvas);
}

.msg {
  max-width: 76%;
  padding: 1rem 1.3rem;
  border-radius: var(--rounded-lg);
  background: var(--surface-1);
  font-size: 1.35rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.file {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--rounded-md);
  background: var(--canvas);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.file svg { width: 1.3rem; height: 1.3rem; color: var(--accent-blue); }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  height: 13.2rem;
}
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: var(--rounded-xs) var(--rounded-xs) 0.2rem 0.2rem;
  background: var(--surface-2);
  transform-origin: bottom;
  animation: bar-rise 0.8s var(--ease) both;
}
.bars span:nth-child(7) { background: #18181b; }
.bars span:nth-child(8) { background: var(--accent-blue); }

@keyframes bar-rise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.toplist { display: flex; flex-direction: column; gap: var(--space-sm); }
.toplist li {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.toplist i {
  display: block;
  height: 0.6rem;
  border-radius: var(--rounded-full);
  background: linear-gradient(90deg, var(--accent-blue) var(--w), var(--surface-2) var(--w));
}
.toplist b {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.review {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--rounded-xl);
  background: var(--surface-1);
}
.review:hover { transform: translateY(-8px); background: var(--surface-2); }

.review__stars { display: flex; gap: 0.3rem; margin-bottom: var(--space-md); }
.review__stars svg { width: 1.5rem; height: 1.5rem; color: var(--ink); fill: var(--ink); }
.review__stars .is-off { color: #18181b; fill: #18181b; }

.review__text {
  font-size: 1.5rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.review__foot {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--hairline-soft);
}
.review__who {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.review__meta {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.track {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl);
  border-radius: var(--rounded-xxl);
  background: var(--surface-1);
}
.track--b { background: var(--surface-2); }

.track::before,
.track::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.track::before {
  background-image: var(--shot, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.35) contrast(1.05);
  opacity: 0.3;
}

.track::after {
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.35) 0%,
    rgba(9, 9, 11, 0.78) 55%,
    rgba(9, 9, 11, 0.94) 100%);
}

.track > * { position: relative; z-index: 1; }

.track__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-xl);
  padding: 0.7rem 1.3rem;
  border-radius: var(--rounded-pill);
  background: var(--canvas);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.track__label svg { width: 1.4rem; height: 1.4rem; }

.steps { display: flex; flex-direction: column; padding: 0; list-style: none; }

.step {
  position: relative;
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
}
.step:last-child { padding-bottom: 0; }

.step::before {
  content: "";
  position: absolute;
  top: 3.4rem;
  left: 1.6rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--hairline-soft);
}
.step:last-child::before { display: none; }

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  flex-shrink: 0;
  border-radius: var(--rounded-full);
  background: var(--canvas);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}

.step__title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.033em;
}
.step__text {
  margin-top: 0.5rem;
  font-size: 1.4rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

@media (max-width: 1280px) {
  .hero__float--route { left: -2%; width: 25.2rem; }
  .hero__float--book  { right: -6%; top: -4%; width: 23.6rem; }
}

@media (max-width: 1024px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }

  .hero__float--route { left: 0; bottom: 4%; }
  .hero__float--book  { right: -2%; top: 0; }


  .app__side { display: none; }
  .builder { grid-template-columns: 1fr; }







  .reviews__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; }

}

@media (max-width: 768px) {
  .hero__float { display: none; }

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

  .app { border-radius: var(--rounded-xl); }



  .track { padding: var(--space-lg); }

}

@media (max-width: 480px) {

  .review__text { font-size: 1.4rem; }
}

.topnav__tag {
  padding: 0.3rem 0.8rem;
  border-radius: var(--rounded-xs);
  background: var(--surface-1);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.hero--b2b {
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.hero__figures { margin-top: var(--space-xxl); }

.hero--b2b .hero__title { margin-top: 0; font-size: clamp(2.9rem, 1.45rem + 4.02vw, 6.6rem); letter-spacing: -0.05em; }

.bpanel {
  position: absolute;
  z-index: 2;
  padding: var(--space-md);
  border-radius: var(--rounded-xl);
  translate: var(--px, 0px);
  transition: translate 1.1s var(--ease);
}

.bpanel#float-book {
  --n: 0;
  top: 0;
  right: -6%;
  width: 25rem;
}

.bpanel#float-route {
  --n: 1;
  bottom: 0;
  left: -8%;
  width: 26.8rem;
}

.bpanel#float-chat {
  --n: 2;
  top: 46%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 25.2rem;
}

@media (min-width: 1025px) {
  .fblock--plain .fblock__text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 8rem;
    align-content: start;
  }
  .fblock--plain .fblock__text > .chip { justify-self: start; }
  .fblock--plain .fblock__text > .checklist {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .fblock--plain { margin-bottom: calc(var(--space-section) * 0.62); }
}

.pricing .tcard { height: 100%; }

@media (max-width: 768px) {
  .reviews__grid {
    display: flex;
    grid-template-columns: none;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .reviews__grid::-webkit-scrollbar { display: none; }

  .reviews__grid > * {
    flex: 0 0 min(30rem, 84%);
    scroll-snap-align: center;
  }
}

.faq__list {
  border-top: 1px solid var(--hairline-soft);
}

.faq__row {
  border-bottom: 1px solid var(--hairline-soft);
}

.faq__row summary {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-lg) 5.6rem var(--space-lg) 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq__row summary::-webkit-details-marker { display: none; }
.faq__row summary:hover { color: var(--ink-muted); }

.faq__row summary::after {
  content: "";
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  width: 1.3rem;
  height: 1.3rem;
  background:
    linear-gradient(currentColor, currentColor) center/13px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 13px no-repeat;
  color: var(--ink-muted);
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s var(--ease);
}
.faq__row[open] summary::after {
  transform: translateY(-50%) rotate(135deg);
  color: var(--ink);
}

.faq__row p {
  max-width: 76rem;
  padding: 0 5.6rem var(--space-xl) 0;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.faq__answer { overflow: hidden; }
.faq__row[open] .faq__answer { will-change: height; }

@media (max-width: 1280px) {
  .bpanel#float-book  { right: -2%; width: 27.6rem; }
  .bpanel#float-route { left: -2%; width: 25.2rem; }
  .bpanel#float-chat  { right: 6%; width: 23.6rem; }
}

@media (max-width: 1024px) {



  .bpanel { position: static; width: min(36rem, 100%) !important; text-align: left; }
}

.app__viewport { position: relative; }

@media (max-width: 900px) {





  .app__side {
    display: flex;
    order: 2;
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-xxs);
    padding: var(--space-xs) var(--space-sm);
    border-right: 0;
    border-top: 1px solid var(--hairline-soft);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .app__side::-webkit-scrollbar { display: none; }

  .app__side-item {
    flex: 1 0 auto;
    justify-content: center;
    padding: 0.9rem;
    font-size: 0;
  }
  .app__side-item svg { width: 1.9rem; height: 1.9rem; }











}

@media (max-width: 768px) {
  .hero--b2b {
    min-height: 0;
    padding-top: calc(var(--nav-h) + var(--space-lg));
    padding-bottom: var(--space-xl);
  }



  .hero--b2b .hero__lead { margin-top: var(--space-md); }
  .hero--b2b .hero__actions { margin-top: var(--space-lg); }


  .hero__figures { margin-top: var(--space-lg); }



  .faq__row summary { font-size: 1.7rem; padding-right: 4.4rem; }
  .faq__row summary::after { right: 0.6rem; }
  .faq__row p { padding-right: 0.6rem; }

  .app__hint { font-size: 1.2rem; text-align: left; }
  .app__hint-touch { display: inline; }
}

.business  { padding-bottom: 0; }
.download  { padding-bottom: 4.8rem; }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-bottom: var(--space-lg);
}

@media (max-width: 1024px) {

  .topnav__burger { width: 4.4rem; height: 4.4rem; }
  .cbtn { width: 4.4rem; height: 4.4rem; }
  .link { min-height: 4rem; }
  .mobile-menu__list a { min-height: 5.2rem; display: flex; align-items: center; }
  .footer__col a,
  .footer__legal a { padding: 0.3rem 0; }

  .spotlight {
    aspect-ratio: auto;
    min-height: 34rem;
  }

  .phone { --tilt: 0deg; --tilt-float: 0deg; }
  .hero__right { padding-bottom: var(--space-lg); }

  .hero:not(.hero--b2b) .hero__actions .btn--secondary { display: none; }
}

@media (max-width: 768px) {

  .spotlight { min-height: 30rem; padding: var(--space-lg); }
  .spotlight__title { font-size: 2.6rem; letter-spacing: -0.031em; }

}

@media (max-width: 600px) {

  .hero__actions,
.stores,
.routes__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__actions .btn,
.routes__cta .btn { width: 100%; }
  .stores .store { width: 100%; justify-content: center; }

  .badges { gap: 0.5rem; }
  .badge { font-size: 1.15rem; padding: 0.5rem 0.9rem; }


  .bars { height: 10.4rem; gap: 0.5rem; }
  .msg { max-width: 88%; }

}

@media (max-width: 380px) {
  .topnav__logo { height: 3rem; }
  .topnav__tag { display: none; }

  .fcard { width: 24.4rem; }
  .pill { font-size: 1.2rem; padding: 0.7rem 1.2rem; }
  .mobile-menu__list a { font-size: 1.8rem; }
}

.rline {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.rline__i { display: block; }

@keyframes reveal-up   { from { opacity: 0; transform: translate3d(0, 2.6rem, 0); } }
@keyframes reveal-fade { from { opacity: 0; } }
@keyframes reveal-left { from { opacity: 0; transform: translate3d(-3.2rem, 0, 0); } }
@keyframes reveal-right{ from { opacity: 0; transform: translate3d(3.2rem, 0, 0); } }
@keyframes reveal-rise { from { opacity: 0; transform: translate3d(0, 3.2rem, 0) scale(0.975); } }
@keyframes reveal-line { from { transform: translate3d(0, 115%, 0); } }
@keyframes reveal-image { from { opacity: 0; transform: scale(1.06); } }

@media (prefers-reduced-motion: no-preference) {

  .js [data-reveal]:not([data-reveal="head"]):not(.is-in) { opacity: 0; }

  .js [data-reveal]:not([data-reveal="head"]).is-in {
    animation: reveal-up var(--reveal-dur) var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * var(--reveal-step));
  }

  .js [data-reveal="fade"].is-in  { animation-name: reveal-fade; }
  .js [data-reveal="left"].is-in  { animation-name: reveal-left; }
  .js [data-reveal="right"].is-in { animation-name: reveal-right; }
  .js [data-reveal="rise"].is-in  {
    animation-name: reveal-rise;
    animation-duration: 0.9s;
  }

  .js .fblock[data-reveal].is-in .fvisual__media > :first-child {
    animation: reveal-image 1.1s var(--ease-out) 0.12s backwards;
  }

  .js [data-reveal="head"]:not(.is-in) .eyebrow,
  .js [data-reveal="head"]:not(.is-in) .section-head__lead,
  .js [data-reveal="head"]:not(.is-in) .section-head__note { opacity: 0; }

  .js [data-reveal="head"].is-in .eyebrow {
    animation: reveal-up 0.62s var(--ease-out) backwards;
  }

  .js [data-reveal="head"].is-in .section-head__lead,
  .js [data-reveal="head"].is-in .section-head__note {
    animation: reveal-up 0.8s var(--ease-out) 0.26s backwards;
  }

  .js [data-reveal="head"]:not(.is-in) .rline__i { transform: translate3d(0, 115%, 0); }

  .js [data-reveal="head"].is-in .rline__i {
    animation: reveal-line 1s var(--ease) backwards;
    animation-delay: calc(0.09s + var(--i, 0) * 0.09s);
  }

  .js .hero:not(.is-ready) .hero__grid-lines,
  .js .hero:not(.is-ready) .hero__glow,
  .js .hero:not(.is-ready) .hero__left > *:not([data-lines]),
  .js .hero:not(.is-ready) .phone,
  .js .hero:not(.is-ready) .hero__float,
  .js .hero:not(.is-ready) .bpanel { opacity: 0; }

  .js .hero:not(.is-ready) .hero__title .rline__i { transform: translate3d(0, 118%, 0); }

  .js .hero.is-ready .hero__grid-lines {
    animation: reveal-fade 1.6s var(--ease-out) backwards;
  }

  .js .hero.is-ready .hero__title .rline__i {
    animation: reveal-line 1.15s var(--ease) backwards;
    animation-delay: calc(0.15s + var(--i, 0) * 0.1s);
  }

  .js .hero.is-ready .hero__left > *:not([data-lines]) {
    animation: reveal-up 0.85s var(--ease-out) backwards;
    animation-delay: calc(0.36s + var(--n, 0) * 0.09s);
  }
  .hero__left > *:nth-child(2) { --n: 1; }
  .hero__left > *:nth-child(3) { --n: 2; }
  .hero__left > *:nth-child(4) { --n: 3; }
  .hero__left > *:nth-child(5) { --n: 4; }

  .js .hero.is-ready .hero__glow {
    animation: hero-glow-in 1.4s var(--ease-out) 0.45s backwards;
  }

  .js .hero.is-ready .hero__float,
  .js .hero.is-ready .bpanel {
    animation: hero-card-in 0.8s var(--ease-out) backwards;
    animation-delay: calc(1.05s + var(--n, 0) * 0.12s);
  }

  .js .hero.is-ready .phone {
    animation:
      hero-phone-in 1.3s var(--ease-out) 0.3s backwards,
      hero-phone-float 3s ease-in-out 2.6s infinite alternate;
  }

  .mobile-menu.is-open .mobile-menu__list a,
  .mobile-menu.is-open .mobile-menu__actions .btn {
    animation: reveal-up 0.45s var(--ease-out) backwards;
    animation-delay: calc(0.06s + var(--n, 0) * 0.045s);
  }
  .mobile-menu__list a:nth-child(2) { --n: 1; }
  .mobile-menu__list a:nth-child(3) { --n: 2; }
  .mobile-menu__list a:nth-child(4) { --n: 3; }
  .mobile-menu__list a:nth-child(5) { --n: 4; }
  .mobile-menu__actions .btn { --n: 5; }
  .mobile-menu__actions .btn:last-child { --n: 6; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 1025px) {
  .js .hero.is-ready .hero__float,
  .js .hero.is-ready .bpanel {
    animation:
      hero-card-in 0.8s var(--ease-out) backwards,
      hero-card-float 3.6s ease-in-out infinite alternate;
    animation-delay:
      calc(1.05s + var(--n, 0) * 0.12s),
      calc(2.8s + var(--n, 0) * 0.2s);
  }
}

@keyframes hero-glow-in  { from { opacity: 0; transform: scale(0.7); } }

@keyframes hero-phone-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8rem, 0) rotate(calc(var(--tilt) - 7deg)) scale(0.92);
  }
}

@keyframes hero-phone-float {
  from { transform: rotate(var(--tilt)); }
  to   { transform: translate3d(0, -2.2rem, 0) rotate(var(--tilt-float)); }
}

@keyframes hero-card-in { from { opacity: 0; transform: translate3d(0, 2rem, 0) scale(0.92); } }

@keyframes hero-card-float {
  from { transform: none; }
  to   { transform: translate3d(0, -1.6rem, 0); }
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 200;
  padding: 1rem 1.8rem;
  border-radius: var(--rounded-pill);
  background: var(--inverse-canvas);
  color: var(--on-primary);
  font-size: 1.4rem;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

main:focus { outline: none; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent-blue), 0 0 0 4px rgba(99, 102, 241, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

}

.is-target {
  outline: 2px solid var(--accent-blue);
  outline-offset: -2px;
  animation: target-flash 0.6s var(--ease) 3;
}

@keyframes target-flash {
  50% { outline-color: transparent; }
}

.faq__row.is-target { outline-offset: 0.8rem; }

[data-preview] *,
[data-preview] *::before,
[data-preview] *::after {
  transition: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

[data-preview] *:not(.is-target),
[data-preview] *::before,
[data-preview] *::after {
  animation: none !important;
}

[data-preview] .route { display: none; }

[data-preview] .flowlane {
  overflow-x: auto;
  scrollbar-width: none;
}

.ico {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite {
  display: none;
}

/* ── Секция «Разрыв»: турист и компания по разные стороны пропасти ───── */

.gap {
  --gap-ink: #fafafa;
  --gap-muted: #71717a;
  --gap-dim: #71717a;
  --gap-obj: #18181b;
  --gap-obj-2: #18181b;
  --gap-top: calc(var(--nav-h) + 1.2rem);
  --gap-vp: calc(100vh - var(--gap-top));
  --gap-p: 170vh;
  --gap-stage-h: max(72rem, calc(100vh - var(--gap-top) - 2.4rem));
  position: relative;
  padding: var(--space-section) 0 6rem;
  background: var(--canvas);
  overflow-x: clip;
  timeline-scope: --gap, --gap-final;
}

.gap__wrap { max-width: 120rem; }

.gap__eyebrow {
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-hi);
}

.gap__title {
  font-size: clamp(4rem, 5.5vw, 7.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--gap-ink);
}
.gap__title-line { display: block; }
.gap__title-muted { display: block; color: var(--gap-dim); }

.gap__lead {
  max-width: 52rem;
  margin-top: var(--space-lg);
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--gap-muted);
}

/* Переключатель сторон (только на мобильном и только с JS) */
.gap__switch {
  display: none;
  position: sticky;
  top: var(--nav-h);
  z-index: 4;
  gap: 0.4rem;
  margin: 3.2rem 0 2.4rem;
  padding: 0.4rem;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(1.2rem);
}
.gap__switch-btn {
  flex: 1;
  min-height: 4.4rem;
  border-radius: var(--rounded-pill);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gap-muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.gap__switch-btn[aria-pressed="true"] { background: var(--surface-2); color: var(--gap-ink); }
.js .gap__switch { display: flex; }

.gap__label {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gap-muted);
}
.js .gap__label { display: none; }

/* Мобильная лента: пропасть — пунктир у левого края */
.gap__head { margin-bottom: 3.2rem; }
.js .gap__head { margin-bottom: 0; }
.gap__ruler { display: none; }

.gap__cols { position: relative; padding-left: 2.8rem; }
.gap__col + .gap__rift + .gap__col { margin-top: 5rem; }
.js .gap[data-side="tourist"] .gap__col--company,
.js .gap[data-side="company"] .gap__col--tourist { display: none; }
.js .gap__col + .gap__rift + .gap__col { margin-top: 0; }

.gap__items { display: flex; flex-direction: column; gap: 4.4rem; }
.gap__item { display: block; margin: 0; }
.gap__cap {
  max-width: 32ch;
  margin-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--gap-muted);
}

.gap__rift {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
}
.gap__col--company { position: relative; }
.gap__rift-dash,
.gap__rift-solid { position: absolute; inset: 0; }
.gap__rift-dash {
  background: repeating-linear-gradient(to bottom, rgba(250, 250, 250, 0.2) 0 6px, transparent 6px 14px);
  opacity: 0;
}
.gap__rift-solid {
  background: var(--accent-blue);
  box-shadow: 0 0 1.2rem rgba(99, 102, 241, 0.7), 0 0 3.2rem rgba(99, 102, 241, 0.35);
}

.gap__final {
  display: grid;
  gap: 1.2rem;
  margin-top: 5.6rem;
  view-timeline: --gap-final block;
}
.gap__final-title {
  font-size: clamp(3.2rem, 2.4vw + 2rem, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gap-ink);
}
.gap__final-text {
  max-width: 52rem;
  font-size: 1.7rem;
  line-height: 1.5;
  color: var(--gap-muted);
}
.gap__final-actions { display: grid; gap: 0.8rem; margin-top: 0.8rem; }
.gap__final-btn,
.gap__final-link { width: 100%; min-height: 4.8rem; }
.gap__final-link { border-color: transparent; color: var(--gap-muted); }
.gap__final-link:hover { color: var(--gap-ink); }

.gap__art {
  position: relative;
  width: 100%;
  max-width: 36rem;
  padding: 1.2rem;
  border: 1px solid rgba(250, 250, 250, 0.06);
  border-radius: 1.6rem;
  background: var(--gap-obj);
  box-shadow: 0 20px 40px rgba(9, 9, 11, 0.5);
  font-size: 1.4rem;
  line-height: 1.35;
  color: #fafafa;
}

.gap__bub {
  max-width: 85%;
  padding: 0.7rem 1.2rem;
  border-radius: 1.8rem;
  font-size: 1.4rem;
}
.gap__bub--out { align-self: flex-end; border-bottom-right-radius: 0.5rem; background: var(--accent-blue); color: #fafafa; }
.gap__bub--in { align-self: flex-start; border-bottom-left-radius: 0.5rem; background: var(--gap-obj-2); }
.gap__stamp { align-self: flex-start; padding-left: 0.6rem; font-size: 1.1rem; color: #71717a; }

.gap__chat { display: flex; flex-direction: column; gap: 0.5rem; }
.gap__sent { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.gap__read { font-size: 1.1rem; color: #71717a; }

.gap__story { height: 16rem; padding: 0; overflow: hidden; }
.gap__lake { position: absolute; inset: 0; width: 100%; height: 100%; }
.gap__story-bars { position: absolute; top: 0.8rem; left: 1rem; right: 1rem; display: flex; gap: 0.4rem; }
.gap__story-bars i { flex: 1; height: 0.3rem; border-radius: 1rem; background: rgba(250, 250, 250, 0.35); }
.gap__story-bars i:first-child { background: #fafafa; }
.gap__story-head { position: absolute; top: 1.8rem; left: 1rem; display: flex; align-items: center; gap: 0.8rem; font-size: 1.2rem; color: #fafafa; }
.gap__story-head em { font-style: normal; opacity: 0.7; }
.gap__ava { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: linear-gradient(150deg, #71717a, #18181b); border: 1px solid #fafafa; }
.gap__sticker {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 1.2rem;
  background: #fafafa;
  box-shadow: 0 0.6rem 1.6rem rgba(9, 9, 11, 0.4);
  font-size: 1.3rem;
  font-weight: 600;
  color: #18181b;
  transform: translateX(-50%) rotate(-3deg);
  white-space: nowrap;
}

.gap__notifs { display: flex; flex-direction: column; gap: 0.8rem; padding: 0; border: 0; background: none; box-shadow: none; }
.gap__notif {
  display: flex; align-items: flex-start; gap: 1rem; box-sizing: border-box; width: 100%; max-width: 36rem; margin: 0; padding: 1rem 1.6rem;
  border: 1px solid rgba(250, 250, 250, 0.06); border-radius: 1.6rem;
  background: var(--gap-obj); box-shadow: 0 20px 40px rgba(9, 9, 11, 0.5);
}
.gap__notif-ico { flex: none; width: 3.2rem; height: 3.2rem; }
.gap__notif > span { flex: 1; min-width: 0; overflow: hidden; font-size: 1.3rem; white-space: nowrap; text-overflow: ellipsis; }
.gap__notif b { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; font-size: 1.2rem; font-weight: 600; color: #71717a; }
.gap__notif em { font-style: normal; font-weight: 400; color: #71717a; }

.gap__voice-row { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1.2rem; border-radius: 1.8rem 1.8rem 0.5rem 1.8rem; background: var(--accent-blue); color: #fafafa; }
.gap__play { flex: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: rgba(250, 250, 250, 0.25); position: relative; }
.gap__play::after { content: ""; position: absolute; left: 1.2rem; top: 0.9rem; border-left: 0.9rem solid #fafafa; border-top: 0.7rem solid transparent; border-bottom: 0.7rem solid transparent; }
.gap__wave { flex: 1; display: flex; align-items: center; gap: 0.2rem; height: 2.4rem; }
.gap__wave i { flex: 1; height: 35%; border-radius: 1rem; background: rgba(250, 250, 250, 0.75); }
.gap__wave i:nth-child(2n) { height: 75%; }
.gap__wave i:nth-child(3n) { height: 50%; }
.gap__wave i:nth-child(5n) { height: 100%; }
.gap__voice-row em { font-size: 1.2rem; font-style: normal; font-variant-numeric: tabular-nums; }
.gap__voice-name { display: block; margin-top: 0.8rem; padding-right: 0.6rem; font-size: 1.2rem; text-align: right; color: #71717a; }

.gap__sheet { padding: 0; overflow: hidden; }
.gap__sheet-head,
.gap__sheet-row { display: grid; grid-template-columns: 3rem 1fr 1.1fr 1.1fr; }
.gap__sheet i { padding: 0.8rem 1rem; border-right: 1px solid var(--hairline); font-style: normal; font-size: 1.3rem; white-space: nowrap; }
.gap__sheet i:last-child { border-right: 0; }
.gap__sheet-head { background: var(--gap-obj-2); font-size: 1.1rem; color: #71717a; text-align: center; }
.gap__sheet-head i { padding: 0.4rem 1rem; font-size: 1.1rem; }
.gap__sheet-row { border-top: 1px solid var(--hairline); }
.gap__sheet-row i:first-child { padding-inline: 0.4rem; background: var(--gap-obj-2); font-size: 1.1rem; color: #71717a; text-align: center; }
.gap__sheet-row i:nth-child(3) { box-shadow: inset 0 0 0 2px #71717a; }

@media (min-width: 1024px) and (max-width: 1199px) {
  .gap__notif > span { font-size: 1.2rem; }
  .gap__sheet i { padding: 0.8rem 0.6rem; font-size: 1.2rem; }
}

@media (max-width: 767px) {
  .gap .container { padding-inline: 2rem; }
  .gap__title { font-size: clamp(3.4rem, 9.4vw, 3.8rem); }
  .gap__lead { font-size: 1.6rem; }
  .gap__story { height: 18rem; }
}

/* ── Десктоп: сцена прилипает и разыгрывается по скроллу ─────────────── */
@media (min-width: 1024px) {
  .gap__switch { display: none !important; }
  .gap__track { position: relative; }
  .gap__stage { display: grid; gap: 3.2rem; }
  .gap__head,
  .js .gap__head { margin-bottom: 2.4rem; }
  .gap__head { text-align: center; }
  .gap__lead { margin-inline: auto; }
  .gap__title-muted { color: #71717a; }
  .gap__cols {
    position: relative; display: grid; min-height: 0; padding-left: 0;
    height: clamp(50rem, calc(100vh - 34rem), 62rem);
    grid-template-columns: 1fr clamp(8rem, 10vw, 12rem) 1fr;
  }
  .gap__col,
  .js .gap[data-side] .gap__col { position: static; display: flex; flex-direction: column; min-height: 0; margin-top: 0; }
  .gap__label,
  .js .gap__label { display: block; margin: 0; height: 3.2rem; padding-inline: 2.4rem; }
  .gap__col--tourist .gap__label { text-align: right; }
  .gap__col--company .gap__label { text-align: left; }
  .gap__items { position: relative; flex: 1; display: block; }
  .gap__item {
    position: absolute; left: 0; right: 0; top: var(--top);
    display: flex; align-items: flex-start; gap: 1.6rem;
  }
  .gap__col--tourist .gap__item { flex-direction: row-reverse; }
  .gap__col--tourist .gap__art { margin-right: var(--dx); }
  .gap__col--company .gap__art { margin-left: var(--dx); }
  .gap__art { flex: none; width: clamp(24rem, 24vw, 29rem); max-width: none; }
  .gap__story { height: 13.5rem; }
  .gap__cap { flex: 1 1 0; min-width: 0; margin-top: 0.6rem; font-size: 1.5rem; }

  .gap__rift { position: relative; justify-self: center; width: 2px; height: 100%; }
  .gap__col--company { position: static; }

  .gap__final { justify-items: center; margin-top: 0; padding-top: 0; text-align: center; }
  .gap__final-actions { display: flex; align-items: center; gap: 1.2rem; }
  .gap__final-btn,
  .gap__final-link { width: auto; min-height: 4.4rem; }

  @media (max-height: 800px) {
    .gap__stage { gap: 2rem; }
    .gap__final { gap: 0.8rem; }
    .gap__final-title { font-size: 3.2rem; }
    .gap__final-text { font-size: 1.6rem; }
  }

  /* Финальное статичное состояние (без анимации) */
  .gap__art { rotate: 0deg; opacity: 0.4; }
}

.gap__rift-dash { opacity: 0; }

@keyframes gap-in { from { opacity: 0; transform: translate3d(0, 3.2rem, 0) scale(0.96); } }
@keyframes gap-settle { from { rotate: var(--rot); opacity: 1; } to { rotate: 0deg; opacity: 0.4; } }
@keyframes gap-dash-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes gap-stitch { from { opacity: 0; transform: scaleY(0.2); } }
@keyframes gap-head-out { to { opacity: 0; transform: translate3d(0, -4rem, 0) scale(0.96); } }
@keyframes gap-cols-in { from { opacity: 0; transform: translate3d(0, 2.4rem, 0); } }
@keyframes gap-final { from { opacity: 0; transform: translate3d(0, 2.4rem, 0); } }

@media (prefers-reduced-motion: no-preference) {

  @supports (animation-timeline: view()) {
    /* Мобильная лента: каждый объект живёт по своему прогрессу в окне */
    .gap__art { rotate: calc(var(--rot) * 0.4); }
    .gap__item {
      animation: gap-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .gap__rift-dash {
      animation: gap-dash-out linear both;
      animation-timeline: --gap-final;
      animation-range: entry 0% entry 90%;
    }
    .gap__rift-solid {
      animation: gap-stitch linear both;
      animation-timeline: --gap-final;
      animation-range: entry 0% entry 90%;
    }
    .gap__final {
      animation: gap-final linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }
    .gap__rift-dash { opacity: 1; }
    .gap__art { opacity: 1; }
  }

  @media (min-width: 1024px) {
    @supports (animation-timeline: view()) {
      .gap { padding-top: 0; }
      .gap__track,
      .js .gap__track { height: calc(var(--gap-stage-h) + var(--gap-p)); }
      .gap__ruler {
        display: block; position: absolute; top: 0; left: 0; width: 1px; height: var(--gap-p);
        visibility: hidden; pointer-events: none;
        view-timeline: --gap block;
        view-timeline-inset: var(--gap-top) 0;
      }
      .gap__stage { position: sticky; top: var(--gap-top); height: var(--gap-stage-h); align-content: center; }
      .gap__head,
      .js .gap__head {
        position: absolute; inset: 0; z-index: 2; margin: 0;
        display: grid; align-content: center; justify-items: center;
        pointer-events: none;
        animation: gap-head-out linear both;
        animation-timeline: --gap;
        animation-range: calc(var(--gap-vp) + var(--gap-p) * 4 / 100) calc(var(--gap-vp) + var(--gap-p) * 16 / 100);
      }
      .gap__cols {
        animation: gap-cols-in linear both;
        animation-timeline: --gap;
        animation-range: calc(var(--gap-vp) + var(--gap-p) * 8 / 100) calc(var(--gap-vp) + var(--gap-p) * 18 / 100);
      }
      .gap__item {
        animation: gap-in linear both;
        animation-timeline: --gap;
        animation-range: calc(var(--gap-vp) + var(--gap-p) * var(--s) / 100) calc(var(--gap-vp) + var(--gap-p) * (var(--s) + 9) / 100);
      }
      .gap__art {
        rotate: var(--rot);
        animation: gap-settle linear both;
        animation-timeline: --gap;
        animation-range: calc(var(--gap-vp) + var(--gap-p) * 84 / 100) calc(var(--gap-vp) + var(--gap-p) * 94 / 100);
      }
      .gap__rift-dash,
      .gap__rift-solid {
        animation-timeline: --gap;
        animation-range: calc(var(--gap-vp) + var(--gap-p) * 82 / 100) calc(var(--gap-vp) + var(--gap-p) * 92 / 100);
      }
      .gap__final {
        animation-timeline: --gap;
        animation-range: calc(var(--gap-vp) + var(--gap-p) * 92 / 100) calc(var(--gap-vp) + var(--gap-p) * 100 / 100);
      }
    }
  }

  /* Запасной вариант без scroll-driven animations: переключает JS через IntersectionObserver */
  .gap--io .gap__item { opacity: 0; transform: translate3d(0, 2.4rem, 0); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .gap--io .gap__item.is-in { opacity: 1; transform: none; }
  .gap--io .gap__rift-dash { opacity: 1; transition: opacity 0.8s var(--ease); }
  .gap--io .gap__rift-solid { opacity: 0; transition: opacity 0.8s var(--ease); }
  .gap--io.is-stitched .gap__rift-dash { opacity: 0; }
  .gap--io.is-stitched .gap__rift-solid { opacity: 1; }
  .gap--io .gap__final { opacity: 0; transform: translate3d(0, 2.4rem, 0); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .gap--io.is-stitched .gap__final { opacity: 1; transform: none; }

  @media (min-width: 1024px) {
    .gap--io .gap__art { rotate: var(--rot); opacity: 1; transition: rotate 0.8s var(--ease), opacity 0.8s var(--ease); }
    .gap--io.is-stitched .gap__art { rotate: 0deg; opacity: 0.4; }
    }
}

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

/* ─── Движение ──────────────────────────────────────────────────────────
   1. Переход между страницами и языками (View Transitions): шапка стоит на
      месте, содержимое уходит вверх и мягко проявляется заново.
   2. Крупные контейнеры [data-unfold] «раскрываются» по мере прокрутки:
      масштаб и маска с закруглёнными краями привязаны к положению на экране.
   3. Карточки подсвечиваются пятном света, которое идёт за курсором.
   Всё выключается при «уменьшить движение». */

@view-transition { navigation: auto; }

.topnav { view-transition-name: topnav; }

@keyframes vt-leave {
  to { opacity: 0; transform: translateY(-1.6rem) scale(0.985); filter: blur(0.6rem); }
}
@keyframes vt-enter {
  from { opacity: 0; transform: translateY(2.4rem) scale(1.01); filter: blur(0.8rem); }
}

::view-transition-old(root) { animation: vt-leave 0.32s var(--ease) both; }
::view-transition-new(root) { animation: vt-enter 0.6s var(--ease) 0.06s both; }
::view-transition-group(topnav) { animation-duration: 0.4s; }

/* Переключение сторон «Турист / Компания» */
html[data-vt="gap"] .gap__cols { view-transition-name: gap-cols; }
html[data-vt] { view-transition-name: none; }

@keyframes panel-out { to { opacity: 0; transform: translateX(-2.4rem); filter: blur(0.4rem); } }
@keyframes panel-in { from { opacity: 0; transform: translateX(3.2rem); filter: blur(0.4rem); } }

::view-transition-old(gap-cols) { animation: panel-out 0.26s var(--ease) both; }
::view-transition-new(gap-cols) { animation: panel-in 0.5s var(--ease) 0.04s both; }
::view-transition-group(gap-cols) { animation-duration: 0.5s; overflow: clip; }

@keyframes unfold {
  from { scale: 0.92; clip-path: inset(7% 5% round 3.2rem); }
  to   { scale: 1;    clip-path: inset(-20% -20% round 0); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.js [data-unfold] {
      animation: unfold linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
      transform-origin: 50% 100%;
    }
  }
}

.spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(32rem circle at var(--mx, 50%) var(--my, 50%), rgba(250, 250, 250, 0.07), transparent 45%);
  transition: opacity 0.35s var(--ease);
}
.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(24rem circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-rgb), 0.55), transparent 50%);
  -webkit-mask: linear-gradient(#09090b 0 0) content-box, linear-gradient(#09090b 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#09090b 0 0) content-box exclude, linear-gradient(#09090b 0 0);
}
.has-spot--rel { position: relative; }
.has-spot:hover > .spot { opacity: 1; }

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

/* Иллюстрация блока возможностей без медиа */
.fart {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  padding: clamp(2.4rem, 1rem + 4vw, 5.6rem);
  border: 1px solid var(--hairline-soft);
  border-radius: 2.8rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px) 0 0 / 3.2rem 3.2rem,
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px) 0 0 / 3.2rem 3.2rem,
    var(--surface-1);
}
.fart::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 100%, transparent 40%, var(--canvas) 100%);
}
.fart__orb {
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  opacity: 0.32;
  filter: blur(4rem);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate(-12%, 8%) scale(0.9); }
  to   { transform: translate(14%, -10%) scale(1.08); }
}

.fart__card {
  width: min(100%, 40rem);
  padding: 1.8rem;
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: 2rem;
  background: rgba(24, 24, 27, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(250, 250, 250, 0.06);
}
.fart__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.fart__icon {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--glow) 22%, transparent);
  color: var(--ink);
}
.fart__icon .ico { width: 1.8rem; height: 1.8rem; stroke-width: 1.75; }
.fart__chip { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.fart__dots { display: flex; gap: 0.4rem; margin-left: auto; }
.fart__dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--surface-3); }

.fart__rows { display: grid; gap: 0.8rem; }
.fart__rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1.2rem;
  row-gap: 0.6rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(250, 250, 250, 0.035);
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(0.25s + var(--i) * 0.09s);
}
.fart.is-in .fart__rows li,
html:not(.js) .fart__rows li { opacity: 1; transform: none; }
.fart__tick {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--glow) 18%, transparent);
  color: var(--ink);
}
.fart__tick .ico { width: 1.4rem; height: 1.4rem; }
.fart__text { font-size: 1.4rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.fart__bar {
  height: 0.5rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--glow) 55%, transparent), transparent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(0.5s + var(--i) * 0.09s);
  width: calc(90% - var(--i) * 14%);
}
.fart.is-in .fart__bar,
html:not(.js) .fart__bar { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .fart__orb { animation: none; }
  .fart__rows li, .fart__bar { transition: none; opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  /* Первый экран на планшете и телефоне выровнен по центру, тезисы — нет:
     столбик «иконка + текст» читается только с левого края. */
  .hero .facts { width: 100%; text-align: left; }
}
@media (max-width: 520px) {
  .facts, .facts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.6rem; padding-top: 2.4rem; }
  .facts__item dt { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .facts__item dd { padding-left: 0; font-size: 1.3rem; }
}
@media (max-width: 1024px) {
  .fart { aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .fart { aspect-ratio: auto; padding: 2.4rem 1.6rem; border-radius: 2rem; }
  .fart__rows li:nth-child(n + 4) { display: none; }
}
