/* faq.css (FAQ page specific styles) */
body {
  background-color: var(--paper);
}

#faqSection {
  margin-top: 73px;
}

.pageSection {
  padding-block: 64px;
  background: var(--paper);
  scroll-margin-top: 80px;
}

.pageSectionAlt {
  background: color-mix(in oklch, var(--paper) 92%, var(--warm2) 8%);
}

.sectionInner {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.sectionTitle {
  color: var(--warm3);
  font-size: clamp(22px, calc(20px + 0.625vw), 32px);
  font-weight: 950;
  margin-block-end: 10px;
  > span {
    display: inline-block;
  }
}

.sectionLead {
  font-size: clamp(14px, calc(13.2px + 0.25vw), 18px);
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.9);
  font-weight: 800;
  margin-block-end: 26px;
}

#faqSection {
  > .sectionInner {
    display: grid;
    grid-template-columns: 1fr 60%;
    gap: 16px;
    > .sectionTitle,
    .sectionLead {
      grid-column: 1/3;
    }
    > img {
      align-self: end;
    }
  }
}

.faqList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faqItem {
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.88);
  padding: 16px;
}

.faqQuestion {
  font-size: clamp(16px, calc(15.2px + 0.25vw), 20px);
  font-weight: 950;
  margin-block-end: 8px;
  color: var(--ink);
}

.faqAnswer {
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  font-weight: 800;
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.86);
}

/* mobile */
@media (width < 768px) {
  #faqSection {
    margin-top: 55.5px;
  }
  .pageSection {
    padding-block: 56px;
  }

  #faqSection {
    > .sectionInner {
      grid-template-columns: 1fr 40%;
      > .sectionTitle,
      .sectionLead {
        grid-column: 1/2;
      }
      > img {
        grid-column: 2;
        grid-row: 1/3;
        align-self: start;
      }
    }
  }

  .faqList {
    grid-column: 1/3;
  }
}
