.page-faq {
  background: var(--c-void);
  color: var(--c-white);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(34, 58, 110, .55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 58, 110, .55) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero .shell {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .crumbs {
  margin-bottom: clamp(18px, 3vw, 32px);
}

.page-faq .faq-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 6.4vw, 78px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--c-white);
}

.page-faq .faq-hero__br {
  display: none;
}

.page-faq .faq-hero__lead {
  margin: clamp(16px, 2.5vw, 26px) 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--c-mute);
}

.page-faq .faq-hero__meta {
  list-style: none;
  margin: clamp(22px, 3.5vw, 40px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 15px;
  color: var(--c-white);
}

.page-faq .faq-hero__meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-faq .faq-hero__meta strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: -.01em;
}

.page-faq .faq-hero__meta .mono {
  color: var(--c-green);
  font-size: 15px;
}

/* ---------- 分类标签与面板 ---------- */
.page-faq .faq-body {
  padding-top: clamp(24px, 3.5vw, 44px);
}

.page-faq .faq-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--c-line);
}

.page-faq .faq-tabs::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-tabs .tabs__btn {
  position: relative;
  flex: 0 0 auto;
  padding: 14px 14px 18px;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: var(--c-mute);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s var(--ease);
}

.page-faq .faq-tabs .tabs__btn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.page-faq .faq-tabs .tabs__btn:hover,
.page-faq .faq-tabs .tabs__btn[aria-selected="true"] {
  color: var(--c-white);
}

.page-faq .faq-tabs .tabs__btn[aria-selected="true"]::after {
  transform: scaleX(1);
}

.page-faq .faq-tabs .tabs__btn:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: -2px;
}

.page-faq .faq-panel {
  padding-top: clamp(10px, 1.8vw, 20px);
  animation: faq-fade .24s var(--ease);
}

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 折叠问答 ---------- */
.page-faq .faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-list > li {
  border-bottom: 1px solid var(--c-line);
}

.page-faq .faq-list details {
  position: relative;
}

.page-faq .faq-list summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 4px 18px 26px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--c-white);
  transition: padding-left .24s var(--ease), background-color .16s var(--ease);
}

.page-faq .faq-list summary::-webkit-details-marker { display: none; }
.page-faq .faq-list summary::marker { content: ""; }

.page-faq .faq-list summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 3px;
  height: 0;
  background: var(--c-orange);
  transition: height .24s var(--ease);
}

.page-faq .faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--c-orange);
  transition: transform .24s var(--ease);
}

.page-faq .faq-list summary:hover {
  background: rgba(34, 58, 110, .28);
}

.page-faq .faq-list summary:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: -2px;
}

.page-faq .faq-list details[open] summary {
  padding-left: 20px;
}

.page-faq .faq-list details[open] summary::before {
  height: 24px;
}

.page-faq .faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.page-faq .faq-a {
  padding: 0 24px 22px 20px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--c-mute);
}

.page-faq .faq-list details[open] .faq-a {
  animation: faq-open .26s var(--ease);
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 反馈流程配图 ---------- */
.page-faq .faq-flow {
  margin: 0 0 20px;
}

.page-faq .faq-flow img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  background: var(--c-panel);
}

.page-faq .faq-flow figcaption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-mute);
}

/* ---------- 反馈状态三点条 ---------- */
.page-faq .faq-status {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-left: 2px solid var(--c-line);
  background: linear-gradient(90deg, rgba(18, 34, 74, .55) 0%, transparent 100%);
}

.page-faq .faq-status__item {
  display: grid;
  grid-template-columns: 16px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  position: relative;
}

.page-faq .faq-status__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: -16px;
  width: 1px;
  background: var(--c-line);
}

.page-faq .faq-status__dot {
  grid-row: 1 / 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--c-idle);
  background: transparent;
}

.page-faq .faq-status__item--mid .faq-status__dot {
  border-color: var(--c-orange);
  background: var(--c-orange);
  box-shadow: 0 0 0 5px rgba(255, 122, 41, .18);
}

.page-faq .faq-status__item--done .faq-status__dot {
  border-color: var(--c-green);
  background: var(--c-green);
  box-shadow: 0 0 0 5px rgba(76, 224, 138, .18);
}

.page-faq .faq-status__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-white);
}

.page-faq .faq-status__note {
  font-size: 13px;
  color: var(--c-mute);
  letter-spacing: .02em;
}

/* ---------- 通栏窄条图 ---------- */
.page-faq .faq-banner {
  margin: clamp(40px, 6vw, 76px) 0;
}

.page-faq .faq-banner .media {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 24px, 24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-faq .faq-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .faq-banner figcaption {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-mute);
}

/* ---------- 客服通道 ---------- */
.page-faq .faq-desk {
  padding: clamp(38px, 6vw, 76px) 0 clamp(60px, 8vw, 104px);
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(18, 34, 74, .5) 0%, transparent 100%);
}

.page-faq .faq-desk__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-faq .faq-desk__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
}

.page-faq .faq-desk__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--c-white);
  word-break: break-all;
  line-height: 1.35;
}

.page-faq .faq-desk__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-mute);
}

.page-faq .faq-desk__copy {
  align-self: flex-start;
  margin-top: 4px;
  min-height: 44px;
}

.page-faq .faq-desk__btn {
  align-self: flex-start;
  margin-top: 6px;
  min-height: 44px;
}

.page-faq .faq-desk__fine {
  margin: clamp(24px, 3.5vw, 36px) 0 0;
  max-width: 72ch;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-mute);
}

.page-faq .faq-desk__fine a {
  color: var(--c-orange-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-faq .faq-desk__fine a:hover {
  color: var(--c-orange);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-hero__br {
    display: inline;
  }
}

@media (min-width: 768px) {
  .page-faq .faq-hero__meta {
    gap: 14px 40px;
  }

  .page-faq .faq-list summary {
    padding-right: 8px;
    font-size: 17px;
  }

  .page-faq .faq-desk__grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-faq .faq-desk__card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }

  .page-faq .faq-desk__card--wide .label,
  .page-faq .faq-desk__card--wide .faq-desk__desc {
    flex: 0 0 auto;
  }

  .page-faq .faq-desk__card--wide .faq-desk__desc {
    flex: 1 1 auto;
    max-width: 52ch;
  }

  .page-faq .faq-status {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 22px 20px;
    border-left: 0;
    border-top: 2px solid var(--c-line);
  }

  .page-faq .faq-status__item {
    grid-template-columns: 20px 1fr;
    padding-right: 18px;
  }

  .page-faq .faq-status__item:not(:last-child)::after {
    left: 24px;
    right: auto;
    top: 7px;
    bottom: auto;
    width: calc(100% - 8px);
    height: 1px;
    background: linear-gradient(90deg, var(--c-line) 0%, var(--c-line) 70%, transparent 100%);
  }

  .page-faq .faq-status__dot {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-tabs .tabs__btn {
    padding: 16px 20px 20px;
    font-size: 16px;
  }

  .page-faq .faq-tabs .tabs__btn::after {
    left: 18px;
    right: 18px;
  }

  .page-faq .faq-list summary {
    padding: 22px 8px 22px 28px;
  }

  .page-faq .faq-list details[open] summary {
    padding-left: 22px;
  }

  .page-faq .faq-a {
    padding: 0 40px 26px 22px;
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-panel,
  .page-faq .faq-list details[open] .faq-a {
    animation: none;
  }
  .page-faq .faq-tabs .tabs__btn::after,
  .page-faq .faq-list summary,
  .page-faq .faq-list summary::before,
  .page-faq .faq-list summary::after {
    transition: none;
  }
}
</main>
