/* Главная «за миллион» (18.10.2026). Поверх landing.css и landing2.css: одна система отступов и заголовков,
   первый экран с живым продуктом, три результата, лента «ещё умеет», лента мастера, спокойная экономия. */

.lp3 { --sp: clamp(72px, 9vw, 128px); --r: 28px; --panel: #F1EEE8; }
.lp3 > section { padding-top: var(--sp); }
.lp3 .brands-run, .lp3 .h3 { padding-top: 0; }
.lp3 .sec-head { gap: 12px; margin-bottom: clamp(28px, 4.5vw, 52px); }
.lp3 .sec-head h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.042em; }
.lp3 .sec-head p { font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; }
.lp3 .sec-head.center p { margin: 0 auto; }
.lp3 .reveal { transform: translateY(12px); transition-duration: .55s; }

/* ---------- первый экран ---------- */
.lp3 .h3 { max-width: 1280px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center;
           padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 88px); }
.h3-copy { display: flex; flex-direction: column; gap: 22px; }
.h3-title { font-size: clamp(40px, 5vw, 78px); line-height: 1; font-weight: 500; letter-spacing: -.05em; text-wrap: balance; }
.h3-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); max-width: 500px; text-wrap: pretty; }
.h3-stage { position: relative; height: clamp(600px, 56vw, 800px); }
.h3-glow { position: absolute; inset: 4% 2% 0; border-radius: 48px; pointer-events: none;
           background: radial-gradient(55% 50% at 60% 40%, rgba(10, 108, 255, .16) 0%, rgba(10, 108, 255, 0) 70%),
                       radial-gradient(45% 40% at 20% 85%, rgba(0, 200, 255, .14) 0%, rgba(0, 200, 255, 0) 70%),
                       linear-gradient(160deg, #F2F1EC, #E9E7E0); }
.h3-big { position: absolute; right: 7%; top: 2%; width: min(44%, 322px); z-index: 2; filter: drop-shadow(0 40px 60px rgba(20, 24, 40, .28)); }
.h3-small { position: absolute; left: 5%; bottom: 9%; width: min(31%, 226px); z-index: 3; filter: drop-shadow(0 30px 40px rgba(20, 24, 40, .3)); }
.js .h3-big { animation: h3In 1.1s .1s cubic-bezier(.2, .7, .2, 1) both; }
.js .h3-small { animation: h3In 1.1s .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes h3In { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.h3-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; background: #F7F5F1; }
.h3-chip { position: absolute; z-index: 4; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .86); color: var(--ink-2);
           font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 8px 24px -12px rgba(20, 24, 40, .35);
           backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.h3-chip.c1 { left: 5%; top: 10%; }
.h3-chip.c2 { left: 4%; bottom: 1%; }
.js .h3-chip { animation: h3In .8s 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.js .h3-chip.c2 { animation-delay: 1.5s; }

.vf-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto 0; padding: 0 var(--pad); font-size: 14px; color: var(--muted); text-align: center; }
.vf-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--dk, #0A6CFF); flex: none; }

/* ---------- три результата ---------- */
.out-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(18px, 3vw, 40px) 0; }
.out-row + .out-row { border-top: 1px solid var(--line); }
.out-row.flip .out-text { order: 2; }
.out-text { display: flex; flex-direction: column; gap: 14px; }
.out-text h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; text-wrap: balance; }
.out-text p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--muted); max-width: 440px; text-wrap: pretty; }
.out-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--dk, #0A6CFF); }
.out-go svg { transition: transform .2s ease; }
.out-go:hover svg { transform: translateX(3px); }
.out-vis { position: relative; display: grid; place-items: center; padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--panel);
           background-image: radial-gradient(60% 55% at 50% 40%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 72%); }
.out-phone { width: min(62%, 300px); filter: drop-shadow(0 30px 50px rgba(20, 24, 40, .22)); }

/* ---------- офис ---------- */
.lp3 .aio-frame { max-width: 1100px; margin: 0 auto; }
.lp3 .aio-team { margin-top: clamp(20px, 3vw, 36px); }

/* ---------- ещё умеет ---------- */
.more-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.more-card { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; padding: 18px 14px 20px; border-radius: 24px; background: var(--panel); }
.more-phone { width: 86%; filter: drop-shadow(0 18px 30px rgba(20, 24, 40, .18)); }
.more-card p { margin: 0; font-size: 14.5px; line-height: 1.4; font-weight: 500; color: var(--ink-2); text-wrap: balance; }

/* ---------- мастер ---------- */
.lau-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad) 18px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: none; }
.lau-strip::-webkit-scrollbar { display: none; }
.lau-card { position: relative; flex: 0 0 clamp(168px, 15vw, 208px); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px;
            padding: 16px 12px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.lau-n { position: absolute; top: 10px; left: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.lau-phone { width: 78%; margin-top: 10px; filter: drop-shadow(0 14px 24px rgba(20, 24, 40, .16)); }
.lau-card > b { font-size: 14.5px; font-weight: 600; text-align: center; }
.lau-card > small { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.lp3 .launch-done { margin-top: 10px; }

/* ---------- экономия: спокойно ---------- */
.sv3 .cmp { margin-top: 0; }
.sv3 .cmp-sum .neg { color: var(--ink); }
.sv3 .sv-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- мелочи ---------- */
.lp3 .btn.big { height: 58px; border-radius: 16px; font-size: 16.5px; }
.lp3 .btn:active { transform: scale(.98); }
.lp3 .faq { padding-top: var(--sp); }
.lp3 .final { padding-top: var(--sp); }
.lp3 .pricing { padding-top: var(--sp); }

@media (min-width: 1101px) { .lau-card { flex-basis: calc((100% - 6 * 14px) / 7); } .lau-strip { overflow-x: visible; margin: 0; padding: 6px 0 18px; } }
@media (max-width: 1100px) { .more-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .more-card:nth-child(n+4) { display: none; } }
@media (max-width: 920px) {
  .lp3 .h3 { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .h3-copy { gap: 18px; }
  .h3-stage { height: clamp(520px, 136vw, 660px); margin: 0 -4px; }
  .h3-glow { inset: 6% 0 0; border-radius: 36px; }
  .h3-big { right: 1%; top: 4%; width: 58%; }
  .h3-small { width: 40%; left: 1%; bottom: 9%; }
  .h3-chip.c1 { left: 2%; top: 7%; }
  .h3-chip.c2 { left: 1%; bottom: 1%; }
  .out-row, .out-row.flip { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 0 28px; }
  .out-row.flip .out-text { order: 0; }
  .out-vis { order: -1; padding: 22px; }
  .out-phone { width: min(56%, 240px); }
  .more-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 16px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: none; }
  .more-strip::-webkit-scrollbar { display: none; }
  .more-card { flex: 0 0 72%; scroll-snap-align: center; display: flex !important; }
  .more-phone { width: 70%; }
}
@media (max-width: 640px) {
  .h3-title { font-size: clamp(36px, 10.5vw, 44px); }
  .h3-lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .lp3 .sec-head h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .lau-card { flex-basis: 64%; }
  .h3-chip { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .h3-big, .js .h3-small, .js .h3-chip { animation: none; }
  .lp3 .reveal { transition: none; transform: none; opacity: 1; }
}

/* ---------- для каких магазинов ---------- */
.kinds-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kind { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--panel); }
.kind img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.kind:hover img { transform: scale(1.04); }
.kind figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .88);
                   font-size: 13.5px; font-weight: 600; text-align: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 920px) {
  .kinds-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 14px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: none; }
  .kinds-strip::-webkit-scrollbar { display: none; }
  .kind { flex: 0 0 44%; scroll-snap-align: start; }
}
/* ---------- живое демо ---------- */
.try-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.try-phone { width: min(372px, 86vw); filter: drop-shadow(0 34px 54px rgba(20, 24, 40, .26)); }
.try-view { position: absolute; inset: 0; background: #F7F5F1; }
.try-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: blur(1.5px) brightness(.9); }
.try-view.live img { display: none; }
.try-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 52px; padding: 0 22px; border-radius: 14px; font-size: 15px; white-space: nowrap; box-shadow: 0 16px 40px -12px rgba(10, 108, 255, .6); }
.try-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.try-open { font-size: 14px; font-weight: 500; color: var(--muted); }
.try-open:hover { color: var(--ink); }

/* v3 */
@media (max-width: 920px) { .st-step { opacity: 1; } .st-step:not(.on) h3 { color: var(--ink-2); } }
.hx-phone .h3-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; background: #F7F5F1; }
.lp .launch .lau-strip { margin-bottom: 14px; }

/* ---------- движение (lp-fx.js) ---------- */
.lp-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; transform-origin: left; transform: scaleX(0);
               background: linear-gradient(90deg, var(--dk, #0A6CFF), var(--dk-2, #00B4FF)); pointer-events: none; }
.words .wd { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px);
             transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .55s ease; transition-delay: calc(var(--i) * 55ms); }
.words.in .wd { opacity: 1; transform: none; filter: none; }
.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 70ms); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.price-grid > * { transition-property: opacity, transform; }
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
               background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 108, 255, .12), transparent 60%); }
.spot:hover::after { opacity: 1; }
.price-card.spot::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%); }
.btn.big { transition: translate .25s cubic-bezier(.2, .7, .2, 1), background .2s, filter .2s; }
.upd { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px 28px; margin-top: clamp(28px, 4vw, 48px); padding: 22px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.upd > b { font-size: 17px; font-weight: 600; }
.upd ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.upd li { display: flex; gap: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.upd time { flex: none; width: 48px; font-weight: 600; color: var(--dk, #0A6CFF); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .upd { grid-template-columns: 1fr; gap: 10px; padding: 18px; } .upd li { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .words .wd, .stagger > * { opacity: 1; transform: none; filter: none; transition: none; } .spot::after { display: none; } }

/* ---------- фото: утро и курьеры ---------- */
.lp .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: clamp(40px, 5vw, 64px); }
.duo-card { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r, 28px); overflow: hidden; background: #E6DDD0; isolation: isolate; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.duo-card:hover img { transform: scale(1.04); }
.duo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 10, 0) 38%, rgba(20, 14, 10, .78) 100%); }
.duo-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2.4vw, 30px); color: #fff; }
.duo-text h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; margin: 0 0 8px; }
.duo-text p { margin: 0; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.5; color: rgba(255, 255, 255, .82); max-width: 460px; text-wrap: pretty; }
@media (max-width: 760px) { .lp .duo { grid-template-columns: 1fr; gap: 12px; } .duo-card { aspect-ratio: 4 / 3; } }
/* финал — ночной бутик фоном */
.final-in { background-image: linear-gradient(180deg, rgba(10, 8, 8, .55), rgba(10, 8, 8, .82)), url(/static/img/lp/night.jpg); background-size: cover; background-position: center; }
.try-stage .btn.big { margin-top: 4px; }

.lp .try { padding-top: clamp(64px, 9vw, 120px); }
.lp .duo { padding-bottom: 0; }
