/* Let the preview's pale canvas settle into the quieter aurora below. */
.faq-section {
  position: relative;
  isolation: isolate;
  padding: 8rem 1.5rem 3rem;
  background: #0b1120;
  color: #f0eff7;
}

.faq-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 6rem;
  pointer-events: none;
  background: linear-gradient(180deg, #f5f4f0 0%, #d9dce0 15%, #7a8392 43%, #303c50 69%, #10192a 88%, #0b1120 100%);
}

.faq-section h2,
.faq-section summary {
  color: #f0eff7;
}

.faq-section details {
  border-color: #c8bcf22b;
}

.faq-section details p {
  color: #b9bfcd;
}

.faq-section summary > span,
.faq-section .faq-waitlist {
  color: #d3c0ff;
}

.faq-section a:hover {
  color: #f0e9ff;
}

.contact-scene {
  min-height: 0;
  padding: 2.75rem 1.5rem 4rem;
  background: #0b1120;
  color: #f0eff7;
}

.contact-scene::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #0b1120 0%, #0b112040 25%, #0b112020 65%, #0b1120 100%);
}

.contact-scene .contact-aurora {
  opacity: .42;
}

.contact-scene .contact-app-logo {
  display: block;
  width: 5.25rem;
  height: 5.25rem;
  margin: 0 0 1.125rem;
  object-fit: contain;
  filter: drop-shadow(0 0 1.5rem #c9bcff1a);
}

.contact-scene h2 {
  font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  color: #f0eff7;
}

.contact-scene .contact-card {
  width: min(100%, 27rem);
  margin-top: 1.75rem;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid #c8bcf237;
  border-radius: 1.5rem;
  background: #121a2df2;
  color: #e9e9f2;
  box-shadow: 0 1.25rem 3.5rem #02050c26;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.contact-card > p:first-child {
  color: #e9e9f2;
}

.contact-card .contact-email {
  display: inline-block;
  max-width: 100%;
  min-height: 2.75rem;
  padding-block: .5rem;
  color: #d3c0ff;
  font-size: clamp(.8125rem, 3.4vw, .9375rem);
  overflow-wrap: anywhere;
}

.contact-card .contact-email:hover {
  color: #f0e9ff;
}

.contact-card .contact-social-label {
  margin-top: 1.5rem;
  color: #aab3c6;
  font-size: .75rem;
}

.contact-card .contact-social {
  color: #e2dcf2;
  font-size: .875rem;
}

.contact-card .contact-social:hover {
  color: #fff;
}

footer.minimal-footer {
  width: 100%;
  padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #c8bcf21c;
  background: #0b1120;
  color: #e9e9f2;
}

.minimal-footer .wordmark {
  color: #e9e9f2;
}

.minimal-footer > span {
  color: #9ba7bc;
}

.minimal-footer nav > a,
.minimal-footer .motion-control,
.minimal-footer .motion-toggle {
  color: #adb7ca;
}

.minimal-footer nav > a:hover,
.minimal-footer .motion-control:hover,
.minimal-footer .motion-toggle:hover {
  color: #e3d6ff;
}

.faq-section :focus-visible,
.contact-scene :focus-visible,
.minimal-footer :focus-visible {
  outline: 2px solid #d3c0ff;
  outline-offset: 5px;
  border-radius: .25rem;
}

@media (max-width: 800px) {
  .faq-section {
    padding: 7.5rem 1.25rem 2.5rem;
  }

  .contact-scene {
    padding: 2rem 1.25rem 3rem;
  }

  .contact-scene .contact-card {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .minimal-footer nav {
    gap: .5rem 1rem;
  }

  .minimal-footer .motion-control {
    padding-left: 0;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .contact-scene .contact-card {
    background: #121a2d;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .faq-section details,
  .contact-scene .contact-card,
  footer.minimal-footer {
    border-color: #8f83ae;
  }

  .faq-section details p,
  .contact-card .contact-social-label,
  .minimal-footer > span,
  .minimal-footer nav > a,
  .minimal-footer .motion-control,
  .minimal-footer .motion-toggle {
    color: #d7dce8;
  }

  .contact-card .contact-email,
  .faq-section .faq-waitlist {
    color: #e3d6ff;
    text-decoration: underline;
    text-underline-offset: .2em;
  }
}
