/* Общие стили страниц оффера (index.html и plus.html) */
:root {
  --night: #120c08;
  --night-2: #1b120c;
  --night-3: #261a12;
  --ink: #2a1d16;
  --cream: #fff3d6;
  --paper: #fbe5b8;
  --muted: rgba(255, 243, 214, 0.66);
  --faint: rgba(255, 243, 214, 0.14);
  --red: #e2231a;
  --red-d: #b3140e;
  --gold: #ffc933;
  --green: #1f9a5a;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font: 500 16px/1.55 var(--body);
  color: var(--cream);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
/* зерно и тёплое свечение, как вечерний уличный рынок */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(226, 35, 26, 0.28), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 201, 51, 0.1), transparent 60%),
    radial-gradient(800px 600px at 110% 80%, rgba(226, 35, 26, 0.14), transparent 60%);
}
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1220px, 100% - 32px); margin: 0 auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* ---------- шапка ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(18, 12, 8, 0.72);
  border-bottom: 1px solid var(--faint);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo b { font: 900 20px var(--display); color: var(--red); letter-spacing: -0.02em; text-shadow: 2px 2px 0 var(--gold); }
.logo small { font: 700 11px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
/* Lovko: слово и подброшенная рыжая точка */
.logo b.lv { position: relative; padding-right: 13px; font: 900 23px/1 'Geologica', 'Arial Black', system-ui, sans-serif; color: var(--cream); letter-spacing: -0.04em; text-shadow: none; }
.logo b.lv i { position: absolute; right: 0; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #ff6b3d; }
.top nav { margin-left: auto; display: flex; gap: 4px; }
.top nav a { padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--cream); background: var(--faint); }
.top .cta-s { padding: 9px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .top nav { display: none; } .top .cta-s { margin-left: auto; } }

/* ---------- первый экран ---------- */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.sticker {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font: 800 12px var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-2.5deg);
  box-shadow: 3px 3px 0 var(--red);
}
h1 {
  margin: 22px 0 18px;
  font: 900 clamp(34px, 5.4vw, 68px)/1.02 var(--display);
  letter-spacing: -0.03em;
}
h1 em { font-style: normal; color: var(--gold); }
h1 .red { color: var(--red); text-shadow: 3px 3px 0 rgba(255, 201, 51, 0.35); }
.lead { max-width: 560px; margin: 0 0 26px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); font-weight: 600; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 2px solid var(--cream);
  font: 800 15px var(--body);
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--cream);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--gold); }
.btn.red { background: var(--red); border-color: var(--red); box-shadow: 4px 4px 0 var(--gold); }
.btn.red:hover { box-shadow: 6px 6px 0 var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--faint); background: rgba(255, 243, 214, 0.05); font-weight: 700; font-size: 13px; color: var(--muted); }
.stage-hero { position: relative; height: 620px; }
.stage-hero .laptop { position: absolute; right: -40px; top: 60px; width: 620px; transform: rotate(3deg); opacity: 0.9; }
.stage-hero .phone { position: absolute; left: 10px; top: 0; width: 290px; transform: rotate(-4deg); }
.stage-hero .badge {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 4px 4px 0 var(--red);
  animation: float 5s ease-in-out infinite;
}
.stage-hero .badge small { display: block; font-weight: 700; font-size: 11px; color: #6f5d50; }
.stage-hero .b1 { right: 20px; top: 12px; }
.stage-hero .b2 { right: 60px; bottom: 40px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage-hero { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .stage-hero .laptop { width: 440px; right: -20px; top: 90px; }
}
@media (max-width: 520px) {
  .stage-hero { height: 520px; }
  .stage-hero .laptop { display: none; }
  .stage-hero .phone { left: 50%; margin-left: -135px; width: 270px; }
  .stage-hero .b1 { right: 0; top: 30px; }
  .stage-hero .b2 { right: auto; left: 0; bottom: 60px; }
}

/* ---------- устройства ---------- */
.phone {
  /* iPhone Pro Max в бордовом корпусе (как в постах канала): металлическая рамка с бликом, чёрная окантовка экрана,
     Dynamic Island, строка состояния, полоска «домой», боковые кнопки. Всё внутри считается от ширины телефона (cqw).
     Скругление корпуса в процентах: cqw на самом контейнере считаются от окна, и углы раздувало бы в полукруг */
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  border-radius: 16.2% / 7.44%;
  background: linear-gradient(140deg, #d98aa0 0%, #9c3450 7%, #6a1a31 22%, #45101f 45%, #5a1628 64%, #8e2d47 86%, #cf7d95 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 234, 0.55),
    inset 0 0 0 3px rgba(60, 6, 20, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 16px 30px rgba(0, 0, 0, 0.35),
    0 48px 90px rgba(0, 0, 0, 0.55);
}
/* Dynamic Island */
.phone::before {
  content: '';
  position: absolute;
  top: 6.4cqw;
  left: 50%;
  z-index: 3;
  width: 27.5cqw;
  height: 8cqw;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 0.4cqw #0d0d0f;
}
/* боковые кнопки: слева действие и громкость, справа питание и камера */
.phone::after {
  content: '';
  position: absolute;
  inset: 0 -1.1cqw;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #8e2d47, #45101f) no-repeat right 0 top 50cqw / 1.1cqw 24cqw,
    linear-gradient(90deg, #8e2d47, #45101f) no-repeat right 0 top 118cqw / 1.1cqw 15cqw,
    linear-gradient(90deg, #45101f, #8e2d47) no-repeat left 0 top 36cqw / 1.1cqw 9cqw,
    linear-gradient(90deg, #45101f, #8e2d47) no-repeat left 0 top 50cqw / 1.1cqw 16cqw,
    linear-gradient(90deg, #45101f, #8e2d47) no-repeat left 0 top 69cqw / 1.1cqw 16cqw;
}
.phone .scr {
  position: relative;
  margin: 4.4cqw;
  /* строка состояния (11.6cqw) + скрин 390×844 целиком, без обрезки снизу */
  aspect-ratio: 390 / 893.6;
  border-radius: 11.8cqw;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 2.1cqw #050505, 0 0 0 calc(2.1cqw + 1px) rgba(255, 255, 255, 0.06);
}
/* строка состояния: время слева, связь и батарея справа */
.phone .scr::before {
  content: '9:41';
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 11.6cqw;
  padding: 1.2cqw 0 0 10.4cqw;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font: 600 4.5cqw/1 -apple-system, 'Helvetica Neue', system-ui, sans-serif;
  color: #111;
  background: var(--sbbg, #fff4d6);
}
/* значки справа в строке состояния */
.phone .scr::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 14'%3E%3Cg fill='%23111'%3E%3Crect x='0' y='9' width='3' height='5' rx='1'/%3E%3Crect x='5' y='7' width='3' height='7' rx='1'/%3E%3Crect x='10' y='4' width='3' height='10' rx='1'/%3E%3Crect x='15' y='1' width='3' height='13' rx='1'/%3E%3Cpath d='M31 13.5l-2.6-2.7a3.7 3.7 0 0 1 5.2 0zM26 8.6a7 7 0 0 1 10 0l-1.5 1.6a4.8 4.8 0 0 0-7 0zM23.3 5.9a10.8 10.8 0 0 1 15.4 0l-1.5 1.5a8.7 8.7 0 0 0-12.4 0z'/%3E%3Crect x='44' y='2.5' width='21' height='10' rx='3' fill='none' stroke='%23111' stroke-opacity='.45'/%3E%3Crect x='45.8' y='4.3' width='16' height='6.4' rx='1.6'/%3E%3Crect x='65.8' y='5.8' width='1.8' height='3.6' rx='.9' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 7.6cqw top 1.4cqw / 16.5cqw 10.2cqw;
}
.phone .scr > img { position: absolute; top: 11.6cqw; left: 0; width: 100%; height: calc(100% - 11.6cqw); object-fit: cover; object-position: top; transition: opacity 0.45s; }
.tg .scr { --sbbg: #fff; padding-top: 11.6cqw; box-sizing: border-box; }
.laptop .lid { padding: 12px 12px 16px; border-radius: 18px 18px 6px 6px; background: #0b0806; box-shadow: 0 0 0 2px #3b2a1f, 0 40px 90px rgba(0, 0, 0, 0.55); }
.laptop .scr { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--paper); }
.laptop .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity 0.35s; }
.laptop .base { height: 16px; margin: 0 -6%; border-radius: 2px 2px 22px 22px; background: linear-gradient(#3b2a1f, #150e0a); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.laptop .base::after { content: ''; display: block; width: 18%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #0b0806; }

/* ---------- бегущая строка ---------- */
.ticker { position: relative; z-index: 1; overflow: hidden; background: var(--red); border-block: 3px solid var(--night); transform: rotate(-1.2deg); margin: 30px -10px 0; }
.ticker div { display: flex; width: max-content; gap: 34px; padding: 14px 0; animation: tick 38s linear infinite; font: 800 16px var(--display); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.ticker span::after { content: '✦'; margin-left: 34px; color: var(--gold); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- секции ---------- */
section.block { padding: 96px 0 30px; scroll-margin-top: 20px; }
.kicker { font: 800 12px var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
h2 { margin: 10px 0 14px; font: 900 clamp(28px, 3.8vw, 48px)/1.06 var(--display); letter-spacing: -0.025em; }
.sub { max-width: 720px; margin: 0; color: var(--muted); font-weight: 600; font-size: 17px; }

/* ---------- тур по экранам ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 26px; }
.tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 2px solid var(--faint);
  background: rgba(255, 243, 214, 0.04);
  color: var(--cream);
  font: 800 15px var(--body);
  cursor: pointer;
}
.tabs button small { font-weight: 700; color: var(--muted); font-size: 12px; }
.tabs button[aria-selected='true'] { background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: 4px 4px 0 var(--red); }
.tabs button[aria-selected='true'] small { color: #6f5d50; }
.tour { display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); gap: 34px; align-items: start; }
.steps { position: relative; display: grid; gap: 8px; max-height: min(78vh, 900px); overflow: auto; padding: 4px 10px 4px 4px; scrollbar-width: thin; scrollbar-color: var(--night-3) transparent; }
.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: rgba(255, 243, 214, 0.04);
  color: var(--cream);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.step:hover { background: rgba(255, 243, 214, 0.08); }
.step .n { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--night-3); font: 800 13px var(--display); color: var(--muted); }
.step b { font: 800 15px/1.3 var(--display); letter-spacing: -0.01em; }
.step .l { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.4; }
.step[aria-current='true'] { border-color: var(--gold); background: rgba(255, 201, 51, 0.08); }
.step[aria-current='true'] .n { background: var(--gold); color: var(--ink); }
.more { display: none; grid-column: 2; margin: 8px 0 2px; padding: 0; list-style: none; }
.step[aria-current='true'] .more { display: grid; gap: 6px; }
.more li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--cream); }
.more li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.show { position: sticky; top: 86px; display: grid; justify-items: center; gap: 16px; scroll-margin-top: 74px; }
.show .dev { width: 100%; display: grid; justify-items: center; }
.show .phone { width: min(340px, 82vw); }
.show .laptop { width: 100%; }
.show .shot-card { width: min(520px, 100%); padding: 10px; border-radius: 22px; background: #0b0806; box-shadow: 0 0 0 2px #3b2a1f, 10px 12px 0 var(--red); }
.show .shot-card img { width: 100%; border-radius: 14px; }
.ctrl { display: flex; align-items: center; gap: 10px; }
.ctrl button { min-width: 48px; height: 44px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--faint); background: transparent; color: var(--cream); font: 800 15px var(--body); cursor: pointer; }
.ctrl button:hover { border-color: var(--cream); }
.ctrl .zoom { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ctrl .cnt { min-width: 64px; text-align: center; font: 700 13px var(--display); color: var(--muted); }
.cap { max-width: 640px; text-align: center; font-weight: 700; color: var(--muted); font-size: 14px; }
.dev .zoomable { cursor: zoom-in; }
@media (max-width: 900px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs button { flex-direction: column; align-items: flex-start; gap: 0; }
  .tour { grid-template-columns: 1fr; }
  .show { position: static; order: -1; }
  .steps { max-height: none; overflow: visible; padding: 0; }
}

/* ---------- Telegram ---------- */
.tg { width: min(360px, 86vw); }
.tg .scr { display: flex; flex-direction: column; background: #d9e7c9; }
/* Чат Telegram в масштабе телефона: размеры от ширины корпуса (cqw), примерно в 1,15 раза крупнее настоящего iOS,
   чтобы читалось на странице. Кнопки бота как в Telegram: в одну строку, полупрозрачные поверх обоев */
.tg-head { display: flex; align-items: center; gap: 2.7cqw; padding: 2.2cqw 3.8cqw 2.4cqw; background: #fff; color: #111; border-bottom: 1px solid #e3e3e3; }
.tg-head img { width: 10cqw; height: 10cqw; border-radius: 50%; object-fit: cover; }
.tg-head b { display: block; font: 700 4.4cqw/1.2 -apple-system, 'Segoe UI', Roboto, var(--body); }
.tg-head small { font-size: 3.4cqw; color: #8a8a8a; }
.tg-feed {
  flex: 1;
  overflow-y: auto;
  padding: 2.7cqw 2.4cqw 4.8cqw;
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
  background-color: #cfe0bd;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.2px, transparent 1.3px);
  background-size: 4.8cqw 4.8cqw;
  scrollbar-width: none;
}
.tg-feed::-webkit-scrollbar { display: none; }
.msg { max-width: 84%; align-self: flex-start; }
.msg.mine { align-self: flex-end; }
.bub { overflow: hidden; border-radius: 4.6cqw 4.6cqw 4.6cqw 1.2cqw; background: #fff; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); }
.mine .bub { border-radius: 4.6cqw 4.6cqw 1.2cqw 4.6cqw; background: #e1fec6; }
.msg.stk { max-width: 40cqw; }
.msg.stk > img { display: block; width: 40cqw; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18)); }
.bub img { width: 100%; }
.bub .t { padding: 1.8cqw 3cqw 2.1cqw; font: 400 4.4cqw/1.36 -apple-system, 'Segoe UI', Roboto, var(--body); white-space: normal; word-wrap: break-word; }
.bub .t b { font-weight: 700; }
.bub .t a { color: #2481cc; text-decoration: none; pointer-events: none; }
.bub .t code { padding: 0 0.8cqw; border-radius: 1cqw; background: #eef2f5; font-size: 4cqw; }
.kb { display: grid; gap: 1.1cqw; margin-top: 1.1cqw; }
.kb div { display: flex; gap: 1.1cqw; }
.kb span { flex: 1 1 0; min-width: 0; height: 10cqw; padding: 0 2cqw; display: block; text-align: center; border-radius: 3cqw; background: rgba(64, 88, 54, 0.5); color: #fff; font: 600 3.9cqw/10cqw -apple-system, 'Segoe UI', Roboto, var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); }
.tg-topic { align-self: center; padding: 1cqw 2.6cqw; border-radius: 999px; background: rgba(0, 0, 0, 0.22); color: #fff; font: 700 3.3cqw var(--body); }

/* ---------- режимы ---------- */
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 34px; }
.mode { display: grid; gap: 14px; justify-items: center; text-align: center; }
.mode .phone { width: 100%; max-width: 250px; cursor: zoom-in; }
.mode b { font: 800 16px var(--display); }
.mode p { margin: -8px 0 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.mode .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--mc); margin-right: 6px; }
@media (max-width: 980px) {
  .modes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 24px; margin-inline: -16px; padding-inline: 16px; }
  .mode { flex: 0 0 230px; scroll-snap-align: start; }
}

/* ---------- ценность ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.val { padding: 24px; border-radius: 22px; background: var(--cream); color: var(--ink); box-shadow: 6px 6px 0 var(--red); transition: transform 0.2s; }
.val:nth-child(2n) { box-shadow: 6px 6px 0 var(--gold); }
.val:hover { transform: translate(-3px, -3px); }
.val i { font-style: normal; font-size: 30px; }
.val h3 { margin: 10px 0 8px; font: 800 19px/1.2 var(--display); letter-spacing: -0.01em; }
.val p { margin: 0; font-weight: 600; font-size: 15px; color: #4d3c30; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* ---------- запуск ---------- */
.launch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; counter-reset: s; }
.launch div { position: relative; padding: 22px 20px 20px; border-radius: 20px; border: 2px solid var(--faint); background: rgba(255, 243, 214, 0.04); counter-increment: s; }
.launch div::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--red); font: 900 18px var(--display); box-shadow: 3px 3px 0 var(--gold); }
.launch b { display: block; margin-bottom: 6px; font: 800 16px/1.25 var(--display); }
.launch p { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.launch.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .launch, .launch.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .launch, .launch.three { grid-template-columns: 1fr; } }

/* ---------- финал ---------- */
.final { margin: 90px 0 0; padding: 50px 0 70px; }
.final .box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 30px;
  align-items: center;
  padding: 44px;
  border-radius: 30px;
  background: var(--red);
  box-shadow: 10px 10px 0 var(--gold);
  overflow: hidden;
}
.final h2 { margin-top: 0; }
.final p { margin: 0 0 24px; font-weight: 700; color: rgba(255, 243, 214, 0.9); max-width: 560px; }
.final .btn { border-color: var(--cream); }
.final .btn.cream { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--night); }
.final img { width: 100%; border-radius: 22px; transform: rotate(4deg); border: 3px solid var(--night); }
@media (max-width: 760px) { .final .box { grid-template-columns: 1fr; padding: 28px; } .final img { max-width: 220px; } }
footer { padding: 26px 0 40px; color: var(--muted); font-size: 13px; font-weight: 600; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--faint); padding-top: 22px; }

/* ---------- просмотр крупно ---------- */
dialog.lb { width: min(1500px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 22px; background: var(--night-2); color: var(--cream); box-shadow: 0 30px 120px rgba(0, 0, 0, 0.7); }
dialog.lb::backdrop { background: rgba(8, 5, 3, 0.82); backdrop-filter: blur(6px); }
.lb-in { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: 94vh; }
.lb-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--faint); }
.lb-bar b { flex: 1; font: 800 15px var(--display); }
.lb-bar button { min-width: 42px; height: 40px; border-radius: 12px; border: 2px solid var(--faint); background: transparent; color: var(--cream); font: 800 15px var(--body); cursor: pointer; }
.lb-img { overflow: auto; padding: 16px; display: grid; place-items: start center; }
.lb-img img { max-width: 100%; height: auto; border-radius: 12px; }
.lb-img img.tall { max-height: calc(94vh - 110px); width: auto; }


/* ---------- закреплённый тур: прокрутка листает шаги ---------- */
.track { position: relative; }
.pin { padding-top: 6px; }
.steps-col { display: grid; gap: 10px; }
.prog { height: 4px; border-radius: 4px; background: var(--faint); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 0.25s; }
@media (min-width: 901px) and (min-height: 620px) {
  .pinned .pin { position: sticky; top: 62px; height: calc(100vh - 62px); display: flex; flex-direction: column; justify-content: center; }
  .pinned .tabs { margin: 0 0 18px; }
  .pinned .tour { align-items: center; }
  .pinned .steps { max-height: calc(100vh - 62px - 150px); overflow: hidden; }
  .pinned .show { position: static; gap: 12px; }
  .pinned .show .phone { width: min(330px, calc((100vh - 62px - 190px) * 0.44)); }
  .pinned .show .laptop { width: min(100%, calc((100vh - 62px - 200px) * 1.55)); }
  .pinned .show .shot-card { width: auto; max-width: 100%; }
  .pinned .show .shot-card img { max-height: calc(100vh - 62px - 210px); width: auto; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div, .stage-hero .badge { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
