.faq-page .header:not(.scrolled):not(.menu-open) {
  background: #fff;
  text-shadow: none;
}

.faq-page main {
  color: var(--ink);
}

.faq-width {
  width: min(88%, 52rem);
  margin-inline: auto;
}

.faq-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(8rem, 13vw, 12rem) 0 clamp(3.75rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 86% 16%, #7cf4ffa6 0%, #7cf4ff35 36%, transparent 69%),
    #fff;
}

.faq-intro h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(3.25rem, 7.8vw, 7rem);
  letter-spacing: -.045em;
  line-height: 1.04;
}

.faq-intro h1 em {
  font-weight: 400;
}

.faq-intro p,
.faq-closing p {
  max-width: 51ch;
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.faq-intro .faq-flower {
  z-index: -1;
  top: 19%;
  right: max(-5%, calc((100% - 79rem) / 2));
  width: clamp(12rem, 37vw, 30rem);
  aspect-ratio: 1;
  opacity: .68;
  background: #fff;
  mask: url('/assets/flower-white.png') center / contain no-repeat;
}

.faq-groups {
  display: grid;
  gap: clamp(2.75rem, 6vw, 4.75rem);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 9vw, 8rem);
}

.faq-group h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
}

.faq-group details {
  border: 1px solid #16254436;
  border-radius: 14px;
  background: #fff;
}

.faq-group details + details {
  margin-top: .65rem;
}

.faq-group details[open] {
  border-color: #16254466;
  background: #f5feff;
}

.faq-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: .85rem clamp(1rem, 3vw, 1.5rem);
  border-radius: inherit;
  cursor: pointer;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

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

.faq-group summary::after {
  flex: 0 0 .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  content: '';
}

.faq-group details[open] summary::after {
  transform: rotate(225deg);
}

@media (hover: hover) {
  .faq-group summary:hover {
    background: #7cf4ff33;
  }
}

.faq-group p {
  max-width: 66ch;
  margin: 0;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 1.25rem;
  font-size: 1.125rem;
}

.faq-intro p a,
.faq-group p a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.faq-page main :is(summary, a):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.faq-closing {
  padding-block: clamp(3rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 34% 85%, #7cf4ffb3 0%, #7cf4ff40 45%, transparent 75%),
    #fff;
}

.faq-closing .section-title {
  margin-top: 0;
}

.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.5rem;
  margin-top: 1.5rem;
  padding: .75rem 1.25rem;
  border-radius: 12px;
  background: var(--pink);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
}

.faq-contact:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
