.page-faq {
  --block-bg: #141b3a;
  --block-bg-alt: #10142e;
  --line-faint: rgba(232, 232, 240, 0.12);
  --line-strong: rgba(208, 255, 0, 0.45);
  --card-bg: #1c2541;
  --card-bg-hover: #222d52;
  --toc-width: 280px;
  --gap-faq: clamp(24px, 4vw, 56px);
  --radius-card: 10px;
  --radius-panel: 16px;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-faq .container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-faq .breadcrumb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 28px 8px;
}

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: rgba(232, 232, 240, 0.65);
}

.page-faq .breadcrumb a {
  color: var(--acid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .breadcrumb a:hover {
  color: var(--volt);
}

.page-faq .breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: rgba(232, 232, 240, 0.3);
}

.page-faq .coord-index {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--data);
  white-space: nowrap;
}

.page-faq .faq-hero {
  position: relative;
  padding-block: 48px 56px;
  margin-bottom: 8px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(208, 255, 0, 0.05) 0%, transparent 38%),
    radial-gradient(circle at 80% 30%, rgba(255, 94, 0, 0.12), transparent 42%);
  border-bottom: 1px solid rgba(208, 255, 0, 0.18);
}

.page-faq .faq-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-faq .faq-hero__main {
  max-width: 820px;
}

.page-faq .faq-hero .section-kicker {
  color: var(--acid);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-faq .faq-hero h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 6px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--acid), var(--volt));
}

.page-faq .faq-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(232, 232, 240, 0.8);
  max-width: 720px;
  margin: 0;
}

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

.page-faq .faq-hero__index {
  font-family: var(--font-head);
  font-size: 100px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(208, 255, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-faq .faq-hero__line {
  display: block;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, var(--acid), var(--volt));
  margin-top: 24px;
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-faq);
  padding-block: 32px 72px;
  position: relative;
}

.page-faq .faq-toc {
  position: relative;
}

.page-faq .faq-toc__inner {
  position: sticky;
  top: 24px;
  border-left: 3px solid var(--acid);
  background: rgba(27, 16, 53, 0.7);
  padding: 22px 18px 18px;
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
  transition: top 0.2s ease;
}

.page-faq .faq-toc__title {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--fog);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-faint);
}

.page-faq .faq-toc__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 4px;
  color: rgba(232, 232, 240, 0.72);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-faint);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-faq .faq-toc__item:last-child {
  border-bottom: none;
}

.page-faq .faq-toc__item:hover {
  color: var(--acid);
  padding-left: 10px;
}

.page-faq .faq-toc__num {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--data);
  line-height: 1.7;
}

.page-faq .faq-toc__text {
  font-size: 15px;
  line-height: 1.6;
}

.page-faq .faq-content {
  min-width: 0;
}

.page-faq .faq-section {
  margin-bottom: 56px;
  position: relative;
}

.page-faq .faq-section--retrieval {
  border-top: 1px solid var(--line-faint);
}

.page-faq .faq-section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  padding-top: 48px;
}

.page-faq .faq-section__head .faq-section__num {
  font-family: var(--font-data);
  font-size: 32px;
  color: var(--volt);
  font-weight: 700;
  line-height: 1;
}

.page-faq .faq-section__head h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 34px);
  color: var(--fog);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-faq .faq-section__head h2::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--acid);
  margin-right: 12px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  vertical-align: middle;
}

.page-faq .faq-section__body {
  background: rgba(28, 37, 65, 0.32);
  border-radius: var(--radius-panel);
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid rgba(28, 37, 65, 0.8);
}

.page-faq .faq-section--compare .faq-section__body {
  background: rgba(27, 16, 53, 0.38);
  position: relative;
}

.page-faq .faq-section--compare .faq-section__body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 94, 0, 0.12));
  border-radius: var(--radius-panel);
  pointer-events: none;
}

.page-faq .faq-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px 20px 8px;
  margin-bottom: 16px;
  transition: background-color 0.25s ease, transform 0.3s ease;
  position: relative;
}

.page-faq .faq-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--acid), transparent);
  transform: scaleY(0.4);
  transition: transform 0.3s ease;
}

.page-faq .faq-card:hover {
  background: var(--card-bg-hover);
  transform: translateX(4px);
}

.page-faq .faq-card:hover::before {
  transform: scaleY(1);
}

.page-faq .faq-card--note {
  background: linear-gradient(120deg, rgba(255, 94, 0, 0.12), rgba(28, 37, 65, 0.9));
}

.page-faq .faq-card__question {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.4;
  color: var(--fog);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.page-faq .faq-card__question::after {
  content: "?";
  color: var(--volt);
  margin-left: 6px;
}

.page-faq .faq-card__question::before {
  content: "›";
  color: var(--acid);
  margin-right: 8px;
  font-weight: 700;
}

.page-faq .faq-card__answer {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(232, 232, 240, 0.76);
}

.page-faq .faq-list {
  margin: 10px 0 10px;
  padding-left: 20px;
  list-style: none;
}

.page-faq .faq-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.page-faq .faq-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--acid);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.page-faq .faq-media {
  margin-block: 28px 32px;
}

.page-faq .media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: rgba(27, 16, 53, 0.6);
  border: 1px solid rgba(208, 255, 0, 0.16);
  margin-block: 20px;
}

.page-faq .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.15);
}

.page-faq .media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--fog);
  background: linear-gradient(0deg, rgba(10, 14, 39, 0.94), rgba(10, 14, 39, 0.2));
  padding: 16px 14px 10px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(3px);
}

.page-faq .faq-section--download .media-frame {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.page-faq .faq-section--contact .faq-section__body {
  border-left: 4px solid var(--volt);
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
}

.page-faq .faq-section--contact .faq-card::before {
  display: none;
}

.page-faq .faq-section--contact .faq-card__question::before {
  content: "信";
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--data);
  margin-right: 8px;
}

.page-faq .faq-section--retrieval .faq-section__head h2::before {
  background: var(--acid);
}

.page-faq .faq-section--index .faq-section__head h2::before {
  background: var(--volt);
}

.page-faq .faq-section--download .faq-section__head h2::before {
  background: var(--acid);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.page-faq .faq-section--compare .faq-section__head h2::before {
  background: var(--volt);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 50%);
}

.page-faq .faq-section--contact .faq-section__head h2::before {
  background: var(--fog);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1fr 180px;
    align-items: center;
  }

  .page-faq .faq-hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .page-faq .faq-layout {
    grid-template-columns: var(--toc-width) 1fr;
    align-items: start;
  }

  .page-faq .faq-toc {
    border-right: 1px solid var(--line-faint);
    padding-right: 24px;
  }

  .page-faq .faq-toc__inner {
    padding-left: 24px;
  }

  .page-faq .faq-card__answer {
    padding-right: 16px;
  }
}

@media (min-width: 1200px) {
  .page-faq .faq-content .faq-section__body {
    padding: 36px 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
