body[data-page="faq"] {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

body[data-page="faq"] main {
  flex: 1;
}

.faq-document {
  max-width: 936px;
  padding-top: 74px;
  padding-bottom: 96px;
}

.faq-intro {
  margin-bottom: 60px;
  text-align: center;
}

.faq-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

.faq-date {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.faq-group + .faq-group {
  margin-top: 52px;
}

.faq-group h2 {
  margin: 0 0 20px;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

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

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

.faq-question::after {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-position: center;
  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
}

.faq-item[open] > .faq-question::after {
  background-size: 100% 1px, 0 0;
}

.faq-question:hover {
  color: var(--muted);
}

.faq-question:focus-visible {
  outline: 3px solid #337fed;
  outline-offset: 5px;
}

.faq-answer {
  margin: 0;
  padding: 0 38px 25px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

@media (max-width: 767.98px) {
  .faq-document {
    padding-top: 42px;
    padding-bottom: 64px;
  }
}

@media (max-width: 767.98px) {
  .faq-intro {
    margin-bottom: 40px;
  }
}

@media (max-width: 767.98px) {
  .faq-group + .faq-group {
    margin-top: 40px;
  }
}

@media (max-width: 767.98px) {
  .faq-group h2 {
    font-size: 21px;
    margin-bottom: 16px;
  }
}

@media (max-width: 767.98px) {
  .faq-question {
    gap: 20px;
    padding: 22px 0;
    font-size: 17px;
  }
}

@media (max-width: 767.98px) {
  .faq-answer {
    padding-right: 0;
    padding-bottom: 22px;
  }
}

@media (forced-colors: active) {
  .faq-question::after {
    content: "+";
    height: auto;
    background: none;
    color: ButtonText;
    line-height: 1;
  }
}

@media (forced-colors: active) {
  .faq-item[open] > .faq-question::after {
    content: "−";
  }
}

