.page-faq {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-faq .faq-hero {
  position: relative;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--border-line);
  background:
    linear-gradient(115deg, rgba(57, 255, 20, 0.05) 0%, transparent 34%),
    linear-gradient(295deg, rgba(0, 229, 255, 0.04) 0%, transparent 28%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 190px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--gold));
}

.page-faq .breadcrumb {
  font-family: var(--font-mono);
  font-size: 13px;
}

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

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

.page-faq .breadcrumb span {
  color: var(--muted);
}

.page-faq .faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}

.page-faq .faq-hero__sub {
  display: block;
  margin-top: 10px;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-family: var(--font-body);
}

.page-faq .faq-hero__lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.page-faq .faq-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-faq .faq-index__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  white-space: nowrap;
}

.page-faq .faq-index__link {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-faq .faq-index__link:hover {
  border-color: var(--green);
  color: var(--green);
}

.page-faq .faq-section {
  padding: 44px 0 52px;
}

.page-faq .faq-section--alt {
  position: relative;
  background: var(--bg-panel);
}

.page-faq .faq-section--alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 3px;
  background: var(--green);
}

.page-faq .faq-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.page-faq .faq-section__no {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  background: rgba(57, 255, 20, 0.1);
  padding: 4px 9px;
  transform: skew(-6deg);
  display: inline-block;
}

.page-faq .faq-section__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.page-faq .faq-section__desc {
  width: 100%;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.page-faq .faq-item {
  border-bottom: 1px solid var(--border-line);
}

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

.page-faq .faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 16px 2px;
}

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

.page-faq .faq-q:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.page-faq .faq-q__index {
  flex: 0 0 auto;
  min-width: 38px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--green);
  border-radius: 6px;
  padding: 5px 4px;
  transform: skew(-4deg);
}

.page-faq .faq-q__text {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.2s ease;
}

.page-faq .faq-q:hover .faq-q__text {
  color: var(--green);
}

.page-faq .faq-q__mark {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  position: relative;
}

.page-faq .faq-q__mark::before,
.page-faq .faq-q__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--blue);
  transition: opacity 0.2s ease;
}

.page-faq .faq-q__mark::before {
  width: 12px;
  height: 2px;
}

.page-faq .faq-q__mark::after {
  width: 2px;
  height: 12px;
}

.page-faq .faq-item[open] .faq-q__mark::after {
  opacity: 0;
}

.page-faq .faq-a {
  padding: 0 2px 22px 52px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

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

.page-faq .faq-a a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page-faq .faq-media {
  margin-top: 16px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(10, 14, 23, 0.6);
  max-width: 600px;
}

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

.page-faq .faq-media figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border-line);
}

.page-faq .faq-media--small {
  max-width: 300px;
}

.page-faq .faq-help {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--border-line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  background: rgba(18, 26, 39, 0.5);
  color: var(--ink);
  font-size: 15px;
}

.page-faq .faq-help a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 56px 0 40px;
  }

  .page-faq .faq-hero__lead {
    font-size: 17px;
  }

  .page-faq .faq-section {
    padding: 62px 0 76px;
  }

  .page-faq .faq-section__head {
    align-items: center;
    margin-bottom: 24px;
  }

  .page-faq .faq-section__desc {
    width: auto;
    margin: 0 0 0 auto;
    text-align: right;
  }

  .page-faq .faq-q {
    padding: 18px 4px;
  }

  .page-faq .faq-a {
    padding: 0 56px 26px 58px;
  }
}
