/* Home FAQ (#faq): side heading and a seven-question glass accordion over soft brand glows.
   The details share name="faq", so opening one closes the others. Selectors start with html.da-home #faq. */

html.da-home #faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
html.da-home #faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 20% 30%, var(--hp-g1), transparent 70%),
    radial-gradient(36% 50% at 88% 70%, var(--hp-g2), transparent 70%);
}
html.da-home[dir="rtl"] #faq::before {
  transform: scaleX(-1);
}

html.da-home #faq .hf-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 64px;
}
html.da-home #faq .hf-side {
  align-self: start;
}
html.da-home #faq .hf-side h2 {
  margin: 0;
  font-size: clamp(24px, 20px + 10 * (100vw - 320px) / 880, 30px);
  line-height: 1.2;
  text-wrap: balance;
}
html.da-home #faq .hf-side p {
  margin: 18px 0 0;
  max-width: 28em;
}
html.da-home #faq .hf-side .faq-more {
  margin-block-start: 12px;
  text-align: start;
}

html.da-home #faq .hf-list {
  display: grid;
  gap: 10px;
  max-width: none;
  margin: 0;
}
html.da-home #faq .faq-item {
  overflow: visible;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  box-shadow: var(--glass-hi), 0 14px 34px -26px rgba(31, 111, 209, 0.35);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
html.da-home #faq .faq-item[open] {
  background: var(--glass-fb);
  box-shadow: var(--glass-hi), var(--glass-sh);
}
html.da-home #faq .faq-q {
  gap: 20px;
  padding: 20px 24px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
}
html.da-home #faq .faq-q:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 16px;
}
html.da-home #faq .faq-chev {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  transition: none;
}
html.da-home #faq .faq-item[open] .faq-chev {
  transform: none;
}
html.da-home #faq .faq-chev::before,
html.da-home #faq .faq-chev::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 11px;
  height: 1.5px;
  margin-block-start: -0.75px;
  margin-inline-start: -5.5px;
  background: var(--brand-ink);
  border-radius: 1px;
  transition: transform 0.25s;
}
html.da-home #faq .faq-chev::after {
  transform: rotate(90deg);
}
html.da-home #faq .faq-item[open] .faq-chev::after {
  transform: rotate(0);
}
html.da-home #faq .faq-a {
  padding: 0 24px 22px;
  font-size: 16px;
  max-width: 44em;
}

@media (max-width: 1080px) {
  html.da-home #faq .hf-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 760px) {
  html.da-home #faq .faq-q {
    padding: 18px 20px;
    font-size: 16px;
  }
  html.da-home #faq .faq-a {
    padding: 0 20px 20px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.da-home #faq .faq-item,
  html.da-home #faq .faq-chev::before,
  html.da-home #faq .faq-chev::after {
    transition: none;
  }
}
