.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.intro h1 {
  font-weight: 700;
}

.intro p {
  font-size: 1.25rem;
  color: #5c5c5c;
  max-width: 50rem;
}

.faq-group-title {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #090909;
}

.faq-group-title:first-of-type {
  margin-top: 0;
}

.faq {
  border-bottom: 0.0625rem solid #e7e7e7;
  padding: 1.5rem 0;
}

.faq.open .question {
  margin-bottom: 1.5rem;
}

.faq.open .question .toggle {
  background: #090909;
}

.faq.open .question .toggle::before {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  background: #ffffff;
}

.faq.open .question .toggle::after {
  background: #ffffff;
}

.faq.open .answer {
  opacity: 1;
  transform: translateY(0);
  max-height: 25rem;
}

.faq .question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  appearance: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease, margin 0.25s ease;
}

@supports selector(:focus-visible) {
  .faq .question:focus-visible {
    outline: 0.125rem solid #ff5500;
    outline-offset: 0.125rem;
  }

  .faq .question:focus:not(:focus-visible) {
    outline: none;
    outline-offset: 0;
  }
}

@supports not selector(:focus-visible) {
  .faq .question:focus {
    outline: 0.125rem solid #ff5500;
    outline-offset: 0.125rem;
  }
}

.faq .question:hover .toggle,
.faq .question:focus-visible .toggle {
  background: #0c0c0c;
}

.faq .question:hover .toggle::before,
.faq .question:hover .toggle::after,
.faq .question:focus-visible .toggle::before,
.faq .question:focus-visible .toggle::after {
  background: #ffffff;
}

.faq .question .toggle {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  background: #e7e7e7;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq .question .toggle::before,
.faq .question .toggle::after {
  content: "";
  position: absolute;
  background: #090909;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq .question .toggle::after {
  width: 0.625rem;
  height: 0.125rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq .question .toggle::before {
  width: 0.625rem;
  height: 0.125rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq .answer {
  color: #3d3d3d;
  font-size: 1rem;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-0.25rem);
  transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease, transform 0.45s ease;
}
