/* /faq — glassmorphism accordion (native <details name> exclusive group).
   Logical properties throughout: the same rules serve LTR and RTL (ar). */

/* about.min.css gives .s-reviews-page a 178px top padding (sized for the
   reviews page hero) — rebalance it for the FAQ column. */
.s-reviews-page {
    padding-top: 120px;
}

/* Page title: about.min.css sizes bare h1 via --fs-1 (hero scale, ~78px) —
   pin the FAQ title to the card column instead. */
.s-reviews-page .base-title {
    max-width: 780px;
    margin: 0 auto 28px;
    padding: 0 21px;
    box-sizing: border-box;
    font-size: 42px;
    line-height: 1.15;
    text-wrap: balance;
}

.faq-list * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.faq-list {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 12px;

    font-family: 'Gilroy', sans-serif;
    /* Smooth height animation of ::details-content (Chrome 131+;
       older browsers just toggle instantly). */
    interpolate-size: allow-keywords;
}

/* ---- card ---- */

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.faq-item[open] {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.faq-item__summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__title {
    font-family: 'Gilroy', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #e8eaee;
}

.faq-item__summary::after {
    content: "+";
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    color: #6f7680;
    transition: transform .25s ease, color .25s ease;
}

.faq-item[open] .faq-item__summary::after {
    color: #fff;
    transform: rotate(45deg);
}

.faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height .28s ease, content-visibility .28s allow-discrete;
}

.faq-item[open]::details-content {
    height: auto;
}

.faq-item__content {
    padding: 4px 24px 28px;
}

/* ---- inner content ---- */

.faq-content__wrapper {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.faq-content__block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-content__block + .faq-content__block {
    margin-block-start: 28px;
}

.faq-content__title {
    font-family: 'Gilroy', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
}

.faq-content__text {
    font-family: 'Gilroy', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #c9ced3;
}

.faq-content__text--big {
    font-size: 16px;
    color: #e8eaee;
}

.faq-content__text a,
.faq-content__list li a {
    color: #726bff;
    font-weight: 400;
    text-decoration: underline;
}

.faq-content__list {
    font-family: 'Gilroy', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #e8eaee;

    list-style: none;
    counter-reset: list;
}

.faq-content__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    position: relative;
    counter-increment: list;
}

.faq-content__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #726bff;
    transform: translateY(9px);
}

/* Single-paragraph answers (questions 2–7): the hanging bullet next to the
   only line of text adds nothing — hide it, keep bullets in structured lists. */
.faq-content__list--outside li::before {
    display: none;
}

.faq-content__list--numeric li {
    gap: 8px;
}

.faq-content__list--numeric li::before {
    content: counter(list) ".";
    background: transparent;
    width: 22px;
    height: auto;
    transform: none;
    font-size: 15px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: #726bff;
}

.faq-content__list li p span {
    color: #726bff;
    font-size: 13px;
}

.faq-content__notice {
    font-family: 'Gilroy', sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    color: #c9ced3;

    background: rgba(114, 107, 255, 0.08);
    border-inline-start: 2px solid #726bff;
    border-radius: 10px;
    padding: 14px 16px;
}

.faq-content__lock {
    margin-block-start: 36px;

    display: flex;
    align-items: center;
    gap: 20px;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 20px;

    font-family: 'Gilroy', sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    color: #8a91a0;
}

.faq-content__lock .icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    fill: #8a91a0;
}

/* ---- promo code ---- */

.faq-promo__wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-promo__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    padding: 18px 24px;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    transition: border-color .2s ease;
}

.faq-promo__label:hover {
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.35);
}

.faq-promo__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    /* brand green (logo star) — per design review, not the page accent */
    fill: #0aff75;
}

.faq-promo__title {
    font-family: 'Gilroy', sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}

.faq-promo__copy {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: #8a91a0;
}

.faq-promo__text {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #8a91a0;

    text-align: center;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}

.copy-gem {
    transition: .3s fill;
}

.copy-icon {
    transition-delay: .3s;
}

.copy-block.copied .copy-gem {
    fill: #8a91a0;
}

.copy-block.copied .copy-icon {
    fill: #0aff75;
    animation: topBottom .3s .3s linear;
}

@keyframes topBottom {
    0% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* ---- closing CTA under the list ---- */

.faq-cta {
    text-align: center;
    margin: 32px auto 0;
}

/* ---- mobile ---- */

@media screen and (max-width: 600px) {
    .s-reviews-page {
        padding-top: 96px;
    }
    .s-reviews-page .base-title {
        font-size: 28px;
        margin: 0 auto 20px;
    }
    .faq-item__summary {
        padding: 16px 18px;
    }
    .faq-item__title {
        font-size: 15px;
    }
    .faq-item__content {
        padding: 2px 18px 22px;
    }
    .faq-content__lock {
        flex-direction: column;
        text-align: center;
    }
    .faq-promo__label {
        padding: 15px;
    }
    .faq-promo__icon {
        width: 24px;
        height: 24px;
    }

    .modal .order-complete {
        padding: 50px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item::details-content,
    .faq-item__summary::after,
    .faq-item {
        transition: none;
    }
}
