.fm-home-faq { --fm-faq-blue: #1168ff; --fm-faq-ink: #142847; --fm-faq-text: #45566d; --fm-faq-border: #dce5f0; width: min(calc(100% - 32px), 1280px); margin: clamp(2rem, 4vw, 4rem) auto; color: var(--fm-faq-ink); }
.fm-home-faq *, .fm-home-faq *::before, .fm-home-faq *::after { box-sizing: border-box; }
.fm-home-faq__shell { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.5fr); gap: 28px; align-items: start; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--fm-faq-border); border-radius: 28px; background: linear-gradient(115deg, #f2daed 0%, #f6f8ff 45%, #d3e3ff 100%); }
.fm-home-faq__intro { display: grid; gap: 14px; min-width: 0; }
.fm-home-faq__eyebrow { color: #a81968; font-size: 12px; font-weight: 600; }
.fm-home-faq__eyebrow > span { display: none; }
.fm-home-faq__title { margin: 0; color: #142847; font-size: clamp(25px, 2.5vw, 34px); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.fm-home-faq__subtitle { margin: 0; color: var(--fm-faq-text); font-size: 14px; line-height: 1.5; }
.fm-home-faq__note { padding: 18px; border-radius: 20px; background: #ffffffdc; border: 1px solid #fff; }
.fm-home-faq__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.fm-home-faq__fact { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fm-home-faq__fact svg { width: 25px; height: 25px; margin-bottom: 2px; fill: none; stroke: #1168ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fm-home-faq__fact strong { color: #071329; font-size: 18px; font-weight: 650; line-height: 1.2; }
.fm-home-faq__fact span { color: #45566d; font-size: 12px; line-height: 1.45; }
.fm-home-faq__cta { padding: 4px 0 0; }
.fm-home-faq__cta h3 { margin: 0 0 6px; color: #142847; font-size: 16px; font-weight: 600; }
.fm-home-faq__cta p { margin: 0; color: var(--fm-faq-text); font-size: 13px; line-height: 1.5; }
.fm-home-faq__cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 12px; }
.fm-home-faq__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #ff0099; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.fm-home-faq__button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fm-home-faq__plain-link { display: inline-flex; align-items: center; min-height: 44px; color: #245a9b; font-size: 13px; font-weight: 600; text-decoration: none; }
.fm-home-faq__content { min-width: 0; }
.fm-home-faq__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 5px; margin-bottom: 18px; border: 1px solid var(--fm-faq-border); border-radius: 16px; background: #ffffffb8; }
.fm-home-faq__tab { display: flex; justify-content: center; align-items: center; gap: 7px; min-width: 0; min-height: 48px; padding: 8px 5px; border: 0; border-radius: 11px; background: transparent; color: #354d6c; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; transition: background .18s ease; }
.fm-home-faq__tab svg { flex: 0 0 19px; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fm-home-faq__tab.is-active { background: #1168ff; color: #fff; }
.fm-home-faq__panel[hidden], .fm-home-faq__answer[hidden] { display: none; }
.fm-home-faq__group-head { padding: 0 2px 12px; }
.fm-home-faq__group-head h3 { margin: 0; color: #142847; font-size: 18px; font-weight: 650; line-height: 1.3; }
.fm-home-faq__group-head p { margin: 6px 0 0; color: var(--fm-faq-text); font-size: 14px; }
.fm-home-faq__list { display: grid; gap: 9px; }
.fm-home-faq__item { border: 1px solid var(--fm-faq-border); border-radius: 15px; background: #fff; overflow: hidden; }
.fm-home-faq__item.is-open { border-color: #1168ff; background: #fff; }
.fm-home-faq__item h4 { margin: 0; }
.fm-home-faq__item button { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; width: 100%; min-height: 60px; padding: 16px 18px; border: 0; background: transparent; color: #142847; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: left; }
.fm-home-faq__item.is-open button { color: #064fbd; }
.fm-home-faq__item button i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #edf2f8; }
.fm-home-faq__item.is-open button i { background: #1168ff; }
.fm-home-faq__item button i::before, .fm-home-faq__item button i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: #315273; transform: translate(-50%, -50%); }
.fm-home-faq__item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.fm-home-faq__item.is-open button i::before { background: #fff; }
.fm-home-faq__item.is-open button i::after { opacity: 0; }
.fm-home-faq__answer { padding: 0 18px 18px; }
.fm-home-faq__answer p { max-width: 65ch; margin: 0; color: #354b67; font-size: 14px; line-height: 1.65; }
.fm-home-faq__answer a { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; color: #0659d0; font-size: 13px; font-weight: 600; text-decoration: none; }
.fm-home-faq button:focus-visible, .fm-home-faq a:focus-visible { outline: 3px solid #7badff; outline-offset: -3px; }
@media (hover: hover) {
    .fm-home-faq__tab:not(.is-active):hover { background: #d7e3f4; }
    .fm-home-faq__item:not(.is-open) button:hover { background: #f4f8fe; }
    .fm-home-faq__button:hover { background: #da0083; color: #fff; text-decoration: none; }
}
@media (max-width: 1000px) {
    .fm-home-faq__shell { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 20px; padding: 20px; }
    .fm-home-faq__tab { flex-direction: column; gap: 5px; font-size: 12px; }
}
@media (max-width: 760px) {
    .fm-home-faq { width: calc(100% - 24px); }
    .fm-home-faq__shell { grid-template-columns: 1fr; gap: 22px; padding: 16px; border-radius: 22px; }
    .fm-home-faq__intro { gap: 12px; }
    .fm-home-faq__title { font-size: 27px; }
    .fm-home-faq__note { padding: 16px; border-radius: 16px; }
    .fm-home-faq__facts { gap: 16px; }
    .fm-home-faq__fact strong { font-size: 17px; }
    .fm-home-faq__fact span { font-size: 12px; }
    .fm-home-faq__tabs { gap: 3px; margin-bottom: 14px; }
    .fm-home-faq__tab { font-size: 11px; min-height: 57px; }
    .fm-home-faq__item button { padding: 14px; font-size: 14px; gap: 10px; }
    .fm-home-faq__answer { padding: 0 14px 14px; }
    .fm-home-faq__answer p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .fm-home-faq__tab { transition: none; } }
