/* Vitrine, главная V4. Написано с нуля.
   Образ: витрина в сумерках. Тёмно-фиолетовая улица, тёплый свет окна, светлые «этажи» секций. */

:root {
  --night: #100a22;
  --dusk: #1b1235;
  --dusk-2: #271a4d;
  --dusk-line: rgba(200, 186, 255, .18);
  --milk: #f2f0f8;
  --white: #ffffff;
  --ink: #171126;
  --ink-2: #5f5874;
  --line: #e0dcec;
  --lamp: #ffd23f;
  --lamp-deep: #f4b91a;
  --lilac: #b9a6ff;
  --ig: linear-gradient(45deg, #ffb13d, #ff5c6c 45%, #c13ed6 75%, #6a4df5);

  --sans: 'Geologica', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant', 'Times New Roman', serif;

  --r-card: clamp(24px, 3vw, 44px);
  --gap: clamp(8px, 1vw, 14px);
  --pad: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(.6, 0, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: var(--gap);
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }

em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }

/* ───── Карточки-секции ───── */
.card { border-radius: var(--r-card); margin-bottom: var(--gap); position: relative; }
.card--white { background: var(--white); }
.card--milk { background: var(--milk); }
.card--dusk { background: var(--dusk); color: var(--white); }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--pad); }
main > .card { padding-block: clamp(64px, 9vw, 136px); }

.h2 { font-size: clamp(32px, 4.5vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.h2 em { font-size: 1.12em; line-height: .9; }
.h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.card--dusk .lead { color: rgba(255, 255, 255, .72); }

.head { margin-bottom: clamp(36px, 5vw, 72px); max-width: 900px; }
.head--row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; max-width: none; }
.head--center { text-align: center; margin-inline: auto; max-width: 980px; }
.head--center .lead { margin: 24px auto 0; max-width: 58ch; }

/* ───── Кнопки ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--lamp { background: var(--lamp); color: var(--ink); box-shadow: 0 10px 34px -10px rgba(255, 210, 63, .75); }
.btn--lamp:hover { background: #ffdc63; box-shadow: 0 14px 44px -8px rgba(255, 210, 63, .9); }
.btn--ghost { min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--white); background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2b2145; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

.tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.tag--on { background: var(--lamp); color: var(--ink); }
.tag--on::before { background: var(--ink); }
.tag--soon { color: var(--lilac); box-shadow: inset 0 0 0 1.2px rgba(185, 166, 255, .6); }
.tag--soon::before { box-shadow: inset 0 0 0 1.5px var(--lilac); }

/* ───── Первый экран ───── */
.hero {
  background:
    radial-gradient(90% 70% at 78% 58%, rgba(124, 92, 255, .38), transparent 62%),
    radial-gradient(60% 50% at 8% 0%, rgba(255, 110, 140, .16), transparent 60%),
    var(--dusk);
  color: var(--white);
  min-height: calc(100svh - var(--gap) * 2);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--pad) 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.03em; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 15.5px; }
.nav__links a { text-decoration: none; color: rgba(255, 255, 255, .74); transition: color .2s; }
.nav__links a:hover { color: var(--white); }

.hero__grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vh, 56px) var(--pad) clamp(36px, 6vh, 72px);
  width: min(1560px, 100%); margin-inline: auto;
}
.hero__title { text-wrap: balance; font-size: clamp(40px, 4.5vw, 78px); line-height: .98; font-weight: 600; letter-spacing: -.045em; }
.hero__title em { display: block; font-size: 1.16em; line-height: .92; color: var(--lamp); letter-spacing: -.025em; margin-top: .06em; }
.hero__lead { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(17px, 1.35vw, 20.5px); line-height: 1.5; color: rgba(255, 255, 255, .76); max-width: 35em; }

.ask {
  margin-top: clamp(24px, 3vw, 40px);
  display: flex; align-items: center; gap: 4px;
  width: min(520px, 100%); padding: 7px 7px 7px 22px;
  background: var(--white); color: var(--ink); border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); transition: box-shadow .25s;
}
.ask:focus-within { box-shadow: 0 0 0 4px rgba(255, 210, 63, .5); }
.ask__at { font-size: 20px; font-weight: 500; color: var(--ink-2); }
.ask input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: none; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.ask input::placeholder { color: #a8a2ba; font-weight: 400; }
.ask.is-bad { animation: shake .4s; }
.ask__error { margin-top: 10px; font-size: 14.5px; color: #ffb4a8; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

.promises { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.promises li { display: inline-flex; align-items: center; gap: 7px; }
.promises svg { width: 18px; height: 18px; color: var(--lamp); }

/* Сцена: профиль превращается в сайт */
.hero__show { min-width: 0; }
.stage { position: relative; padding: 0 0 19% 25%; }
.stage__lamp {
  position: absolute; inset: -12% -18% -6% -4%; pointer-events: none;
  background: radial-gradient(50% 50% at 56% 46%, rgba(255, 210, 63, .62), rgba(255, 150, 70, .22) 45%, transparent 70%);
  opacity: .8; transition: opacity 1.1s ease;
}
.stage.is-dark .stage__lamp { opacity: .08; }

.browser {
  position: relative; border-radius: clamp(12px, 1.3vw, 20px); overflow: hidden;
  background: #0d0820; box-shadow: 0 40px 90px -30px rgba(5, 0, 25, .9), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotate(1.4deg);
}
.browser__bar { display: flex; align-items: center; gap: 14px; height: clamp(30px, 3vw, 42px); padding: 0 14px; background: #2a1f4d; }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.browser__url { flex: 1; min-width: 0; height: 64%; display: flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .09); font-size: clamp(9.5px, .85vw, 12.5px); color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; }
.browser__view { position: relative; aspect-ratio: 1280 / 800; background: #150e2c; }
.browser__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease, transform 1.1s var(--ease), filter .9s ease; }
.stage.is-dark .browser__view img { opacity: 0; transform: scale(1.04); filter: brightness(.4); transition-duration: .35s; }
.browser__empty { position: absolute; inset: 0; display: grid; align-content: center; gap: 4%; padding: 0 9%; }
.browser__empty span { height: 9%; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.browser__empty span:nth-child(1) { width: 62%; height: 12%; }
.browser__empty span:nth-child(2) { width: 44%; }
.browser__empty span:nth-child(3) { width: 22%; border-radius: 999px; background: rgba(255, 210, 63, .2); }

.phone {
  --u: clamp(7px, .76vw, 11.5px);
  position: absolute; left: 0; bottom: 0; width: calc(var(--u) * 21); font-size: var(--u);
  padding: 1.3em 1em 1em; border-radius: 2.6em; background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(5, 0, 25, .85), 0 0 0 .5em #0d0820, 0 0 0 .58em rgba(255, 255, 255, .16);
  transform: rotate(-5deg); transform-origin: 30% 90%;
  transition: transform .6s var(--ease);
}
.stage.is-dark .phone { transform: rotate(-5deg) scale(1.03); }
.phone__top { display: flex; justify-content: space-between; align-items: center; font-size: 1.15em; letter-spacing: -.02em; }
.phone__top b { font-weight: 600; white-space: nowrap; overflow: hidden; max-width: 14em; }
.phone__menu { display: grid; gap: .22em; }
.phone__menu i { display: block; width: 1.1em; height: .13em; border-radius: 1px; background: var(--ink); }
.phone__head { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: .8em; margin-top: 1em; }
.phone__ava { width: 5em; height: 5em; padding: .22em; border-radius: 50%; background: var(--ig); }
.phone__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: .16em solid var(--white); }
.phone__stat { font-size: .82em; line-height: 1.25; text-align: center; color: var(--ink-2); }
.phone__stat b { display: block; font-size: 1.45em; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.phone__bio { margin-top: .8em; font-size: .92em; line-height: 1.3; min-height: 2.6em; }
.phone__bio b { display: block; font-weight: 600; }
.phone__bio span { color: var(--ink-2); }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .22em; margin-top: .9em; border-radius: .7em; overflow: hidden; }
.phone__grid img { aspect-ratio: 1; width: 100%; object-fit: cover; }

.stage__fly { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.stage__fly img { position: absolute; left: 0; top: 0; object-fit: cover; border-radius: 6px; will-change: transform, width, height, opacity; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }

.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: clamp(14px, 1.6vw, 24px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 5px;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8);
  font-size: 14px; font-weight: 500; cursor: pointer; position: relative; overflow: hidden; transition: background-color .2s, color .2s;
}
.chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.chip:hover { background: rgba(255, 255, 255, .15); }
.chip[aria-selected="true"] { background: var(--white); color: var(--ink); }
.chip[aria-selected="true"]::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lamp-deep); transform-origin: left; animation: chipfill var(--hold, 7s) linear both; }
.stage-paused .chip[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes chipfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ───── Примеры: две ленты ───── */
.examples { overflow: hidden; }
.rail { display: flex; width: max-content; gap: clamp(14px, 1.6vw, 24px); padding-inline: clamp(7px, .8vw, 12px); animation: rail 70s linear infinite; }
.rail--back { animation-direction: reverse; animation-duration: 84s; margin-top: clamp(14px, 1.6vw, 24px); }
.rail:hover, .rail:focus-within { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }

.site {
  display: block; width: clamp(280px, 27vw, 420px); text-decoration: none;
  background: var(--white); border-radius: 22px; padding: 10px 10px 16px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.site:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(27, 18, 53, .45); }
.site__shot { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--milk); }
.site__shot img { width: 100%; height: 100%; object-fit: cover; }
.site__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 8px 0; }
.site__ava { width: 42px; height: 42px; padding: 2px; border-radius: 50%; background: var(--ig); }
.site__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.site__name { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.2; letter-spacing: -.01em; }
.site__sub { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; margin-top: 2px; }
.site__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--milk); transition: background-color .2s, transform .3s var(--ease); }
.site:hover .site__go { background: var(--lamp); transform: rotate(-35deg); }
.site__go svg { width: 18px; height: 18px; }

/* ───── Три шага ───── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.step { position: relative; }
.step__art { aspect-ratio: 4 / 3; border-radius: 28px; background: var(--milk); display: grid; place-items: center; padding: 8%; margin-bottom: 26px; overflow: hidden; }
.step:nth-child(2) .step__art { background: var(--dusk); }
.step:nth-child(3) .step__art { background: var(--lamp); }
.step__n { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); font-weight: 600; font-size: 17px; }
.step > p { margin-top: 10px; color: var(--ink-2); max-width: 36ch; }

.v-field { display: flex; align-items: center; gap: 4px; width: 100%; height: 64px; padding: 0 24px; border-radius: 999px; background: var(--white); font-size: clamp(18px, 1.7vw, 24px); box-shadow: 0 18px 40px -22px rgba(27, 18, 53, .5); }
.v-field span { color: var(--ink-2); }
.v-field b { font-weight: 500; }
.v-field i { width: 2px; height: 28px; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.v-chat { width: 100%; display: grid; gap: 10px; font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.3; }
.v-chat p { padding: 13px 18px; border-radius: 20px; max-width: 88%; }
.v-chat__q { background: rgba(255, 255, 255, .16); color: var(--white); border-bottom-left-radius: 6px !important; }
.v-chat__a { background: var(--lamp); color: var(--ink); justify-self: end; border-bottom-right-radius: 6px !important; font-weight: 500; }
.v-link { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 14px 20px 14px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: clamp(12px, 1.05vw, 15px); font-weight: 500; transform: rotate(-3deg); box-shadow: 0 18px 36px -18px rgba(23, 17, 38, .7); }
.v-link svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--lamp); color: var(--ink); }
.v-link span { min-width: 0; overflow-wrap: anywhere; }

/* ───── Что Vitrine находит ───── */
.finds__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.finds .lead { margin-top: 24px; }
.avatars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.4vw, 48px); }
.ava { width: 64px; height: 64px; padding: 3px; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: transform .3s var(--ease), background .2s; }
.ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--milk); }
.ava:hover { transform: translateY(-3px); }
.ava[aria-selected="true"] { background: var(--ig); transform: scale(1.12); }

.finds__right { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 3 / 4.4; background: var(--line); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.dossier { transition: opacity .3s, transform .3s var(--ease); }
.finds.is-swap .dossier { opacity: 0; transform: translateY(8px); }
.finds.is-swap .arch img { opacity: 0; }
.dossier__who b { display: block; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.dossier__who span { font-size: 15px; color: var(--ink-2); }
.dossier__list { margin: 22px 0 26px; display: grid; gap: 0; }
.dossier__list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.dossier__list li:last-child { border-bottom: 1px solid var(--line); }
.dossier__list svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--lamp); }

/* ───── Что после сайта: этажи ───── */
.next { background: radial-gradient(70% 30% at 50% 0%, rgba(124, 92, 255, .3), transparent 70%), var(--dusk); }
.legend { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stack { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.floor {
  position: sticky; top: calc(18px + var(--i, 0) * 16px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 64px); align-items: center;
  min-height: min(460px, 62vh); padding: clamp(24px, 3.4vw, 52px); border-radius: clamp(24px, 2.6vw, 38px);
  box-shadow: 0 -18px 40px -24px rgba(8, 3, 28, .8);
}
.floor:nth-child(1) { --i: 0; } .floor:nth-child(2) { --i: 1; } .floor:nth-child(3) { --i: 2; } .floor:nth-child(4) { --i: 3; } .floor:nth-child(5) { --i: 4; }
.floor--on { background: var(--white); color: var(--ink); }
.floor--on:nth-child(2) { background: #fff6d6; }
.floor--soon { background: var(--dusk-2); color: var(--white); box-shadow: 0 -18px 40px -24px rgba(8, 3, 28, .8), inset 0 0 0 1px var(--dusk-line); }
.floor--soon:nth-child(4) { background: #312160; }
.floor--soon:nth-child(5) { background: #3b2873; }
.floor__title { margin-top: 20px; font-size: clamp(38px, 5vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.floor__lead { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 19.5px); line-height: 1.5; max-width: 34em; color: var(--ink-2); }
.floor--soon .floor__lead { color: rgba(255, 255, 255, .74); }
.floor__art { min-width: 0; display: grid; place-items: center; }
.v-note { font-size: 13px; color: rgba(255, 255, 255, .5); margin-top: 14px; }

.v-edit { position: relative; width: 100%; padding-bottom: 56px; }
.v-edit img { width: 100%; border-radius: 16px; box-shadow: 0 24px 50px -28px rgba(27, 18, 53, .6); }
.v-edit p { position: absolute; max-width: 78%; padding: 12px 17px; border-radius: 20px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.3; box-shadow: 0 14px 30px -14px rgba(27, 18, 53, .5); }
.v-edit__me { right: -8px; bottom: 58px; background: var(--ink); color: var(--white); border-bottom-right-radius: 6px !important; }
.v-edit__it { left: -8px; bottom: 0; background: var(--lamp); font-weight: 500; border-bottom-left-radius: 6px !important; }

.v-pack { width: 100%; display: grid; gap: 12px; }
.v-pack p { padding: 20px 24px; border-radius: 22px; }
.v-pack span:not(.sw) { display: block; font: 400 13.5px/1.3 var(--sans); letter-spacing: 0; color: var(--ink-2); margin-bottom: 8px; }
.v-pack__was { background: rgba(23, 17, 38, .06); font-size: 17px; color: var(--ink-2); width: 72%; }
.v-pack__now { background: #2a221c; color: #f6f2ec; font: 500 clamp(24px, 2.5vw, 38px)/1.08 var(--serif); letter-spacing: -.01em; }
.v-pack__now span:not(.sw) { color: rgba(246, 242, 236, .6); }
.v-pack__row { display: flex; align-items: center; gap: 8px; }
.sw { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23, 17, 38, .12); }
.v-pack__row img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; margin-left: auto; }

.v-sync { width: 100%; display: grid; grid-template-columns: .62fr auto 1fr; gap: clamp(10px, 1.4vw, 20px); align-items: center; }
.v-sync__post { position: relative; border-radius: 18px; overflow: hidden; padding: 3px; background: var(--ig); transform: rotate(-4deg); }
.v-sync__post img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 15px; }
.v-sync__post span { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 500; }
.v-sync__arrow { width: 28px; height: 28px; color: var(--lamp); }
.v-sync__site { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .08); }
.v-sync__site img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.v-sync__site .is-new { outline: 3px solid var(--lamp); outline-offset: 2px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { outline-color: rgba(255, 210, 63, .25); } }

.v-seo { width: 100%; }
.v-seo__q { display: inline-block; padding: 12px 22px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 16px; margin-bottom: 14px; }
.v-seo__res { padding: 22px 24px; border-radius: 22px; background: var(--white); color: var(--ink); }
.v-seo__res span { display: block; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.v-seo__res b { display: block; margin: 6px 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #2a3fc4; }
.v-seo__res p { font-size: 15px; line-height: 1.4; color: var(--ink-2); }

.v-lead { width: 100%; }
.v-lead__push { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 22px 40px -22px rgba(8, 3, 28, .8); }
.v-lead__push .brand__mark { width: 44px; height: 44px; padding: 9px; border-radius: 13px; background: var(--dusk); color: var(--white); }
.v-lead__push p { font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }
.v-lead__push b { display: block; color: var(--ink); font-weight: 600; }
.v-lead__bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 16px; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .07); }
.v-lead__bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--lilac); }
.v-lead__bars i:last-child { background: var(--lamp); }

/* ───── Ниши ───── */
.niches { padding: clamp(28px, 3.4vw, 52px) 0; color: var(--white); text-align: center; margin-bottom: var(--gap); }
.niches__cap { font-size: 15.5px; color: rgba(255, 255, 255, .62); padding-inline: var(--pad); margin-bottom: 20px; }
.ticker { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; align-items: center; gap: clamp(22px, 3vw, 44px); animation: rail 60s linear infinite; font-size: clamp(26px, 3.4vw, 50px); font-weight: 500; letter-spacing: -.035em; white-space: nowrap; }
.ticker__track .alt { font-family: var(--serif); font-style: italic; font-size: 1.14em; letter-spacing: -.01em; color: var(--lamp); }
.ticker__track i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .3); flex: none; }

/* ───── Тарифы ───── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 40px); border-radius: 30px; background: var(--milk); }
.plan--main { background: var(--dusk); color: var(--white); }
.plan--soon { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.plan--soon .tag--soon { color: #6a4df5; box-shadow: inset 0 0 0 1.2px #6a4df5; }
.plan--soon .tag--soon::before { box-shadow: inset 0 0 0 1.5px #6a4df5; }
.plan__name { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.plan__price b { font-size: clamp(48px, 5vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.plan__price span { color: var(--ink-2); }
.plan--main .plan__price span, .plan--main .plan__for { color: rgba(255, 255, 255, .7); }
.plan__for { margin-top: 12px; color: var(--ink-2); min-height: 3.1em; }
.plan ul { margin: 22px 0 32px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.35; }
.plan li svg { width: 22px; height: 22px; color: #6a4df5; }
.plan--main li svg { color: var(--lamp); }

/* ───── Вопросы ───── */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .h2 { position: sticky; top: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 1fr 36px; gap: 16px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 36px; height: 36px; border-radius: 50%; background: var(--white) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23171126' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lamp); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-2); max-width: 60ch; }

/* ───── Финал ───── */
.end { overflow: hidden; margin-bottom: 0; padding-top: clamp(72px, 10vw, 150px); background: radial-gradient(70% 60% at 50% 100%, rgba(255, 210, 63, .3), transparent 70%), var(--dusk); }
.end__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.end__title { font-size: clamp(34px, 5vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -.04em; max-width: 15em; text-wrap: balance; }
.end__title em { display: block; font-size: 1.16em; color: var(--lamp); margin-top: .08em; }
.ask--big { margin-top: clamp(28px, 3.6vw, 52px); width: min(600px, 100%); }
.end .ask__error { text-align: center; }
.end__note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.end__word { margin-top: clamp(28px, 5vw, 72px); text-align: center; font-size: 27.5vw; line-height: .78; font-weight: 700; letter-spacing: -.065em; color: transparent; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .85) 40%, rgba(255, 210, 63, .9) 100%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; margin-inline: -2vw; }
.end__foot { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 22px 26px; font-size: 14px; color: rgba(255, 255, 255, .6); position: relative; }
.end__foot span { margin-right: auto; }
.end__foot a { text-decoration: none; }
.end__foot a:hover { color: var(--white); }

/* ───── Боли ───── */
.pains .head { max-width: 1000px; }
.pains .head .lead { margin-top: 24px; max-width: 52ch; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.pain { display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 32px); border-radius: 30px; background: var(--white); }
.pain__art { height: 96px; display: flex; align-items: center; margin-bottom: 22px; }
.pain__art p { font-size: 15.5px; line-height: 1.3; }
.pain > p { margin-top: 10px; color: var(--ink-2); }
.p-bubble { position: relative; padding: 13px 18px 22px; border-radius: 20px 20px 20px 6px; background: var(--milk); font-weight: 500; transform: rotate(-2deg); }
.p-bubble time { position: absolute; right: 14px; bottom: 6px; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
.p-search { display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 17px !important; }
.p-search svg { color: var(--ink-2); }
.p-error { padding: 14px 18px; border-radius: 16px; background: #fff0ee; color: #a3392b; width: 100%; }
.p-error b { display: block; font-weight: 600; color: #7e2216; }
.p-date { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 500; transform: rotate(-3deg); }
.p-lock { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--ink); color: var(--white); font-weight: 500; }
.p-lock svg { color: #ff7d6b; }
.p-todo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 19px !important; font-weight: 500; }
.p-todo s { font-size: 14px; font-weight: 400; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: var(--milk); }
.pains__out { margin: clamp(36px, 5vw, 72px) auto 0; max-width: 30em; text-align: center; font: italic 500 clamp(26px, 3vw, 44px)/1.12 var(--serif); letter-spacing: -.01em; text-wrap: balance; }

/* ───── Было и стало ───── */
.swap { background: radial-gradient(60% 40% at 50% 100%, rgba(255, 210, 63, .2), transparent 70%), var(--dusk); }
.swap__table { max-width: 1080px; margin-inline: auto; }
.swap__cap, .swap__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.swap__cap { padding: 0 clamp(18px, 2vw, 30px) 14px; font-size: 14.5px; color: rgba(255, 255, 255, .55); }
.swap__cap span:last-child { color: var(--lamp); }
.swap__row { margin-bottom: clamp(8px, .9vw, 12px); }
.swap__row p { padding: clamp(16px, 1.7vw, 24px) clamp(18px, 2vw, 30px); border-radius: 22px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.35; }
.swap__row p:first-child { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .62); text-decoration: line-through; text-decoration-color: rgba(255, 125, 107, .7); text-decoration-thickness: 1.5px; }
.swap__row p:last-child { display: grid; grid-template-columns: 24px 1fr; gap: 12px; background: var(--white); color: var(--ink); font-weight: 500; }
.swap__row svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--lamp); }
.cta-line { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; font-size: 15px; color: rgba(255, 255, 255, .65); }

/* ───── Сравнение ───── */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.way { padding: clamp(20px, 2vw, 30px); border-radius: 28px; background: var(--milk); }
.way__name { display: flex; align-items: center; gap: 10px; min-height: 56px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.way dl { margin: 12px 0 0; }
.way dt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.way dd { margin: 5px 0 0; font-size: 16.5px; line-height: 1.35; font-weight: 500; }
.way--us { background: var(--lamp); box-shadow: 0 30px 60px -30px rgba(244, 185, 26, .9); transform: translateY(-14px); }
.way--us dt { border-top-color: rgba(23, 17, 38, .16); color: rgba(23, 17, 38, .66); }
.way--us .brand__mark { width: 36px; height: 36px; padding: 7px; border-radius: 11px; background: var(--dusk); color: var(--white); }

/* ───── Без риска ───── */
.safe { background: var(--lamp); padding-block: clamp(56px, 7vw, 104px); }
.safe__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.safe__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); }
.safe__list li { padding: clamp(18px, 1.8vw, 26px); border-radius: 24px; background: rgba(255, 255, 255, .55); font-size: 15.5px; line-height: 1.4; color: #4a3f1a; }
.safe__list b { display: block; margin-bottom: 6px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }

/* ───── Кнопка, которая едет за читателем на телефоне ───── */
.dock { display: none; }
.end__legal { flex-basis: 100%; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .38); max-width: 80ch; }


/* ───── Планшет ───── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__text { max-width: 640px; }
  .hero__show { width: min(720px, 100%); margin-inline: auto; }
  .phone { --u: clamp(7px, 1.35vw, 12px); }
  .browser__url { font-size: clamp(9px, 1.5vw, 12.5px); }
  .chips { justify-content: center; }
  .head--row { grid-template-columns: 1fr; }
  .finds__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .h2 { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan__for { min-height: 0; }
}

/* ───── Телефон ───── */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .btn--ghost { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .hero__title { font-size: clamp(38px, 11.4vw, 60px); }
  .ask { padding-left: 18px; }
  .ask input { height: 48px; font-size: 17px; }
  .ask .btn { padding: 0 18px; min-height: 48px; font-size: 15px; }
  .ask .btn svg { display: none; }
  .promises { gap: 6px 16px; font-size: 14px; }
  .stage { padding: 0 0 30% 6%; margin-top: 8px; }
  .phone { --u: 2.05vw; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step__art { aspect-ratio: 16 / 9; margin-bottom: 20px; }
  .finds__right { grid-template-columns: 1fr; }
  .arch { aspect-ratio: 4 / 3; border-radius: 160px 160px 24px 24px; }
  .ava { width: 54px; height: 54px; }
  .floor { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .v-edit__me { right: 0; } .v-edit__it { left: 0; }
  .faq details p { padding-right: 0; }
  .end__word { font-size: 29vw; }
}

@media (max-width: 1080px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr 1fr; }
  .way--us { transform: none; order: -1; grid-column: 1 / -1; }
  .safe__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain__art { height: auto; min-height: 64px; margin-bottom: 16px; }
  .swap__cap { display: none; }
  .swap__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 14px; }
  .swap__row p:first-child { border-radius: 22px 22px 0 0; padding-bottom: 12px; font-size: 15px; }
  .swap__row p:last-child { border-radius: 0 0 22px 22px; }
  .ways { grid-template-columns: 1fr; }
  .way__name { min-height: 0; }
  .safe__list { grid-template-columns: 1fr; }
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: var(--white);
    font-size: 14px; line-height: 1.2; text-decoration: none; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12);
    transition: transform .35s var(--ease), opacity .25s;
  }
  .dock[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; }
  .dock b { flex: none; padding: 11px 18px; border-radius: 999px; background: var(--lamp); color: var(--ink); font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail, .ticker__track, .v-field i, .v-sync__site .is-new, .chip[aria-selected="true"]::after { animation: none; }
  .rail { overflow-x: auto; width: auto; }
  * { transition-duration: .01ms !important; }
}
