/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
  }
}

@media (min-width: 1024px) {
  .faq-left {
    position: sticky;
    top: 128px;
  }
}

.faq-kicker {
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.faq-title {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

@media (min-width: 768px) {
  .faq-title {
    font-size: 44px;
  }
}

.faq-lead {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .faq-lead {
    font-size: 18px;
  }
}

/* Accordion cards */
.faq-item {
  background: rgba(232, 238, 247, 0.06);
  border: 1px solid rgba(232, 238, 247, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-q {
  width: 100%;
  padding: 18px 18px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

@media (min-width: 640px) {
  .faq-q {
    padding: 20px 22px;
  }
}

.faq-q-text {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.faq-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(232, 238, 247, 0.08);
  border: 1px solid rgba(232, 238, 247, 0.12);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.faq-plus,
.faq-minus {
  width: 16px;
  height: 16px;
}

.faq-minus {
  display: none;
}

.faq-item.is-open .faq-icon-circle {
  background: var(--primary);
  border-color: rgba(143, 173, 49, 0.35);
  color: var(--primary-fg);
}

.faq-item.is-open .faq-plus {
  display: none;
}
.faq-item.is-open .faq-minus {
  display: block;
}

/* Answer panel animation */
.faq-a {
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.faq-a-text {
  margin: 0;
  padding: 0 18px 18px;
  line-height: 1.75;
  font-size: 14px;
}

@media (min-width: 640px) {
  .faq-a-text {
    padding: 0 22px 22px;
  }
}

.faq-item.is-open .faq-a {
  opacity: 1;
}
