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

.page-faq__crumbs {
  padding-top: 14px;
  padding-bottom: 4px;
}

.page-faq .crumbs {
  font-size: 0.8125rem;
  color: var(--mist);
}

.page-faq .crumbs a {
  color: var(--mist);
  text-decoration: none;
}

.page-faq .crumbs a:hover,
.page-faq .crumbs a:focus-visible {
  color: var(--cyan);
}

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

.k-hero {
  position: relative;
  padding: clamp(20px, 3vw, 34px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(33, 243, 208, 0.12), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(255, 92, 43, 0.1), transparent 46%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
}

.k-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.k-hero__copy {
  min-width: 0;
}

.k-kicker {
  font-family: var(--font-data);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}

.k-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
}

.k-title__hl {
  color: var(--cyan);
  box-shadow: inset 0 -0.28em 0 rgba(33, 243, 208, 0.16);
}

.k-lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: var(--text);
}

.k-hero__note {
  margin: 14px 0 0;
  max-width: 62ch;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mist);
}

.k-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.k-quick a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.k-quick a:hover,
.k-quick a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.k-quick a:focus-visible {
  outline: var(--ring);
  outline-offset: 2px;
}

.k-hero__figure {
  margin: 0;
  padding: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.k-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.k-hero__figure figcaption {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 主体：左栏目录 + 右栏问答 ---------- */

.k-body {
  padding-top: clamp(28px, 3.6vw, 46px);
  padding-bottom: clamp(36px, 4.4vw, 64px);
  align-items: start;
}

.k-rail {
  min-width: 0;
  margin-bottom: 26px;
}

.k-rail__inner {
  min-width: 0;
}

.k-rail__title {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.k-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.k-topic {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.k-topic__num {
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--amber);
}

.k-topic:hover,
.k-topic:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.k-topic:focus-visible {
  outline: var(--ring);
  outline-offset: 2px;
}

.k-topic[aria-current="true"] {
  border-left-color: var(--cyan);
  color: var(--cyan);
  background: linear-gradient(90deg, rgba(33, 243, 208, 0.1), transparent 80%);
}

.k-topic[aria-current="true"] .k-topic__num {
  color: var(--cyan);
}

.k-rail__cta {
  display: none;
  margin-top: 18px;
}

.k-answers {
  min-width: 0;
}

.k-group {
  scroll-margin-top: 132px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(26px, 3.4vw, 44px);
}

.k-group:last-child {
  margin-bottom: 0;
}

.k-band {
  margin: 0 0 14px;
}

.k-group .band__title {
  color: var(--text);
}

.k-group .band__num,
.k-group .band__meta {
  font-family: var(--font-data);
  letter-spacing: 0.1em;
}

.k-group .band__meta {
  color: var(--mist);
}

/* 折叠条目 */

.k-fold {
  border-bottom: 1px solid var(--line);
}

.k-fold__sum {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 16px 12px;
  border-left: 2px solid transparent;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.k-fold__sum::-webkit-details-marker {
  display: none;
}

.k-fold__sum:hover {
  background: rgba(33, 243, 208, 0.05);
  border-left-color: var(--line);
}

.k-fold__sum:focus-visible {
  outline: var(--ring);
  outline-offset: -2px;
}

.k-fold[open] > .k-fold__sum {
  border-left-color: var(--cyan);
}

.k-fold[open] > .k-fold__sum .k-q-text {
  color: var(--cyan);
}

.k-q-num {
  flex: 0 0 auto;
  padding-top: 4px;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--mist);
}

.k-q-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}

.k-fold__mark {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 6px;
}

.k-fold__mark::before,
.k-fold__mark::after {
  content: "";
  position: absolute;
  background: var(--mist);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.k-fold__mark::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.k-fold__mark::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.k-fold[open] .k-fold__mark::before,
.k-fold[open] .k-fold__mark::after {
  background: var(--orange);
}

.k-fold[open] .k-fold__mark::after {
  transform: translateX(-50%) scaleY(0);
}

.k-fold__body {
  padding: 2px 12px 20px 12px;
  border-left: 2px solid transparent;
}

.k-a {
  margin: 0;
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.k-a + .k-a {
  margin-top: 10px;
}

.k-a__key {
  color: var(--viridis-fallback, var(--cyan-deep));
  font-weight: 600;
}

.k-a .data-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}

/* 设备章节的图文分栏 */

.k-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

.k-split__text {
  min-width: 0;
}

.k-split__figure {
  margin: 0;
}

.k-split__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.k-split__figure .media-frame__cap {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--mist);
}

/* ---------- 结尾通道 ---------- */

.k-cta {
  padding: clamp(34px, 4.6vw, 62px) 0 clamp(40px, 5vw, 70px);
  border-top: 2px solid var(--cyan);
  background-image:
    radial-gradient(circle at 82% 100%, rgba(164, 114, 255, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(33, 243, 208, 0.07), transparent 55%);
  background-color: var(--panel-2);
}

.k-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.2vw, 44px);
  align-items: start;
}

.k-cta__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--text);
}

.k-cta__lede {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.k-cta__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.k-cta__list li {
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-family: var(--font-data);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.k-cta__note {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mist);
}

.k-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.k-cta__aside {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--violet);
  background: var(--panel);
}

.k-cta__aside-title {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.k-cta__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.k-cta__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-left: 2px solid var(--line);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.k-cta__links a:hover,
.k-cta__links a:focus-visible {
  border-left-color: var(--violet);
  color: var(--violet);
  background: rgba(164, 114, 255, 0.08);
}

.k-cta__links a:focus-visible {
  outline: var(--ring);
  outline-offset: 2px;
}

/* ---------- 平板与桌面 ---------- */

@media (min-width: 760px) {
  .k-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .k-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .k-cta__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

@media (min-width: 1024px) {
  .k-rail {
    margin-bottom: 0;
    position: sticky;
    top: 132px;
  }

  .k-rail__nav {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .k-topic {
    white-space: normal;
    margin-bottom: 4px;
    background: transparent;
    border: 0;
    border-left: 2px solid var(--line);
    padding: 12px 14px;
  }

  .k-topic[aria-current="true"] {
    background: linear-gradient(90deg, rgba(33, 243, 208, 0.1), transparent 80%);
  }

  .k-rail__cta {
    display: inline-flex;
  }

  .k-fold__body {
    padding-left: 52px;
  }

  .k-fold[open] > .k-fold__sum {
    background: rgba(33, 243, 208, 0.04);
  }
}

@media (min-width: 1280px) {
  .k-hero {
    padding-top: 40px;
  }

  .k-q-text {
    font-size: 1.125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.page-faq {
  --viridis-fallback: currentColor;
}
