/* ================================================================
   FAQ page
   ================================================================ */

.faq-container {
    max-width: 720px;
    margin: 0 auto;
}

.faq-icon {
    font-size: 1.6rem;
}

.faq-intro {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 4%, white);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: color-mix(in srgb, var(--primary) 35%, white);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 10%, transparent);
}

.faq-item__question {
    padding: 1rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

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

.faq-item__question::before {
    content: "+";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.faq-item[open] .faq-item__question::before {
    content: "−";
}

.faq-item__answer {
    padding: 0 1.1rem 1.1rem 2.35rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.75;
}

.faq-item__answer a {
    color: var(--primary);
    font-weight: 600;
}
