/* FAQ layout shares the site's colors, fonts, buttons and reveal system. */
.faq-page [hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.faq-hero { padding: clamp(2.5rem, 5vw, 4.25rem) 0 2.75rem; background: var(--sky); text-align: center; }
.faq-hero h1 { max-width: 900px; margin-inline: auto; font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.07; }
.faq-lead { max-width: 670px; margin: 1.25rem auto 1.75rem; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.faq-search { display: flex; align-items: center; gap: .8rem; max-width: 650px; margin: auto; padding: .45rem 1.15rem; background: white; border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 8px 25px rgb(7 55 94 / .06); text-align: left; }
.faq-search:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.faq-search svg { width: 23px; height: 23px; flex-shrink: 0; color: var(--blue); }
.faq-search input { width: 100%; min-width: 0; min-height: 45px; font: inherit; color: var(--navy); border: 0; background: transparent; outline: none; }
.faq-search input::placeholder { color: var(--ink-soft); opacity: 1; }
.faq-search button { min-height: 44px; padding: .3rem; font: inherit; font-weight: 700; color: var(--blue); background: none; border: 0; cursor: pointer; }
.faq-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 3.25rem; }
.faq-sidebar nav { position: sticky; top: 115px; }
.faq-sidebar .eyebrow { padding-left: .9rem; margin-bottom: 1rem; }
.faq-sidebar a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; text-decoration: none; font-size: .93rem; font-weight: 650; }
.faq-sidebar a:hover, .faq-sidebar a:focus-visible { background: var(--sky); color: var(--blue); }
.faq-nav-count { color: var(--ink-soft); font-size: .75rem; font-variant-numeric: tabular-nums; }
.faq-category { margin-bottom: 2.75rem; scroll-margin-top: 115px; }
.faq-category:last-child { margin-bottom: 0; }
.faq-category-heading { display: flex; gap: .85rem; align-items: center; margin-bottom: 1.2rem; }
.faq-category-heading > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: var(--sky); color: var(--blue); font-size: .78rem; font-weight: 800; }
.faq-category h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.04em; }
.faq-item { margin-bottom: .65rem; border: 1px solid var(--border); border-radius: 15px; background: white; transition: border-color 200ms ease, background-color 200ms ease; }
.faq-item:hover { border-color: var(--border-strong); }
.faq-item:has([aria-expanded="true"]) { background: var(--sky); border-color: var(--border-strong); }
.faq-item h3 { font-family: var(--text); font-size: 1rem; letter-spacing: 0; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: 100%; min-height: 67px; padding: 1.15rem 1.3rem; border: 0; border-radius: 14px; background: transparent; color: var(--navy); font: inherit; font-weight: 700; line-height: 1.5; text-align: left; cursor: pointer; }
.faq-icon { position: relative; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--sky); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 11px; left: 6px; width: 12px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform 230ms ease; }
.faq-icon::after { transform: rotate(90deg); }
[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows 250ms ease, opacity 200ms ease; }
.faq-enhanced .faq-answer[aria-hidden="true"] { grid-template-rows: 0fr; opacity: 0; }
.faq-answer-inner { min-height: 0; overflow: hidden; color: var(--ink-soft); font-size: .97rem; line-height: 1.75; }
.faq-answer-inner p, .faq-answer-inner ul { margin: 0 1.3rem 1rem; }
.faq-answer-inner > :last-child { margin-bottom: 1.3rem; }
.faq-answer-inner ul { padding-left: 1.3rem; }
.faq-answer-inner strong { color: var(--navy); font-weight: 700; }
.faq-answer-inner a, .faq-empty a { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.faq-result-count { margin: 0 0 1.5rem; color: var(--ink-soft); }
.faq-empty { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--sky); }
.faq-empty h2 { font-size: 1.8rem; }
.faq-empty p { line-height: 1.7; }
.faq-cta { padding: 0 0 4rem; }
.faq-cta-card { padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); background: var(--white); text-align: center; }
.faq-cta h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.faq-cta-card > p:not(.eyebrow) { max-width: 580px; margin: 1rem auto 1.6rem; color: var(--ink-soft); line-height: 1.7; }
.faq-cta-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.faq-button-secondary { color: var(--navy); background: white; border-color: var(--border-strong); box-shadow: none; }
.faq-button-secondary:hover { background: var(--sky); }
@media (max-width: 700px) {
  .faq-hero { padding-top: 2.5rem; }
  .faq-hero .eyebrow { font-size: .68rem; }
  .faq-hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .faq-lead { font-size: 1rem; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 1.5rem; }
  .faq-sidebar { min-width: 0; }
  .faq-sidebar nav { display: flex; overflow-x: auto; gap: .5rem; padding: 5px 3px 12px; position: static; }
  .faq-sidebar .eyebrow, .faq-nav-count { display: none; }
  .faq-sidebar a { white-space: nowrap; border: 1px solid var(--border); font-size: .85rem; min-height: 44px; }
  .faq-category { scroll-margin-top: 145px; }
  .faq-question { padding: 1rem; font-size: .95rem; gap: .8rem; }
  .faq-answer-inner p, .faq-answer-inner ul { margin-inline: 1rem; }
  .faq-cta-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-icon::after, .faq-icon::before, .faq-item { transition: none; }
}
