.page-faq {
  --faq-border: 2px solid var(--line);
  --faq-gold-soft: rgba(242, 160, 43, .13);
  padding: 26px 0 76px;
  color: var(--text);
}

.page-faq .shell {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ---------- 头部 ---------- */
.page-faq .sup-head {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--ink-800);
  border: var(--faq-border);
  border-left: 6px solid var(--gold);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-faq .sup-head::after {
  content: "SUP / 07";
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(143, 162, 190, .38);
  pointer-events: none;
}

.page-faq .sup-head .eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
}

.page-faq .sup-head h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text);
}

.page-faq .sup-head .lead {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .sup-head__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 分段切换 ---------- */
.page-faq .sup-tabs {
  display: flex;
  flex-wrap: wrap;
  border: var(--faq-border);
  background: var(--ink-800);
  box-shadow: var(--shadow-soft);
}

.page-faq .sup-tabs .seg-btn {
  flex: 1 1 140px;
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  border-right: var(--faq-border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  text-align: left;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.page-faq .sup-tabs .seg-btn:last-child {
  border-right: 0;
}

.page-faq .sup-tabs .seg-btn:hover {
  color: var(--amber);
  background: var(--ink-700);
}

.page-faq .sup-tabs .seg-btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -4px;
}

.page-faq .sup-tabs .seg-btn[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink-900);
  font-weight: 700;
}

/* ---------- 面板 ---------- */
.page-faq .sup-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq .sup-panel[hidden] {
  display: none;
}

.page-faq .sup-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -.02em;
  color: var(--text);
}

.page-faq .sup-panel__intro {
  margin: -10px 0 0;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .sup-sub {
  margin: 0;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--text);
}

/* ---------- 问答条目 ---------- */
.page-faq .qa {
  background: var(--ink-800);
  border: var(--faq-border);
  box-shadow: var(--shadow-soft);
  transition: border-color .18s var(--ease);
}

.page-faq .qa[open] {
  border-left: 4px solid var(--gold);
}

.page-faq .qa__sum {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  transition: background .18s var(--ease);
}

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

.page-faq .qa__sum:hover {
  background: var(--ink-700);
}

.page-faq .qa__sum:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -4px;
}

.page-faq .qa__no {
  flex: 0 0 auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-faq .qa__q {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.page-faq .qa__mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 5px;
}

.page-faq .qa__mark::before,
.page-faq .qa__mark::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.page-faq .qa__mark::before {
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
}

.page-faq .qa__mark::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
}

.page-faq .qa[open] .qa__mark::before {
  background: var(--gold);
}

.page-faq .qa[open] .qa__mark::after {
  transform: scaleY(0);
}

.page-faq .qa__body {
  padding: 16px 20px 22px 52px;
  border-top: 1px dashed var(--line);
}

.page-faq .qa__body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .qa__body p:last-child {
  margin-bottom: 0;
}

.page-faq .qa__body a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .qa__body a:hover {
  color: var(--gold);
}

.page-faq .qa__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .qa__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .qa__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.page-faq .qa__list strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 步骤区 ---------- */
.page-faq .steps-block {
  padding: 22px 20px 24px;
  background: var(--ink-800);
  border: var(--faq-border);
  box-shadow: var(--shadow-soft);
}

.page-faq .steps-block__lead {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .steps {
  list-style: none;
  margin: 20px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink-700);
  border: 1px solid var(--line);
}

.page-faq .steps__item {
  position: relative;
  padding: 18px 14px 16px;
  border-right: 1px solid var(--line);
  opacity: .55;
  transition: opacity .2s var(--ease), background .2s var(--ease);
}

.page-faq .steps__item:last-child {
  border-right: 0;
}

.page-faq .steps__item.is-active {
  opacity: 1;
  background: var(--faq-gold-soft);
}

.page-faq .steps__item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.page-faq .steps__no {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-faq .steps__item.is-active .steps__no {
  color: var(--gold);
}

.page-faq .steps__label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}

.page-faq .steps__hint {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 图 ---------- */
.page-faq .sup-figure {
  margin: 0;
}

.page-faq .sup-figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 提示条 ---------- */
.page-faq .note {
  position: relative;
  padding: 14px 18px 14px 22px;
  background: var(--faq-gold-soft);
  border-left: 4px solid var(--gold);
  font-size: 14px;
  line-height: 1.72;
  color: var(--text);
}

/* ---------- 尾部联系 ---------- */
.page-faq .sup-cta {
  position: relative;
  padding: 28px 22px 26px;
  background: var(--ink-800);
  border: var(--faq-border);
  border-left: 6px solid var(--gold);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-faq .sup-cta__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.8vw, 24px);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-faq .sup-cta__text {
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .sup-cta__meta {
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}

.page-faq .sup-cta__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.page-faq .sup-cta__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-faq .sup-cta__row dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-faq .sup-cta__row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text);
  word-break: break-word;
}

.page-faq .sup-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .page-faq .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .steps__item:nth-child(2) {
    border-right: 0;
  }

  .page-faq .steps__item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .page-faq {
    padding: 18px 0 56px;
  }

  .page-faq .sup-head {
    padding: 22px 16px 20px;
    border-left-width: 4px;
  }

  .page-faq .sup-head::after {
    display: none;
  }

  .page-faq .sup-tabs .seg-btn {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: var(--faq-border);
    text-align: center;
  }

  .page-faq .sup-tabs .seg-btn:last-child {
    border-bottom: 0;
  }

  .page-faq .steps-block {
    padding: 18px 14px 20px;
  }

  .page-faq .steps {
    grid-template-columns: 1fr;
  }

  .page-faq .steps__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-faq .steps__item:nth-child(2) {
    border-right: 0;
  }

  .page-faq .steps__item:last-child {
    border-bottom: 0;
  }

  .page-faq .qa__sum {
    gap: 10px;
    padding: 15px 14px;
  }

  .page-faq .qa__q {
    font-size: 15px;
  }

  .page-faq .qa__body {
    padding: 14px 14px 18px;
  }

  .page-faq .sup-cta {
    padding: 22px 16px 20px;
    border-left-width: 4px;
  }

  .page-faq .sup-cta__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
