/* ARC — лендинг. Светлый, спокойный: много воздуха, крупные скруглённые карточки, чёрно-белые кнопки-таблетки. */
:root {
  --bg: #f6f6f8;
  --surface: #fafafb;
  --surface-2: #ffffff;
  --line: #e7e7ea;
  --line-strong: #d6d6db;
  --text: #1d1d1f;
  --text-2: #2f2f2f;
  --muted: #86868b;
  --muted-2: #6e6e73;
  --ink: #000;
  --accent: #0a84ff;
  --danger: #d70015;
  --shadow: 0 6px 16px rgba(16, 24, 40, .04);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .10);
  --font-body: 'Inter', -apple-system, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

body.lp { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.47; letter-spacing: -.01em; }
.lp ::selection { background: #000; color: #fff; }
.lp :focus-visible { outline-color: var(--accent); }
.nw { white-space: nowrap; }
.small { font-size: 14px; }
.center { text-align: center; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--text { max-width: 860px; }
.wrap--mid { max-width: 820px; }
.wrap--narrow { max-width: 560px; }

/* ===== Кнопки-таблетки ===== */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font-body); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, opacity .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(.98); }
.pill[disabled] { opacity: .5; pointer-events: none; }
.pill--black { background: #000; color: #fff; }
.pill--black:hover { background: #222; }
.pill--white { background: #fff; color: #000; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.04); }
.pill--ghost { background: transparent; color: #000; box-shadow: inset 0 0 0 1px var(--line-strong); }
.pill--ghost:hover { box-shadow: inset 0 0 0 1px #000; }
.pill--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.pill--block { width: 100%; }

/* ===== Шапка ===== */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.nav.is-stuck { background: rgba(246, 246, 248, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav__in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp .logo { color: #000; font-size: 18px; letter-spacing: .1em; }
.nav__links { display: none; gap: 30px; font-size: 14px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--muted-2); transition: color .2s; }
.nav__links a:hover { color: #000; }
.nav__login { min-height: 38px; padding: 0 18px; font-size: 14px; }
@media (min-width: 860px) { .nav__links { display: flex; } }

/* ===== Первый экран ===== */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero__copy { text-align: left; }
.eyebrow { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.04); font-size: 13px; font-weight: 600; color: var(--muted-2); }
.hero__title { margin: 22px 0 18px; font-size: clamp(46px, 8.6vw, 96px); font-weight: 600; line-height: .94; letter-spacing: -.075em; color: #000; text-wrap: balance; }
.hero__lead { margin: 0; max-width: 620px; font-size: clamp(17px, 2vw, 21px); font-weight: 500; letter-spacing: -.03em; color: var(--muted-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.hero__stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; height: 420px; margin-top: 44px; }
.hero__phone { width: 210px; height: auto; border-radius: 34px; box-shadow: var(--shadow-lg), 0 0 0 7px #111, 0 0 0 8px #2a2a2c; background: #fff; }
.hero__phone--main { position: relative; z-index: 2; align-self: flex-start; }
.hero__phone--side { display: none; }
.hero::after { content: ''; display: block; height: 1px; }
@media (min-width: 720px) {
  .hero { padding-top: 72px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .hero__stage { height: 560px; gap: 48px; margin-top: 64px; }
  .hero__phone { width: 260px; }
  .hero__phone--side { display: block; width: 230px; opacity: .96; margin-bottom: -60px; }
}

/* ===== Секции ===== */
.section { padding: 72px 0; }
@media (min-width: 720px) { .section { padding: 110px 0; } }
.head { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.head--left { text-align: left; margin: 0 0 32px; }
.h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); font-weight: 600; line-height: 1.02; letter-spacing: -.06em; color: #1d1d1f; text-wrap: balance; }
.head__lead { margin: 16px auto 0; max-width: 620px; font-size: 17px; font-weight: 500; color: var(--muted-2); letter-spacing: -.03em; text-wrap: pretty; }
.head--left .head__lead { margin-left: 0; }

/* Утверждения: жирное начало, серое продолжение */
.statement { margin: 0 0 28px; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.18; font-weight: 600; letter-spacing: -.045em; text-wrap: pretty; }
.statement:last-child { margin-bottom: 0; }
.statement b { color: #000; font-weight: 600; }
.statement span { color: #a1a1a6; }

/* ===== Карточки ===== */
.card { background: var(--surface); border-radius: 34px; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.03); padding: 28px; }
.card__text { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.035em; color: #86868b; }
.card__text b { color: #1d1d1f; font-weight: 600; }

/* Лента с экранами: на телефоне листается вбок, на компьютере — сетка */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards > * { scroll-snap-align: center; }
.card--shot { display: flex; flex-direction: column; gap: 22px; padding: 28px 28px 0; overflow: hidden; }
.card__shot { height: 330px; overflow: hidden; display: flex; justify-content: center; }
.card__shot img { width: 230px; height: auto; align-self: flex-start; border-radius: 28px 28px 0 0; box-shadow: 0 0 0 6px #111, 0 0 0 7px #2a2a2c; margin-top: 7px; }
@media (min-width: 900px) {
  .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; max-width: 1120px; margin: 0 auto; padding: 0 20px; gap: 20px; }
  .card__shot { height: 360px; }
}
.also { margin: 28px 0 18px; color: var(--muted-2); font-weight: 500; }

.grid3 { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .grid3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Механики с мини-интерфейсом */
.card--mech { display: flex; flex-direction: column; gap: 24px; }
.mock { min-height: 150px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock__row span { display: flex; flex-direction: column; font-size: 15px; }
.mock__row small { color: var(--muted); font-size: 13px; }
.mock__switch { width: 50px; height: 30px; border-radius: 999px; background: #34c759; position: relative; flex: none; }
.mock__switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 999px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.mock__task { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.mock__task s { color: var(--muted); }
.mock__task span { font-weight: 600; }
.mock__big { font-size: 40px; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.mock__big small { font-size: 18px; color: var(--muted); letter-spacing: -.02em; }
.mock__btn { align-self: flex-start; padding: 10px 16px; border-radius: 999px; background: #000; color: #fff; font-size: 14px; font-weight: 600; }
.mock__say { align-self: flex-end; max-width: 90%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; }
.mock__ok { align-self: flex-start; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: #f0f0f3; font-size: 14px; font-weight: 500; }

/* 90 дней */
.card--wide { padding: 32px 28px; }
@media (min-width: 720px) { .card--wide { padding: 56px; } }
.phases { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.phases li { display: flex; flex-direction: column; gap: 4px; }
.phases b { font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.phases li > span:last-child { color: var(--muted-2); font-size: 15px; }
.phases__bar { display: block; height: 8px; border-radius: 999px; background: #000; margin-bottom: 10px; }
.phases li:nth-child(2) .phases__bar { background: #6e6e73; }
.phases li:nth-child(3) .phases__bar { background: #c7c7cc; }
@media (min-width: 720px) { .phases { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Шаги */
.steps .card { display: flex; flex-direction: column; gap: 18px; }
.steps__n { width: 40px; height: 40px; border-radius: 999px; background: #000; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; }

/* Сравнение */
.card--table { padding: 8px 24px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; font-weight: 600; color: var(--muted); vertical-align: bottom; width: 26%; }
.cmp thead th:first-child { width: auto; }
.cmp thead th.is-arc { color: #000; font-size: 15px; }
.cmp tbody th { text-align: left; font-weight: 500; letter-spacing: -.02em; }
.cmp i { display: inline-block; width: 22px; height: 22px; border-radius: 999px; vertical-align: middle; position: relative; }
.cmp .yes { background: var(--accent); }
.cmp .yes::after { content: ''; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.cmp .no::after { content: ''; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; border-radius: 2px; background: #c7c7cc; }
.cmp__note { font-size: 13px; font-weight: 600; color: var(--muted-2); }
@media (min-width: 720px) { .card--table { padding: 8px 40px; } .cmp { font-size: 17px; } }

/* Цена */
.price-until { text-align: center; color: var(--muted-2); font-size: 14px; margin: -20px 0 20px; }
.plan { padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 0; background: var(--surface); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan__name { font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.plan__badge { padding: 5px 10px; border-radius: 999px; background: #eaf3ff; color: var(--accent); font-size: 12px; font-weight: 600; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; color: var(--accent); }
.plan__price > span { font-size: 44px; font-weight: 600; letter-spacing: -.05em; line-height: 1.05; }
.plan__price small { font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.plan__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plan__chip { padding: 6px 12px; border-radius: 999px; background: #ececf0; color: var(--muted-2); font-size: 14px; font-weight: 500; }
.plan__chip[hidden] { display: none; }
.plan__chip--sale { background: #fff1e8; color: #e8660c; }
.plan__chip--sale s { text-decoration-thickness: 1.5px; }
.plan__desc { margin: 16px 0 0; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; color: #1d1d1f; }
.plan__list { list-style: none; margin: 18px 0 22px; padding: 18px 0 0; border-top: 1px solid #1d1d1f; display: grid; gap: 12px; }
.plan__list li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 999px; border: 1.5px solid #1d1d1f; }
.plan__list li::after { content: ''; position: absolute; left: 7px; top: 4.5px; width: 3.5px; height: 7px; border: solid #1d1d1f; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.plan .pill { min-height: 48px; font-size: 15px; }
.plan .pill + .pill { margin-top: 8px; }
.plan__note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (min-width: 720px) { .plan { padding: 36px 36px 28px; } .plan__price > span { font-size: 52px; } }

/* Вопросы */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.03); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 999px; background: #000; color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted-2); font-weight: 500; letter-spacing: -.02em; }

/* Финал */
.final { position: relative; overflow: hidden; border-radius: 34px; background: #000; color: #fff; text-align: center; padding: 64px 24px 56px; }
.final__arc { position: absolute; left: 50%; bottom: 0; width: 760px; max-width: none; transform: translateX(-50%); fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; pointer-events: none; }
.final h2 { position: relative; margin: 0 auto 14px; max-width: 760px; font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: 1.02; letter-spacing: -.06em; text-wrap: balance; }
.final p { position: relative; margin: 0 0 30px; color: #a1a1a6; font-size: 17px; font-weight: 500; }
.final .pill { position: relative; }
@media (min-width: 720px) { .final { padding: 110px 40px 100px; } }

/* Подвал */
.footer { padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.footer a { color: var(--muted-2); }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Липкая кнопка внизу на телефоне */
.sticky-cta { display: none; }
@media (max-width: 719px) {
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.05);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .pill { min-height: 46px; }
  .sticky-cta .pill--black { flex: 1; }
  .sticky-cta .pill--white { box-shadow: none; background: transparent; }
}

/* ===== Оформление покупки ===== */
.lp .input { background: #fff; border: 1px solid var(--line-strong); color: #000; border-radius: 14px; }
.lp .input:focus { border-color: #000; }
.lp .input::placeholder { color: #a1a1a6; }
.lp .field__label { color: var(--muted-2); }
.lp .check { color: var(--muted-2); }
.lp .check a { color: #000; }
.lp .check input { accent-color: #000; }
.checkout { width: min(460px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 30px; background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.checkout::backdrop { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.checkout[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.checkout__form { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.checkout__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.checkout__head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.045em; }
.checkout__close { width: 36px; height: 36px; flex: none; border-radius: 999px; border: 0; background: #e8e8ed; font-size: 22px; line-height: 1; color: #000; }
.checkout__plans { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow .2s; }
.option:has(input:checked) { box-shadow: 0 0 0 2px #000; }
.option:has(input:checked)::before { box-shadow: inset 0 0 0 6px #000; }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.option__body { flex: 1; display: flex; flex-direction: column; }
.option__title { font-weight: 600; }
.option__note { font-size: 13px; color: var(--muted); }
.option__price { font-size: 18px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.option__price s { font-size: 13px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.checkout__note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.lp .form-error { color: var(--danger); }
.lp .form-error:empty { display: none; }

.promo { display: flex; flex-direction: column; gap: 8px; }
.promo__toggle { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.promo__row { display: flex; gap: 8px; }
.promo__row[hidden], .promo__toggle[hidden] { display: none; }
.promo__row .input { flex: 1; text-transform: uppercase; min-height: 48px; }
.promo__row .pill { min-height: 48px; }
.promo__msg { margin: 0; font-size: 14px; }
.promo__msg:empty { display: none; }
.promo__msg.is-ok { color: #248a3d; }
.promo__msg.is-err { color: var(--danger); }

.promo-ribbon { position: relative; z-index: 60; padding: 10px 16px; text-align: center; font-size: 14px; font-weight: 500; background: #000; color: #fff; }
.promo-ribbon b { font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===== Установка ARC на экран ===== */
.getapp #getapp-body { display: flex; flex-direction: column; gap: 14px; }
.ga-lead { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.ga-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: ga; }
.ga-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15px; line-height: 1.35; }
.ga-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #eef5ff; color: #0a84ff; display: flex; align-items: center; justify-content: center; }
.ga-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ga-ic svg circle[r="1.6"] { fill: currentColor; stroke: none; }
.ga-link { border: 0; background: none; padding: 6px; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ga-arrow { text-align: center; font-size: 26px; color: #0a84ff; animation: ga-bob 1.2s ease-in-out infinite; margin: -4px 0 -8px; }
@keyframes ga-bob { 50% { transform: translateY(6px); } }
@media (max-width: 600px) {
  .getapp { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
