.page-faq {
  --faq-grid-gap: clamp(26px, 4vw, 52px);
  --faq-line-soft: rgba(231, 237, 249, .12);
}

.page-faq [data-section] {
  scroll-margin-top: calc(var(--sb-navbar-h) + 30px);
}

.page-faq .sb-section {
  padding-block: clamp(34px, 5.6vw, 72px);
}

.page-faq .sb-section--tight {
  padding-top: clamp(18px, 3vw, 30px);
  padding-bottom: clamp(10px, 2vw, 18px);
}

/* ---------- 封面 ---------- */

.faq-cover__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: end;
  margin-top: clamp(22px, 4vw, 42px);
}

.faq-cover__title {
  margin: 14px 0 0;
  max-width: 15em;
}

.faq-cover__lede {
  margin-top: 18px;
  max-width: 34em;
  color: rgba(245, 248, 255, .8);
}

.faq-meter {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--sb-r-l);
  border: 1px solid var(--sb-line);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(22, 224, 210, .14), transparent 58%),
    rgba(231, 237, 249, .07);
  backdrop-filter: blur(12px);
}

.faq-meter__title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--sb-cyan);
}

.faq-meter .sb-status__row {
  padding: 9px 0;
  border-bottom: 1px solid var(--faq-line-soft);
}

.faq-meter .sb-status__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-meter .sb-status__val {
  font-variant-numeric: tabular-nums;
}

.faq-cover__media {
  margin: clamp(26px, 4vw, 46px) 0 0;
  border-radius: var(--sb-r-l);
  overflow: hidden;
  border: 1px solid var(--sb-line);
  background: linear-gradient(120deg, var(--sb-ink-2), rgba(29, 107, 255, .22));
}

.faq-cover__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 10 / 3;
}

/* ---------- 主体分栏 ---------- */

.faq-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--faq-grid-gap);
  align-items: stretch;
}

.faq-rail__panel {
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--sb-r-l);
  border: 1px solid var(--sb-line);
  background: rgba(11, 18, 38, .68);
  backdrop-filter: blur(10px);
}

.faq-search {
  display: block;
}

.faq-search__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--sb-line-strong);
  background: rgba(5, 7, 15, .6);
  color: var(--sb-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .2s var(--sb-ease), box-shadow .2s var(--sb-ease);
}

.faq-search__input::placeholder {
  color: var(--sb-steel);
}

.faq-search__input:focus {
  outline: none;
  border-color: var(--sb-cyan);
  box-shadow: 0 0 0 3px rgba(22, 224, 210, .18);
}

.faq-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}

.faq-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--sb-white);
  font-size: 15px;
  line-height: 1.45;
  transition: background .2s var(--sb-ease), border-color .2s var(--sb-ease);
}

.faq-index__item:hover,
.faq-index__item:focus-visible {
  background: rgba(29, 107, 255, .14);
}

.faq-index__item:focus-visible {
  outline: 2px solid var(--sb-cyan);
  outline-offset: 2px;
}

.faq-index__item[data-current] {
  background: linear-gradient(90deg, rgba(29, 107, 255, .22), rgba(22, 224, 210, .06));
  border-left-color: var(--sb-orange);
}

.faq-index__num {
  font-family: var(--sb-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sb-cyan);
}

.faq-index__item[data-current] .faq-index__num {
  color: var(--sb-orange);
}

.faq-index__count {
  font-family: var(--sb-mono);
  font-size: 12px;
  color: var(--sb-steel);
}

.faq-rail__note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--faq-line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--sb-steel);
}

/* ---------- 问答分组 ---------- */

.faq-group + .faq-group {
  margin-top: clamp(44px, 6.5vw, 78px);
}

.faq-group__head {
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.faq-group__head .sb-h3 {
  margin: 12px 0 0;
}

.faq-group__head .sb-note {
  margin-top: 12px;
  max-width: 36em;
  line-height: 1.75;
}

.faq-rule {
  height: 1px;
  margin-top: clamp(30px, 4.4vw, 52px);
  background: linear-gradient(90deg, var(--sb-blue), var(--sb-cyan) 38%, rgba(22, 224, 210, 0) 92%);
  opacity: .5;
}

.faq-figure {
  margin: 0 0 clamp(20px, 3vw, 30px);
  border-radius: var(--sb-r);
  overflow: hidden;
  border: 1px solid var(--sb-line);
  background: linear-gradient(150deg, rgba(29, 107, 255, .2), rgba(5, 7, 15, .9));
}

.faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 11 / 7;
}

.faq-figure .sb-media__caption {
  margin: 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--sb-steel);
  border-top: 1px solid var(--faq-line-soft);
}

/* ---------- 折叠条目 ---------- */

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

.faq-item__q {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
  color: var(--sb-white);
  font-weight: 600;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.62;
  transition: color .2s var(--sb-ease);
}

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

.faq-item__q:hover {
  color: var(--sb-cyan);
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--sb-cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

.faq-item__idx {
  font-family: var(--sb-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sb-steel);
  padding-top: 5px;
}

.faq-item[open] .faq-item__idx {
  color: var(--sb-orange);
}

.faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border: 1px solid var(--sb-line-strong);
  border-radius: 50%;
  transition: border-color .2s var(--sb-ease), background .2s var(--sb-ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--sb-white);
  transform: translate(-50%, -50%);
  transition: transform .22s var(--sb-ease), opacity .22s var(--sb-ease);
}

.faq-item__icon::before {
  width: 9px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 9px;
}

.faq-item[open] .faq-item__icon {
  border-color: var(--sb-orange);
  background: rgba(255, 106, 26, .18);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.faq-item__a {
  padding: 0 2px 22px 40px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(245, 248, 255, .82);
}

.faq-item__a p {
  margin: 0;
}

.faq-item__a p + p,
.faq-item__a ol + p,
.faq-item__a ul + p {
  margin-top: 12px;
}

/* ---------- 步骤与标签 ---------- */

.faq-steps {
  list-style: none;
  counter-reset: faqstep;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-steps > li {
  counter-increment: faqstep;
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 12px;
  font-size: 15px;
  line-height: 1.72;
}

.faq-steps > li::before {
  content: "0" counter(faqstep);
  font-family: var(--sb-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--sb-cyan);
  padding-top: .36em;
}

.faq-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(.36em + 1.5em);
  bottom: -12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(22, 224, 210, .5), rgba(29, 107, 255, .06));
}

.faq-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--sb-line);
  background: rgba(29, 107, 255, .12);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 248, 255, .9);
}

/* ---------- 收口 ---------- */

.faq-close__band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--sb-r-l);
  border: 1px solid var(--sb-line);
  background:
    radial-gradient(120% 150% at 8% 0%, rgba(29, 107, 255, .3), transparent 62%),
    radial-gradient(110% 130% at 96% 100%, rgba(22, 224, 210, .18), transparent 60%),
    var(--sb-ink-2);
}

.faq-close__lead .sb-h3 {
  margin: 12px 0 0;
}

.faq-close__lead .sb-lede {
  margin: 14px 0 0;
  color: rgba(245, 248, 255, .8);
}

.faq-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-close__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--sb-line);
  padding-top: clamp(18px, 2.4vw, 24px);
}

.faq-close__list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sb-steel);
}

.faq-close__k {
  display: block;
  font-weight: 600;
  color: var(--sb-white);
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .faq-close__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .faq-cover__split {
    grid-template-columns: 6fr 6fr;
  }

  .faq-close__band {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
  }

  .faq-close__actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }

  .faq-close__list {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .faq-body__grid {
    grid-template-columns: 6fr 6fr;
  }

  .faq-rail__panel {
    position: sticky;
    top: calc(var(--sb-navbar-h) + 22px);
  }
}

@media (max-width: 560px) {
  .faq-item__a {
    padding-left: 2px;
  }

  .faq-steps > li {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 10px;
  }

  .faq-steps > li:not(:last-child)::after {
    left: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__icon::before,
  .page-faq .faq-item__icon::after,
  .page-faq .faq-search__input,
  .page-faq .faq-index__item,
  .page-faq .faq-item__q {
    transition: none;
  }
}
<<<END>>>
