/* NESAM — промо-сторінка.

   Палітра свідомо двоскладова. Нічна синява — це продукт: маячки, радар,
   карта. Тепле бурштинове світло — це людина: вечір, вікно кав'ярні, розмова.
   Заголовки набрані теплим кольором слонової кістки, а не холодним білим:
   темрява лишається, але перестає бути крижаною. */

:root {
  --night: #04091f;
  --dusk: #071230;
  --panel: #0c1c44;

  --line: rgba(160, 185, 235, 0.14);
  --line-strong: rgba(160, 185, 235, 0.3);

  --pulse: #2e7bff;
  --pulse-deep: #1450c8;
  --signal: #35e0d2;
  --ember: #ffb067;

  --sand: #f6efe6;
  --snow: #e8eefb;
  --mist: #93a6c9;

  --wrap: 1180px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-full: 999px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip, а не hidden: не створює зайвий контекст прокручування,
     тому sticky-шапка й панель унизу поводяться передбачувано.
     Це страховка для декоративних шарів — розміри елементів
     полагоджені окремо, кожен у своєму блоці нижче. */
  overflow-x: clip;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--sand);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 99;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--pulse);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- Атмосфера ---------- */

.atmo {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.atmo__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.atmo__glow--blue {
  width: 560px;
  height: 560px;
  top: -190px;
  left: -140px;
  background: rgba(46, 123, 255, 0.34);
  animation: drift 24s ease-in-out infinite;
}
.atmo__glow--teal {
  width: 460px;
  height: 460px;
  top: 34%;
  right: -170px;
  background: rgba(53, 224, 210, 0.17);
  animation: drift 29s ease-in-out infinite reverse;
}
.atmo__glow--ember {
  width: 620px;
  height: 620px;
  bottom: -280px;
  left: 26%;
  background: rgba(255, 176, 103, 0.12);
  animation: drift 34s ease-in-out infinite;
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(64px, -46px) scale(1.16);
  }
}

/* Плівкове зерно: без нього градієнти виглядають як пластик. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Кнопки ---------- */

.btn {
  --btn-py: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-py) 28px;
  border: 0;
  border-radius: var(--r-full);
  background: linear-gradient(122deg, #0f47bd, #2064e0 55%, #2b78f2);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(20, 80, 200, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(20, 80, 200, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn:active {
  transform: translateY(0);
}
.btn--lg {
  --btn-py: 19px;
  padding-inline: 40px;
  font-size: 19px;
}
.btn--sm {
  --btn-py: 10px;
  padding-inline: 20px;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ---------- Шапка ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.nav.is-stuck {
  background: rgba(4, 9, 31, 0.82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 15px 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--sand);
}
.nav__brand img {
  border-radius: 10px;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--mist);
}
.nav__links a {
  position: relative;
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--ember);
  scale: 0 1;
  transition: scale 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__links a:hover {
  color: var(--sand);
}
.nav__links a:hover::after {
  scale: 1 1;
}
.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pulse), var(--signal));
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
}

/* Перемикач мови. Українська — основна, тому в шапці стоїть
   посилання на другу мову, а не список із двох. */
.lang {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    color 0.16s ease;
}
.lang:hover {
  border-color: rgba(53, 224, 210, 0.45);
  color: var(--sand);
}

/* ---------- Герой ---------- */

.hero {
  display: grid;
  /* Ліва колонка трохи ширша — рівно настільки, щоб сім чипів
     стали одним рядком, а заголовок лишився на трьох. */
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 0.83fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 70px) 24px clamp(56px, 8vw, 110px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  padding: 7px 15px;
  border: 1px solid rgba(53, 224, 210, 0.3);
  border-radius: var(--r-full);
  background: rgba(53, 224, 210, 0.08);
  color: var(--signal);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(53, 224, 210, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 11px rgba(53, 224, 210, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 224, 210, 0);
  }
}

.hero h1 {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  /* Верхня межа підібрана так, щоб «Поруч є люди,» лишалось одним рядком:
     розбивка після «є» читається як помилка набору. */
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero__line {
  display: block;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.lede {
  max-width: 30em;
  color: var(--mist);
  font-size: clamp(16px, 1.7vw, 19px);
}

.cta {
  margin-top: clamp(24px, 3vw, 34px);
}
.cta__note {
  margin-top: 13px;
  color: var(--mist);
  font-size: 14px;
}

/* ---------- Швидкий вибір заняття ---------- */

.picks {
  margin-top: clamp(20px, 2.6vw, 28px);
}
.picks__row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(12, 28, 68, 0.42);
  backdrop-filter: blur(6px);
  color: var(--snow);
  font: inherit;
  font-size: 13.5px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.pick:hover {
  border-color: rgba(53, 224, 210, 0.45);
  transform: translateY(-1px);
}
.pick[aria-pressed='true'] {
  border-color: var(--signal);
  background: rgba(53, 224, 210, 0.12);
  color: var(--sand);
  box-shadow: 0 0 0 3px rgba(53, 224, 210, 0.11);
}
.picks__stance {
  margin-top: 13px;
  color: var(--mist);
  font-size: 13.5px;
}

/* ---------- Магазини: поки що статус, а не кнопки ---------- */

/* Застосунок не опублікований, тож ці елементи навмисно позбавлені
   вигляду кнопки. Коли вийде — сюди стануть офіційні бейджі. */
.stores {
  margin-top: clamp(20px, 2.6vw, 28px);
}
.stores__label {
  color: var(--mist);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stores__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.stores__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  font-size: 14.5px;
  opacity: 0.72;
}

/* Поява героя одним рухом, а не як у всіх блоків нижче. */
/* Без цього колонка розтягується під мінімальну ширину стрічки чипів
   і тягне за собою бокову прокрутку на телефоні. Саме тут корінь
   проблеми, а не в overflow на body. */
.hero__copy,
.hero__radar {
  min-width: 0;
}

.hero__copy > * {
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.hero__copy > :nth-child(1) {
  animation-delay: 0.05s;
}
.hero__copy > :nth-child(2) {
  animation-delay: 0.12s;
}
.hero__copy > :nth-child(3) {
  animation-delay: 0.22s;
}
.hero__copy > :nth-child(4) {
  animation-delay: 0.3s;
}
.hero__copy > :nth-child(5) {
  animation-delay: 0.38s;
}
.hero__copy > :nth-child(6) {
  animation-delay: 0.44s;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* ---------- Радар: підпис сторінки ---------- */

.hero__radar {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Радар виходить рівно у поле сторінки й нікуди далі: беремо саме
     стільки, скільки лишилось між обгорткою та краєм екрана. Тому
     він виглядає як вікно у застосунок і при цьому ніколи не створює
     бокової прокрутки — на жодній ширині. */
  margin-inline-end: calc(-1 * clamp(0px, (100vw - var(--wrap)) / 2, 120px));
}
.radar {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 620px);
  aspect-ratio: 1;
}
.radar__note {
  margin-top: 16px;
  color: var(--mist);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Промінь, який обходить коло за шість секунд.

   Обгортка з overflow: hidden тут не для краси: кути квадрата, що
   обертається, розширюють область прокручування сторінки і дають
   зайві пікселі вбік. Обгортка їх зрізає. */
.radar__sweep {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  overflow: hidden;
}
.radar__sweep::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    rgba(53, 224, 210, 0.32) 0deg,
    rgba(53, 224, 210, 0.12) 16deg,
    rgba(53, 224, 210, 0) 52deg,
    rgba(53, 224, 210, 0) 360deg
  );
  animation: sweepSpin 6s linear infinite;
}
@keyframes sweepSpin {
  to {
    rotate: 360deg;
  }
}

.radar__cross {
  position: absolute;
  inset: 7%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat;
}
.radar__cross::after {
  content: '';
  position: absolute;
  inset: 24%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.radar__ring {
  position: absolute;
  inset: 7%;
  border: 1.5px solid var(--signal);
  border-radius: 50%;
  opacity: 0;
  animation: sweepOut 3.6s ease-out infinite;
}
.radar__ring:nth-of-type(2) {
  animation-delay: 1.2s;
}
.radar__ring:nth-of-type(3) {
  animation-delay: 2.4s;
}
@keyframes sweepOut {
  0% {
    transform: scale(0.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.radar__logo {
  position: relative;
  z-index: 2;
  width: clamp(88px, 19%, 124px);
  height: auto;
  border-radius: 26px;
  box-shadow:
    0 24px 64px rgba(46, 123, 255, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

.beacon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(
    150deg,
    rgba(20, 40, 92, 0.94),
    rgba(9, 21, 52, 0.94)
  );
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  /* Кожна нова картка виринає трохи в іншому місці — зсув задає JS
     через --dx/--dy. Через margin, а не transform: transform уже
     зайнятий згасанням, а translate — гойданням. */
  margin-left: var(--dx, 0px);
  margin-top: var(--dy, 0px);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    margin-left 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.beacon.is-out {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}
/* Окреме кільце під підсвітку «щойно знайдено» — щоб не воювати
   за box-shadow з анімацією wake. */
.beacon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
}
.beacon.is-in::after {
  animation: foundRing 0.85s ease-out;
}
@keyframes foundRing {
  from {
    border-color: rgba(53, 224, 210, 0.85);
  }
  to {
    border-color: transparent;
  }
}
/* Кожна картка спалахує рівно тоді, коли промінь проходить над нею. */
.beacon--1 {
  top: 3%;
  left: -6%;
  animation:
    float 5.4s ease-in-out -0.5s infinite,
    wake 6s linear -0.5s infinite;
}
.beacon--2 {
  top: 26%;
  right: -3%;
  animation:
    float 5.9s ease-in-out -5s infinite,
    wake 6s linear -5s infinite;
}
.beacon--3 {
  bottom: 6%;
  left: 2%;
  animation:
    float 6.3s ease-in-out -2.33s infinite,
    wake 6s linear -2.33s infinite;
}
/* Ліворуч по центру і праворуч знизу — там, де промінь проходить
   між іншими картками. Жодна не заходить на знак у середині. */
.beacon--4 {
  top: 45%;
  left: -10%;
  animation:
    float 5.6s ease-in-out -3.5s infinite,
    wake 6s linear -3.5s infinite;
}
.beacon--5 {
  top: 70%;
  right: -3%;
  animation:
    float 6.1s ease-in-out -1.2s infinite,
    wake 6s linear -1.2s infinite;
}
@keyframes float {
  0%,
  100% {
    translate: 0 -5px;
  }
  50% {
    translate: 0 5px;
  }
}
@keyframes wake {
  0% {
    border-color: rgba(53, 224, 210, 0.8);
    box-shadow:
      0 18px 46px rgba(0, 0, 0, 0.5),
      0 0 0 4px rgba(53, 224, 210, 0.13);
  }
  16%,
  100% {
    border-color: var(--line);
    box-shadow:
      0 18px 46px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(53, 224, 210, 0);
  }
}
.beacon__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.beacon__text b {
  font-size: 14px;
  font-weight: 600;
  color: var(--sand);
}
.beacon__text i {
  font-style: normal;
  font-size: 12px;
  color: var(--mist);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(53, 224, 210, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

/* Значки, що спалахують по колу радара. Тексту в них немає — вони
   передають не зміст, а те, що навколо весь час хтось є. Зміст
   лишається на картках. */
.spot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(
    150deg,
    rgba(20, 40, 92, 0.92),
    rgba(9, 21, 52, 0.92)
  );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  font-size: 19px;
  line-height: 1;
  opacity: 0;
  animation: flash 4.4s ease-in-out infinite;
}
/* Бірюзова крапка збоку — та сама, що на картках. */
.spot::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(53, 224, 210, 0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes flash {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.72);
  }
  9%,
  32% {
    opacity: 1;
    transform: scale(1);
  }
  44% {
    opacity: 0;
    transform: scale(0.86);
  }
}
/* Кути нерівні навмисно: рівний восьмикутник читався б як циферблат.
   Позиції обрані так, щоб не перекривати ні знак у центрі, ні картки. */
.spot--1 { left: 50%; top: 3%;  animation-delay: 0s; }
.spot--2 { left: 79%; top: 12%; animation-delay: 0.55s; }
.spot--3 { left: 97%; top: 42%; animation-delay: 1.1s; }
.spot--4 { left: 88%; top: 74%; animation-delay: 1.65s; }
.spot--5 { left: 58%; top: 96%; animation-delay: 2.2s; }
.spot--6 { left: 22%; top: 88%; animation-delay: 2.75s; }
.spot--7 { left: 3%;  top: 56%; animation-delay: 3.3s; }
.spot--8 { left: 12%; top: 22%; animation-delay: 3.85s; }

@media (max-width: 1000px) {
  /* На телефоні коло менше — значки теж, інакше вони з'їдають знак. */
  .spot {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spot {
    opacity: 1;
    animation: none;
  }
}

/* ---------- Аватари ---------- */

/* Абстрактні плашки з літерою: жодних вигаданих облич. */
.ava {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, #1450c8, #3a8bff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.ava--coffee {
  background: linear-gradient(140deg, #5a3a1e, #b1793d);
}
.ava--tennis {
  background: linear-gradient(140deg, #1d6b2a, #56c44e);
}
.ava--walk {
  background: linear-gradient(140deg, #1450c8, #3a8bff);
}
.ava--a {
  background: linear-gradient(140deg, #1450c8, #3a8bff);
}
.ava--b {
  background: linear-gradient(140deg, #0a7f78, #35e0d2);
}
.ava--c {
  background: linear-gradient(140deg, #4b2f8f, #8b5cf6);
}
.ava--d {
  background: linear-gradient(140deg, #8f2f5e, #ef5da8);
}

/* ---------- Показ застосунку ---------- */

.show {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 56px) 24px clamp(40px, 6vw, 72px);
}
.show__photo {
  margin: 0;
  min-width: 0;
}
.show__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
}
.show__copy {
  min-width: 0;
}
.show__eyebrow {
  margin-bottom: 14px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.show__copy h2 {
  max-width: 16em;
  font-size: clamp(25px, 3.6vw, 42px);
  line-height: 1.12;
}
.show__copy p {
  max-width: 34em;
  margin-top: 18px;
  color: var(--mist);
  font-size: clamp(16px, 1.7vw, 18.5px);
}
.show__copy .btn {
  margin-top: clamp(22px, 3vw, 30px);
}

@media (max-width: 860px) {
  .show {
    grid-template-columns: 1fr;
  }
}

/* ---------- Механіка одним рядком ---------- */

/* Стоїть одразу під героєм, щоб суть була зрозуміла ще до довгої
   секції «Три кроки до зустрічі». */
.flow {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 24px clamp(44px, 6vw, 80px);
}
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow__list li {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(
    150deg,
    rgba(14, 32, 74, 0.6),
    rgba(8, 18, 44, 0.6)
  );
  color: var(--snow);
  font-size: 15px;
  line-height: 1.3;
}
/* Тонка риска в проміжку — читається як «далі». */
.flow__list li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}
.flow__i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(53, 224, 210, 0.35);
  border-radius: 50%;
  background: rgba(53, 224, 210, 0.1);
  color: var(--signal);
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
}
.flow__warm {
  max-width: 38em;
  margin: clamp(28px, 4vw, 44px) auto 0;
  color: var(--mist);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.5;
  text-align: center;
}

/* ---------- Мобільна панель із дією ---------- */

.stickycta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(5, 12, 34, 0.93);
  backdrop-filter: blur(18px);
  transform: translateY(115%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.stickycta.is-on {
  transform: none;
}
.stickycta p {
  flex: 1;
  min-width: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.25;
}
.stickycta .btn {
  flex: 0 0 auto;
}

/* ---------- Секції ---------- */

.section {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(60px, 8vw, 116px) 24px;
}
.section h2 {
  font-size: clamp(27px, 3.9vw, 46px);
  margin-bottom: 16px;
}
.section__lede {
  max-width: 40em;
  margin-bottom: clamp(22px, 3vw, 32px);
  color: var(--mist);
  font-size: clamp(16px, 1.7vw, 18.5px);
}

/* ---------- Біль ---------- */

.recognise__head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.55fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.recognise__list {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.recognise__list li {
  position: relative;
  padding-left: 30px;
  color: var(--mist);
  font-size: clamp(16px, 1.8vw, 19px);
}
/* Коротка бурштинова риска замість крапки — це не список покупок. */
.recognise__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--ember);
  opacity: 0.75;
}

.pull {
  max-width: 26em;
  margin-top: clamp(38px, 5vw, 68px);
  padding-left: clamp(18px, 2vw, 30px);
  border-left: 2px solid var(--ember);
  color: var(--sand);
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 2.8vw, 33px);
  line-height: 1.26;
  letter-spacing: -0.022em;
}
.pull b {
  color: var(--ember);
  font-weight: 600;
}

/* ---------- Кроки ---------- */

/* Ліворуч не порядковий номер, а час: людині важливо, як швидко це стається. */
.steps {
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: clamp(10px, 4vw, 56px);
  padding: clamp(22px, 3vw, 36px) clamp(10px, 1.5vw, 20px);
  border-top: 1px solid var(--line);
  transition: background 0.28s ease;
}
.steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.steps li:hover {
  background: linear-gradient(
    90deg,
    rgba(255, 176, 103, 0.06),
    transparent 62%
  );
}
.steps__when {
  color: var(--ember);
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 2.3vw, 27px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.steps__body h3 {
  margin-bottom: 10px;
  font-size: clamp(18px, 1.9vw, 23px);
}
.steps__body p {
  max-width: 44em;
  color: var(--mist);
}

/* ---------- Екрани застосунку ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.6vw, 30px);
  margin-top: clamp(28px, 4vw, 46px);
  perspective: 1600px;
}
.phone {
  margin: 0;
}
.phone__frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 38px;
  background: linear-gradient(160deg, #2b437e, #08132b 62%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.phones > :first-child .phone__frame {
  --ry: 9deg;
}
.phones > :last-child .phone__frame {
  --ry: -9deg;
}
.phone--lift .phone__frame {
  --ty: -26px;
}
.phone:hover .phone__frame {
  --ry: 0deg;
  --ty: -32px;
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  width: 58px;
  height: 5px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.2);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 400px;
  padding: 33px 13px 15px;
  border-radius: 29px;
  background: linear-gradient(180deg, #0a1f4c, #04102a);
  overflow: hidden;
}
.phone figcaption {
  margin-top: 18px;
  color: var(--mist);
  font-size: 14px;
  text-align: center;
}

.ui__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}
.ui__bar b {
  color: var(--sand);
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.ui__live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--signal);
  font-size: 11px;
}
.ui__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(53, 224, 210, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
.ui__label {
  margin-top: 4px;
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ui__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ui__chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(12, 28, 68, 0.6);
  color: var(--mist);
  font-size: 11px;
}
.ui__chip.is-on {
  border-color: transparent;
  background: linear-gradient(120deg, #1450c8, #2b78f2);
  color: #fff;
}
.ui__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(12, 28, 68, 0.55);
  color: var(--mist);
  font-size: 11.5px;
}
.ui__row b {
  color: var(--snow);
  font-size: 12px;
}
.ui__cta {
  position: relative;
  margin-top: auto;
  padding: 11px;
  border-radius: var(--r-full);
  background: linear-gradient(122deg, #0f47bd, #2064e0 55%, #2b78f2);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
}
.ui__sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 45%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  animation: sheen 3.4s ease-in-out infinite;
}
@keyframes sheen {
  0%,
  55% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(330%);
  }
}

.ui__card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 28, 68, 0.55);
}
.ui__card .ava {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 12.5px;
}
.ui__card-t {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
  line-height: 1.25;
}
.ui__card-t b {
  overflow: hidden;
  color: var(--sand);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ui__card-t i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--mist);
}
.ui__join {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(58, 139, 255, 0.45);
  border-radius: var(--r-full);
  background: rgba(46, 123, 255, 0.18);
  color: #7fb2ff;
  font-size: 10.5px;
}
.ui__card--new {
  border-color: rgba(53, 224, 210, 0.45);
  animation: newGlow 3.6s ease-in-out infinite;
}
@keyframes newGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(53, 224, 210, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(53, 224, 210, 0.12);
  }
}

.ui__map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #061530;
  overflow: hidden;
}
.ui__map svg {
  display: block;
  width: 100%;
  height: auto;
}
.ui__road {
  fill: none;
  stroke: rgba(147, 166, 201, 0.16);
  stroke-width: 6;
}
.ui__route {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: drawLoop 4.4s ease-in-out infinite;
}
@keyframes drawLoop {
  0% {
    stroke-dashoffset: 1;
  }
  45%,
  88% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.ui__pin--me {
  fill: #7fb2ff;
}
.ui__pin--to {
  fill: var(--signal);
}
.ui__maptag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(4, 9, 31, 0.76);
  font-size: 10px;
}

.ui__msg {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.ui__msg .ava {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 10px;
}
.ui__msg p {
  max-width: 78%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.4;
}
.ui__msg--in p {
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  background: rgba(12, 28, 68, 0.75);
}
.ui__msg--out {
  justify-content: flex-end;
}
.ui__msg--out p {
  border-bottom-right-radius: 5px;
  background: linear-gradient(122deg, #1450c8, #2b78f2);
}
.ui__typing {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ui__typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mist);
  animation: typing 1.3s ease-in-out infinite;
}
.ui__typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.ui__typing i:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* ---------- Живі люди ---------- */

.people__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: clamp(26px, 4vw, 40px);
}
.shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--dusk);
  overflow: hidden;
}
.shot--wide {
  grid-column: span 3;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Кадри трохи притемнені й охолоджені, щоб не сперечались із
     нічною палітрою сторінки. */
  filter: brightness(0.88) saturate(0.94);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}
.shot--wide img {
  aspect-ratio: 16 / 8;
}
.shot:not(.shot--wide) img {
  aspect-ratio: 1;
}
.shot:hover img {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}
/* Градієнт знизу — щоб підпис читався на будь-якому кадрі. */
.shot::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(4, 9, 31, 0.94));
  pointer-events: none;
}
.shot figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(16px, 2vw, 24px);
  color: var(--sand);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 500;
  line-height: 1.35;
}
.people__note {
  margin-top: 18px;
  color: var(--mist);
  font-size: 13px;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .people__grid {
    grid-template-columns: 1fr;
  }
  .shot--wide {
    grid-column: span 1;
  }
  .shot--wide img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Місце і маршрут ---------- */

.route {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.route__copy,
.route__map {
  min-width: 0;
}
.route__map {
  position: relative;
  margin: 0;
  /* Та сама логіка, що й у радара: витікає рівно в поле сторінки. */
  margin-inline-end: calc(-1 * clamp(0px, (100vw - var(--wrap)) / 2, 100px));
}
.route__map svg {
  display: block;
  width: 100%;
  height: auto;
}
.map__bg {
  fill: #061530;
  stroke: var(--line);
}
.map__grid path {
  fill: none;
  stroke: rgba(147, 166, 201, 0.1);
  stroke-width: 11;
}
.map__park rect {
  fill: rgba(53, 224, 210, 0.1);
  stroke: rgba(53, 224, 210, 0.22);
}
.map__park circle {
  fill: rgba(53, 224, 210, 0.2);
}
.map__blocks rect {
  fill: rgba(147, 166, 201, 0.07);
  stroke: rgba(147, 166, 201, 0.12);
}
.map__water {
  fill: none;
  stroke: rgba(46, 123, 255, 0.2);
  stroke-width: 17;
  stroke-linecap: round;
}
/* Лінія малюється, коли блок доїхав до екрана. */
.map__route {
  fill: none;
  stroke: url(#routeLine);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s ease-in-out 0.25s;
}
.route__map.is-visible .map__route {
  stroke-dashoffset: 0;
}
.map__runner {
  fill: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  offset-path: path(
    'M104 384 C 168 372, 190 322, 246 312 S 342 322, 386 258 S 470 186, 528 148'
  );
  offset-distance: 0%;
  opacity: 0;
}
.route__map.is-visible .map__runner {
  animation: run 6.5s ease-in-out 1.6s infinite;
}
@keyframes run {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  8%,
  90% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
.map__core {
  fill: #fff;
}
.map__pin--me .map__core {
  fill: #7fb2ff;
}
.map__pin--to .map__core {
  fill: var(--signal);
}
.map__halo {
  fill: rgba(46, 123, 255, 0.18);
  animation: halo 3s ease-out infinite;
}
.map__pin--to .map__halo {
  fill: rgba(53, 224, 210, 0.18);
  animation-delay: 1.5s;
}
@keyframes halo {
  0% {
    r: 9;
    opacity: 0.85;
  }
  100% {
    r: 34;
    opacity: 0;
  }
}
.map__label {
  fill: var(--sand);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(6, 21, 48, 0.9);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.map__label--end {
  fill: var(--signal);
  text-anchor: end;
}
.route__modes {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.mode {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(12, 28, 68, 0.55);
  color: var(--mist);
  font-size: 13.5px;
}
.mode.is-on {
  border-color: transparent;
  background: linear-gradient(122deg, #1450c8, #2b78f2);
  color: #fff;
}

.venues {
  display: grid;
  gap: 10px;
  max-width: 34em;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}
.venue {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(12, 28, 68, 0.45);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.venue:hover {
  transform: translateX(5px);
  border-color: rgba(53, 224, 210, 0.45);
}
.venue__icon {
  font-size: 21px;
}
.venue__text {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  line-height: 1.3;
}
.venue__text b {
  color: var(--sand);
  font-size: 15px;
  font-weight: 600;
}
.venue__text i {
  font-style: normal;
  font-size: 13px;
  color: var(--mist);
}
.venue__rate {
  color: var(--signal);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.venue--top {
  border-color: rgba(53, 224, 210, 0.4);
  background: linear-gradient(
    120deg,
    rgba(53, 224, 210, 0.12),
    rgba(12, 28, 68, 0.45)
  );
}
.route__note {
  max-width: 34em;
  margin-top: 16px;
  color: var(--mist);
  font-size: 13.5px;
}

/* ---------- Стрічка занять ---------- */

.marquee {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-100% - 12px));
  }
}
.chips li {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(12, 28, 68, 0.5);
  font-size: 15px;
  white-space: nowrap;
  transition: border-color 0.18s ease;
}
.chips li:hover {
  border-color: rgba(53, 224, 210, 0.5);
}

/* ---------- Тепла смуга: для тих, хто переїхав ---------- */

.band {
  position: relative;
  padding: clamp(66px, 9vw, 130px) 24px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(88% 130% at 12% 0%, rgba(255, 176, 103, 0.15), transparent 58%),
    radial-gradient(80% 120% at 92% 100%, rgba(46, 123, 255, 0.2), transparent 60%),
    linear-gradient(180deg, var(--dusk), #050c22);
  overflow: hidden;
}
.band__inner {
  max-width: var(--wrap);
  margin-inline: auto;
}
.band__eyebrow {
  margin-bottom: 20px;
  color: var(--ember);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.band h2 {
  max-width: 17em;
  font-size: clamp(25px, 4.2vw, 50px);
  line-height: 1.14;
}
.band h2 em {
  font-style: normal;
  color: var(--ember);
}
.band p {
  max-width: 42em;
  margin-top: 22px;
  color: var(--mist);
  font-size: clamp(16px, 1.7vw, 18.5px);
}
.band__sign {
  margin-top: clamp(26px, 3vw, 38px) !important;
  color: var(--sand) !important;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(19px, 2.5vw, 29px);
  letter-spacing: -0.02em;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: clamp(32px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
}
.cities li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--mist);
  font-size: 15px;
}
.cities li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(53, 224, 210, 0.5);
  animation: pulse 3s ease-out infinite;
}
.cities li:nth-child(2)::before {
  animation-delay: 0.35s;
}
.cities li:nth-child(3)::before {
  animation-delay: 0.7s;
}
.cities li:nth-child(4)::before {
  animation-delay: 1.05s;
}
.cities li:nth-child(5)::before {
  animation-delay: 1.4s;
}
.cities li:nth-child(6)::before {
  animation-delay: 1.75s;
}
.cities li:nth-child(7)::before {
  animation-delay: 2.1s;
}
.cities li:nth-child(8)::before {
  animation-delay: 2.45s;
}
.cities__note {
  margin-top: 16px !important;
  font-size: 14px !important;
}

/* ---------- Безпека ---------- */

/* Сітка на волосяних лініях, а не чотири окремі коробки. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1px;
  margin-top: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.card {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(6, 15, 38, 0.94);
  transition: background 0.28s ease;
}
.card:hover {
  background: rgba(12, 28, 68, 0.94);
}
.card__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* «18+» намальоване лініями читалось як «IP» — тому набираємо текстом. */
.card__icon text {
  fill: var(--signal);
  stroke: none;
  font-family: 'Manrope', sans-serif;
  font-size: 8px;
  font-weight: 700;
  text-anchor: middle;
}
.card h3 {
  margin-bottom: 10px;
  font-size: 17.5px;
}
.card p {
  color: var(--mist);
  font-size: 15.5px;
}

/* ---------- Питання ---------- */

.faq {
  max-width: 52em;
  margin-top: clamp(22px, 3vw, 32px);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--sand);
  font-size: 17.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color 0.18s ease;
}
.faq summary:hover {
  color: var(--ember);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  color: var(--ember);
  font-size: 24px;
  font-weight: 400;
  transition: rotate 0.22s ease;
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq p {
  max-width: 46em;
  padding: 0 0 24px;
  color: var(--mist);
}

/* ---------- Фінал ---------- */

.final {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(76px, 10vw, 140px) 24px;
  text-align: center;
}
.final__echo {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: -1;
  /* Раніше було 120vw — коло вилазило за екран. Тепер прив'язане
     до ширини секції, тож бокової прокрутки не створює. */
  width: min(100%, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(160, 185, 235, 0.16);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 123, 255, 0.16),
    transparent 64%
  );
}
.final__echo::before,
.final__echo::after {
  content: '';
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(160, 185, 235, 0.16);
  border-radius: 50%;
}
.final__echo::after {
  inset: 38%;
}
.final h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4.4vw, 52px);
}
.final p {
  margin-bottom: 30px;
  color: var(--mist);
  font-size: clamp(16px, 1.8vw, 19px);
}
.final .cta__note {
  margin-top: 18px;
}

/* ---------- Підвал ---------- */

.footer {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 72px) 24px 56px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.footer__pitch {
  max-width: 34em;
  margin-top: 16px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.55;
}
.footer__col h2 {
  margin-bottom: 16px;
  color: var(--sand);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.footer__col ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-size: 14.5px;
}
.footer__col a {
  text-decoration: none;
  transition: color 0.16s ease;
}
.footer__col a:hover {
  color: var(--signal);
}
.footer__soon {
  opacity: 0.6;
}
.footer__where {
  margin-top: 16px;
  color: var(--mist);
  font-size: 13.5px;
  opacity: 0.8;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  font-family: 'Unbounded', sans-serif;
  letter-spacing: 0.04em;
  font-size: 19px;
}

@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__about {
    grid-column: span 2;
  }
}
.footer__brand img {
  border-radius: 9px;
}
.footer__tagline {
  margin-top: 16px;
  font-family: 'Unbounded', sans-serif;
  font-size: 17px;
  color: var(--snow);
}
.footer__tagline b {
  color: var(--signal);
  font-weight: 600;
}
.footer__tagline i {
  font-style: normal;
  color: #7fb2ff;
}
.footer__legal {
  color: var(--mist);
  font-size: 13.5px;
}

/* ---------- Поява під час прокручування ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Вузькі екрани ---------- */

@media (max-width: 1000px) {
  /* Порядок на телефоні: статус → заголовок → пояснення → кнопка →
     заняття → радар → магазини. Щоб радар став між чипами й магазинами,
     колонка тексту «розчиняється» і всі елементи стають прямими
     сусідами — тоді ними можна керувати через order. */
  .hero {
    display: flex;
    flex-direction: column;
    /* align-items успадкувався б від десктопної сітки і центрував би
       елементи по ширині — тоді стрічка чипів вилазила б з обох боків. */
    align-items: stretch;
    gap: 0;
  }
  .hero__copy {
    display: contents;
  }
  .hero__copy > *,
  .hero__radar {
    min-width: 0;
  }
  .hero__radar {
    order: 1;
    margin-top: clamp(30px, 6vw, 46px);
    margin-inline-end: 0;
  }
  .stores {
    order: 2;
    margin-top: clamp(26px, 5vw, 34px);
  }
  .radar {
    width: min(100%, 360px);
  }
  /* На вузькому екрані картки не мають закривати знак у центрі. */
  .beacon--1 {
    top: -1%;
    left: -3%;
  }
  /* На телефоні лишаємо дві картки: п'ять просто накрили б знак.
     Ротація сама пропускає приховані позиції. */
  .beacon--2,
  .beacon--4,
  .beacon--5 {
    display: none;
  }
  .beacon--3 {
    bottom: -1%;
    left: auto;
    right: -3%;
  }
  .beacon__text b {
    font-size: 13px;
  }
  .route {
    grid-template-columns: 1fr;
  }
  .route__map {
    order: -1;
    margin-inline-end: 0;
  }
  .recognise__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Риска «далі» має сенс лише в одному рядку. */
  .flow__list li::after {
    display: none;
  }
  /* Телефони стають каруселлю — інакше секція розтягується на три екрани. */
  .phones {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    gap: 16px;
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    perspective: none;
  }
  .phone {
    scroll-snap-align: center;
  }
  .phone__frame,
  .phone--lift .phone__frame {
    --ry: 0deg;
    --ty: 0;
  }
  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  /* Панель із дією — тільки на телефоні. */
  .stickycta {
    display: flex;
  }
  /* Щоб панель не накрила останній рядок довгих секцій. */
  .footer {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  .radar {
    width: min(100%, 300px);
  }
  .radar__logo {
    width: 78px;
  }
  /* «Зустрічаємось» — задовге слово, у дві колонки на телефоні
     воно не влазить і розпирає сітку. */
  .flow__list {
    grid-template-columns: 1fr;
  }
  /* Одна охайна стрічка з прокруткою замість двох рядів чипів. */
  .picks__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    /* Щоб крайній чип не обрізався об край екрана. */
    margin-inline: -24px;
    padding-inline: 24px;
  }
  .picks__row::-webkit-scrollbar {
    display: none;
  }
  .pick {
    scroll-snap-align: start;
  }
}

/* ---------- Менше руху ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Обнулена тривалість зламала б ці три — вимикаємо їх повністю. */
  .marquee__track {
    animation: none !important;
  }
  .marquee {
    overflow-x: auto;
  }
  .map__route {
    stroke-dashoffset: 0;
  }
  .map__runner,
  .atmo__glow,
  .radar__sweep,
  .radar__ring {
    animation: none !important;
  }
}
