/* FAQ page: the question accordion and the customer quotes. Everything else
   comes from the homepage classes (PageHero, frame, LogoStrip, DemoBand). */

/* ---------- Questions (<details>, no script) ---------- */
.faq-list {
  max-width: var(--l-text);
  border-top: 1px solid var(--kit-stroke-light);
}

.faq-list details { border-bottom: 1px solid var(--kit-stroke-light); }

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: var(--type-h4);
  font-weight: 400;
  line-height: 1;
  color: var(--kit-teal-medium);
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list summary:focus-visible {
  outline: 2px solid var(--kit-teal-medium);
  outline-offset: 2px;
}

.faq-q {
  margin: 0;
  font-size: var(--type-h5);
  font-weight: var(--type-subhead-weight);
  line-height: var(--type-h5-lh);
  color: var(--kit-text-strong);
}

.faq-a { padding: 0 48px 24px 0; }

.faq-a p {
  margin: 0;
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  color: var(--kit-text-medium);
}

.faq-a p + p { margin-top: 12px; }

.faq-a a {
  color: var(--kit-teal-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 599px) {
  .faq-list summary { padding-right: 36px; }
  .faq-a { padding-right: 0; }
}

/* ---------- Quotes ---------- */
.faq-ivory { background: var(--kit-ivory-tint); }

.faq-page figure { margin: 0; }

.faq-page blockquote { margin: 0; }

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

@media (min-width: 1024px) {
  .faq-featured { padding: 40px 32px; }
}

.faq-featured p {
  max-width: 920px;
  margin: 0;
  font-size: var(--type-h4);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--kit-text-strong);
}

.faq-page figcaption {
  margin-top: 20px;
  font-size: var(--type-caption);
  line-height: var(--type-body-lh);
  color: var(--kit-text-subtle);
}

.faq-page figcaption strong {
  display: block;
  font-size: var(--type-small);
  font-weight: 600;
  color: var(--kit-text-strong);
}

/* The quote grid sits under the featured quote, inside the same frame. */
.faq-quotes { border-radius: 0 0 11px 11px; }

.faq-quotes > li { display: flex; }

.faq-quotes figure {
  display: flex;
  flex-direction: column;
}

.faq-quotes blockquote p {
  margin: 0;
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  color: var(--kit-text-strong);
}

.faq-quotes figcaption { margin-top: auto; padding-top: 20px; }
