.home-faq {
  --faq-navy: #061f3d;
  --faq-blue: #0b315c;
  --faq-orange: #f26a21;
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 4.7vw, 4.15rem) 0;
  background:
    linear-gradient(90deg, rgba(11, 49, 92, .024) 1px, transparent 1px),
    linear-gradient(rgba(11, 49, 92, .024) 1px, transparent 1px),
    #f8fafc;
  background-size: 42px 42px;
}

.home-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1320px, calc(100% - 3rem));
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--faq-orange) 0 24%, var(--faq-blue) 24% 100%);
}

.home-faq::after {
  content: '?';
  position: absolute;
  right: -1rem;
  bottom: -7.5rem;
  color: rgba(11, 49, 92, .025);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 27rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.home-faq__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr);
  align-items: start;
  gap: clamp(2.8rem, 6vw, 6rem);
}

.home-faq__head { position: relative; padding: .35rem 0; }

.home-faq__head::after {
  content: '';
  position: absolute;
  top: -.4rem;
  right: .5rem;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(242, 106, 33, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(242, 106, 33, .025), 0 0 0 28px rgba(11, 49, 92, .018);
  pointer-events: none;
}

.home-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .65rem;
  color: var(--faq-orange);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-faq__eyebrow::before { content: ''; width: 1.5rem; height: 2px; background: currentColor; }

.home-faq__head h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--faq-navy);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: clamp(2.15rem, 3.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.05em;
}

.home-faq__head h2 span { color: var(--faq-blue); }

.home-faq__lead {
  max-width: 430px;
  margin: .85rem 0 0;
  color: #677a90;
  font-size: .82rem;
  line-height: 1.65;
}

.home-faq__help {
  max-width: 430px;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  margin-top: 1.3rem;
  padding: .65rem .7rem .65rem .75rem;
  border: 1px solid rgba(11, 49, 92, .14);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 31, 61, .07);
}

.home-faq__help-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--faq-blue), #164b7d);
}

.home-faq__help-icon svg { width: 19px; height: 19px; }
.home-faq__help-copy { display: flex; min-width: 0; flex-direction: column; }
.home-faq__help-copy strong { color: var(--faq-navy); font-size: .72rem; }
.home-faq__help-copy small { margin-top: .16rem; color: #7a8a9d; font-size: .61rem; }

.home-faq__help > a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: var(--faq-orange);
  transition: background .22s ease, transform .22s ease;
}

.home-faq__help > a svg { width: 15px; height: 15px; transition: transform .22s ease; }
.home-faq__help > a:hover { color: #fff; background: #db5815; transform: translateY(-2px); }
.home-faq__help > a:hover svg { transform: translateX(2px); }

.home-faq__accordion { display: grid; gap: .55rem; }

.home-faq__item {
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: 11px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 20px rgba(6, 31, 61, .045);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.home-faq__item:hover { border-color: #c4d3e1; transform: translateY(-1px); box-shadow: 0 11px 25px rgba(6, 31, 61, .075); }
.home-faq__item.is-open { border-color: #bfd0df; box-shadow: 0 13px 30px rgba(6, 31, 61, .09); }
.home-faq__item h3 { margin: 0; }

.home-faq__question {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: .65rem .8rem;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.home-faq__question:focus-visible { outline: 3px solid rgba(242, 106, 33, .25); outline-offset: -3px; }

.home-faq__question-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--faq-blue);
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #f2f7fb;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.home-faq__question-icon svg { width: 17px; height: 17px; }
.home-faq__item:nth-child(even) .home-faq__question-icon { color: #c95719; border-color: #f1d9ca; background: #fff6ef; }
.home-faq__item.is-open .home-faq__question-icon { color: #fff; border-color: var(--faq-orange); background: var(--faq-orange); transform: rotate(-4deg); }

.home-faq__question-copy { display: flex; min-width: 0; flex-direction: column; }
.home-faq__question-copy small { margin-bottom: .15rem; color: #98a6b6; font-size: .52rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-faq__question-copy > span { color: var(--faq-navy); font-family: 'Space Grotesk', Arial, sans-serif; font-size: .86rem; font-weight: 700; line-height: 1.3; }
.home-faq__item.is-open .home-faq__question-copy small { color: var(--faq-orange); }

.home-faq__toggle {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--faq-blue);
  border: 1px solid #d7e1ea;
  border-radius: 50%;
  background: #fff;
}

.home-faq__toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.home-faq__item.is-open .home-faq__toggle { color: #fff; border-color: var(--faq-blue); background: var(--faq-blue); }
.home-faq__item.is-open .home-faq__toggle svg { transform: rotate(45deg); }

.home-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1);
}

.home-faq__answer > div { overflow: hidden; }
.home-faq__answer p { margin: 0; padding: 0 1rem 0 3.85rem; color: #65778b; font-size: .69rem; line-height: 1.65; transition: padding-bottom .35s ease; }
.home-faq__item.is-open .home-faq__answer { grid-template-rows: 1fr; }
.home-faq__item.is-open .home-faq__answer p { padding-bottom: .85rem; }

.home-faq.motion-ready .home-faq__head,
.home-faq.motion-ready .home-faq__item { opacity: 0; }
.home-faq.motion-ready .home-faq__head { transform: translateX(-18px); }
.home-faq.motion-ready .home-faq__item { transform: translateY(12px); }
.home-faq.motion-ready.is-visible .home-faq__head,
.home-faq.motion-ready.is-visible .home-faq__item { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .25s ease; }
.home-faq.motion-ready.is-visible .home-faq__item:nth-child(1) { transition-delay: .07s; }
.home-faq.motion-ready.is-visible .home-faq__item:nth-child(2) { transition-delay: .12s; }
.home-faq.motion-ready.is-visible .home-faq__item:nth-child(3) { transition-delay: .17s; }
.home-faq.motion-ready.is-visible .home-faq__item:nth-child(4) { transition-delay: .22s; }
.home-faq.motion-ready.is-visible .home-faq__item:nth-child(5) { transition-delay: .27s; }
.home-faq.motion-ready.is-visible .home-faq__item:hover { transform: translateY(-1px); transition-delay: 0s; }

@media (max-width: 900px) {
  .home-faq__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .home-faq__head { display: grid; grid-template-columns: 1fr minmax(280px, .8fr); gap: .5rem 2rem; align-items: end; }
  .home-faq__eyebrow, .home-faq__head h2 { grid-column: 1; }
  .home-faq__lead { grid-column: 1; }
  .home-faq__help { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: end; }
}

@media (max-width: 650px) {
  .home-faq { padding: 2.35rem 0 2.7rem; background-size: 34px 34px; }
  .home-faq::before,
  .home-faq__inner { width: calc(100% - 1.5rem); }
  .home-faq::after { right: -2rem; bottom: -3rem; font-size: 17rem; }
  .home-faq__head { display: block; }
  .home-faq__head::after { width: 58px; height: 58px; }
  .home-faq__head h2 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .home-faq__help { margin-top: 1rem; }
  .home-faq__accordion { gap: .45rem; }
  .home-faq__question { min-height: 56px; gap: .65rem; padding: .6rem .7rem; }
  .home-faq__question-icon { width: 34px; height: 34px; }
  .home-faq__answer p { padding-left: 3.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-faq *, .home-faq *::before, .home-faq *::after { transition: none !important; }
  .home-faq.motion-ready .home-faq__head,
  .home-faq.motion-ready .home-faq__item { opacity: 1; transform: none; }
}
