.faq-page {
    overflow: hidden;
    color: var(--tcd-ink, #17151f);
    background: #fff;
}

.faq-hero {
    padding: 112px 0 54px;
    text-align: center;
}

.faq-kicker {
    display: inline-flex;
    color: var(--tcd-muted, #686674);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-hero h1 {
    max-width: 920px;
    margin: 18px auto 22px;
    color: var(--tcd-ink, #17151f);
    font-size: 72px;
    font-weight: 800;
    line-height: .98;
    letter-spacing: 0;
}

.faq-hero > .container-lg > p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--tcd-muted, #686674);
    font-size: 17px;
    line-height: 1.7;
}

.faq-search {
    position: relative;
    display: block;
    width: min(640px, 100%);
    margin: 34px auto 0;
}

.faq-search > .material-symbols-rounded {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 1;
    color: #827d8a;
    font-size: 22px;
    transform: translateY(-50%);
    pointer-events: none;
}

.faq-search input {
    width: 100%;
    height: 58px;
    padding: 0 52px;
    color: var(--tcd-ink, #17151f);
    background: #f7f7f9;
    border: 1px solid rgba(23, 21, 31, .1);
    border-radius: 8px;
    outline: 0;
    font: inherit;
    font-size: 15px;
    box-shadow: 0 16px 46px rgba(23, 21, 31, .06);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.faq-search input:focus {
    background: #fff;
    border-color: rgba(123, 97, 255, .62);
    box-shadow: 0 0 0 4px rgba(123, 97, 255, .1), 0 18px 52px rgba(23, 21, 31, .08);
}

.faq-search input::placeholder {
    color: #8b8792;
}

.faq-palette-line {
    display: grid;
    width: min(760px, 100%);
    height: 12px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 44px auto 0;
    overflow: hidden;
    border-radius: 6px;
}

.faq-palette-line span:nth-child(1) { background: #17151f; }
.faq-palette-line span:nth-child(2) { background: #7b61ff; }
.faq-palette-line span:nth-child(3) { background: #afa0ff; }
.faq-palette-line span:nth-child(4) { background: #ff6b6b; }
.faq-palette-line span:nth-child(5) { background: #ff9f43; }
.faq-palette-line span:nth-child(6) { background: #f0eefb; }

.faq-content-section {
    padding: 42px 0 84px;
}

.faq-layout {
    display: grid;
    max-width: 1100px;
    grid-template-columns: 220px minmax(0, 760px);
    gap: 74px;
    justify-content: center;
    margin: 0 auto;
}

.faq-index {
    position: sticky;
    top: 112px;
    align-self: start;
}

.faq-index > span {
    display: block;
    margin-bottom: 15px;
    color: #8a8691;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-index nav {
    display: grid;
    border-top: 1px solid rgba(23, 21, 31, .1);
}

.faq-index nav a {
    display: grid;
    min-height: 48px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: #55515c;
    border-bottom: 1px solid rgba(23, 21, 31, .1);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, padding-left .18s ease;
}

.faq-index nav a:hover,
.faq-index nav a:focus-visible {
    padding-left: 4px;
    color: #7b61ff;
}

.faq-index nav small {
    color: #9b97a1;
    font-size: 10px;
}

.faq-contact-note {
    display: grid;
    gap: 4px;
    margin-top: 24px;
    padding-left: 14px;
    border-left: 3px solid #afa0ff;
}

.faq-contact-note strong {
    color: var(--tcd-ink, #17151f);
    font-size: 13px;
}

.faq-contact-note a {
    color: #726b7a;
    font-size: 12px;
    text-decoration: none;
}

.faq-groups {
    min-width: 0;
}

.faq-group {
    scroll-margin-top: 112px;
    margin-bottom: 64px;
}

.faq-group:last-of-type {
    margin-bottom: 0;
}

.faq-group-heading {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 20px;
}

.faq-group-heading span {
    color: #7b61ff;
    font-size: 11px;
    font-weight: 800;
}

.faq-group-heading h2 {
    margin: 0;
    color: var(--tcd-ink, #17151f);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

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

.faq-item {
    overflow: hidden;
    background: #fafafd;
    border: 1px solid rgba(23, 21, 31, .08);
    border-radius: 8px;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.faq-item[open] {
    background: #fff;
    border-color: rgba(123, 97, 255, .22);
    box-shadow: 0 16px 42px rgba(23, 21, 31, .055);
}

.faq-item summary {
    display: grid;
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 18px;
    align-items: center;
    padding: 17px 19px 17px 22px;
    color: var(--tcd-ink, #17151f);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
}

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

.faq-item summary i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #77717e;
    background: #f0eff3;
    border-radius: 50%;
    font-size: 19px;
    font-style: normal;
    transition: color .18s ease, background-color .18s ease, transform .22s ease;
}

.faq-item[open] summary i {
    color: #fff;
    background: #7b61ff;
    transform: rotate(45deg);
}

.faq-answer {
    max-width: 680px;
    padding: 0 64px 23px 22px;
    color: #625e69;
    font-size: 14px;
    line-height: 1.75;
}

.faq-answer a,
.faq-empty a {
    color: #6d55e8;
    font-weight: 650;
}

.faq-empty {
    padding: 70px 24px;
    text-align: center;
}

.faq-empty > span {
    display: block;
    margin-bottom: 14px;
    color: #9a94a2;
    font-size: 38px;
}

.faq-empty strong {
    display: block;
    margin-bottom: 8px;
    color: var(--tcd-ink, #17151f);
    font-size: 22px;
}

.faq-empty p {
    margin: 0;
    color: var(--tcd-muted, #686674);
}

.faq-cta-section {
    padding: 0 0 88px;
}

.faq-cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    padding: 52px 58px;
    color: #fff;
    background: #17151f;
    border-radius: 28px;
}

.faq-cta-panel::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #7b61ff, #afa0ff, #ff6b6b, #ff9f43);
    content: "";
}

.faq-cta-panel > div {
    position: relative;
    z-index: 1;
}

.faq-cta-panel .faq-kicker {
    color: rgba(255, 255, 255, .6);
}

.faq-cta-panel h2 {
    max-width: 680px;
    margin: 12px 0 12px;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.06;
}

.faq-cta-panel p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.65;
}

.faq-cta-actions {
    display: grid;
    min-width: 190px;
    gap: 10px;
}

.faq-cta-actions .btn {
    width: 100%;
}

.faq-cta-actions .pricing-btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

@media (max-width: 900px) {
    .faq-hero {
        padding-top: 92px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .faq-index {
        position: static;
    }

    .faq-index nav {
        display: flex;
        overflow-x: auto;
        border: 0;
        scrollbar-width: none;
    }

    .faq-index nav::-webkit-scrollbar {
        display: none;
    }

    .faq-index nav a {
        flex: 0 0 auto;
        min-height: 40px;
        grid-template-columns: auto auto;
        padding: 0 16px;
        border: 1px solid rgba(23, 21, 31, .1);
        border-right: 0;
    }

    .faq-index nav a:first-child {
        border-radius: 8px 0 0 8px;
    }

    .faq-index nav a:last-child {
        border-right: 1px solid rgba(23, 21, 31, .1);
        border-radius: 0 8px 8px 0;
    }

    .faq-index nav a:hover,
    .faq-index nav a:focus-visible {
        padding-left: 16px;
    }

    .faq-contact-note {
        display: none;
    }

    .faq-cta-panel {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-cta-actions {
        display: flex;
    }
}

@media (max-width: 600px) {
    .faq-hero {
        padding: 72px 0 34px;
    }

    .faq-hero h1 {
        margin-top: 14px;
        font-size: 44px;
    }

    .faq-hero > .container-lg > p {
        font-size: 15px;
    }

    .faq-search {
        margin-top: 26px;
    }

    .faq-palette-line {
        height: 9px;
        margin-top: 30px;
    }

    .faq-content-section {
        padding: 28px 0 58px;
    }

    .faq-layout {
        gap: 34px;
    }

    .faq-group {
        margin-bottom: 48px;
    }

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

    .faq-item summary {
        min-height: 64px;
        padding: 15px 15px 15px 17px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 52px 20px 17px;
        font-size: 13px;
    }

    .faq-cta-section {
        padding-bottom: 58px;
    }

    .faq-cta-panel {
        gap: 24px;
        padding: 38px 24px 28px;
        border-radius: 22px;
    }

    .faq-cta-panel h2 {
        font-size: 34px;
    }

    .faq-cta-actions {
        display: grid;
    }
}
