/* "Still have questions?": heading on the left (sticky on wide screens), one
   list of disclosures on the right. */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-grid .sec-head {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.faq-grid .sec-head p {
  font-size: 16px;
}

.faq-feedback a {
  color: var(--blue);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font: 400 22px/1 var(--mono);
  color: var(--faint);
  transition: rotate 0.25s var(--ease);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  padding-bottom: 20px;
  max-width: 40em;
  font-size: 15.5px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid .sec-head {
    position: static;
  }
}
