/* ==========================================================================
   VIN-WIN — стилі лендингу. Mobile-first: базові правила для телефону,
   ширші екрани підключаються через @media (min-width).
   ========================================================================== */

/* ---------- Токени ---------- */
:root {
  /* Колір: темно-синій «ink» + неоновий лайм з логотипа */
  --ink: #0A0F1E;        /* фон сторінки */
  --ink-2: #10172B;      /* панелі */
  --ink-3: #18213A;      /* підняті елементи */
  --line: #26304C;       /* лінії та рамки */
  --lime: #C8F31D;       /* акцент: кнопки, вигода, коди OEM */
  --lime-hi: #DAFF4A;    /* акцент при наведенні */
  --white: #FFFFFF;      /* заголовки */
  --fog: #B4BAC8;        /* основний текст */
  --soft: #D5DAE4;       /* текст на панелях */
  --mute: #8791A8;       /* дрібні примітки */
  --slate: #55618A;      /* нейтральні смуги та контури */
  --deep: #070A14;       /* найтемніший низ сторінки */

  /* Градієнти */
  --grad-lime: linear-gradient(135deg, #E0FF4F 0%, #C8F31D 45%, #A2E016 100%);   /* кнопки, акценти */
  --grad-panel: linear-gradient(180deg, #151D36 0%, #0E1528 100%);               /* панелі */
  --grad-rule: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent) 1; /* лінії між секціями */

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--white); text-wrap: balance; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.875rem);
  font-stretch: 115%;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18em;
}

h3 {
  font-size: 1.1875rem;
  font-stretch: 108%;
  font-weight: 700;
  line-height: 1.25;
}

.wrap {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: var(--r-s);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-m);
  font: 700 1rem/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease,
              box-shadow .2s ease, filter .2s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn__icon { width: 22px; height: 22px; flex: none; }

/* Дві рівнозначні основні кнопки (WhatsApp / Telegram) */
.btn--wa,
.btn--tg {
  background: var(--lime) var(--grad-lime);
  color: var(--ink);
  box-shadow: 0 10px 26px -14px rgba(200, 243, 29, .7);
}
.btn--wa:hover,
.btn--tg:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 34px -10px rgba(200, 243, 29, .75);
}

.btn--ghost {
  border-color: var(--slate);
  color: var(--white);
}
.btn--ghost .btn__icon { color: var(--lime); }
.btn--ghost:hover { border-color: var(--lime); background: rgba(200, 243, 29, .08); }

.btn--compact {
  min-height: 44px;
  padding: 0 16px;
  border-color: var(--lime);
  color: var(--lime);
  font-size: .9375rem;
}
.btn--compact:hover { background: var(--lime); color: var(--ink); }

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cta .btn { flex: 1 1 270px; }
.cta--quiet { margin-top: 0; }
.cta--center {
  justify-content: center;
  max-width: 640px;
  margin-inline: auto;
  margin-top: 32px;
}

/* ---------- 3.1 Плашка акції ---------- */
.promo {
  background: var(--lime) linear-gradient(90deg, #AEE81A 0%, #DBFF45 50%, #AEE81A 100%);
  color: var(--ink);
  text-align: center;
}
.promo p {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
  padding: 10px 0;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}
.promo__left {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Шапка ---------- */
.top {
  background: var(--ink);
  border-bottom: 1px solid transparent;
}
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
/* У логотипа чорний фон — screen робить його прозорим на темному тлі */
.brand__mark { mix-blend-mode: screen; }
.brand__name {
  color: var(--white);
  font-size: 1.125rem;
  font-stretch: 122%;
  font-weight: 800;
  letter-spacing: .01em;
}
.top__nav { display: none; }

/* ---------- 3.2 Головний екран ---------- */
.hero {
  padding: 20px 0 56px;
  /* лаймове світіння праворуч + холодне синє ліворуч; верхній край лишається
     кольору шапки, щоб не було шва */
  background:
    radial-gradient(60% 55% at 90% 40%, rgba(200, 243, 29, .11), transparent 70%),
    radial-gradient(55% 60% at 0% 55%, rgba(64, 96, 214, .20), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #0C1328 55%, var(--ink) 100%);
}
.hero__grid {
  display: grid;
  gap: 40px;
}
.hero__title {
  font-size: clamp(2.125rem, 1.2rem + 4.6vw, 4.25rem);
  font-stretch: 118%;
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero__title-2 {
  display: block;
  margin-top: .55em;
  font-size: clamp(1.1875rem, .95rem + 1.2vw, 1.75rem);
  font-stretch: 104%;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
}
.hero__sub {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1.0625rem;
}
.callout {
  max-width: 36em;
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  background: var(--ink-2) linear-gradient(90deg, rgba(200, 243, 29, .12) 0%, rgba(200, 243, 29, 0) 60%);
  color: var(--soft);
  line-height: 1.5;
}
.callout strong { color: var(--lime); font-weight: 700; }

/* Приклад переписки */
.chat {
  width: 100%;
  max-width: 440px;
  justify-self: center;
  overflow: hidden;
  /* градієнтна рамка: неоновий відблиск у верхньому лівому куті */
  border: 1px solid transparent;
  border-radius: var(--r-l);
  background:
    var(--grad-panel) padding-box,
    linear-gradient(150deg, rgba(200, 243, 29, .75) 0%, var(--line) 38%, var(--line) 100%) border-box;
  box-shadow: 0 40px 90px -45px rgba(200, 243, 29, .45);
}
.chat__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-3) linear-gradient(90deg, #18213A 0%, #1E2A4E 100%);
}
.chat__bar img { mix-blend-mode: screen; }
.chat__who {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}
.chat__who small {
  display: block;
  color: var(--mute);
  font-size: .75rem;
  font-weight: 400;
}
.chat__body {
  display: grid;
  gap: 12px;
  padding: 18px 16px 20px;
}
.msg {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: .9375rem;
  line-height: 1.45;
}
.msg p + p { margin-top: 6px; }
.msg--out {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: #223058 linear-gradient(135deg, #2D3F75 0%, #1F2C54 100%);
  color: var(--white);
}
.msg--in {
  justify-self: start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  background: var(--ink-3);
  color: var(--soft);
}
.vin {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .3);
  font: 500 .875rem/1.3 var(--mono);
  letter-spacing: .12em;
  white-space: nowrap;
}
.msg__hint { color: #A9B4D0; font-size: .75rem; }
.oem {
  color: var(--lime);
  font: 500 clamp(1.375rem, 1rem + 1.6vw, 1.75rem)/1.2 var(--mono);
  letter-spacing: .04em;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(200, 243, 29, .45);
}
/* «Друкує…» і відповідь лежать в одній клітинці, щоб нічого не стрибало */
.chat__reply { display: grid; }
.chat__reply > * { grid-area: 1 / 1; }
.msg--typing {
  display: flex;
  gap: 5px;
  align-self: start;
  justify-self: start;
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  opacity: 0;
}
.msg--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mute);
}

/* Єдина «постановочна» анімація сторінки: повідомлення → друкує → номер */
.js .chat:not(.is-playing) .msg--out,
.js .chat:not(.is-playing) .msg--in { opacity: 0; }
.chat.is-playing .msg--out { animation: msg-in .45s .2s both; }
.chat.is-playing .msg--typing { animation: typing 1.5s .9s both; }
.chat.is-playing .msg--typing i { animation: dot 1s infinite; }
.chat.is-playing .msg--typing i:nth-child(2) { animation-delay: .15s; }
.chat.is-playing .msg--typing i:nth-child(3) { animation-delay: .3s; }
.chat.is-playing .msg--in { animation: msg-in .45s 2.4s both; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes typing {
  0%, 100% { opacity: 0; }
  15%, 85% { opacity: 1; }
}
@keyframes dot {
  0%, 60%, 100% { opacity: .35; }
  30% { opacity: 1; }
}

/* ---------- Секції ---------- */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-image: var(--grad-rule);   /* лінія згасає до країв */
}
.section--raised {
  background:
    radial-gradient(45% 70% at 85% 50%, rgba(200, 243, 29, .06), transparent 70%),
    linear-gradient(180deg, #131B33 0%, var(--ink) 100%);
}

/* ---------- 3.3 Проблема ---------- */
.lede { max-width: 44rem; font-size: 1.0625rem; }
.lede h2 { margin-bottom: 20px; }
.lede p + p { margin-top: 12px; }

.compare {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
.search {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--ink-2) var(--grad-panel);
}
.search--oem {
  border-color: transparent;
  background:
    linear-gradient(180deg, #17203A 0%, #0E1528 100%) padding-box,
    linear-gradient(155deg, var(--lime) 0%, rgba(200, 243, 29, .18) 55%, rgba(200, 243, 29, .45) 100%) border-box;
  box-shadow: 0 30px 70px -50px rgba(200, 243, 29, .6);
}
.search h3 {
  color: var(--fog);
  font-size: .9375rem;
  font-stretch: 100%;
  font-weight: 600;
}
.search__box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
}
.search__box::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238791A8' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.6-4.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.search__box--code {
  color: var(--lime);
  font: 500 1rem/1.5 var(--mono);
  letter-spacing: .04em;
}
.search__cap {
  margin-top: 18px;
  color: var(--mute);
  font-size: .8125rem;
}
.search__list {
  margin-top: 6px;
  padding: 0;
  list-style: none;
}
.search__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.35;
}
.search__list em {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink-3);
  color: var(--mute);
  font-size: .75rem;
  font-style: normal;
  white-space: nowrap;
}
.search__list--bars li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
  color: var(--soft);
}
.search__list--bars i {
  display: block;
  width: var(--w);
  height: 10px;
  border-radius: 999px;
  background: var(--slate) linear-gradient(90deg, #6676AB 0%, #46527A 100%);
}
.search__list--bars .is-best { color: var(--white); font-weight: 600; }
.search__list--bars .is-best i {
  background: var(--lime) var(--grad-lime);
  box-shadow: 0 0 14px rgba(200, 243, 29, .45);
}
.search__verdict {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--white);
  font-weight: 600;
}
.fineprint {
  margin-top: 12px;
  color: var(--mute);
  font-size: .8125rem;
}
.punch {
  max-width: 22em;
  margin-top: 48px;
  color: var(--white);
  font-size: clamp(1.375rem, 1rem + 1.8vw, 2rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

/* ---------- 3.4 Кроки ---------- */
.steps {
  display: grid;
  gap: 28px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: 3.75rem 1fr;
  column-gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
/* Контурна цифра — відсилка до контурного напису в логотипі */
.step__num {
  grid-row: 1 / span 2;
  color: transparent;
  font-size: 4.25rem;
  font-stretch: 125%;
  font-weight: 800;
  line-height: .85;
  -webkit-text-stroke: 1.5px var(--lime);
}
.step h3 { margin-bottom: 6px; font-size: 1.3125rem; }

/* ---------- 3.5 Переваги ---------- */
.reasons { margin-top: 32px; }
.reason {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason dt {
  color: var(--white);
  font-size: 1.25rem;
  font-stretch: 110%;
  font-weight: 700;
  line-height: 1.25;
}
.reason dd { max-width: 38rem; font-size: 1.0625rem; }

/* ---------- 3.6 Same part, different box ---------- */
.hack { display: grid; gap: 44px; }
.hack__copy h2 { margin-bottom: 20px; }
.hack__copy p + p { margin-top: 12px; }
.hack__copy h2 + p { color: var(--white); font-size: 1.1875rem; font-weight: 600; }

.boxes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 520px;
}
.box__carton {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .92;
  padding: 26% 10px 10px;
  border: 1.5px solid var(--slate);
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(180deg, #1C2644, #131B33);
}
.box__carton::before {      /* лінія клапана коробки */
  content: "";
  position: absolute;
  inset: 20% 0 auto;
  border-top: 1.5px solid var(--slate);
}
.box__carton::after {       /* скотч */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 34%;
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}
.box__badge {
  padding: 6px 8px;
  border: 1px dashed var(--mute);
  border-radius: 6px;
  color: var(--soft);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.box__price {
  display: block;
  margin-top: 10px;
  color: var(--fog);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.box--maker .box__carton,
.box--maker .box__carton::before { border-color: var(--lime); }
.box--maker .box__carton {
  background: linear-gradient(180deg, rgba(200, 243, 29, .16) 0%, #131B33 75%);
  box-shadow: 0 24px 50px -30px rgba(200, 243, 29, .6);
}
.box--maker .box__carton::after { border-color: rgba(200, 243, 29, .5); background: rgba(200, 243, 29, .16); }
.box--maker .box__badge { border: 1px solid var(--lime); color: var(--lime); }
.box--maker .box__price { color: var(--lime); }
.boxes__eq {
  padding-bottom: 2rem;
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* ---------- 3.7 Ціни ---------- */
.pricing {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}
.fee { color: var(--white); line-height: .9; }
.fee__from {
  display: block;
  margin-bottom: 8px;
  color: var(--fog);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.fee__num {
  color: var(--lime);
  font-size: clamp(5.5rem, 3rem + 11vw, 9rem);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.03em;
}
/* Градієнт по самій цифрі; якщо браузер не вміє — лишається суцільний лайм */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fee__num {
    display: inline-block;
    padding-right: .05em;
    background: linear-gradient(180deg, #EAFF70 8%, #C8F31D 48%, #86CC14 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(200, 243, 29, .25));
  }
}
.fee__of {
  margin: 10px 0 20px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.ticks {
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.ticks li { position: relative; padding-left: 22px; }
.ticks li + li { margin-top: 6px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 2px;
  background: var(--lime);
}
.pricing__vs {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--ink-2) var(--grad-panel);
}
.pricing__vs h3 { margin-bottom: 22px; }
.pricing__vs > p { margin-top: 22px; color: var(--soft); }
.meter + .meter { margin-top: 18px; }
.meter__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.meter__label b { color: var(--white); font-size: 1.125rem; white-space: nowrap; }
.meter__track {
  height: 14px;
  border-radius: 999px;
  background: var(--ink);
}
.meter__bar {
  display: block;
  height: 100%;
  border-radius: 999px;
}
/* Шкала = 40%. Суцільна частина — 25%, штриховка — діапазон 25–40% */
.meter__bar--garage {
  width: 100%;
  background:
    linear-gradient(90deg, var(--slate) 62.5%, transparent 62.5%),
    repeating-linear-gradient(135deg, var(--slate) 0 4px, #2F3A5E 4px 8px);
}
.meter__bar--us {
  width: 12.5%;
  background: var(--lime) var(--grad-lime);
  box-shadow: 0 0 16px rgba(200, 243, 29, .5);
}
.meter:nth-of-type(2) .meter__label b { color: var(--lime); }

.offer {
  margin-top: 32px;
  padding: 16px 20px;
  border: 1.5px dashed rgba(200, 243, 29, .6);
  border-radius: var(--r-m);
  background: linear-gradient(90deg, rgba(200, 243, 29, .12) 0%, rgba(200, 243, 29, 0) 75%);
  color: var(--white);
}
.offer strong { color: var(--lime); }

/* ---------- 3.8 Каталоги та оплата ---------- */
.duo { display: grid; gap: 44px; }
.duo h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2) var(--grad-panel);
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
}
.chips .chips__more {
  padding-inline: 4px;
  border-color: transparent;
  background: none;
  color: var(--fog);
  font-weight: 400;
}

/* ---------- 3.9 Менеджер ---------- */
.manager { display: grid; gap: 24px; }
.manager p { margin-top: 12px; font-size: 1.0625rem; }

/* ---------- 3.10 FAQ ---------- */
.faq { display: grid; gap: 24px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {        /* плюс, що стає хрестиком */
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--lime), var(--lime)) center / 100% 2px no-repeat,
    linear-gradient(var(--lime), var(--lime)) center / 2px 100% no-repeat;
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { max-width: 40rem; padding-bottom: 22px; }

/* ---------- 3.11 Фінальний заклик ---------- */
.closing {
  padding: 56px 0 80px;
  border-top: 1px solid var(--line);
  border-image: var(--grad-rule);
  background:
    radial-gradient(55% 55% at 50% 26%, rgba(200, 243, 29, .16), transparent 70%),
    radial-gradient(60% 45% at 50% 62%, rgba(64, 96, 214, .14), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
  text-align: center;
}
.closing__mark {
  width: clamp(190px, 44vw, 280px);
  height: auto;
  margin-inline: auto;
  mix-blend-mode: screen;
}
.closing__title {
  max-width: 15em;
  margin: 8px auto 0;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem);
}
.closing__sub {
  max-width: 34em;
  margin: 16px auto 0;
  font-size: 1.125rem;
}

/* ---------- Підвал ---------- */
.foot {
  padding: 32px 0 124px;   /* запас під нижню панель на телефоні */
  border-top: 1px solid var(--line);
  border-image: var(--grad-rule);
  background: var(--deep);
  color: var(--mute);
  font-size: .875rem;
}
.foot p { max-width: 46rem; }
.foot p + p { margin-top: 8px; }
.foot__brand {
  color: var(--white);
  font-size: 1rem;
  font-stretch: 122%;
  font-weight: 800;
}

/* ---------- Нижня панель (тільки телефон) ---------- */
.dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 23, 43, .96) 0%, rgba(7, 10, 20, .98) 100%);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s .25s;
}
.dock.is-on {
  transform: none;
  visibility: visible;
  transition: transform .25s ease;
}
.dock .btn { min-height: 50px; padding: 0 12px; }

/* ==========================================================================
   Ширші екрани
   ========================================================================== */
@media (min-width: 480px) {
  .search__list--bars li { grid-template-columns: 12rem 1fr; gap: 12px; }
}

@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 20px; }
  .search { padding: 24px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { display: block; }
  .step__num { display: block; margin-bottom: 20px; font-size: 5.5rem; }

  .reason { grid-template-columns: 20rem 1fr; gap: 40px; align-items: baseline; }

  .duo { grid-template-columns: 1fr 1fr; }
  .boxes__eq { font-size: .9375rem; }
}

@media (min-width: 960px) {
  html { scroll-padding-top: 96px; }
  .wrap { width: min(100% - 64px, 1120px); }

  .top {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom-color: var(--line);
  }
  .top__nav {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 16px;
  }
  .top__nav a {
    padding: 10px 0;
    color: var(--soft);
    font-weight: 500;
    text-decoration: none;
  }
  .top__nav a:hover { color: var(--lime); }

  .hero { padding: 56px 0 96px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: 64px;
  }
  .chat { justify-self: end; }

  .section { padding: 104px 0; }
  .compare { margin-top: 56px; }
  .punch { margin-top: 64px; }

  .hack { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
  .boxes { justify-self: end; width: 100%; }

  .pricing { grid-template-columns: 5fr 7fr; align-items: start; gap: 72px; }
  .pricing__vs { padding: 32px; }

  .manager { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .manager .cta { flex-wrap: nowrap; }
  .manager .cta .btn { flex: none; }

  .faq { grid-template-columns: 20rem 1fr; gap: 64px; }

  .closing { padding: 80px 0 120px; }
  .foot { padding-bottom: 48px; }
  .dock { display: none; }
}

/* ---------- Менше руху, якщо користувач так налаштував ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .chat .msg--out,
  .js .chat .msg--in { opacity: 1 !important; }
}
