/**
 * ST landings — FAQ accordion component.
 * Selectors: .st-faq, .st-faq-list, .st-faq-item, .st-faq-q, .st-faq-a*.
 * JS-bound: .st-faq-item.active toggle is driven by js/st-landing.js click handler.
 */

.st-faq {
    padding: 100px 24px;
    background: var(--st-white);
}

.st-faq-list {
    max-width: 800px;
    margin: 56px auto 0;
}

.st-faq-item {
    background: var(--st-cream);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.st-faq-item:hover,
.st-faq-item.active {
    border-color: var(--st-glass-border);
}

.st-faq-q {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.3s ease;
}

.st-faq-q:hover {
    color: var(--st-primary);
}

.st-faq-q svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--st-primary);
}

.st-faq-item.active .st-faq-q svg {
    transform: rotate(180deg);
}

.st-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.st-faq-item.active .st-faq-a {
    max-height: 400px;
    padding: 0 28px 24px;
}

.st-faq-a-body,
.st-faq-a-body p {
    font-size: 16px;
    color: var(--st-text-md);
    line-height: 1.7;
}

.st-faq-a-body p + p {
    margin-top: 12px;
}

.st-faq-a-body a {
    color: var(--st-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
