/* Questions, the closing call to action and the glass footer. */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 110px);
  max-width: 1300px;
  margin: clamp(110px, 17vh, 190px) auto 0;
  padding: 0 var(--gutter);
  text-align: left;
}
.faq h2 {
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.faq-list {
  border-top: 1px solid var(--hair);
}
.faq details {
  border-bottom: 1px solid var(--hair);
}
.faq summary {
  position: relative;
  padding: 26px 48px 26px 0;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.035em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
  opacity: 0;
}
.faq details p {
  max-width: 640px;
  padding: 0 0 28px;
  color: var(--ink-2);
  font-size: 17.5px;
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.faq details a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.faq details a:hover {
  text-decoration-color: var(--cyan);
}

/* Finale */
.finale {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.finale-bg {
  position: absolute;
  inset: -4%;
  z-index: -1;
  background:
    linear-gradient(rgba(6, 7, 12, 1) 0%, rgba(6, 7, 12, 0.1) 22%, rgba(4, 5, 10, 0.05) 55%, rgba(4, 5, 10, 0.6) 100%),
    url('/assets/media/scene-night.webp') center 38% / cover;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: scale(1.09);
  }
}
.finale-body {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(26px, 4.4vh, 46px);
  padding: clamp(130px, 22vh, 240px) var(--gutter) clamp(70px, 11vh, 120px);
  text-align: center;
}
.finale .display {
  text-shadow: 0 2px 50px rgba(4, 5, 10, 0.6);
}
.finale-sub {
  margin-top: -6px;
  color: rgba(244, 246, 255, 0.86);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 20px rgba(4, 5, 10, 0.7);
}
.foot-soon {
  color: var(--ink-2);
}
.qr-tile {
  padding: 15px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.qr-tile img {
  width: 168px;
  height: 168px;
  padding: 10px;
  border-radius: 22px;
  background: #fff;
}

.foot {
  margin: 0 clamp(10px, 1.4vw, 22px) clamp(10px, 1.4vw, 22px);
  padding: clamp(30px, 4vw, 62px) clamp(24px, 4vw, 66px) clamp(24px, 3vw, 40px);
  border-radius: clamp(30px, 3.4vw, 50px);
  background: rgba(8, 12, 26, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(34px) saturate(150%);
  -webkit-backdrop-filter: blur(34px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-bottom: clamp(30px, 5vh, 54px);
  border-bottom: 1px solid var(--hair);
}
.foot .brand {
  align-self: start;
  font-size: 25px;
}
.foot .brand-mark {
  width: 36px;
  height: 36px;
}
.foot-col {
  display: grid;
  align-content: start;
  gap: 16px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.foot-col a {
  width: fit-content;
  transition: opacity 0.2s ease;
}
.foot-col a:hover {
  opacity: 0.62;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 26px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(244, 246, 255, 0.78);
}

@media (max-width: 800px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot .brand {
    grid-column: 1 / -1;
  }
  .foot-col {
    font-size: 17px;
    gap: 13px;
  }
  /* A QR code is no use on the phone it would open on. */
  .qr-tile,
  .finale-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .finale-bg {
    animation: none;
  }
}
