/**
 * Landing FAQ accordion — glass and border like .landing-surface-tile (landing-sections).
 * Tokens: --landing-glass-* / --landing-text from .landing-main.
 */

.landing-motion-faq {
    --landing-faq-gap: 0px;
    --landing-faq-separation: 12px;
    --landing-faq-row-spring: cubic-bezier(0.22, 1.24, 0.36, 1);
    --landing-faq-content-open-spring: cubic-bezier(0.2, 1.16, 0.32, 1);
    --landing-faq-content-close-spring: cubic-bezier(0.32, 0.86, 0.38, 1);
    --landing-faq-surface: color-mix(in srgb, var(--landing-text, #eeeeee) 5%, var(--landing-canvas, #020203));
    --landing-faq-surface-open: var(--landing-faq-surface);
    width: 100%;
    interpolate-size: allow-keywords;
    overflow-anchor: none;
}

.landing-motion-faq__stack {
    display: flex;
    flex-direction: column;
    gap: var(--landing-faq-gap);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    position: relative;
    min-block-size: var(--landing-faq-stable-height, auto);
}

.landing-motion-faq__item {
    overflow: hidden;
    border-radius: 0;
    background: var(--landing-faq-surface);
    color: var(--landing-text, var(--foreground, #eeeeee));
    border: 0;
    box-shadow: none;
    transform: translateY(0);
    position: relative;
    transition:
        margin-top 0.55s var(--landing-faq-row-spring),
        border-radius 0.55s var(--landing-faq-row-spring),
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.landing-motion-faq__item.is-group-start {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
}

.landing-motion-faq__item.is-group-end {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
}

.landing-motion-faq__item.is-separated {
    margin-top: var(--landing-faq-separation);
}

.landing-motion-faq__item.is-open {
    background: var(--landing-faq-surface-open);
    box-shadow: none;
    transform: translateY(0);
}

.landing-motion-faq__trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 16px;
    min-height: 54px;
    padding: 14px 20px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.landing-motion-faq__trigger:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--landing-text, #eeeeee) 35%, transparent);
    outline-offset: 3px;
}

.landing-motion-faq__question {
    font-size: 15px;
    font-weight: var(--font-weight-medium, 500);
    line-height: var(--line-height-normal, 1.4);
    letter-spacing: 0;
}

.landing-motion-faq__leading {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: color-mix(in srgb, var(--landing-text, #eeeeee) 62%, transparent);
}

.landing-motion-faq__leading svg {
    width: 18px;
    height: 18px;
}

.landing-motion-faq__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: color-mix(in srgb, var(--landing-text, #eeeeee) 70%, transparent);
    transition:
        transform 0.42s var(--landing-faq-row-spring),
        color 0.2s ease;
}

.landing-motion-faq__item.is-open .landing-motion-faq__icon {
    transform: rotate(180deg);
    color: var(--landing-text, #eeeeee);
}

.landing-motion-faq__icon-plus,
.landing-motion-faq__icon-minus {
    display: none;
}

.landing-motion-faq__icon::before {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: '';
    transform: rotate(45deg) translate(-1px, -1px);
}

.landing-motion-faq__panel {
    overflow: hidden;
    height: 0;
    transition: height 0.46s var(--landing-faq-content-close-spring);
}

.landing-motion-faq__item.is-open .landing-motion-faq__panel {
    transition-duration: 0.58s;
    transition-timing-function: var(--landing-faq-content-open-spring);
}

.landing-motion-faq__content {
    padding: 0 20px 20px;
    opacity: 0;
    transition: opacity 0.18s ease-out;
}

.landing-motion-faq__item.is-open .landing-motion-faq__content {
    opacity: 1;
}

.landing-motion-faq__answer {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--landing-text-muted, color-mix(in srgb, var(--foreground, #eeeeee) 70%, transparent));
}

.landing-motion-faq__answer strong {
    font-weight: var(--font-weight-medium, 500);
    color: var(--landing-text, var(--foreground, #eeeeee));
}

@media (prefers-reduced-motion: reduce) {
    .landing-motion-faq__item,
    .landing-motion-faq__panel,
    .landing-motion-faq__content,
    .landing-motion-faq__icon {
        transition: none !important;
    }

}

@media (max-width: 699px) {
    .landing-motion-faq__stack {
        min-block-size: 0;
    }
}
