.page-faq {
  --faq-sidebar-w: 300px;
  --reveal-delay: 0s;
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 64px;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(135deg, var(--c-deep) 0%, #0046A6 100%);
  background-size: 36px 36px, 36px 36px, auto;
  border-bottom: 1px solid var(--grid-line);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: -6%;
  bottom: -30%;
  width: 40%;
  height: 50%;
  background: rgba(168, 178, 193, 0.07);
  clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-faq .faq-hero-copy {
  max-width: 780px;
}

.page-faq .faq-hero h1 {
  margin: 10px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 58px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--c-text);
}

.page-faq .faq-hero-desc {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-muted);
}

.page-faq .faq-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-silver);
}

.page-faq .faq-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-faq .status-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 0 4px rgba(0, 255, 157, 0.12);
}

.page-faq .faq-hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0;
}

.page-faq .faq-hero-stats::before {
  content: "";
  position: absolute;
  inset: 6px -10px 6px 6px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.5), rgba(255, 138, 92, 0.18));
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-stat-card {
  position: relative;
  z-index: 1;
  padding: 16px 12px 14px;
  background: rgba(8, 17, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--c-accent);
}

.page-faq .faq-stat-value {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.page-faq .faq-stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-muted);
}

.page-faq .faq-body {
  padding-top: 48px;
  padding-bottom: 80px;
}

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

.page-faq .faq-toc {
  border: 1px solid var(--grid-line);
  background: rgba(18, 36, 66, 0.55);
}

.page-faq .faq-toc-label {
  margin: 0;
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-lime);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

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

.page-faq .faq-toc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--grid-line);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-faq .faq-toc-link:last-child {
  border-bottom: 0;
}

.page-faq .faq-toc-link:hover,
.page-faq .faq-toc-link:focus-visible {
  background: var(--grad-flare);
  color: #ffffff;
  outline: none;
}

.page-faq .faq-toc-link span {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-accent);
}

.page-faq .faq-sidebar-figure {
  margin: 20px 0 0;
  border: 1px solid var(--grid-line);
}

.page-faq .faq-sidebar-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-faq .faq-sidebar-figure figcaption {
  padding: 8px 10px 10px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--c-muted);
  border-top: 1px solid var(--grid-line);
}

.page-faq .faq-trust {
  position: relative;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--grid-line);
  background: rgba(8, 17, 32, 0.45);
}

.page-faq .faq-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-lime), transparent 72%);
}

.page-faq .faq-trust-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text);
}

.page-faq .faq-trust-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--c-lime);
}

.page-faq .faq-trustText {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.75;
  color: var(--c-muted);
}

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

.page-faq .faq-section {
  position: relative;
  padding: 36px 0;
  border-top: 1px solid var(--grid-line);
  scroll-margin-top: calc(var(--header-h) + 80px);
}

.page-faq .faq-section:first-child {
  padding-top: 4px;
  border-top: 0;
}

.page-faq .faq-section::before {
  content: attr(data-index);
  position: absolute;
  top: 4px;
  right: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(88px, 12vw, 160px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.page-faq .faq-section-head,
.page-faq .faq-section-desc,
.page-faq .faq-item,
.page-faq .faq-section-related {
  position: relative;
  z-index: 1;
}

.page-faq .faq-section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.page-faq .faq-section-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--c-accent);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.35);
}

.page-faq .faq-section-num {
  margin: 0 0 4px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-lime);
}

.page-faq .faq-section h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 38px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.12;
  color: var(--c-text);
}

.page-faq .faq-section-desc {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-faq .faq-item {
  border: 1px solid var(--grid-line);
  border-left: 3px solid var(--c-silver);
  background: rgba(18, 36, 66, 0.35);
  margin: 0 0 12px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-faq .faq-item[open] {
  border-left-color: var(--c-accent);
  background: var(--c-card);
}

.page-faq .faq-section {
  counter-reset: faq-counter;
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-text);
  transition: color 0.2s var(--ease);
}

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

.page-faq .faq-item summary:hover,
.page-faq .faq-item[open] summary {
  color: #ffffff;
}

.page-faq .faq-item summary::before {
  counter-increment: faq-counter;
  content: counter(faq-counter, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 11px;
  line-height: 1.4;
  color: var(--c-lime);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 2px 5px;
}

.page-faq .faq-item summary .faq-q-text {
  flex: 1 1 auto;
  min-width: 0;
}

.page-faq .faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-data);
  font-size: 16px;
  line-height: 1;
  color: var(--c-accent);
  border: 1px solid rgba(255, 107, 53, 0.45);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-faq .faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--c-accent);
  color: var(--c-void);
}

.page-faq .faq-item-body {
  padding: 14px 20px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-muted);
}

.page-faq .faq-item-body p {
  margin: 0 0 12px;
}

.page-faq .faq-item-body p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-section-related {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
}

.page-faq .faq-section-related a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 53, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}

.page-faq .faq-section-related a:hover,
.page-faq .faq-section-related a:focus-visible {
  border-bottom-color: var(--c-accent);
  outline: none;
}

.page-faq .faq-flow-figure {
  margin: 26px 0 0;
  padding: 10px;
  border: 1px solid var(--grid-line);
  background: rgba(18, 36, 66, 0.3);
}

.page-faq .faq-flow-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-faq .faq-flow-figure figcaption {
  padding: 10px 4px 2px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
}

@media (min-width: 640px) {
  .page-faq .faq-section-desc {
    margin-left: 60px;
  }

  .page-faq .faq-section-related {
    margin-left: 60px;
  }
}

@media (max-width: 1023.98px) {
  .page-faq .faq-sidebar-img {
    height: 300px;
    object-fit: cover;
    object-position: top center;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-body {
    display: grid;
    grid-template-columns: var(--faq-sidebar-w) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .page-faq .faq-toc-wrap {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
