.faq-section {
  position: relative;
  overflow: hidden;
}
.faq-section__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.faq-section__rings span {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 184, 223, .18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .1);
}
.faq-section__rings span:first-child {
  width: min(58vw, 760px);
  top: -220px;
  right: -190px;
}
.faq-section__rings span:last-child {
  width: min(36vw, 470px);
  left: -160px;
  bottom: -180px;
  border-color: rgba(168, 85, 247, .24);
}
.faq-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.faq-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}
.faq-heading p {
  max-width: 360px;
  font-size: 18px;
}
.faq-list {
  display: grid;
  gap: 16px;
}
.faq-list details,
.faq-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(199, 184, 223, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(46, 20, 95, .7), rgba(5, 2, 10, .42));
  box-shadow: 0 18px 52px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .28s ease, background .28s ease, box-shadow .28s ease, transform .28s ease;
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(168, 85, 247, 0));
  opacity: .4;
  transition: opacity .28s ease;
}
.faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, .16), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(168, 85, 247, .26), transparent 34%);
  opacity: 0;
  transform: translateX(-18px);
  pointer-events: none;
  transition: opacity .28s ease, transform .34s ease;
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(250, 204, 21, .52);
  background: linear-gradient(180deg, rgba(58, 25, 116, .82), rgba(8, 3, 18, .52));
  box-shadow: 0 28px 76px rgba(0, 0, 0, .38), 0 0 0 1px rgba(250, 204, 21, .08), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateY(-5px);
}
.faq-item[open]::before {
  opacity: 1;
}
.faq-item:hover::before {
  opacity: .9;
}
.faq-item:hover::after,
.faq-item[open]::after {
  opacity: 1;
  transform: translateX(0);
}
.faq-list summary,
.faq-item summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 22px 24px 22px 28px;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.18;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item__number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(199, 184, 223, .24);
  border-radius: 50%;
  background: rgba(5, 2, 10, .34);
  color: var(--muted);
  font-family: Lato, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .28s ease, background .28s ease, color .28s ease, box-shadow .28s ease;
}
.faq-item__question {
  color: var(--text);
  transition: color .28s ease;
}
.faq-item__icon {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 184, 223, .22);
  border-radius: 50%;
  background: rgba(5, 2, 10, .32);
  transition: border-color .28s ease, background .28s ease, box-shadow .28s ease, transform .34s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .34s ease, opacity .28s ease;
}
.faq-item[open] .faq-item__icon {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  transform: rotate(180deg);
}
.faq-item:hover .faq-item__number,
.faq-item[open] .faq-item__number {
  border-color: rgba(250, 204, 21, .58);
  background: rgba(250, 204, 21, .12);
  box-shadow: 0 14px 30px rgba(250, 204, 21, .1);
  color: var(--gold-soft);
}
.faq-item:hover .faq-item__question,
.faq-item[open] .faq-item__question {
  color: var(--gold-soft);
}
.faq-item:hover .faq-item__icon {
  border-color: rgba(250, 204, 21, .5);
  box-shadow: 0 14px 30px rgba(250, 204, 21, .1);
}
.faq-item[open] .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-item__answer {
  position: relative;
  z-index: 2;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: height .48s cubic-bezier(.2, .75, .2, 1), opacity .34s ease, transform .34s ease;
}
.faq-item[open] .faq-item__answer {
  height: auto;
  opacity: 1;
  transform: translateY(0);
}
.faq-item__answer-inner {
  padding: 0 28px 28px 90px;
}
.faq-item__answer p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
}
@media (max-width: 900px) {
  .faq-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-heading {
    position: relative;
    top: auto;
  }
}
@media (max-width: 560px) {
  .faq-list summary,
  .faq-item summary {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-height: 78px;
    padding: 18px;
  }
  .faq-item__icon {
    grid-column: 1 / -1;
    justify-self: start;
    width: 38px;
    height: 38px;
  }
  .faq-item__answer-inner {
    padding: 0 18px 22px;
  }
  .faq-item__answer p,
  .faq-heading p {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item__icon,
  .faq-item__icon::after,
  .faq-item__answer {
    transition: none;
  }
}
