.page-faq {
  --faq-toc-w: 250px;
}

.page-faq .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
}

.page-faq .breadcrumbs a {
  color: var(--paper);
  text-decoration: none;
  transition: color .2s ease;
}

.page-faq .breadcrumbs a:hover {
  color: var(--neon);
}

.page-faq .breadcrumbs-sep {
  color: var(--volt);
}

.page-faq .faq-hero {
  position: relative;
  max-width: 820px;
  padding: 34px 0 40px;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--volt) 40%, var(--neon));
}

.page-faq .faq-page-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(123, 47, 255, .18);
  border-left: 2px solid var(--neon);
  color: var(--neon);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 16px;
  text-shadow: 0 2px 0 rgba(123, 47, 255, .35);
}

.page-faq .faq-hero .lead {
  max-width: 640px;
  color: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.page-faq .faq-layout {
  display: grid;
  gap: var(--gutter);
}

.page-faq .faq-toc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: linear-gradient(145deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid rgba(123, 47, 255, .45);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-faq .faq-toc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--neon);
  border-bottom: 1px dashed rgba(57, 255, 136, .35);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.page-faq .faq-toc a.toc-anchor {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 14px;
  border-left: 2px solid transparent;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

.page-faq .faq-toc a.toc-anchor:hover,
.page-faq .faq-toc a.toc-anchor:focus-visible {
  color: var(--neon);
  border-left-color: var(--neon);
  background: rgba(57, 255, 136, .07);
}

.page-faq .toc-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--volt);
  flex-shrink: 0;
}

.page-faq .faq-toc .btn {
  margin-top: 14px;
  text-align: center;
}

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

.page-faq .faq-section {
  scroll-margin-top: 20px;
  margin-bottom: 52px;
}

.page-faq .faq-section .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--volt);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.page-faq .faq-section .section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
  margin: 0;
}

.page-faq .faq-section .section-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--volt);
  letter-spacing: .12em;
}

.page-faq .faq-desc {
  color: var(--paper);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 20px;
}

.page-faq .faq-visual {
  width: min(100%, 600px);
  margin: 0 0 24px;
}

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

.page-faq .faq-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background: var(--ink-2);
  border: 1px solid rgba(123, 47, 255, .4);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.page-faq .faq-item:hover {
  border-color: var(--neon);
  transform: translateX(4px);
  box-shadow: -6px 0 0 rgba(57, 255, 136, .25);
}

.page-faq .faq-item[open] {
  border-color: var(--neon);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}

.page-faq .faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  transition: background .25s ease;
  user-select: none;
}

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

.page-faq .faq-question:hover {
  background: rgba(123, 47, 255, .12);
}

.page-faq .faq-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  background: var(--volt);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.page-faq .faq-item[open] .faq-q-num {
  background: var(--neon);
  color: var(--ink);
}

.page-faq .faq-q-title {
  flex: 1;
  line-height: 1.4;
}

.page-faq .faq-question .tag {
  flex-shrink: 0;
  font-size: 11px;
  padding: 3px 8px;
}

.page-faq .faq-q-mark {
  color: var(--volt);
  font-size: 22px;
  line-height: 1;
  transition: transform .25s ease;
  flex-shrink: 0;
}

.page-faq .faq-item[open] .faq-q-mark {
  color: var(--neon);
  transform: rotate(45deg);
}

.page-faq .faq-answer {
  padding: 0 18px 18px;
  color: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  border-top: 1px solid rgba(123, 47, 255, .2);
}

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

.page-faq .faq-answer a {
  color: var(--neon);
  text-decoration: underline;
}

.page-faq .faq-contact .panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid rgba(255, 215, 0, .35);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-faq .faq-contact h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--white);
  margin: 0;
}

.page-faq .faq-contact .lead {
  color: var(--paper);
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

.page-faq .faq-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.page-faq .faq-metric {
  background: rgba(11, 27, 61, .55);
  border: 1px solid rgba(123, 47, 255, .35);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.page-faq .faq-metric .data-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--paper);
  opacity: .8;
}

.page-faq .faq-metric .data-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--gold);
  line-height: 1.1;
}

.page-faq .faq-metric .data-num .mono {
  font-size: 14px;
  color: var(--paper);
  margin-left: 2px;
}

.page-faq .faq-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

@media (min-width: 920px) {
  .page-faq .faq-layout {
    grid-template-columns: var(--faq-toc-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 20px;
  }

  .page-faq .faq-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .page-faq .faq-answer {
    font-size: 17px;
  }

  .page-faq .faq-hero h1 {
    font-size: 52px;
  }
}
