.fd-faq {
    --faq-border: color-mix(in srgb, currentColor 14%, transparent);
    --faq-soft: color-mix(in srgb, currentColor 5%, transparent);
    width: 100%;
    margin: 2rem 0;
}

.fd-faq__header {
    margin-bottom: 1.1rem;
}

.fd-faq__title {
    margin: 0 0 .45rem;
}

.fd-faq__description {
    margin: 0;
    opacity: .76;
    line-height: 1.65;
}

.fd-faq__items {
    display: grid;
    gap: .75rem;
}

.fd-faq__item {
    border: 1px solid var(--faq-border);
    border-radius: 16px;
    background: color-mix(in srgb, Canvas 94%, currentColor 6%);
    overflow: clip;
}

.fd-faq__item[open] {
    box-shadow: 0 14px 34px color-mix(in srgb, currentColor 8%, transparent);
}

.fd-faq__question {
    margin: 0;
    font: inherit;
    font-weight: 700;
    line-height: 1.45;
}

summary.fd-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 58px;
    padding: .95rem 1.1rem;
    cursor: pointer;
    list-style: none;
}

summary.fd-faq__question::-webkit-details-marker {
    display: none;
}

.fd-faq__chevron {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
    opacity: .58;
}

.fd-faq__item[open] .fd-faq__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.fd-faq__answer {
    padding: 0 1.1rem 1.15rem;
    line-height: 1.7;
}

.fd-faq__answer > :first-child {
    margin-top: 0;
}

.fd-faq__answer > :last-child {
    margin-bottom: 0;
}

.fd-faq--list .fd-faq__item {
    padding: 1.15rem;
}

.fd-faq--list .fd-faq__question {
    margin-bottom: .55rem;
}

.fd-faq--list .fd-faq__answer {
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {
    .fd-faq__chevron {
        transition: none;
    }
}
