/* ИИ-продавец — мобильная версия презентации. Сначала телефон, с 860 px — компьютер. */
@font-face { font-family: Manrope; src: url(fonts/Manrope-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #10212B; --card: #172E3A; --card2: #1E3A47; --acc: #28B69F;
  --txt: #EAF2F4; --muted: #8FA6B2; --white: #FFFFFF; --warn: #F2B84B;
  --line: rgba(143, 166, 178, .14); --r: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font: 400 17px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acc); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 12px; }
h1, h2, h3 { color: var(--white); font-weight: 800; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 32px; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 25px; line-height: 1.22; margin-bottom: 24px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; margin-bottom: 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.acc { color: var(--acc); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.mt { margin-top: 20px; }
.grid2 { display: grid; gap: 28px; }
.grid-calc + .note { margin-top: 20px; }
.dots + .card, .dots + .plaque { margin-top: 20px; }
.note { color: var(--muted); font-style: italic; font-size: 15px; }

/* шапка и подвал */
.top { border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 8px; height: 56px; font-weight: 600; font-size: 15px; }
.top__in img { width: 28px; height: auto; margin-right: 4px; }
.top__in a { text-decoration: none; color: var(--muted); font-weight: 400; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }

/* разделы */
section { padding: 48px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

/* иконки */
.i { width: 24px; height: 24px; flex: none; color: var(--acc); }
.circle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--card2); color: var(--acc); font-weight: 800; font-size: 20px; }
.circle .i { width: 26px; height: 26px; }
.circle.sm { width: 36px; height: 36px; font-size: 16px; background: var(--acc); color: var(--bg); }

/* списки */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rows li { display: flex; gap: 14px; align-items: flex-start; }
.rows .i { margin-top: 1px; }
.dots { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.dots li::marker { color: var(--acc); }
section .rows { margin-top: 24px; }
.grid2 .rows, .card .rows { margin-top: 0; }
.no .i { color: var(--muted); }

/* карточки */
.card { background: var(--card); border-radius: var(--r); padding: 20px; }
.card2 { background: var(--card2); }
.plaque { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.grid2 > div > .plaque:last-child { margin: 24px 0 0; }
.plaque .i { margin-top: 1px; }

/* скриншоты */
figure { margin: 0; }
.shot img { display: block; width: 100%; border-radius: 12px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.shot.phone { max-width: 360px; margin-inline: auto; }
.shot.small { max-width: 300px; }
.shot.narrow { max-width: 340px; margin-inline: auto; }
.shots { display: grid; gap: 18px; align-items: start; }
.zoomlink { display: block; position: relative; cursor: zoom-in; }
.zoom { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(16, 33, 43, .8); display: flex; align-items: center; justify-content: center; }
.zoom .i { width: 16px; height: 16px; color: #fff; }

/* увеличенный скриншот: натуральная величина, на телефоне двигается пальцем */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 16, 22, .96); overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lb__in { display: flex; align-items: center; justify-content: center; min-width: 100%; min-height: 100%; width: max-content; padding: 68px 12px 24px; }
.lb img { display: block; max-width: none; width: auto; height: auto; border-radius: 8px; background: #fff; }
.lb__x { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card2); color: #fff; font: 400 28px/44px Manrope, system-ui, sans-serif; cursor: pointer; }

/* стрелка: на телефоне вниз, на компьютере вправо */
.arrow { display: flex; justify-content: center; color: var(--acc); }
.arrow .i { width: 28px; height: 28px; }

/* 1. обложка */
.hero { padding-top: 32px; }
.hero__grid { display: grid; gap: 28px; }
.hero .rows { margin: 0 0 24px; }
.brandline { color: var(--acc); font-size: 15px; }
.brandline a { color: inherit; }
.cover img { display: block; width: 100%; border-radius: var(--r); }

/* 2. переписки */
.chats { display: grid; gap: 14px; }
.chat__time { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.bubble { background: var(--card2); color: var(--white); border-radius: 14px; padding: 12px 16px; display: inline-block; max-width: 100%; font-size: 18px; }
.chat__out { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; color: var(--warn); }

/* 3. путь обращения */
.flow4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flow4 li { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.flow4 .circle { border: 2px solid var(--acc); background: transparent; }
.stat__num { font-size: 56px; font-weight: 800; line-height: 1.05; color: var(--acc); margin-bottom: 8px; }

/* 4. калькулятор */
.grid-calc { display: grid; gap: 24px; }
.calc { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 16px; }
.calc th { text-align: left; color: var(--muted); font-weight: 600; font-size: 13px; padding: 6px 10px; }
.calc td { background: var(--card); padding: 10px; vertical-align: middle; }
.calc td:first-child { border-radius: 10px 0 0 10px; }
.calc td:last-child { border-radius: 0 10px 10px 0; width: 120px; }
.calc .k { color: var(--acc); font-weight: 800; width: 32px; text-align: center; }
.calc .r { text-align: right; }
.calc .sum td { background: var(--card2); color: var(--white); font-weight: 800; }
.calc output { font-weight: 800; }
.num { display: flex; align-items: center; gap: 6px; }
.num input {
  width: 100%; min-width: 0; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--white); font: 600 17px Manrope, system-ui, sans-serif; text-align: right;
}
.num input:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.num span { color: var(--muted); width: 14px; flex: none; }

/* 6. уведомление → панель → CRM */
.flow3 { display: grid; gap: 14px; align-items: center; }

/* 7. каналы */
.channels { display: grid; gap: 18px; }
.shots.three { grid-template-columns: 1fr; }
.scheme { margin-top: 28px; display: grid; gap: 12px; }
.pills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pills li { border: 1px solid var(--acc); border-radius: 10px; padding: 8px; text-align: center; color: var(--white); font-size: 15px; }
.hub { text-align: center; color: var(--acc); font-weight: 800; font-size: 20px; }
.ends { display: grid; gap: 10px; }
.ends .card { padding: 14px 18px; color: var(--white); }

/* 10. три шага */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.steps3 p { margin-top: 14px; color: var(--white); }

/* 13. нумерованные шаги */
.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.numbered li { display: flex; gap: 14px; align-items: center; }

/* 15, 18 — плитки */
.tiles3, .tiles2, .tiles4 { display: grid; gap: 14px; }
.tiles3 { margin-top: 24px; }
#s18 .tiles3 { margin-top: 0; }
.tile { display: flex; gap: 14px; align-items: flex-start; }
.tile p { margin: 0; }
.boxes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.boxes li { display: flex; gap: 12px; align-items: flex-start; }
.box { width: 20px; height: 20px; border: 2px solid var(--acc); border-radius: 5px; flex: none; margin-top: 3px; }

/* 16. согласие и маскировка */
.grid-16 { display: grid; gap: 28px; }
#s16 .shot { max-width: 300px; margin-inline: auto; }
.mask { display: grid; gap: 8px; margin-bottom: 28px; }
.msg { font-size: 18px; color: var(--white); }
.cap { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* 17. этапы */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.timeline .circle { grid-row: span 2; background: var(--acc); color: var(--bg); }
.timeline .t { color: var(--white); font-weight: 600; }
.timeline .who { color: var(--acc); font-size: 14px; }

/* 20. условия */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; }
.feature .circle { width: 48px; height: 48px; }

/* 21. деньги */
.grid-21 { display: grid; gap: 14px; }
.checks { grid-template-columns: 1fr; }
.cta { margin-top: 14px; }
.cta h3, .talk h3 { margin-bottom: 14px; }

/* контакты: Telegram и телефон */
.contacts { display: grid; gap: 10px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; text-align: left; }
.contact:active { transform: translateY(1px); }
.contact .circle { width: 46px; height: 46px; background: var(--card2); }
.contact .circle .i { width: 22px; height: 22px; }
.contact b { display: block; font-weight: 600; font-size: 14px; color: var(--muted); }
.contact .val { display: block; font-weight: 800; font-size: 19px; color: var(--white); }
.contact--tg { background: var(--acc); border-color: var(--acc); }
.contact--tg .circle { background: rgba(16, 33, 43, .14); color: var(--bg); }
.contact--tg .circle .i { color: var(--bg); }
.contact--tg b { color: rgba(16, 33, 43, .72); }
.contact--tg .val { color: var(--bg); }
.talk { max-width: 640px; margin: 4px auto 20px; text-align: left; }

/* 22. ещё делаю */
.tiles4 .card { display: grid; gap: 12px; align-content: start; }
.tiles4 h3 { margin: 4px 0 0; }
.tiles4 p { margin: 0; }

/* 23. финал */
.final { text-align: center; padding-bottom: 56px; }
.final__logo { margin: 0 auto 20px; display: block; }
.final h2 { font-size: 28px; }
.lead { font-size: 19px; color: var(--white); }
.links { display: grid; gap: 10px; margin: 20px 0 24px; text-align: left; }
.link { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; text-decoration: none; padding: 16px 18px; }
.link .i { grid-row: span 2; align-self: center; }
.link b { color: var(--white); }
.link span { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.btn {
  display: block; background: var(--acc); color: var(--bg); font-weight: 800; font-size: 18px; text-decoration: none;
  border-radius: 999px; padding: 18px 24px; margin: 0 auto 16px; max-width: 560px;
}
.btn:active { transform: translateY(1px); }

/* ---------- компьютер ---------- */
@media (min-width: 860px) {
  body { font-size: 18px; }
  h1 { font-size: 50px; }
  h2 { font-size: 34px; margin-bottom: 32px; }
  section { padding: 72px 0; }
  .grid2 { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .hero { padding-top: 56px; }
  .hero__grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; }
  .chats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .flow4 { grid-template-columns: repeat(4, 1fr); text-align: center; }
  .flow4 li { flex-direction: column; }
  .flow4 .circle { width: 88px; height: 88px; }
  .flow4 .circle .i { width: 36px; height: 36px; }
  .grid-calc { grid-template-columns: 2fr 1fr; align-items: start; }
  .calc td:last-child { width: 170px; }
  .shots.two { grid-template-columns: 1fr 1fr; }
  .shots.two-wide { grid-template-columns: 1fr 1fr; gap: 28px; }
  .flow3 { grid-template-columns: 1fr auto 0.9fr auto 1.25fr; align-items: start; }
  .flow3 .arrow { align-self: center; transform: rotate(-90deg); }
  .channels { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .shots.three { grid-template-columns: 1fr; }
  #s15 .shots.three { grid-template-columns: 1.4fr 1fr 1fr; }
  .scheme { grid-template-columns: 1fr auto 0.8fr auto 1.2fr; align-items: center; gap: 16px; }
  .scheme .arrow { transform: rotate(-90deg); }
  .steps3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .tiles3 { grid-template-columns: repeat(3, 1fr); }
  .tiles2 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tiles4 { grid-template-columns: repeat(4, 1fr); }
  .grid-16 { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
  .mask { grid-template-columns: 1fr auto 1fr; align-items: start; }
  .mask .arrow { transform: rotate(-90deg); margin-top: 28px; }
  .timeline { grid-template-columns: repeat(6, 1fr); text-align: center; gap: 12px; }
  .timeline li { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 10px; justify-items: center; align-items: start; }
  .timeline .circle { grid-row: auto; }
  .grid-21 { grid-template-columns: 1.6fr 1fr; gap: 18px; }
  .checks { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .final h2 { font-size: 42px; max-width: 900px; margin-inline: auto; }
  .links { grid-template-columns: 1fr 1fr; max-width: 760px; margin-inline: auto; }
  .lb img { max-width: 94vw; max-height: 86vh; }
}
