/*
 * The shared marketing FAQ accordion (templates/marketing/_partials/faq_section.html).
 * It renders on pages with different chromes (the webpack bundle, the Next.js
 * captures, standalone pages), so every rule is scoped under .ty-faq and sets
 * what it needs instead of relying on the page's own styles. No motion: the
 * repo adds no transitions or animations.
 */
.ty-faq {
    box-sizing: border-box;
    padding: 64px 0;
    background: #f4f7fb;
    text-align: left;
}

.ty-faq *,
.ty-faq *::before,
.ty-faq *::after {
    box-sizing: inherit;
}

.ty-faq__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.ty-faq .ty-faq__heading {
    margin: 0 0 32px;
    text-align: center;
    font-size: 36px;
    line-height: 1.2;
    color: #1d2433;
}

.ty-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ty-faq .ty-faq__item {
    margin: 0;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #d5dce6;
    border-radius: 12px;
}

.ty-faq .ty-faq__item:hover,
.ty-faq .ty-faq__item:focus-within,
.ty-faq .ty-faq__item[open] {
    border-color: #6a9be6;
}

.ty-faq .ty-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    list-style: none;
    cursor: pointer;
}

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

.ty-faq .ty-faq__summary::marker {
    content: "";
}

/* Some pages draw their own +/- marker on every summary; this one has a caret. */
.ty-faq .ty-faq__summary::before,
.ty-faq .ty-faq__summary::after {
    content: none;
    display: none;
}

.ty-faq .ty-faq__summary:focus-visible {
    outline: 2px solid #0058d7;
    outline-offset: 4px;
    border-radius: 6px;
}

.ty-faq .ty-faq__question {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #1d2433;
    max-width: none;
    text-align: left;
    text-wrap: wrap;
    text-transform: none;
    letter-spacing: normal;
}

.ty-faq .ty-faq__icon {
    flex-shrink: 0;
    font-size: 16px;
    color: #0058d7;
}

.ty-faq .ty-faq__item[open] .ty-faq__icon {
    transform: rotate(180deg);
}

.ty-faq .ty-faq__answer {
    padding: 0 0 20px;
    font-size: 16px;
    line-height: 1.65;
    max-width: none;
    color: #3d4656;
}

.ty-faq .ty-faq__answer p,
.ty-faq .ty-faq__answer ul,
.ty-faq .ty-faq__answer ol {
    margin: 0 0 12px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.ty-faq .ty-faq__answer ul,
.ty-faq .ty-faq__answer ol {
    padding-left: 22px;
}

.ty-faq .ty-faq__answer ul {
    list-style: disc;
}

.ty-faq .ty-faq__answer ol {
    list-style: decimal;
}

.ty-faq .ty-faq__answer li {
    margin: 0 0 6px;
    font-size: inherit;
    color: inherit;
}

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

.ty-faq .ty-faq__answer a,
.ty-faq .ty-faq__answer a:visited {
    color: #0058d7;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ty-faq {
        padding: 44px 0;
    }

    .ty-faq .ty-faq__heading {
        font-size: 28px;
    }

    .ty-faq .ty-faq__question {
        font-size: 16px;
    }
}
