.faq-page {
  padding-top: calc(var(--header-h) + 76px);
}

.faq-hero {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: clamp(44px, 8vw, 96px) clamp(24px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 16%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 24rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.faq-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.faq-hero > p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.faq-list {
  display: grid;
  width: min(calc(100% - 40px), 1000px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0;
  gap: 18px;
}

.faq-item {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 24px clamp(22px, 4vw, 38px);
  color: var(--text-strong);
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  list-style: none;
}

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

.faq-item summary::after {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  content: "+";
  line-height: 34px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 clamp(22px, 4vw, 38px) 28px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  max-width: 840px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.faq-contact {
  width: min(calc(100% - 40px), 1000px);
  margin: 0 auto clamp(70px, 10vw, 130px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: var(--text-strong);
  color: var(--bg);
}

.faq-contact h2,
.faq-contact p {
  color: inherit;
}

.faq-contact h2 {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
}

.faq-contact .button {
  margin-top: 10px;
}

@media (max-width: 600px) {
  .faq-page {
    padding-top: calc(var(--header-h) + 34px);
  }

  .faq-hero,
  .faq-list,
  .faq-contact {
    width: min(calc(100% - 24px), var(--max));
  }

  .faq-item summary {
    gap: 16px;
  }
}
