/* Shared FAQ accordion — surface from index.css glass tokens */
.comp-faq {
  max-width: 720px;
  margin: clamp(2.5em, 5vw, 3.5em) auto clamp(2em, 4vw, 3em);
  padding: 0 0.5em;
}

.comp-faq--compact {
  margin-bottom: clamp(1.2em, 3vw, 1.8em);
}

.comp-faq__title {
  text-align: center;
  font-size: clamp(1.5em, 3.2vw, 2em);
  margin: 0 0 1.4em;
  font-weight: 700;
}

.comp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.comp-faq__item {
  position: relative;
  isolation: isolate;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.comp-faq__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #ffb3b3,
    #ffd9b3,
    #ffff99,
    #b3ffb3,
    #b3b3ff,
    #d9b3ff,
    #ffb3b3
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.comp-faq__item:hover::before,
.comp-faq__item.is-open::before {
  opacity: 1;
}

.comp-faq__trigger {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2em;
  padding: 1.15em 1.35em;
  background: transparent !important;
  border: none;
  color: #f1e7f8 !important;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.94em;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  transform: none !important;
  box-shadow: none !important;
}

.comp-faq__trigger:hover,
.comp-faq__trigger:focus-visible {
  color: #f1e7f8 !important;
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

.comp-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.65em;
  height: 1.65em;
  margin-top: 0.1em;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 232, 0.3);
  color: #c9a8e8;
}

.comp-faq__icon::before,
.comp-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.comp-faq__icon::before {
  width: 9px;
  height: 1.4px;
  transform: translate(-50%, -50%);
}

.comp-faq__icon::after {
  width: 1.4px;
  height: 9px;
  transform: translate(-50%, -50%);
}

.comp-faq__item.is-open .comp-faq__icon::before {
  width: 9px;
  height: 1.4px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.comp-faq__item.is-open .comp-faq__icon::after {
  width: 9px;
  height: 1.4px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.comp-faq__panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.comp-faq__item.is-open .comp-faq__panel {
  grid-template-rows: 1fr;
}

.comp-faq__panel-inner {
  overflow: hidden;
}

.comp-faq__answer {
  padding: 0 1.35em 1.2em;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
  font-size: 0.9em;
  font-weight: 400;
}

.comp-faq__answer p {
  margin: 0;
}

.comp-faq__answer p + p {
  margin-top: 0.75em;
}

@media screen and (max-width: 600px) {
  .comp-faq {
    padding: 0;
  }

  .comp-faq__trigger {
    padding: 1em 1.1em;
    font-size: 0.9em;
    gap: 0.9em;
  }

  .comp-faq__answer {
    padding: 0 1.1em 1.05em;
    font-size: 0.87em;
  }
}
