.faqs-page {
  --faq-ink: #112f4b;
  --faq-navy: #0c2945;
  --faq-blue: #dff6fb;
  --faq-pink: #e5007d;
  --faq-muted: #63788b;
  min-height: 70vh;
  padding: 60px max(24px, 7vw) 86px;
  color: var(--faq-ink);
  background:
    radial-gradient(ellipse at 95% 5%, rgba(223, 246, 251, .85), transparent 35%),
    #fffefa;
  font-family: "DM Sans", sans-serif;
}

.faqs-hero,
.faqs-content,
.faqs-contact {
  width: min(100%, 980px);
  margin-inline: auto;
}

.faqs-hero {
  padding: 20px 0 46px;
  text-align: center;
}

.faqs-eyebrow,
.faqs-group__label {
  margin: 0 0 13px;
  color: var(--faq-pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.faqs-hero h1 {
  margin: 0;
  color: var(--faq-navy);
  font: 700 clamp(42px, 6vw, 74px)/.98 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
}

.faqs-hero h1 em {
  color: var(--faq-pink);
  font-style: normal;
}

.faqs-hero > p:last-child {
  max-width: 550px;
  margin: 21px auto 0;
  color: var(--faq-muted);
  font-size: 15px;
  line-height: 1.8;
}

.faqs-hero a,
.faqs-group details a {
  color: var(--faq-pink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faqs-group {
  margin-bottom: 32px;
}

.faqs-group__label {
  margin: 0 0 13px;
  color: var(--faq-navy);
  font: 600 25px/1.2 "Playfair Display", Georgia, serif;
  letter-spacing: -.02em;
  text-transform: none;
}

.faqs-group details {
  margin-bottom: 10px;
  border: 1px solid rgba(12, 41, 69, .1);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(12, 41, 69, .04);
}

.faqs-group summary {
  min-height: 68px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--faq-navy);
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.faqs-group summary::-webkit-details-marker {
  display: none;
}

.faqs-group summary span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--faq-navy);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  transition: transform .2s, background .2s;
}

.faqs-group details[open] summary span {
  background: var(--faq-pink);
  transform: rotate(45deg);
}

.faqs-group details > p {
  max-width: 820px;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--faq-muted);
  font-size: 16px;
  line-height: 1.75;
}

.faqs-group details a {
  color: var(--faq-pink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faqs-contact {
  margin-top: 44px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: var(--faq-navy);
  box-shadow: 7px 7px 0 var(--faq-pink);
}

.faqs-contact .faqs-eyebrow {
  margin-bottom: 8px;
  color: #d8c9ff;
}

.faqs-contact h2 {
  margin: 0;
  font: 600 clamp(25px, 3vw, 36px)/1.1 "Playfair Display", Georgia, serif;
}

.faqs-contact > a {
  min-width: 160px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--faq-navy);
  background: var(--faq-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .faqs-page {
    padding: 42px 20px 64px;
  }

  .faqs-hero {
    padding: 8px 0 36px;
  }

  .faqs-group__label {
    font-size: 22px;
  }

  .faqs-group summary {
    min-height: 62px;
    padding: 15px 16px;
    font-size: 16px;
  }

  .faqs-group details > p {
    padding: 0 16px 19px;
    font-size: 15px;
  }

  .faqs-contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }
}
