.faq-page {
    min-height: 100vh;
    padding-top: 76px;
    background: #050505;
}

.faq-hero,
.faq-layout {
    width: min(1320px, calc(100% - 96px));
    margin: 0 auto;
}

.faq-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    min-height: 360px;
    padding: 86px 0 58px;
    border-bottom: 1px solid var(--line);
}

.faq-hero h1 {
    max-width: 880px;
    color: var(--text);
    font-family: "Space Grotesk", "Manrope", Arial, sans-serif;
    font-size: clamp(58px, 7.5vw, 118px);
    font-weight: 600;
    line-height: 0.92;
}

.faq-hero-link {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--accent);
    color: #050505;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.faq-layout {
    padding: 54px 0 104px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
        #0b0b0b;
}

.faq-item[open] {
    border-color: rgba(255, 138, 0, 0.52);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 26px 30px;
    color: var(--text);
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 900;
    line-height: 1.25;
}

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

.faq-item p {
    max-width: 980px;
    padding: 0 30px 30px;
    color: rgba(245, 245, 240, 0.62);
    font-size: 17px;
    line-height: 1.58;
}

.faq-item a {
    color: var(--accent);
}

@media (max-width: 760px) {
    .faq-page {
        padding-top: 64px;
    }

    .faq-hero,
    .faq-layout {
        width: calc(100% - 32px);
    }

    .faq-hero {
        display: block;
        min-height: 280px;
        padding: 64px 0 42px;
    }

    .faq-hero-link {
        margin-top: 26px;
    }

    .faq-layout {
        padding: 36px 0 72px;
    }

    .faq-item summary {
        padding: 22px;
    }

    .faq-item p {
        padding: 0 22px 24px;
        font-size: 16px;
    }
}
