/* FAQ: dark glass accordions that stay legible without competing with the hero. */
.faq {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.25fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
  background:
    radial-gradient(circle at 86% 16%, rgba(44, 160, 236, .15), transparent 24%),
    linear-gradient(135deg, #080d13, #050709 68%);
  border-top: 1px solid rgba(139, 203, 245, .17);
  border-bottom: 1px solid rgba(139, 203, 245, .15);
}

.faq .eyebrow {
  color: #e7faff;
  text-shadow: 0 0 6px rgba(197, 242, 255, .95), 0 0 16px rgba(65, 187, 255, .82), 0 0 30px rgba(34, 143, 229, .52);
}

.faq-heading h1,
.faq-heading h2 { font-size: clamp(44px, 5vw, 70px); }

.faq-heading > p:not(.eyebrow) {
  max-width: 390px;
  margin: 25px 0;
  color: #c0d7e5;
  line-height: 1.75;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.faq-actions .button {
  justify-content: center;
}

.faq-contact-button {
  border-color: rgba(230, 249, 255, .9);
  box-shadow: 0 0 28px rgba(31, 159, 238, .36);
}

.faq-return {
  margin-top: 0;
  color: #e9f7ff;
  border-color: rgba(151, 220, 255, .72);
  background: linear-gradient(135deg, rgba(47, 147, 209, .2), rgba(7, 17, 26, .88));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(224, 248, 255, .16), 0 0 20px rgba(55, 171, 242, .16);
}

.faq-return:hover {
  border-color: #e0f7ff;
  box-shadow: inset 0 1px 0 rgba(235, 251, 255, .3), 0 0 28px rgba(60, 181, 255, .38);
}

.faq-list { border-top: 1px solid rgba(152, 206, 241, .32); }

.faq-list details {
  border-bottom: 1px solid rgba(152, 206, 241, .22);
  background: linear-gradient(90deg, rgba(79, 177, 240, .04), transparent 75%);
  transition: background .24s ease, border-color .24s ease;
}

.faq-list details[open] {
  background: linear-gradient(90deg, rgba(63, 172, 241, .13), rgba(6, 12, 18, .05) 78%);
  border-color: rgba(145, 217, 255, .48);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 18px 56px 18px 0;
  list-style: none;
  cursor: pointer;
  color: #effaff;
  font: 700 15px/1.35 Manrope, sans-serif;
  letter-spacing: -.018em;
  text-shadow: 0 0 10px rgba(100, 205, 255, .52);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(166, 229, 255, .5);
  border-radius: 50%;
  color: #dff7ff;
  font-size: 20px;
  font-weight: 400;
  box-shadow: 0 0 16px rgba(59, 173, 237, .18);
  transition: background .24s ease, box-shadow .24s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  background: rgba(66, 177, 239, .2);
  box-shadow: 0 0 22px rgba(78, 190, 255, .4);
}

.faq-list summary:focus-visible {
  outline: 2px solid #8ed9ff;
  outline-offset: -3px;
}

.faq-list details > p:not(.faq-disclaimer) {
  max-width: 660px;
  margin: 0;
  padding: 0 58px 22px 0;
  color: #c3dce9;
  font-size: 14px;
  line-height: 1.75;
}

.faq-disclaimer {
  margin: 16px 0 0;
  color: #94aebd;
  font: italic 10px/1.5 'DM Mono', monospace;
}

/* Match the domain placement used throughout the rest of the site footer. */
.faq-page .footer-domain { display: none; }

@media (min-width: 751px) {
  .faq-page footer .footer-domain {
    display: block;
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-self: center;
    margin-top: 25px;
    color: #b7d3e2;
    font: 9px 'DM Mono', monospace;
    letter-spacing: .07em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 7px rgba(96, 197, 255, .72), 0 0 16px rgba(46, 144, 224, .38);
  }
}

@media (max-width: 750px) {
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq-actions { gap: 12px; }
  .faq-actions .button { width: 100%; justify-content: space-between; }
  .faq-list summary { min-height: 62px; font-size: 14px; }
  .faq-list details > p:not(.faq-disclaimer) { padding-right: 34px; }
  .faq-page footer .footer-domain {
    display: block;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 8px;
    color: #e8f9ff;
    font: 10px 'DM Mono', monospace;
    letter-spacing: .08em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 4px rgba(245, 253, 255, .8), 0 0 12px rgba(135, 218, 255, .75), 0 0 25px rgba(45, 164, 239, .5);
  }
}
