.page-faq {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: clamp(48px, 8vw, 96px);
  color: var(--text);
}

.page-faq .breadcrumb {
  margin-bottom: clamp(18px, 3vw, 30px);
  font-size: 13px;
  color: var(--muted);
}

.page-faq .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
}

.page-faq .breadcrumb-link:hover,
.page-faq .breadcrumb-link:focus-visible {
  color: var(--neon);
}

.page-faq .breadcrumb-current {
  color: var(--text);
}

/* ---------- 首屏 ---------- */

.page-faq .faq-hero {
  padding-bottom: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-hero .annot {
  margin: 0 0 10px;
}

.page-faq .faq-h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 7.2vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 20em;
}

.page-faq .faq-lede {
  margin: 0;
  max-width: 46em;
  font-size: clamp(15.5px, 2.2vw, 17.5px);
  line-height: 1.85;
  color: var(--text);
}

.page-faq .faq-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-faq .faq-hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-left: 12px;
  border-left: 2px solid var(--neon);
  font-size: 13.5px;
  color: var(--muted);
}

.page-faq .faq-hero-facts .mono-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  letter-spacing: -0.04em;
}

/* ---------- 通用栏目标题 ---------- */

.page-faq .section-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-faq .eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--neon);
  font-family: var(--font-mono);
}

.page-faq .section-title {
  margin: 0 0 10px;
  font-size: clamp(23px, 4.6vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-faq .section-note {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 三步上手 ---------- */

.page-faq .faq-quickstart {
  padding: clamp(36px, 6vw, 68px) 0;
}

.page-faq .quickstart-body {
  display: grid;
  gap: 30px;
}

.page-faq .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .step {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 30px;
}

.page-faq .step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 54px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon) 0%, rgba(52, 245, 197, 0.05) 100%);
}

.page-faq .step-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  letter-spacing: -0.05em;
  padding-top: 2px;
}

.page-faq .step-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  line-height: 1.35;
}

.page-faq .step-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .step-figure {
  margin: 0;
}

.page-faq .figure-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink-2);
  border: 1px solid var(--line);
}

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

.page-faq .figure-cap {
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 筛选 ---------- */

.page-faq .faq-filter {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-faq .panel {
  border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
}

.page-faq .panel--slate {
  background: var(--slate);
  border-color: rgba(231, 242, 237, 0.12);
}

.page-faq .panel--paper {
  background: var(--paper);
  border-color: var(--paper-2);
  color: var(--ink-text);
}

.page-faq .panel--deep {
  background: var(--deep);
  border-color: rgba(52, 245, 197, 0.22);
}

.page-faq .panel-head {
  margin-bottom: 22px;
}

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

.page-faq .panel--paper .panel-index {
  color: var(--ink-text-2);
}

.page-faq .panel-title {
  margin: 0 0 10px;
  font-size: clamp(21px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

.page-faq .panel--slate .panel-title,
.page-faq .panel--deep .panel-title {
  color: var(--text);
}

.page-faq .panel-sub {
  margin: 0;
  max-width: 42em;
  font-size: 14.5px;
  line-height: 1.8;
}

.page-faq .panel--slate .panel-sub,
.page-faq .panel--deep .panel-sub {
  color: var(--muted);
}

.page-faq .panel--paper .panel-sub {
  color: var(--ink-text-2);
}

.page-faq .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.page-faq .filter-chip {
  cursor: pointer;
  font-family: inherit;
}

.page-faq .faq-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .filter-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(6, 18, 15, 0.42);
  border: 1px solid rgba(231, 242, 237, 0.1);
}

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

.page-faq .row-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--neon);
}

.page-faq .row-main {
  display: block;
  min-width: 0;
}

.page-faq .row-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.page-faq .row-meta {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-faq .filter-row .tag-chip {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
}

.page-faq .filter-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(231, 242, 237, 0.12);
  display: grid;
  gap: 14px;
}

.page-faq .filter-foot p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .filter-foot strong {
  color: var(--text);
}

.page-faq .filter-foot .btn {
  justify-self: start;
}

/* ---------- 速读模式 ---------- */

.page-faq .faq-read {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-faq .faq-read .panel-title {
  color: var(--ink-text);
}

.page-faq .read-grid {
  display: grid;
  gap: 28px;
}

.page-faq .read-sub {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink-text);
}

.page-faq .read-copy p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-text-2);
}

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

.page-faq .read-track {
  background: rgba(6, 18, 15, 0.05);
  border: 1px solid rgba(16, 72, 60, 0.28);
  border-radius: var(--r-md);
  padding: 20px 18px;
}

.page-faq .track-label {
  margin: 0 0 14px;
  color: var(--ink-text-2);
}

.page-faq .node-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-faq .node {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 72, 60, 0.2);
}

.page-faq .node:first-child {
  border-top: 0;
}

.page-faq .node-time {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: -0.03em;
}

.page-faq .node-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-text-2);
}

/* ---------- 同步 ---------- */

.page-faq .faq-sync {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-faq .sync-grid {
  display: grid;
  gap: 22px;
}

.page-faq .sync-figure {
  margin: 0;
}

.page-faq .sync-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.page-faq .sync-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-faq .sync-table caption {
  text-align: left;
}

.page-faq .sync-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink-3);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.page-faq .sync-table tbody th {
  text-align: left;
  padding: 15px 16px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-faq .sync-table td {
  padding: 15px 16px;
  line-height: 1.75;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.page-faq .sync-table tbody tr:last-child th,
.page-faq .sync-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 订阅 ---------- */

.page-faq .faq-notify {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-faq .notify-grid {
  display: grid;
  gap: 16px;
}

.page-faq .notify-card {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--r-lg);
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.page-faq .notify-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flame), rgba(255, 138, 61, 0));
}

.page-faq .notify-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--flame);
  margin-bottom: 12px;
}

.page-faq .notify-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.page-faq .notify-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 反馈 ---------- */

.page-faq .faq-feedback {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-faq .feedback-grid {
  display: grid;
  gap: 24px;
}

.page-faq .feedback-sub {
  margin: 0 0 12px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--neon);
}

.page-faq .feedback-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .feedback-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}

.page-faq .feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
}

.page-faq .feedback-mail {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(52, 245, 197, 0.22);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  word-break: break-word;
}

.page-faq .feedback-mail a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 问答 ---------- */

.page-faq .faq-questions {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-faq .qa-board {
  display: grid;
  gap: 26px;
}

.page-faq .qa-group-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--neon);
}

.page-faq .qa {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-left: 0;
}

.page-faq .qa::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neon);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 220ms ease-out;
}

.page-faq .qa[open]::before {
  transform: scaleY(1);
}

.page-faq .qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 6px 17px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

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

.page-faq .qa summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-right: 2px solid var(--neon);
  border-bottom: 2px solid var(--neon);
  transform: rotate(45deg);
  transition: transform 220ms ease-out;
}

.page-faq .qa[open] summary::after {
  transform: rotate(-135deg);
}

.page-faq .qa summary:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.page-faq .qa-body {
  padding: 0 22px 20px 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 结尾 ---------- */

.page-faq .cta-box {
  padding: clamp(26px, 5vw, 44px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--deep) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(52, 245, 197, 0.2);
}

.page-faq .cta-title {
  margin: 0 0 10px;
  font-size: clamp(21px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

.page-faq .cta-text {
  margin: 0 0 22px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 宽屏 ---------- */

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

  .page-faq .feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .page-faq .filter-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-faq .filter-row .tag-chip {
    grid-column: 3;
    margin-top: 0;
    align-self: center;
  }

  .page-faq .filter-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-faq .filter-foot .btn {
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .page-faq .quickstart-body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 46px;
    align-items: start;
  }

  .page-faq .step-figure {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .page-faq .read-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 40px;
    align-items: start;
  }

  .page-faq .sync-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
  }

  .page-faq .qa-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

@media (min-width: 1120px) {
  .page-faq .sync-table {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .qa::before,
  .page-faq .qa summary::after {
    transition-duration: 0.01ms;
  }
}
