/* Homepage FAQ: a flat, white accordion in the current LP's visual language. */
.portal-faq-modern {
    container-type: inline-size;
    color: #080b10;
    background: #fff;
}

.portal-faq-modern-inner {
    padding: clamp(40px, 4.8cqw, 76px) clamp(22px, 4.6875cqw, 72px);
}

.portal-faq-modern-heading { margin-bottom: clamp(26px, 3cqw, 44px); }

.portal-faq-modern-kicker {
    margin: 0 0 8px;
    color: #657084;
    font-size: clamp(14px, 1.7cqw, 22px);
    font-weight: 800;
    letter-spacing: .03em;
}

.portal-faq-modern-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4.6cqw, 64px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.045em;
}

.portal-faq-modern-heading mark {
    padding: 0 .03em;
    color: inherit;
    background: linear-gradient(transparent 77%, #ffdf2d 77%, #ffdf2d 96%, transparent 96%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.portal-faq-modern-lead {
    margin: 18px 0 0;
    color: #354259;
    font-size: clamp(16px, 1.8cqw, 24px);
    line-height: 1.75;
}

.portal-faq-modern-list details {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e8ecf0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.portal-faq-modern-list summary {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: clamp(14px, 1.8cqw, 26px);
    min-height: 80px;
    padding: clamp(22px, 2.5cqw, 32px) 60px clamp(22px, 2.5cqw, 32px) 2px;
    color: #080b10;
    font-size: clamp(16px, 1.8cqw, 24px);
    font-weight: 800;
    line-height: 1.65;
    list-style: none;
    cursor: pointer;
}

.portal-faq-modern-list summary::-webkit-details-marker { display: none; }
.portal-faq-modern-list summary::marker { content: ''; }

.portal-faq-modern-list summary > span {
    flex: 0 0 24px;
    color: #080b10;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
}

.portal-faq-modern-list summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #080b10;
    background: #fff4b8;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition: background-color .18s ease, transform .18s ease;
}

.portal-faq-modern-list details[open] summary::after {
    content: '−';
    background: #ffdf2d;
}

.portal-faq-modern-list details > div {
    margin: 0 60px 26px calc(26px + clamp(14px, 1.8cqw, 26px));
    padding: 0;
    color: #354259;
}

.portal-faq-modern-list details p {
    margin: 0;
    font-size: clamp(15px, 1.6cqw, 21px);
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.portal-faq-modern-list summary:focus-visible {
    outline: 3px solid #c69f00;
    outline-offset: 3px;
    border-radius: 4px;
}

.portal-faq-modern-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: clamp(30px, 3.2cqw, 48px);
}

.portal-faq-modern-actions p {
    flex: 1 1 280px;
    margin: 0;
    color: #354259;
    font-size: clamp(15px, 1.6cqw, 20px);
    line-height: 1.8;
}

.portal-faq-modern-cta {
    display: inline-flex;
    flex: 0 1 320px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 56px;
    padding: 14px 26px;
    border: 1px solid #ffdf2d;
    border-radius: 999px;
    color: #080b10;
    background: #ffdf2d;
    box-shadow: 0 3px 10px rgb(114 87 0 / 7%);
    font-size: clamp(17px, 1.8cqw, 24px);
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.portal-faq-modern-cta:focus-visible {
    outline: 3px solid #a58200;
    outline-offset: 4px;
}

@media (hover: hover) {
    .portal-faq-modern-list summary:hover::after { background: #ffdf2d; }
    .portal-faq-modern-cta:hover { background: #ffe654; transform: translateY(-1px); }
}

@media (max-width: 700px) {
    .portal-faq-modern-list summary {
        gap: 12px;
        min-height: 74px;
        padding: 20px 42px 20px 0;
    }

    .portal-faq-modern-list summary > span { flex-basis: 20px; font-size: 21px; }
    .portal-faq-modern-list summary::after { right: 0; width: 30px; height: 30px; font-size: 23px; }
    .portal-faq-modern-list details > div { margin: 0 0 22px 32px; }
    .portal-faq-modern-actions { flex-direction: column; align-items: stretch; gap: 16px; }
    .portal-faq-modern-actions p { flex: auto; }
    .portal-faq-modern-cta { flex: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .portal-faq-modern-list summary::after,
    .portal-faq-modern-cta { transition: none; }
}
