.dl-faq {
  margin-bottom: 48px;
  scroll-margin-top: 20px;
}

.dl-faq-list {
  margin-top: 18px;
  padding: 0 clamp(16px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

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

.dl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

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

.dl-faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}

.dl-faq details[open] summary::after {
  transform: rotate(225deg);
}

.dl-faq summary:hover,
.dl-faq details[open] summary {
  color: var(--brand);
}

.dl-faq summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.dl-faq details p {
  max-width: 48em;
  margin: 0;
  padding-bottom: 18px;
  color: var(--fg);
  line-height: 1.75;
}

.dl-faq details a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .dl-faq {
    margin-bottom: 32px;
  }

  .dl-faq summary {
    padding-block: 13px;
  }
}
