.page-faq {
  --faq-index-w: 268px;
  --faq-grid-gap: 28px;
  background: var(--c-bg);
  color: var(--c-ink);
}

/* ===== Hero ===== */
.page-faq .faq-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(212, 160, 23, .18) 0, transparent 300px),
    linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-bright) 56%, var(--c-red-deep) 100%);
  color: var(--c-bg);
  padding: 28px 20px 60px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
  position: relative;
}

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

.page-faq .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(249, 245, 240, .72);
}

.page-faq .breadcrumbs a {
  color: var(--c-bg);
  text-decoration: none;
  font-weight: 500;
}

.page-faq .breadcrumbs a:hover {
  text-decoration: underline;
}

.page-faq .masthead-kicker {
  display: inline-block;
  margin-top: 26px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-gold);
  background: rgba(30, 30, 30, .32);
  border: 1px solid rgba(249, 245, 240, .28);
}

.page-faq h1 {
  margin: 16px 0 12px;
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 5.4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.16;
  max-width: 820px;
}

.page-faq .masthead-desc {
  max-width: 660px;
  margin: 0;
  font-size: .98rem;
  line-height: 1.75;
  color: rgba(249, 245, 240, .86);
}

/* ===== 搜索面板 ===== */
.page-faq .faq-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  margin-top: 26px;
  padding: 8px;
  background: var(--c-bg);
  border: 3px solid var(--c-ink);
  box-shadow: 6px 6px 0 rgba(30, 30, 30, .22);
}

.page-faq .faq-search-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-bg);
  background: var(--c-red);
}

.page-faq .search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 8px 4px;
  font: inherit;
  font-size: .95rem;
  color: var(--c-ink);
  background: transparent;
}

.page-faq .search-input::placeholder {
  color: rgba(30, 30, 30, .45);
}

.page-faq .search-clear {
  border: 0;
  padding: 8px 12px;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-blue);
  background: transparent;
  cursor: pointer;
}

.page-faq .search-clear:hover {
  color: var(--c-red);
}

/* ===== Shell ===== */
.page-faq .faq-shell {
  padding: 30px 20px 60px;
}

/* ===== 索引 ===== */
.page-faq .faq-index {
  background: var(--c-paper);
  border-bottom: 3px solid var(--c-ink);
  margin: -12px -20px 0;
  padding: 14px 20px 16px;
  position: sticky;
  top: var(--header-h-mobile);
  z-index: 20;
}

.page-faq .faq-index-title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-blue);
}

.page-faq .faq-index-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: max-content;
}

.page-faq .faq-index-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-ink);
  background: var(--c-bg);
  border: 2px solid var(--c-ink);
  box-shadow: 3px 3px 0 rgba(31, 58, 95, .18);
  white-space: nowrap;
}

.page-faq .faq-index-list a:hover {
  background: var(--c-gold);
  color: var(--c-ink);
}

.page-faq .faq-index-num {
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 900;
  color: var(--c-red);
}

.page-faq .faq-index-help {
  display: inline-flex;
  margin-top: 14px;
}

/* ===== 内容区 ===== */
.page-faq .faq-content {
  min-width: 0;
}

.page-faq .faq-section {
  padding-top: 52px;
}

.page-faq .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--c-ink);
  padding-bottom: 16px;
}

.page-faq .section-no {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-red);
}

.page-faq .section-head-text {
  min-width: 0;
}

.page-faq .section-head h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-ink);
}

.page-faq .section-desc {
  margin: 6px 0 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--c-gray);
}

/* ===== FAQ 折叠面板 ===== */
.page-faq .faq-list {
  display: grid;
  gap: 12px;
}

.page-faq .faq-item {
  background: var(--c-paper);
  border: 2px solid var(--c-ink);
  box-shadow: 5px 5px 0 rgba(31, 58, 95, .14);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.page-faq .faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(31, 58, 95, .2);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--font-title);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-ink);
  position: relative;
  user-select: none;
}

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

.page-faq .faq-item summary::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--c-red);
}

.page-faq .faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-red);
}

.page-faq .faq-item[open] summary {
  background: var(--c-ink);
  color: var(--c-bg);
}

.page-faq .faq-item[open] summary::before {
  background: var(--c-gold);
}

.page-faq .faq-item[open] summary::after {
  content: "−";
  color: var(--c-gold);
}

.page-faq .faq-answer {
  padding: 14px 18px 18px 40px;
  border-top: 1px solid var(--line-strong);
  font-size: .94rem;
  line-height: 1.75;
  color: var(--c-ink);
}

.page-faq .faq-answer p {
  margin: 0;
}

.page-faq .faq-answer a {
  color: var(--c-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-answer a:hover {
  color: var(--c-blue);
}

/* ===== 图片 ===== */
.page-faq .faq-figure {
  margin: 24px 0 0;
  padding: 8px;
  background: var(--c-blue);
  border: 3px solid var(--c-ink);
  box-shadow: 6px 6px 0 rgba(30, 30, 30, .2);
}

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

.page-faq .faq-figure figcaption {
  padding: 10px 4px 4px;
  font-size: .82rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--c-bg);
}

/* ===== 注册区双栏 ===== */
.page-faq .faq-section--split .faq-body {
  display: grid;
  gap: var(--faq-grid-gap);
}

.page-faq .faq-section--split .faq-figure {
  margin-top: 0;
}

.page-faq .faq-section--split .faq-figure img {
  max-height: 520px;
}

/* ===== 功能区宽图 ===== */
.page-faq .faq-figure--wide {
  max-width: 860px;
}

.page-faq .faq-figure--wide img {
  aspect-ratio: 800 / 500;
}

/* ===== CTA ===== */
.page-faq .faq-help-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding: 32px 28px;
  background: var(--c-red);
  border: 4px solid var(--c-ink);
  box-shadow: 10px 10px 0 rgba(31, 58, 95, .28);
  color: var(--c-bg);
}

.page-faq .faq-help-cta-text {
  min-width: 0;
}

.page-faq .faq-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--c-ink);
  background: var(--c-gold);
  border: 2px solid var(--c-ink);
}

.page-faq .faq-help-cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
}

.page-faq .faq-help-cta p {
  margin: 0;
  max-width: 560px;
  font-size: .95rem;
  line-height: 1.7;
  opacity: .92;
}

.page-faq .faq-help-cta .btn {
  flex: 0 0 auto;
}

/* ===== 桌面端 ===== */
@media (min-width: 980px) {
  .page-faq .faq-hero {
    padding: 44px 0 76px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
  }

  .page-faq .masthead-kicker {
    margin-top: 36px;
  }

  .page-faq h1 {
    font-size: clamp(2.3rem, 4vw, 3.3rem);
  }

  .page-faq .faq-shell {
    display: grid;
    grid-template-columns: var(--faq-index-w) 1fr;
    gap: 64px;
    align-items: start;
    padding: 56px 0 96px;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 24px;
    margin: 0;
    padding: 22px 20px;
    border: 3px solid var(--c-ink);
    box-shadow: 7px 7px 0 rgba(31, 58, 95, .18);
  }

  .page-faq .faq-index-list {
    flex-direction: column;
    gap: 10px;
  }

  .page-faq .faq-index-list a {
    display: flex;
    align-items: center;
    white-space: normal;
    width: 100%;
  }

  .page-faq .faq-index-help {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }

  .page-faq .faq-section {
    padding-top: 64px;
  }

  .page-faq .section-no {
    font-size: 2.6rem;
  }

  .page-faq .section-head h2 {
    font-size: 1.85rem;
  }

  .page-faq .faq-section--split .faq-body {
    grid-template-columns: 1.25fr .75fr;
    align-items: start;
  }

  .page-faq .faq-section--split .faq-figure {
    position: sticky;
    top: 32px;
    margin-left: 0;
  }

  .page-faq .faq-section--split .faq-figure img {
    max-height: 620px;
  }

  .page-faq .faq-figure--wide {
    margin-top: 32px;
    max-width: 100%;
  }

  .page-faq .faq-figure--wide img {
    max-height: 520px;
  }

  .page-faq .faq-help-cta {
    padding: 40px 36px;
    margin-top: 80px;
  }
}
