.faq-section {
    --faq-ribbon: clamp(4px, .48vw, 8px);
    position: relative;
    isolation: isolate;
}

.faq-backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: clip;
    background: linear-gradient(100deg, #c0a5f5, #ddd2fc 55%, #9deafb);
    pointer-events: none;
}

.faq-backdrop img {
    position: absolute;
    top: var(--faq-ribbon);
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f7f7fc;
}

@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
    .pricing-section:has(+ .faq-section) > .pricing-backdrop { bottom: calc(-1 * clamp(22px, 3.6vw, 55px)); }
    .faq-section { margin-top: calc(-1 * clamp(20px, 3.3vw, 51px)); }

    .faq-backdrop, .faq-backdrop img {
        clip-path: shape(from 0 clamp(8px, 1.25vw, 19px),
            curve to 57% clamp(26px, 3.75vw, 58px) with 16% 0 / 38% clamp(22px, 3.35vw, 51px),
            curve to 100% 0 with 72% clamp(26px, 4.05vw, 63px) / 92% clamp(16px, 2.65vw, 40px),
            line to 100% 100%, line to 0 100%, close);
    }
}

.faq-layout {
    width: min(1420px, calc(100% - 8.3vw));
    margin-inline: auto;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 26.5fr) minmax(0, 73.5fr);
    align-items: start;
    gap: clamp(25px, 2.65vw, 41px);
    padding-block: clamp(83px, 9.55vw, 146px) clamp(44px, 4.65vw, 71px);
}

.faq-layout h2 {
    margin-top: clamp(6px, .85vw, 13px);
    font-size: clamp(38px, 4.95vw, 76px);
    line-height: 1.02;
    font-weight: 750;
    letter-spacing: -.058em;
    text-wrap: balance;
}

.faq-questions { display: grid; gap: clamp(10px, .9vw, 14px); }

.faq-item {
    border: 1px solid #dedff0;
    border-radius: clamp(14px, 1.45vw, 22px);
    background: rgb(255 255 255 / .84);
    transition: background-color .2s ease, border-color .2s ease;
}

.faq-item[open] { border-color: transparent; background: #ebe6fa; }
.faq-item:not([open]):hover { border-color: #bfb3ee; }

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: clamp(54px, 5.1vw, 79px);
    padding: clamp(13px, 1.15vw, 18px) clamp(15px, 2.2vw, 34px);
    border-radius: inherit;
    font-size: clamp(17px, 2vw, 30px);
    font-weight: 720;
    line-height: 1.2;
    letter-spacing: -.037em;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-icons { width: clamp(21px, 2vw, 31px); height: auto; }
.faq-icons img { width: 100%; height: auto; filter: invert(10%) sepia(47%) saturate(1795%) hue-rotate(195deg) brightness(92%) contrast(105%); }
.faq-icons .faq-minus, .faq-item[open] .faq-plus { display: none; }
.faq-item[open] .faq-minus { display: block; }

.faq-item p {
    padding: 0 clamp(15px, 2.2vw, 34px) clamp(21px, 2vw, 31px);
    color: var(--muted);
    font-size: clamp(16px, 1.6vw, 25px);
    line-height: 1.42;
    letter-spacing: -.021em;
}

@media (max-width: 1050px) {
    .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .faq-layout h2 { text-wrap: initial; }
}

@media (max-width: 600px) {
    .faq-layout { width: calc(100% - 36px); }
    .faq-layout h2 { font-size: clamp(31px, 8.8vw, 42px); }
}
