.page-faq {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 4.5vw, 48px) 0 clamp(44px, 7vw, 84px);
  background:
    radial-gradient(72% 90% at 94% 0%, rgba(53, 214, 232, 0.16), transparent 62%),
    radial-gradient(56% 74% at 0% 104%, rgba(47, 224, 138, 0.12), transparent 70%),
    linear-gradient(158deg, #0E1A33 0%, #070D1B 58%);
  border-bottom: 1px solid var(--edge);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.24;
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 106, 43, 0.14), transparent 68%);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-faq .faq-hero-in {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--idx);
  text-transform: uppercase;
}

.page-faq .breadcrumb a {
  color: var(--cool);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-faq .breadcrumb a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-faq .breadcrumb-sep {
  color: var(--idx);
}

.page-faq .faq-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-faq .faq-hero .lede {
  max-width: 46ch;
  margin: 16px 0 0;
  color: var(--cool);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
}

.page-faq .faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-faq .faq-jump .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.page-faq .faq-hero-fig {
  position: relative;
  margin: 0;
  border: 1px solid var(--edge);
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

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

.page-faq .faq-hero-fig .figure-caption {
  padding: 12px 16px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--idx);
  line-height: 1.7;
}

.page-faq .faq-block {
  position: relative;
  padding: clamp(42px, 6.5vw, 84px) 0;
  border-bottom: 1px solid var(--edge);
}

.page-faq .faq-block:last-of-type {
  border-bottom: 0;
}

.page-faq .faq-split {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.page-faq .faq-rail h2 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.page-faq .faq-rail p {
  margin: 0 0 14px;
  max-width: 36ch;
  color: var(--cool);
  font-size: 15px;
  line-height: 1.78;
}

.page-faq .faq-rail--wide p {
  max-width: 56ch;
}

.page-faq .faq-rail .faq-rail-note {
  margin: 18px 0 14px;
  padding-left: 12px;
  border-left: 2px solid var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
  line-height: 1.6;
}

.page-faq .faq-rail .faq-link {
  margin-top: 6px;
}

.page-faq .faq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(53, 214, 232, 0.38);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-faq .faq-link::after {
  content: "↗";
  font-size: 11px;
}

.page-faq .faq-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* 三步查询卡 */
.page-faq .faq-steps {
  display: grid;
  gap: 12px;
}

.page-faq .faq-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 16px 16px 16px;
  background: linear-gradient(90deg, rgba(14, 26, 51, 0.94), rgba(14, 26, 51, 0.28));
  border-left: 2px solid var(--edge);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-faq .faq-step:hover {
  border-left-color: var(--cyan);
}

.page-faq .faq-step:has(input:checked) {
  border-left-color: var(--green);
  background: linear-gradient(90deg, rgba(47, 224, 138, 0.13), rgba(14, 26, 51, 0.3));
}

.page-faq .faq-step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
  padding-top: 4px;
}

.page-faq .faq-step-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-faq .faq-step-body p {
  margin: 0;
  color: var(--cool);
  font-size: 14px;
  line-height: 1.72;
}

.page-faq .faq-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 2px;
}

.page-faq .faq-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.page-faq .faq-check-box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--edge);
  background: rgba(7, 13, 27, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.page-faq .faq-check:hover .faq-check-box {
  border-color: var(--cyan);
}

.page-faq .faq-check input:focus-visible + .faq-check-box {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-faq .faq-check input:checked + .faq-check-box {
  background: var(--green);
  border-color: var(--green);
}

.page-faq .faq-check input:checked + .faq-check-box::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px);
}

/* 入口三选一 */
.page-faq .faq-entries {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--edge);
  background: var(--edge);
}

.page-faq .faq-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: clamp(16px, 3vw, 24px);
  background: var(--void);
  transition: background 0.18s ease;
}

.page-faq .faq-entry:hover {
  background: var(--panel);
}

.page-faq .faq-entry-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  padding-top: 4px;
}

.page-faq .faq-entry h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.page-faq .faq-entry p {
  margin: 0 0 12px;
  color: var(--cool);
  font-size: 14px;
  line-height: 1.74;
}

/* 换设备图 */
.page-faq .faq-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--edge);
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

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

.page-faq .faq-figure .figure-caption {
  padding: 12px 16px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--idx);
  line-height: 1.7;
}

/* 刷新排查 */
.page-faq .faq-checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-faq .faq-checks li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 16px 4px;
  border-top: 1px solid var(--edge);
}

.page-faq .faq-checks li:last-child {
  border-bottom: 1px solid var(--edge);
}

.page-faq .faq-checks b {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--green);
  padding-top: 3px;
}

.page-faq .faq-checks h3 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.page-faq .faq-checks p {
  margin: 0;
  color: var(--cool);
  font-size: 14px;
  line-height: 1.72;
}

.page-faq .faq-diagram {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--edge);
}

/* 筛选与手风琴 */
.page-faq .faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
}

.page-faq .filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cool);
  background: transparent;
  border: 1px solid var(--edge);
  padding: 8px 14px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 86% 100%, 0 100%);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-faq .filter-btn:hover {
  color: var(--text);
  border-color: var(--cyan);
}

.page-faq .filter-btn[aria-pressed="true"] {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.page-faq .filter-count {
  margin-left: 6px;
  opacity: 0.7;
}

.page-faq .faq-list {
  border-top: 1px solid var(--edge);
}

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

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

.page-faq .faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-faq .faq-q-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--idx);
}

.page-faq .faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s ease;
}

.page-faq .faq-item[open] .faq-q {
  color: var(--green);
}

.page-faq .faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.page-faq .faq-plus::before,
.page-faq .faq-plus::after {
  content: "";
  position: absolute;
  background: var(--cool);
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-faq .faq-plus::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.page-faq .faq-plus::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.page-faq .faq-item[open] .faq-plus::before {
  background: var(--green);
}

.page-faq .faq-item[open] .faq-plus::after {
  transform: scaleY(0);
  background: var(--green);
}

.page-faq .faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.page-faq .faq-item[open] .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.page-faq .faq-answer {
  overflow: hidden;
}

.page-faq .faq-answer p {
  margin: 0;
  padding: 0 2px 20px;
  max-width: 64ch;
  color: var(--cool);
  font-size: 14.5px;
  line-height: 1.8;
}

/* 客服准备 */
.page-faq .faq-prep {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-prep li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-left: 2px solid var(--edge);
  background: rgba(14, 26, 51, 0.55);
  color: var(--cool);
  font-size: 14.5px;
  line-height: 1.72;
}

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

.page-faq .faq-dot {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}

.page-faq .faq-contact {
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: clamp(14px, 3vw, 20px);
}

.page-faq .faq-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--edge);
}

.page-faq .faq-contact-row:last-of-type {
  border-bottom: 0;
}

.page-faq .faq-contact-label {
  flex: none;
  min-width: 68px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--idx);
}

.page-faq .faq-contact-row .copy-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}

.page-faq .faq-contact-row .copy-btn {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--edge);
  padding: 6px 12px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 84% 100%, 0 100%);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-faq .faq-contact-row .copy-btn:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.page-faq .faq-contact-row .copy-btn[data-copied="true"] {
  color: var(--orange);
  border-color: var(--orange);
}

.page-faq .faq-contact-note {
  margin: 14px 0 0;
  color: var(--cool);
  font-size: 13px;
  line-height: 1.75;
}

/* 尾部路径 */
.page-faq .faq-block--end {
  background:
    radial-gradient(70% 100% at 14% 0%, rgba(47, 224, 138, 0.1), transparent 66%),
    linear-gradient(180deg, #070D1B 0%, #0B1220 100%);
}

.page-faq .faq-end {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-faq .faq-end h2 {
  margin: 12px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.page-faq .faq-end p {
  margin: 0;
  max-width: 34ch;
  color: var(--cool);
  font-size: 15px;
  line-height: 1.76;
}

.page-faq .faq-end-links {
  display: grid;
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.page-faq .faq-end-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "k t"
    "k d";
  column-gap: 14px;
  row-gap: 4px;
  padding: 14px 16px;
  background: var(--void);
  text-decoration: none;
  transition: background 0.18s ease;
}

.page-faq .faq-end-link:hover {
  background: var(--panel);
}

.page-faq .faq-end-k {
  grid-area: k;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
  padding-top: 3px;
}

.page-faq .faq-end-t {
  grid-area: t;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.page-faq .faq-end-link:hover .faq-end-t {
  color: var(--green);
}

.page-faq .faq-end-d {
  grid-area: d;
  font-size: 13px;
  line-height: 1.65;
  color: var(--idx);
}

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

@media (min-width: 900px) {
  .page-faq .faq-hero-in {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 4vw, 60px);
  }

  .page-faq .faq-split {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  }

  .page-faq .faq-split--flip {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .page-faq .faq-end {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .page-faq .faq-end-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-step,
  .page-faq .faq-entry,
  .page-faq .faq-link,
  .page-faq .filter-btn,
  .page-faq .faq-plus::before,
  .page-faq .faq-plus::after,
  .page-faq .faq-answer-wrap,
  .page-faq .faq-end-link {
    transition: none;
  }
}
