/* Shared generated FAQs. Original Webflow .faq cards keep their own behavior. */
.cp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 1020px;
  margin-inline: auto;
}

#pricing-faq,
#gateway-faq,
.cp-calculator__faq { max-width: 1020px; margin-inline: auto; }

.cp-faq-list > details.cp-faq {
  --cp-faq-answer-gap: 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 32px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .02);
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, .2), inset 0 1px 1px rgba(255, 254, 254, .7);
  transition: background-color 1s ease;
}

.cp-faq-list > details.cp-faq[hidden] { display: none !important; }
.cp-faq-list > details.cp-faq[data-cp-faq-initialized] { cursor: pointer; }

.cp-faq-list > details.cp-faq > summary.cp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.cp-faq-list > details.cp-faq > summary.cp-faq__question::marker,
.cp-faq-list > details.cp-faq > summary.cp-faq__question::after { content: none; }
.cp-faq-list > details.cp-faq > summary.cp-faq__question::-webkit-details-marker { display: none; }
.cp-faq-list > details.cp-faq > summary.cp-faq__question:focus-visible {
  outline: 2px solid #3ce569;
  outline-offset: 6px;
  border-radius: 4px;
}

.cp-faq-list > details.cp-faq .cp-faq__arrow {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 34px;
  transform: rotateX(180deg);
  transition: transform .5s ease;
}

.cp-faq-list > details.cp-faq .cp-faq__arrow svg { display: block; flex: none; }

.cp-faq-list > details.cp-faq > .cp-faq__answer {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .7);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71429;
  opacity: 0;
}

.cp-faq-list > details.cp-faq > .cp-faq__answer p {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}

.cp-faq-list > details.cp-faq > .cp-faq__answer p + p { margin-top: 12px; }

.cp-faq-list > details.cp-faq[open]:not([data-cp-faq-state="closing"]) {
  background: rgba(60, 229, 105, .1);
  box-shadow: inset 0 -1px 1px #3ce569, inset 0 1px 1px #3ce569;
}

.cp-faq-list > details.cp-faq[open]:not([data-cp-faq-state="closing"]) .cp-faq__arrow {
  transform: rotateX(0deg);
}

.cp-faq-list > details.cp-faq[open]:not([data-cp-faq-state="closing"]) > .cp-faq__answer {
  padding-top: var(--cp-faq-answer-gap);
  opacity: 1;
}

@media (max-width: 767px) {
  .cp-faq-list > details.cp-faq {
    --cp-faq-answer-gap: 12px;
    padding: 16px;
  }
  .cp-faq-list > details.cp-faq > summary.cp-faq__question {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-faq-list > details.cp-faq,
  .cp-faq-list > details.cp-faq .cp-faq__arrow { transition: none; }
}
