.funnel-fit-faq {
    --ff-faq-ink: #26344B;
    --ff-faq-muted: #687487;
    --ff-faq-paper: #FFFFFF;
    --ff-faq-accent: #E34B61;
    --ff-faq-line: #DDE2E9;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(2.5rem, 4vw, 3.75rem) 0;
    background: var(--ff-faq-paper);
    color: var(--ff-faq-ink);
}

.funnel-fit-faq *,
.funnel-fit-faq *::before,
.funnel-fit-faq *::after {
    box-sizing: border-box;
}

.funnel-fit-faq::before,
.funnel-fit-faq::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgb(38 52 75 / 4%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.funnel-fit-faq::before {
    top: -300px;
    right: -180px;
    width: 650px;
    height: 650px;
}

.funnel-fit-faq::after {
    top: -225px;
    right: -105px;
    width: 500px;
    height: 500px;
}

/* Layout */

.funnel-fit-faq__container {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100% - 3rem, 1240px);
    margin-inline: auto;
}

/* Introduction */

.funnel-fit-faq__intro {
    position: sticky;
    top: 3rem;
    max-width: 480px;
}

.funnel-fit-faq__eyebrow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 1.5rem;
    color: var(--ff-faq-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.funnel-fit-faq__eyebrow::before {
    order: 2;
    width: 1.6rem;
    height: 2px;
    flex: 0 0 2px;
    background: var(--ff-faq-accent);
    content: "";
}

.funnel-fit-faq__title {
    margin: 0;
    color: var(--ff-faq-ink);
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    font-weight: 650;
    letter-spacing: -0.075em;
    line-height: 0.99;
    text-wrap: balance;
}

.funnel-fit-faq__title > span {
    display: block;
    margin-top: 0.18em;
    color: #687487;
    font-size: 0.67em;
    font-weight: 450;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

.funnel-fit-faq__description {
    max-width: 380px;
    margin: 1.5rem 0 0;
    color: var(--ff-faq-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Accordion */

.funnel-fit-faq__list {
    min-width: 0;
    border-top: 1px solid var(--ff-faq-line);
}

.funnel-fit-faq__item {
    border-bottom: 1px solid var(--ff-faq-line);
}

.funnel-fit-faq__question {
    display: flex;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.45rem 0;
    color: var(--ff-faq-ink);
    cursor: pointer;
    list-style: none;
}

.funnel-fit-faq__question::-webkit-details-marker {
    display: none;
}

.funnel-fit-faq__question::marker {
    content: "";
}

.funnel-fit-faq__question > span:first-child {
    max-width: 90%;
    color: var(--ff-faq-ink);
    font-size: clamp(1rem, 1.45vw, 1.17rem);
    font-weight: 550;
    letter-spacing: -0.025em;
    line-height: 1.5;
    transition: color 180ms ease;
}

.funnel-fit-faq__question:hover > span:first-child {
    color: #526078;
}

.funnel-fit-faq__toggle {
    position: relative;
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    border: 1px solid #CCD4DF;
    border-radius: 50%;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.funnel-fit-faq__toggle::before,
.funnel-fit-faq__toggle::after {
    position: absolute;
    width: 0.7rem;
    height: 1px;
    background: var(--ff-faq-ink);
    content: "";
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.funnel-fit-faq__toggle::after {
    transform: rotate(90deg);
}

.funnel-fit-faq__item[open] .funnel-fit-faq__toggle {
    border-color: var(--ff-faq-accent);
    background: var(--ff-faq-accent);
}

.funnel-fit-faq__item[open] .funnel-fit-faq__toggle::before,
.funnel-fit-faq__item[open] .funnel-fit-faq__toggle::after {
    background: #FFFFFF;
}

.funnel-fit-faq__item[open] .funnel-fit-faq__toggle::after {
    transform: rotate(0);
}

/* Answers */

.funnel-fit-faq__answer {
    padding: 0 3.5rem 1.75rem 0;
    animation: funnel-fit-faq-reveal 220ms ease both;
}

.funnel-fit-faq__answer p {
    max-width: 620px;
    margin: 0;
    color: var(--ff-faq-muted);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.9;
}

.funnel-fit-faq__question:focus-visible {
    outline: 2px solid var(--ff-faq-accent);
    outline-offset: 5px;
}

@keyframes funnel-fit-faq-reveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom CTA */

.funnel-fit-faq__footer {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 2rem 0 0;
    border-top: 1px solid var(--ff-faq-line);
}

.funnel-fit-faq__footer > p {
    max-width: 340px;
    margin: 0;
    color: var(--ff-faq-ink);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.5;
}

.funnel-fit-faq__footer > p > span {
    display: block;
    margin-top: 0.4rem;
    color: var(--ff-faq-muted);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.7;
}

.funnel-fit-faq__cta {
    display: inline-flex;
    min-height: 3.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--ff-faq-accent);
    background: var(--ff-faq-accent);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.funnel-fit-faq__cta > span {
    font-size: 1.1rem;
    transition: transform 180ms ease;
}

.funnel-fit-faq__cta:hover {
    transform: translateY(-2px);
    border-color: #C93249;
    background: #C93249;
    color: #FFFFFF;
}

.funnel-fit-faq__cta:hover > span {
    transform: translate(2px, -2px);
}

.funnel-fit-faq__cta:focus-visible {
    outline: 2px solid var(--ff-faq-ink);
    outline-offset: 4px;
}

/* Responsive */

@media (max-width: 900px) {
    .funnel-fit-faq {
        padding: 3rem 0;
    }

    .funnel-fit-faq__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .funnel-fit-faq__intro {
        position: static;
        max-width: 680px;
    }

    .funnel-fit-faq__title {
        font-size: clamp(3.25rem, 9vw, 5rem);
    }

    .funnel-fit-faq__footer {
        grid-column: 1;
    }
}

@media (max-width: 600px) {
    .funnel-fit-faq {
        padding: 2.5rem 0;
    }

    .funnel-fit-faq__container {
        width: min(100% - 2rem, 1240px);
        gap: 1.75rem;
    }

    .funnel-fit-faq__title {
        font-size: clamp(2.8rem, 13vw, 4.25rem);
    }

    .funnel-fit-faq__description {
        margin-top: 1.1rem;
        font-size: 0.95rem;
    }

    .funnel-fit-faq__question {
        min-height: 4.75rem;
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .funnel-fit-faq__question > span:first-child {
        font-size: 1rem;
    }

    .funnel-fit-faq__toggle {
        width: 1.8rem;
        height: 1.8rem;
        flex-basis: 1.8rem;
    }

    .funnel-fit-faq__answer {
        padding: 0 0 1.5rem;
    }

    .funnel-fit-faq__answer p {
        font-size: 0.9rem;
    }

    .funnel-fit-faq__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 1.25rem;
        padding-top: 1.5rem;
    }

    .funnel-fit-faq__cta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .funnel-fit-faq__question > span:first-child,
    .funnel-fit-faq__toggle,
    .funnel-fit-faq__toggle::before,
    .funnel-fit-faq__toggle::after,
    .funnel-fit-faq__cta,
    .funnel-fit-faq__cta > span,
    .funnel-fit-faq__answer {
        animation: none;
        transition: none;
    }
}