/* Посадочные страницы установки приложения.
   Свой самостоятельный лист: страницы не наследуют вёрстку сайта, чтобы
   не тянуть шапку, сетку и рекламные стили ради одного экрана. */

:root {
    --al-bg: #101014;
    --al-bg-2: #17171d;
    --al-card: #1c1c23;
    --al-line: #2a2a33;
    --al-ink: #f4f5f7;
    --al-muted: #a0a2ad;
    --al-accent: #a97fad;
    --al-accent-2: #7d4f91;
    --al-red: #e31e24;
    --al-green: #1a9c46;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    background: var(--al-bg); color: var(--al-ink);
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.al-wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* ── Шапка: только логотип, без навигации ── */
.al-top { padding: 26px 0 6px; text-align: center; }
.al-top img { height: 30px; width: auto; }

/* ── Первый экран ── */
.al-hero { padding: 26px 0 8px; text-align: center; }
.al-h1 {
    margin: 0 0 14px; font-size: 34px; line-height: 1.12; font-weight: 800;
    letter-spacing: -.02em;
}
.al-h1 b { color: var(--al-accent); font-weight: 800; }
.al-lead {
    margin: 0 auto 24px; max-width: 560px;
    font-size: 16.5px; line-height: 1.5; color: var(--al-muted);
}

/* ── Кнопки магазинов ── */
.al-stores {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
    margin-bottom: 18px;
}
.al-store {
    display: flex; align-items: center; gap: 10px;
    min-width: 210px; padding: 11px 18px;
    background: #fff; color: #101014; border-radius: 14px;
    text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.al-store:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.al-store svg { flex: none; }
.al-store__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.al-store__small { font-size: 11px; opacity: .7; }
.al-store__big { font-size: 16px; font-weight: 700; }

/* Своя платформа — на первом месте и заметнее чужой */
.al-store--muted {
    background: transparent; color: var(--al-ink);
    border: 1px solid var(--al-line);
}
.al-store--muted:hover { border-color: var(--al-accent); box-shadow: none; }

/* ── QR ── */
.al-qr {
    display: flex; align-items: center; gap: 16px; justify-content: center;
    margin: 22px 0 10px;
}
.al-qr img { width: 116px; height: 116px; padding: 8px; background: #fff; border-radius: 12px; }
.al-qr p { margin: 0; max-width: 190px; font-size: 13.5px; line-height: 1.4; color: var(--al-muted); text-align: left; }
.al-other { margin: -6px 0 0; font-size: 13.5px; text-align: center; }
.al-other a { color: var(--al-muted); text-decoration: underline; }
.al-note { margin: 8px 0 0; font-size: 13px; color: var(--al-muted); }

/* ── Скриншот телефона ── */
.al-shot { margin: 30px auto 0; max-width: 320px; }
.al-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }

/* ── Преимущества ── */
.al-feats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin: 44px 0 10px;
}
.al-feat {
    padding: 20px; background: var(--al-card);
    border: 1px solid var(--al-line); border-radius: 16px;
}
.al-feat__ic {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin-bottom: 12px;
    background: rgba(169, 127, 173, .14); border-radius: 11px; color: var(--al-accent);
}
.al-feat h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.al-feat p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--al-muted); }

/* ── Подвал ── */
.al-foot {
    margin-top: 44px; padding: 22px 0 30px;
    border-top: 1px solid var(--al-line);
    font-size: 13px; color: var(--al-muted); text-align: center;
}
.al-foot a { color: var(--al-muted); }

@media (max-width: 760px) {
    .al-h1 { font-size: 27px; }
    .al-lead { font-size: 15.5px; }
    .al-feats { grid-template-columns: 1fr; gap: 10px; margin-top: 34px; }
    .al-store { min-width: 0; flex: 1 1 100%; justify-content: center; }
    .al-qr { display: none; } /* на телефоне QR не нужен — магазин открывается кнопкой */
    /* на узком экране макет телефона не должен упираться в края */
    .al-shot { max-width: 268px; margin-top: 24px; }
}

/* ── Конкурс: посадочная под рекламу (вариант «а») ── */
.al-badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px; padding: 7px 14px;
    border: 1px solid rgba(233, 60, 66, .45); border-radius: 999px;
    background: rgba(227, 30, 36, .12);
    font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #ff8d90;
}
.al-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--al-red); animation: al-pulse 1.2s ease-in-out infinite alternate; }
@keyframes al-pulse { to { opacity: .25; } }

.al-match { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 4px 0 6px; }
.al-match__side { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.al-match__side img { width: 46px; height: 46px; object-fit: contain; }
.al-match__vs { color: var(--al-muted); font-weight: 800; letter-spacing: .08em; }
.al-match__when { margin: 0 0 20px; color: var(--al-muted); font-size: 14.5px; }

.al-count {
    max-width: 460px; margin: 0 auto 24px; padding: 16px 18px 14px;
    background: var(--al-card); border: 1px solid var(--al-line); border-radius: 18px;
}
.al-count__l { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--al-muted); font-weight: 700; margin-bottom: 10px; }
.al-count__cells { display: flex; justify-content: center; gap: 10px; }
.al-count__c { min-width: 68px; padding: 8px 6px; border-radius: 12px; background: var(--al-bg-2); }
.al-count__c b { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.al-count__c span { display: block; margin-top: 2px; font-size: 11px; color: var(--al-muted); }
.al-count__n { margin-top: 10px; font-size: 13px; color: var(--al-muted); }

.al-h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; text-align: center; }

.al-steps { padding: 30px 0 6px; }
.al-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 640px; margin-inline: auto; }
.al-steps__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--al-card); border: 1px solid var(--al-line); border-radius: 16px; }
.al-steps__list b {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #b98ce4, var(--al-accent-2)); font-size: 16px;
}
.al-steps__list h3 { margin: 2px 0 4px; font-size: 16.5px; font-weight: 700; }
.al-steps__list p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--al-muted); }

.al-shots { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 28px 0 8px; }
.al-shots figure { margin: 0; width: 232px; }
.al-shots img { width: 100%; border-radius: 18px; border: 1px solid var(--al-line); display: block; }
.al-shots figcaption { margin-top: 8px; text-align: center; font-size: 13.5px; color: var(--al-muted); }

.al-rules { padding: 30px 0 4px; max-width: 640px; margin-inline: auto; }
.al-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.al-rules li { font-size: 14.5px; line-height: 1.5; color: var(--al-muted); }
.al-fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: #7b7d88; }

.al-cta { margin: 34px 0 6px; padding: 22px 18px 8px; border-radius: 20px; background: var(--al-card); border: 1px solid var(--al-line); text-align: center; }
.al-cta p { margin: 0 0 14px; font-size: 16px; font-weight: 700; }

@media (max-width: 560px) {
    .al-match { gap: 12px; }
    .al-match__side { flex-direction: column; gap: 6px; text-align: center; font-size: 14px; }
    .al-count__c { min-width: 0; flex: 1; }
    .al-shots figure { width: 46%; }
}
.al-shots__note { width: 100%; margin: 6px 0 0; text-align: center; font-size: 12.5px; color: #7b7d88; }
.al-shots h2 { width: 100%; }
