.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  position: sticky;
  top: 76px;
  z-index: 40;
  background: var(--bg);
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-nav.is-pinned {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.faq-nav__btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.faq-nav__btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.faq-nav__btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.faq-section {
  margin-bottom: 56px;
}
.faq-section:last-child {
  margin-bottom: 0;
}
.faq-section[hidden] {
  display: none;
}
.faq-section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 20px;
}
.faq-section__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 4px;
}

.faq {
  max-width: 820px;
  margin-top: 24px;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child {
  border-top: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  line-height: 1.4;
  transition: color 0.15s;
}
.faq__q:hover {
  color: var(--brand);
}
.faq__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transition: transform 0.2s;
}
.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}
.faq__item.is-open .faq__q {
  color: var(--brand);
}
.faq__a {
  display: none;
  padding-bottom: 20px;
}
.faq__a p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 12px;
}
.faq__a p:last-child {
  margin-bottom: 0;
}
.faq__a a {
  color: var(--brand);
  text-decoration: underline;
}
.faq__a a:hover {
  opacity: 0.8;
}
.faq__item.is-open .faq__a {
  display: block;
}

@media (max-width: 600px) {
  .faq-nav {
    gap: 6px;
  }
  .faq-nav__btn {
    font-size: 12px;
    padding: 7px 14px;
  }
  .faq__q {
    font-size: 15px;
  }
}
