/* Aegon Tools — animated searchable FAQ help center */
.faq-page {
    position: relative;
    overflow: hidden;
    padding: 3.6rem 0 0;
    isolation: isolate
}

.faq-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: .24;
    animation: faqOrbDrift 12s ease-in-out infinite alternate
}

.faq-orb-one {
    width: 480px;
    height: 480px;
    top: 20px;
    left: -260px;
    background: #7652ff
}

.faq-orb-two {
    width: 430px;
    height: 430px;
    top: 430px;
    right: -250px;
    background: #38bdf8;
    animation-delay: -5s
}

@keyframes faqOrbDrift {
    to {
        transform: translate3d(34px, 28px, 0) scale(1.08)
    }
}

.faq-hero {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    align-items: center;
    gap: 4rem;
    padding-bottom: 4.2rem
}

.faq-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 690px;
    animation: faqRise .7s cubic-bezier(.2, .8, .2, 1) both
}

.faq-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .75rem;
    border: 1px solid rgba(124, 92, 255, .18);
    border-radius: 999px;
    color: var(--violet);
    background: rgba(124, 92, 255, .075);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.faq-hero h1 {
    max-width: 730px;
    margin: .9rem 0 1rem;
    font-size: clamp(3rem, 6.2vw, 5.4rem);
    line-height: .96;
    letter-spacing: -.045em
}

.faq-hero h1 em {
    color: transparent;
    background: linear-gradient(105deg, #6f4dff, #a943e8 52%, #2478c9);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: var(--font-display)
}

.faq-hero-copy>p {
    max-width: 610px;
    margin: 0 0 1.4rem;
    color: var(--muted);
    font-size: 1rem
}

.faq-search {
    max-width: 620px;
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .48rem .55rem .48rem 1rem;
    border: 1px solid color-mix(in srgb, var(--violet) 18%, var(--line));
    border-radius: 19px;
    color: var(--violet);
    background: color-mix(in srgb, var(--card) 91%, transparent);
    box-shadow: 0 16px 42px rgba(43, 32, 102, .11), inset 0 1px 0 rgba(255, 255, 255, .8);
    backdrop-filter: blur(18px);
    transition: .2s ease
}

.faq-search:focus-within {
    border-color: rgba(124, 92, 255, .55);
    box-shadow: 0 20px 48px rgba(67, 46, 154, .16), 0 0 0 4px rgba(124, 92, 255, .08);
    transform: translateY(-2px)
}

.faq-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--ink-strong);
    background: transparent;
    font: inherit;
    font-size: .93rem
}

.faq-search input::placeholder {
    color: var(--muted)
}

.faq-search kbd {
    padding: .32rem .48rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--chip-bg);
    font: 600 .66rem var(--font-body)
}

.faq-search-note {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .6rem 0 0 !important;
    font-size: .7rem !important
}

.faq-search-note span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .4);
    animation: faqPing 2s ease-out infinite
}

@keyframes faqPing {
    70% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0)
    }
}

.faq-hero-art {
    position: relative;
    min-height: 330px;
    display: grid;
    place-items: center;
    animation: faqRise .8s .12s cubic-bezier(.2, .8, .2, 1) both
}

.faq-art-ring {
    position: absolute;
    border: 1px solid rgba(124, 92, 255, .15);
    border-radius: 50%;
    animation: faqSpin 20s linear infinite
}

.faq-art-ring:before,
.faq-art-ring:after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 18px rgba(124, 92, 255, .65)
}

.faq-art-ring:before {
    left: 18%;
    top: 3%
}

.faq-art-ring:after {
    right: 7%;
    bottom: 20%;
    background: #38bdf8
}

.faq-art-ring.ring-one {
    width: 290px;
    height: 290px
}

.faq-art-ring.ring-two {
    width: 220px;
    height: 220px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 15s
}

@keyframes faqSpin {
    to {
        transform: rotate(360deg)
    }
}

.faq-art-card {
    position: relative;
    z-index: 2;
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 44px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .85), rgba(238, 232, 255, .65));
    box-shadow: 0 28px 65px rgba(65, 41, 155, .24), inset 0 1px 0 #fff;
    backdrop-filter: blur(20px);
    animation: faqFloat 5s ease-in-out infinite
}

.faq-art-card img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 20px
}

.faq-art-card>span {
    position: absolute;
    width: 39px;
    height: 39px;
    right: -12px;
    top: -12px;
    display: grid;
    place-items: center;
    border: 3px solid var(--bg);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--violet), #a943e8);
    font-size: 1.2rem;
    font-weight: 900
}

@keyframes faqFloat {
    50% {
        transform: translateY(-12px) rotate(1.5deg)
    }
}

.faq-float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem .78rem;
    border: 1px solid var(--glass-border);
    border-radius: 13px;
    color: var(--violet);
    background: var(--glass-strong);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(15px);
    font-size: .69rem;
    animation: faqFloat 5s ease-in-out infinite
}

.faq-float-card b {
    color: var(--ink-strong)
}

.faq-float-card.float-one {
    left: 2%;
    top: 19%;
    animation-delay: -1.3s
}

.faq-float-card.float-two {
    right: 0;
    top: 30%;
    animation-delay: -3s
}

.faq-float-card.float-three {
    left: 12%;
    bottom: 13%;
    animation-delay: -4.2s
}

@keyframes faqRise {
    from {
        opacity: 0;
        transform: translateY(24px)
    }
}

.faq-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding-bottom: 4rem
}

.faq-sidebar {
    position: sticky;
    top: 105px;
    padding: .8rem;
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--card) 82%, transparent);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px)
}

.faq-side-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .55rem .55rem .8rem
}

.faq-side-head span {
    color: var(--ink-strong);
    font-size: .78rem;
    font-weight: 800
}

.faq-side-head small {
    color: var(--muted);
    font-size: .65rem
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.faq-category {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: .55rem;
    padding: .58rem .65rem;
    border: 0;
    border-radius: 13px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: .74rem;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
    transition: .18s ease
}

.faq-category:hover {
    color: var(--ink-strong);
    background: var(--chip-bg);
    transform: translateX(2px)
}

.faq-category.is-active {
    color: var(--violet);
    background: linear-gradient(100deg, rgba(124, 92, 255, .14), rgba(124, 92, 255, .055))
}

.faq-category-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: currentColor;
    background: rgba(124, 92, 255, .07)
}

.faq-category small {
    min-width: 22px;
    padding: .18rem .38rem;
    border-radius: 999px;
    color: var(--muted);
    background: var(--chip-bg);
    font-size: .59rem;
    text-align: center
}

.faq-side-help {
    display: grid;
    grid-template-columns: 36px 1fr 28px;
    align-items: center;
    gap: .55rem;
    margin-top: .7rem;
    padding: .7rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(125deg, #322573, #6644d8)
}

.faq-help-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12)
}

.faq-side-help div {
    min-width: 0;
    display: flex;
    flex-direction: column
}

.faq-side-help b {
    font-size: .7rem
}

.faq-side-help small {
    overflow: hidden;
    opacity: .68;
    font-size: .57rem;
    text-overflow: ellipsis;
    white-space: nowrap
}

.faq-side-help>a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .13);
    transition: .18s ease
}

.faq-side-help>a:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateX(2px)
}

.faq-content {
    min-width: 0
}

.faq-content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem
}

.faq-section-label {
    color: var(--violet);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase
}

.faq-content-head h2 {
    margin: .18rem 0 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem)
}

.faq-result-count {
    padding: .38rem .65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--glass-strong);
    font-size: .67rem
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: .7rem
}

.faq-item {
    border: 1px solid color-mix(in srgb, var(--violet) 9%, var(--line));
    border-radius: 19px;
    overflow: hidden;
    background: color-mix(in srgb, var(--card) 88%, transparent);
    box-shadow: 0 8px 22px rgba(44, 37, 94, .055);
    backdrop-filter: blur(15px);
    transition: .22s ease;
    animation: faqItemIn .45s ease both
}

.faq-item:nth-child(2n) {
    animation-delay: .035s
}

.faq-item:nth-child(3n) {
    animation-delay: .07s
}

@keyframes faqItemIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
}

.faq-item:hover {
    border-color: rgba(124, 92, 255, .26);
    transform: translateY(-2px)
}

.faq-item.is-open {
    border-color: rgba(124, 92, 255, .38);
    box-shadow: 0 16px 36px rgba(58, 41, 129, .1)
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.05rem;
    border: 0;
    color: var(--ink-strong);
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer
}

.faq-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--violet);
    background: rgba(124, 92, 255, .08);
    font-size: .68rem;
    font-weight: 850;
    transition: .2s ease
}

.faq-item.is-open .faq-number {
    color: #fff;
    background: linear-gradient(135deg, var(--violet), #a943e8);
    transform: rotate(-4deg)
}

.faq-question-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .12rem
}

.faq-question-copy small {
    color: var(--violet);
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase
}

.faq-question-copy b {
    font-size: .91rem;
    line-height: 1.35
}

.faq-plus {
    position: relative;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--chip-bg);
    transition: .25s ease
}

.faq-plus i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--ink-strong);
    transform: translate(-50%, -50%);
    transition: .22s ease
}

.faq-plus i:last-child {
    transform: translate(-50%, -50%) rotate(90deg)
}

.faq-item.is-open .faq-plus {
    background: rgba(124, 92, 255, .12);
    transform: rotate(90deg)
}

.faq-item.is-open .faq-plus i:last-child {
    opacity: 0
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .32s cubic-bezier(.2, .8, .2, 1), visibility .32s
}

.faq-answer>div {
    overflow: hidden
}

.faq-answer p {
    margin: 0;
    padding: 0 4.3rem 1.15rem 5.25rem;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.7
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    visibility: visible
}

.faq-empty {
    padding: 4rem 1rem;
    border: 1px dashed var(--line);
    border-radius: 22px;
    text-align: center;
    background: var(--glass)
}

.faq-empty>span {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 18px;
    color: var(--violet);
    background: rgba(124, 92, 255, .1)
}

.faq-empty h3 {
    margin-bottom: .35rem
}

.faq-empty p {
    margin: 0 0 1.1rem;
    color: var(--muted)
}

.faq-item[hidden],
.faq-empty[hidden] {
    display: none
}

.faq-cta-wrap {
    padding-bottom: 5rem
}

.faq-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    padding: 2.2rem;
    border-radius: 27px;
    color: #fff;
    background: radial-gradient(circle at 80% 0, rgba(160, 124, 255, .45), transparent 35%), linear-gradient(125deg, #1f174c, #3c287f 58%, #6140c8);
    box-shadow: 0 25px 60px rgba(42, 28, 94, .25)
}

.faq-cta:before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .1) 50%, transparent 75%);
    transform: translateX(-120%);
    animation: faqCtaShine 6s ease-in-out infinite
}

@keyframes faqCtaShine {

    65%,
    100% {
        transform: translateX(120%)
    }
}

.faq-cta>div {
    position: relative;
    z-index: 1
}

.faq-cta .faq-eyebrow {
    color: #ddd5ff;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08)
}

.faq-cta h2 {
    margin: .65rem 0 .35rem;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem)
}

.faq-cta p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .68)
}

.faq-cta-actions {
    display: flex;
    flex: none;
    gap: .7rem
}

.faq-cta .btn-dark {
    color: #34245e;
    background: #fff
}

.faq-cta .btn-glass {
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08)
}

[data-theme="dark"] .faq-art-card {
    border-color: rgba(255, 255, 255, .08);
    background: linear-gradient(145deg, rgba(39, 31, 76, .9), rgba(24, 20, 50, .75));
    box-shadow: 0 28px 65px rgba(0, 0, 0, .35)
}

[data-theme="dark"] .faq-search,
[data-theme="dark"] .faq-sidebar,
[data-theme="dark"] .faq-item {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .025)
}

[data-theme="dark"] .faq-item.is-open {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3)
}

@media(max-width:960px) {
    .faq-hero {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 1.8rem
    }

    .faq-shell {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 1.2rem
    }

    .faq-cta {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:760px) {
    .faq-page {
        padding-top: 2.5rem
    }

    .faq-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 3rem
    }

    .faq-hero-copy {
        margin: 0 auto
    }

    .faq-eyebrow,
    .faq-search {
        margin-left: auto;
        margin-right: auto
    }

    .faq-search-note {
        justify-content: center
    }

    .faq-hero-art {
        min-height: 250px
    }

    .faq-art-ring.ring-one {
        width: 230px;
        height: 230px
    }

    .faq-art-ring.ring-two {
        width: 175px;
        height: 175px
    }

    .faq-art-card {
        width: 125px;
        height: 125px;
        border-radius: 35px
    }

    .faq-art-card img {
        width: 61px;
        height: 61px
    }

    .faq-shell {
        grid-template-columns: 1fr
    }

    .faq-sidebar {
        position: static
    }

    .faq-categories {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .faq-category:first-child {
        grid-column: 1/-1
    }

    .faq-side-help {
        display: none
    }
}

@media(max-width:520px) {
    .faq-hero h1 {
        font-size: clamp(2.65rem, 13vw, 3.8rem)
    }

    .faq-hero-art {
        min-height: 220px
    }

    .faq-float-card.float-one {
        left: 0
    }

    .faq-float-card.float-two {
        right: 0
    }

    .faq-float-card.float-three {
        left: 4%
    }

    .faq-categories {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: .2rem;
        scrollbar-width: none
    }

    .faq-categories::-webkit-scrollbar {
        display: none
    }

    .faq-category {
        width: auto;
        min-width: max-content;
        grid-template-columns: 30px auto auto;
        padding: .5rem .6rem
    }

    .faq-category-icon {
        width: 30px;
        height: 30px
    }

    .faq-side-head {
        padding-bottom: .55rem
    }

    .faq-content-head {
        align-items: flex-start
    }

    .faq-question {
        grid-template-columns: 32px minmax(0, 1fr) 30px;
        gap: .6rem;
        padding: .85rem .75rem
    }

    .faq-number,
    .faq-plus {
        width: 32px;
        height: 32px
    }

    .faq-question-copy b {
        font-size: .82rem
    }

    .faq-answer p {
        padding: 0 .85rem 1rem 3.95rem;
        font-size: .75rem
    }

    .faq-cta {
        padding: 1.5rem;
        border-radius: 22px
    }

    .faq-cta-actions {
        width: 100%;
        flex-direction: column
    }

    .faq-cta-actions .btn {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {

    .faq-orb,
    .faq-art-ring,
    .faq-art-card,
    .faq-float-card,
    .faq-search-note span,
    .faq-item,
    .faq-cta:before {
        animation: none
    }
}