.faq {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  max-width: 72rem;
  width: 100%;
  margin-inline: auto;
}

.faq__header {
  max-width: none;
  margin-bottom: 0;
  position: sticky;
  top: 1.5rem;
}

.faq__title {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.faq__sub {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.faq__list {
  max-width: none;
  padding: 0.35rem 1.15rem;
  border-radius: 1.25rem;
  background: var(--surface);
}

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

.faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0.15rem;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-item.is-open .faq-item__head {
  color: var(--ink);
}

@media (hover: hover) {
  .faq-item__head:hover {
    color: var(--ink);
  }
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  color: var(--accent);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease;
}

.faq-item__icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__body-inner {
  overflow: hidden;
}

.faq-item__text {
  padding: 0 0.15rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__body {
    transition: none;
  }
}

@media (max-width: 56rem) {
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq__header {
    position: static;
  }
}
