body[data-page="faq"],
.faq-page {
  background: #faf9f6;
  color: #403a45;
}

.faq-page {
  position: relative;
  isolation: isolate;
  padding: 54px 28px 68px;
  font: 400 16px/1.7 Poppins, Arial, sans-serif;
}

.faq-page .faq-intro,
.faq-page .faq-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1130px;
  margin-inline: auto;
}

.faq-page .faq-intro { margin-bottom: 32px; }

.faq-page h1,
.faq-page h2 {
  color: var(--green);
  font-family: Poppins, Arial, sans-serif;
  font-weight: 700;
  text-wrap: balance;
}

.faq-page h1 {
  max-width: 24ch;
  margin: 0 0 16px;
  font-size: 2.75rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.faq-page .faq-intro > p {
  max-width: 76ch;
  font-size: 17px;
  line-height: 1.75;
}

.faq-page .faq-topic-navigation { margin-bottom: 28px; }

.faq-page .faq-topic-navigation h2 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
}

.faq-page .faq-topic-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-page .faq-topic-navigation li { min-width: 0; max-width: 100%; }

.faq-page .faq-topic-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid #cadbd0;
  border-radius: 24px;
  background: #fff;
  color: var(--green);
  font: 400 14px/1.5 Poppins, Arial, sans-serif;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.faq-page .faq-topic-navigation a:hover { border-color: var(--green); background: #edf3ef; }

.faq-page .faq-topic-navigation a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.faq-page .faq-topics {
  overflow: hidden;
  border: 1px solid #dce5de;
  border-radius: 18px;
  background: #fff;
}

.faq-page .faq-topic {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px 36px;
  scroll-margin-top: 24px;
}

.faq-page .faq-topic + .faq-topic { border-top: 1px solid #e1e7e2; }

.faq-page .faq-topic-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fbe4eb;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.faq-page .faq-topic:nth-child(3n + 2) .faq-topic-number { background: #eee3f5; }
.faq-page .faq-topic:nth-child(3n) .faq-topic-number { background: #e5f0df; }
.faq-page .faq-topic-copy { min-width: 0; }

.faq-page .faq-topic h2 {
  margin: 6px 0 10px;
  font-size: 1.75rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.faq-page .faq-topic-description {
  max-width: 76ch;
  font-size: 16px;
  line-height: 1.75;
}

.faq-page .faq-question {
  margin-top: 22px;
  border-top: 1px solid #e1e7e2;
}

.faq-page .faq-question + .faq-question { margin-top: 0; }

.faq-page .faq-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 16px 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-page .faq-question summary::-webkit-details-marker { display: none; }
.faq-page .faq-question summary::marker { content: ""; }

.faq-page .faq-question summary::after {
  content: "+";
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  height: 30px;
  border-radius: 50%;
  background: #edf3ef;
  font: 400 22px/1 Arial, sans-serif;
}

.faq-page .faq-question[open] summary::after { content: "−"; }
.faq-page .faq-question summary:hover { color: #087461; }

.faq-page .faq-question summary:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-page .faq-answer { padding: 0 48px 22px 0; }
.faq-page .faq-answer p { max-width: 76ch; font-size: 16px; line-height: 1.75; }
.faq-page .faq-answer p + p { margin-top: 14px; }
.faq-page .faq-answer a { color: var(--green); text-underline-offset: 3px; }

.faq-page .faq-answer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.faq-page .faq-answer-links li { min-width: 0; max-width: 100%; }

.faq-page .faq-answer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding-block: 8px;
  font: 400 15px/1.6 Poppins, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.faq-page .faq-answer-links a:hover { color: #087461; }

.faq-page .faq-answer-links a:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 3px;
}

.faq-page .faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
  padding: 30px 36px;
  border: 1px solid #d9e5db;
  border-radius: 18px;
  background: #edf3ed;
}

.faq-page .faq-contact h2 { margin-bottom: 8px; font-size: 24px; line-height: 1.4; }
.faq-page .faq-contact p { max-width: 60ch; font-size: 16px; line-height: 1.75; }

.faq-page .faq-contact-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 188px;
  min-height: 56px;
  height: auto;
  padding: 16px 24px;
  background: var(--yellow);
  color: #003b30;
  font-size: 16px;
}

.faq-page .faq-contact-button:hover { background: #ffedab; }
.faq-page .faq-contact-button:active { background: #f4d572; }
.faq-page .faq-contact-button:focus-visible { outline-color: var(--green); }

.faq-page .faq-art { display: none; }
body[data-page="faq"] .site-footer { background: #edf2ef; color: var(--green); }

@media (min-width: 1400px) {
  .faq-page .faq-art {
    display: block;
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .faq-page .faq-art .curve {
    width: min(260px, calc((100vw - 1130px) / 2 - 32px));
    height: auto;
    opacity: .6;
  }

  .faq-page .faq-curve-pink { top: 100px; left: -18px; }
  .faq-page .faq-curve-lime { right: -18px; bottom: 130px; }
}

@media (max-width: 750px) {
  .faq-page { padding: 36px 22px 48px; }
  .faq-page .faq-intro { margin-bottom: 26px; }
  .faq-page .faq-intro > p { font-size: 16px; }
  .faq-page .faq-topic { grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 26px 24px; }
  .faq-page .faq-topic-number { width: 42px; height: 42px; }
  .faq-page .faq-topic h2 { margin-top: 3px; }
  .faq-page .faq-contact { align-items: flex-start; flex-direction: column; gap: 22px; padding: 26px 24px; }
  .faq-page .faq-contact h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  .faq-page { padding-inline: 18px; }
  .faq-page h1 { overflow-wrap: anywhere; }
  .faq-page .faq-topic { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
  .faq-page .faq-topic-number { width: 40px; height: 40px; }
  .faq-page .faq-topic h2 { margin-top: 0; }
  .faq-page .faq-answer { padding-right: 0; }
  .faq-page .faq-contact { padding: 24px 20px; }
  .faq-page .faq-contact-button { width: 100%; min-width: 0; }
}
