/* ============================================================
   faq2 — closing FAQ + final CTA (HpFaqCta)
   All selectors namespaced .faq2-* (section root: .faq2)

   De-boxed: FAQ items are open rows on hairline --line dividers,
   breathing straight on the page — no bordered cards. The final
   CTA is the single softly elevated close: a light sand-blue
   wash, a faint lift, no dark band, no heavy chrome.
   ============================================================ */

.faq2 {
  padding: clamp(64px, 9vw, 116px) 0 clamp(84px, 11vh, 148px);
}

/* ---------- FAQ grid: sticky head left, open rows right ---------- */
.faq2-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq2-head {
  position: sticky;
  top: 112px;
}

.faq2-head .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.faq2-lead {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--ink-60);
}

/* ---------- Accordion — open rows on hairlines ---------- */
.faq2-list {
  display: flex;
  flex-direction: column;
}

.faq2-qa {
  border-top: 1px solid var(--line);
}

.faq2-qa:last-child {
  border-bottom: 1px solid var(--line);
}

.faq2-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(19px, 2vw, 24px) 2px;
  font-size: clamp(15px, 1.4vw, 17.5px);
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s;
}

.faq2-qa summary:hover {
  color: var(--indigo);
}

.faq2-qa summary::-webkit-details-marker {
  display: none;
}

.faq2-n {
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-40);
  flex: none;
  transition: color 0.3s;
}

.faq2-qa[open] .faq2-n {
  color: var(--indigo);
}

.faq2-q {
  flex: 1;
  min-width: 0;
}

/* plus → minus toggle icon */
.faq2-qa summary i {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  align-self: center;
}

.faq2-qa summary i::before,
.faq2-qa summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink-40);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background 0.3s;
}

.faq2-qa summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq2-qa[open] summary i::before,
.faq2-qa[open] summary i::after {
  background: var(--indigo);
}

.faq2-qa[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq2-a {
  padding: 0 2px clamp(20px, 2vw, 26px);
}

.faq2-a p {
  margin: 0;
  padding-left: 34px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-60);
}

.faq2-qa[open] .faq2-a {
  animation: faq2Reveal 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes faq2Reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Final CTA — soft sand-blue close, light ---------- */
.faq2-ctaW {
  margin-top: clamp(64px, 9vw, 120px);
}

.faq2-cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px);
  text-align: center;
  color: var(--ink);
  background: linear-gradient(
    172deg,
    color-mix(in srgb, #5a82c2 6%, white) 0%,
    var(--periwinkle) 100%
  );
  box-shadow: 0 36px 80px -60px rgba(61, 99, 164, 0.45);
}

/* hairline light edge */
.faq2-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(90, 130, 194, 0.14);
}

.faq2-cta-glow {
  position: absolute;
  inset: -45% -12% auto -12%;
  height: 95%;
  pointer-events: none;
  opacity: 0.7;
  filter: blur(52px);
  background:
    radial-gradient(38% 58% at 20% 32%, rgba(90, 130, 194, 0.22), transparent 70%),
    radial-gradient(40% 62% at 82% 18%, rgba(138, 166, 221, 0.26), transparent 70%);
  animation: faq2Aurora 24s ease-in-out infinite alternate;
}

@keyframes faq2Aurora {
  from {
    transform: translate3d(-3%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 4%, 0) scale(1.08);
  }
}

/* faint horizon line low in the band */
.faq2-cta-horizon {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(90, 130, 194, 0.35), transparent);
}

.faq2-cta-title {
  position: relative;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.faq2-cta-sub {
  position: relative;
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-60);
}

.faq2-cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

.faq2-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  border: 1px solid rgba(90, 130, 194, 0.4);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.faq2-ghost:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(90, 130, 194, 0.65);
}

.faq2-ghost-quiet {
  border-color: transparent;
  color: var(--ink-60);
}

.faq2-ghost-quiet:hover {
  color: var(--ink);
  background: none;
  border-color: transparent;
}

.faq2-cta-foot {
  position: relative;
  margin: 26px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-40);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .faq2-grid {
    grid-template-columns: 1fr;
  }
  .faq2-head {
    position: static;
  }
  .faq2-lead {
    max-width: 56ch;
  }
}

@media (max-width: 560px) {
  .faq2-qa summary {
    gap: 12px;
    padding: 17px 2px;
  }
  .faq2-a {
    padding: 0 2px 18px;
  }
  .faq2-a p {
    padding-left: 0;
  }
  .faq2-cta {
    border-radius: 22px;
  }
  .faq2-cta-actions {
    flex-direction: column;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .faq2-qa[open] .faq2-a {
    animation: none;
  }
  .faq2-cta-glow {
    animation: none;
  }
  .faq2-qa summary,
  .faq2-n,
  .faq2-ghost,
  .faq2-qa summary i::before,
  .faq2-qa summary i::after {
    transition: none;
  }
}
