.faq-page {
    background: var(--bg);
}

.faq-main {
    width: 100%;
    padding-bottom: 112px;
}

.faq-hero,
.faq-section-hero,
.faq-categories,
.faq-articles {
    width: var(--container);
    margin-right: auto;
    margin-left: auto;
}

.faq-hero {
    min-height: 610px;
    position: relative;
    margin-top: 56px;
    padding: 38px 48px 48px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(172, 17, 255, .62), transparent 28%),
        radial-gradient(circle at 62% 110%, rgba(253, 91, 3, .26), transparent 35%),
        linear-gradient(135deg, #18091d 0%, #26064d 52%, #390894 100%);
    border-radius: 36px;
    box-shadow: 0 34px 90px rgba(24, 9, 29, .14);
    overflow: hidden;
    isolation: isolate;
}

.faq-hero::before,
.faq-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.faq-hero::before {
    width: 520px;
    height: 520px;
    top: -320px;
    left: 42%;
}

.faq-hero::after {
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: -270px;
    border-width: 72px;
    border-color: rgba(255, 255, 255, .055);
}

.faq-hero .crumbs {
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    margin-bottom: 72px;
    --crumbs-link: #fff;
    --crumbs-muted: rgba(255, 255, 255, .68);
    --crumbs-hover: var(--orange);
    --crumbs-dot: rgba(255, 255, 255, .72);
}

.faq-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
    gap: 80px;
    align-items: end;
}

.faq-hero__content {
    max-width: 900px;
}

.faq-eyebrow,
.faq-section-head > div > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.faq-eyebrow::before,
.faq-section-head > div > span::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.faq-hero h1,
.faq-section-hero h1 {
    margin: 22px 0 0;
    font-size: clamp(60px, 6vw, 92px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.faq-hero__content > p {
    max-width: 720px;
    margin: 32px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 20px;
    line-height: 1.48;
}

.faq-hero__note {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    backdrop-filter: blur(18px);
}

.faq-hero__note > span {
    margin-bottom: auto;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-hero__note strong {
    max-width: 320px;
    font-size: 25px;
    font-weight: 550;
    line-height: 1.08;
}

.faq-hero__note p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.45;
}

.faq-categories,
.faq-articles {
    margin-top: 96px;
}

.faq-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 64px;
    align-items: end;
    margin-bottom: 40px;
}

.faq-section-head h2 {
    max-width: 900px;
    margin: 18px 0 0;
    color: var(--black);
    font-size: clamp(42px, 4.4vw, 66px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.faq-section-head > p {
    margin: 0;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.5;
}

.faq-section-head--articles {
    grid-template-columns: minmax(0, 1fr) auto;
}

.faq-section-head--articles > a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    color: var(--black);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 750;
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.faq-section-head--articles > a span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.faq-section-head--articles > a span img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.faq-section-hero {
    margin-top: 56px;
    padding: 0 0 64px;
    border-bottom: 1px solid var(--line);
}

.faq-section-hero .crumbs {
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.faq-section-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 96px;
    align-items: end;
}

.faq-section-hero h1 {
    max-width: 980px;
    color: var(--black);
    font-size: clamp(54px, 5.2vw, 80px);
}

.faq-section-hero__summary {
    padding-left: 28px;
    border-left: 3px solid var(--orange);
}

.faq-section-hero__summary div,
.faq-section-hero__summary p {
    margin: 0;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.5;
}

.faq-section-hero__summary p + p {
    margin-top: 12px;
}

.faq-section-hero__summary > span {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 12px;
    color: var(--black);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
}

.faq-empty {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px;
    background:
        radial-gradient(circle at 92% 10%, rgba(172, 17, 255, .14), transparent 34%),
        #fff;
    border: 1px solid #f0ecf2;
    border-radius: 28px;
}

.faq-empty > span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-empty h2 {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.05em;
}

.faq-empty p {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--grey);
    line-height: 1.5;
}

.faq-empty > a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    padding: 0 22px;
    color: #fff;
    background: var(--brand-gradient-action);
    border-radius: 13px;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .faq-empty > a:hover {
        background: var(--brand-gradient-action-hover);
        box-shadow: var(--brand-shadow);
    }

    .faq-section-head--articles > a:hover {
        color: var(--indigo);
        border-color: rgba(57, 8, 148, .28);
        transform: translateY(-2px);
    }
}

@media (max-width: 1080px) {
    .faq-hero__grid,
    .faq-section-hero__grid {
        gap: 48px;
    }

    .faq-section-head {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .faq-main {
        padding-bottom: 72px;
    }

    .faq-hero {
        min-height: 0;
        margin-top: 32px;
        padding: 24px;
        border-radius: 26px;
    }

    .faq-hero .crumbs,
    .faq-section-hero .crumbs {
        gap: 10px;
        margin-bottom: 48px;
        font-size: 13px;
    }

    .faq-hero__grid,
    .faq-section-hero__grid,
    .faq-section-head,
    .faq-section-head--articles {
        grid-template-columns: 1fr;
    }

    .faq-hero__grid {
        gap: 40px;
    }

    .faq-hero h1 {
        font-size: 48px;
    }

    .faq-hero__content > p {
        margin-top: 24px;
        font-size: 17px;
    }

    .faq-hero__note {
        min-height: 210px;
        padding: 22px;
        border-radius: 20px;
    }

    .faq-categories,
    .faq-articles {
        margin-top: 64px;
    }

    .faq-section-head {
        gap: 20px;
        margin-bottom: 28px;
    }

    .faq-section-head h2 {
        margin-top: 14px;
        font-size: 38px;
    }

    .faq-section-head > p {
        font-size: 15px;
    }

    .faq-section-head--articles > a {
        justify-self: start;
    }

    .faq-section-hero {
        margin-top: 36px;
        padding-bottom: 40px;
    }

    .faq-section-hero__grid {
        gap: 28px;
    }

    .faq-section-hero h1 {
        font-size: 44px;
        overflow-wrap: anywhere;
    }

    .faq-section-hero__summary {
        padding-left: 20px;
    }

    .faq-empty {
        min-height: 280px;
        padding: 28px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 380px) {
    .faq-hero h1,
    .faq-section-hero h1 {
        font-size: 40px;
    }

    .faq-section-head h2 {
        font-size: 34px;
    }
}
