.faq-page {
    overflow: hidden;
}

.faq-hero {
    display: grid;
    min-height: calc(100vh - 56px);
    place-items: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--white) 0%, #fafafb 100%);
    text-align: center;
}

.faq-hero-copy {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.faq-hero h1 {
    margin: 0;
    font-size: clamp(54px, 7vw, 96px);
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.faq-hero h1 span {
    color: rgba(29, 29, 31, .64);
}

.faq-hero-copy > p:last-child {
    width: min(100%, 720px);
    margin: 34px auto 0;
    color: rgba(29, 29, 31, .64);
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.35;
    letter-spacing: -.025em;
}

.faq-content {
    padding: 140px 20px;
    background: linear-gradient(180deg, #fafafb 0%, var(--soft) 100%);
}

.faq-groups {
    width: min(100%, var(--page-width));
    margin: 0 auto;
}

.faq-group {
    display: grid;
    padding: clamp(38px, 5vw, 66px);
    border: 1px solid rgba(29, 29, 31, .12);
    border-radius: 30px;
    background: var(--white);
    grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 100px);
}

.faq-group + .faq-group {
    margin-top: 24px;
}

.faq-group-heading {
    align-self: start;
}

.faq-group-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: .98;
    letter-spacing: -.055em;
}

.faq-group-dark {
    color: var(--ink);
    background: var(--white);
}

.faq-list {
    border-top: 1px solid rgba(29, 29, 31, .14);
}

.faq-group-dark .faq-list {
    border-color: rgba(29, 29, 31, .14);
}

.faq-item {
    border-bottom: 1px solid rgba(29, 29, 31, .14);
}

.faq-group-dark .faq-item {
    border-color: rgba(29, 29, 31, .14);
}

.faq-item summary {
    display: grid;
    align-items: center;
    padding: 27px 0;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.025em;
    list-style: none;
    cursor: pointer;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 28px;
}

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

.faq-marker {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--soft);
    transition: transform .35s var(--ease), background .25s ease;
}

.faq-group-dark .faq-marker {
    background: var(--soft);
}

.faq-marker::before,
.faq-marker::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    content: "";
    background: currentColor;
    transform: translate(-50%, -50%);
}

.faq-marker::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .3s var(--ease);
}

.faq-item[open] .faq-marker {
    transform: rotate(180deg);
}

.faq-item[open] .faq-marker::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
    max-width: 720px;
    padding: 0 62px 30px 0;
    color: rgba(29, 29, 31, .64);
    font-size: 17px;
    line-height: 1.58;
}

.faq-group-dark .faq-answer {
    color: rgba(29, 29, 31, .64);
}

.faq-answer p {
    margin: 0;
}

.faq-answer p + p {
    margin-top: 14px;
}

.faq-example {
    color: rgba(29, 29, 31, .82);
    font-weight: 600;
}

.faq-answer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-final-cta {
    background: var(--white);
}

@media (max-width: 820px) {
    .faq-hero {
        min-height: 74vh;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .faq-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .faq-group {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 560px) {
    .faq-hero,
    .faq-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .faq-hero h1 {
        font-size: clamp(46px, 13vw, 66px);
    }

    .faq-hero h1 span {
        white-space: nowrap;
    }

    .faq-hero-copy > p:last-child {
        font-size: 21px;
    }

    .faq-group {
        padding: 34px 24px;
        border-radius: 22px;
    }

    .faq-group-heading h2 {
        font-size: 38px;
    }

    .faq-item summary {
        padding: 23px 0;
        font-size: 19px;
        grid-template-columns: minmax(0, 1fr) 30px;
        gap: 18px;
    }

    .faq-marker {
        width: 30px;
        height: 30px;
    }

    .faq-answer {
        padding-right: 0;
        font-size: 16px;
    }
}
