﻿:root {
    --wrap-bg1: #e5efff;
    --wrap-bg2: #edf3ff;
    --wrap-border: #79d796;
    --title-bg: #6da3ff;
    --bubble-q: #6da3ff; /* фон вопроса */
    --bubble-a: #f3f5f9; /* фон ответа */
    --text: #24324d;
    --muted: #5c6b84;
    --br: #dbe6ff;
    --shadow: 0 10px 30px rgba(38,56,106,.10),0 2px 10px rgba(38,56,106,.06);
    --max: 1140px;
    --radius-xl: 22px;
    --radius-lg: 16px;
}

.faq-page {
    max-width: var(--max);
    margin: 24px auto 72px;
    padding: 0 16px;
}

.faq-wrap {
    background: linear-gradient(180deg,var(--wrap-bg1) 0%,var(--wrap-bg2) 100%);
    border: 2px solid var(--wrap-border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.faq-title {
    background: var(--title-bg);
    color: #fff;
    text-align: center;
    font-weight: 800;
    letter-spacing: .02em;
    border-radius: 16px;
    padding: 14px 16px;
    margin: 0 8px 22px;
    font-size: clamp(18px,2.2vw,22px);
}

.qa {
    display: grid;
    gap: 18px;
    margin-bottom: 38px;
}
/* Вопрос */
.q {
    align-self: start;
    justify-self: start;
    max-width: 900px;
    color: #fff;
    background: var(--bubble-q);
    padding: 14px 18px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow);
    font-weight: 600;
    line-height: 1.4;
}

    .q::after {
        content: "";
        position: absolute;
        left: 38px;
        bottom: -12px;
        width: 22px;
        height: 22px;
        background: var(--bubble-q);
        transform: rotate(45deg);
        border-radius: 4px;
    }

/* Ответ */
.a {
    background: var(--bubble-a);
    color: var(--text);
    border: 1px solid var(--br);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    line-height: 1.75;
    position: relative;
}

    .a::before {
        content: "";
        position: absolute;
        left: 68px;
        top: -12px;
        width: 22px;
        height: 22px;
        background: var(--bubble-a);
        transform: rotate(45deg);
        border-left: 1px solid var(--br);
        border-top: 1px solid var(--br);
        border-radius: 4px;
    }

.download {
    text-align: center;
    margin: 22px 0 10px;
}

.btn-more {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    background: #6da3ff;
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow);
    border: 1px solid #5c90ee;
}

.hero {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

    .hero img {
        max-width: 840px;
        width: 100%;
        height: auto;
        display: block;
    }

/* адаптив */
@media (max-width: 720px) {
    .faq-wrap {
        padding: 16px
    }

    .q {
        font-size: 15px
    }

    .a {
        font-size: 15px
    }

    .q::after {
        left: 20px
    }

    .a::before {
        left: 32px
    }
}body {
}
