.page-faq {
  --faq-aside: 236px;
  --faq-gap: 56px;
  --faq-card: rgba(27, 31, 42, 0.72);
  --faq-soft: rgba(247, 249, 252, 0.055);
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 28px 20px 72px;
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-base);
  overflow-x: clip;
}

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

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

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

.page-faq h1,
.page-faq h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-faq .faq-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 96px;
}

.page-faq .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--grey);
  font-size: 13px;
}

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

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

.page-faq .section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--neon);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-faq .faq-hero {
  padding: 8px 0 24px;
}

.page-faq .faq-hero h1 {
  max-width: 16em;
  color: var(--white);
  font-size: 30px;
  line-height: 1.18;
}

.page-faq .faq-hero h1 .faq-hero__sub {
  color: var(--cyan);
}

.page-faq .faq-hero .lede {
  max-width: 46em;
  margin-top: 16px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.75;
}

.page-faq .faq-hero__visual {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-matte);
}

.page-faq .faq-hero__visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(11, 19, 43, 0.55));
  pointer-events: none;
}

.page-faq .faq-hero__visual img {
  width: 100%;
  height: auto;
}

.page-faq .faq-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  margin: 12px 0 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-faq .filter-bar {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-faq .filter-bar::-webkit-scrollbar {
  display: none;
}

.page-faq .filter-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-matte);
  color: var(--grey);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.page-faq .filter-btn:hover {
  border-color: var(--cyan);
  color: var(--white);
}

.page-faq .filter-btn.is-active {
  border-color: var(--neon);
  background: var(--neon);
  color: var(--bg-deep);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(199, 255, 54, 0.22);
}

.page-faq .faq-layout {
  display: block;
  margin-top: 28px;
}

.page-faq .faq-index {
  padding: 10px;
  margin: 8px 0 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-matte);
}

.page-faq .faq-index__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 10px;
  margin: 0;
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-faq .faq-index__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-index__list::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--grey);
  font-size: 13px;
  line-height: 1.4;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-faq .faq-index__link:hover {
  border-color: rgba(199, 255, 54, 0.25);
  color: var(--neon);
}

.page-faq .faq-index__number {
  font-family: var(--font-data);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.page-faq .faq-index__link.is-current,
.page-faq .faq-index__list .is-current .faq-index__link {
  border-color: rgba(199, 255, 54, 0.3);
  background: var(--bg-matte);
  color: var(--neon);
}

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

.page-faq .faq-section {
  position: relative;
  padding: 26px 0 8px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.page-faq .faq-section:first-of-type {
  margin-top: 0;
}

.page-faq .faq-section__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.page-faq .faq-section__number {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--neon);
}

.page-faq .faq-section__title-block {
  flex: 1;
  min-width: 0;
}

.page-faq .faq-section__header h2 {
  color: var(--white);
  font-size: 24px;
  line-height: 1.2;
}

.page-faq .faq-section__header p {
  margin-top: 4px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}

.page-faq .faq-item {
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--faq-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(199, 255, 54, 0.3);
  background: rgba(27, 31, 42, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin: 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-faq .faq-item__num {
  flex-shrink: 0;
  padding: 4px 7px;
  border: 1px solid rgba(199, 255, 54, 0.28);
  border-radius: 6px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  color: var(--neon);
}

.page-faq .faq-item__text {
  flex: 1;
  min-width: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.page-faq .faq-item__toggle {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.page-faq .faq-item__toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 8px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 8px 2px no-repeat;
}

.page-faq .faq-item[open] .faq-item__toggle::before {
  content: "";
  background: linear-gradient(var(--cyan), var(--cyan)) center / 8px 2px no-repeat;
}

.page-faq .faq-item__a {
  position: relative;
  padding: 0 16px 18px;
}

.page-faq .faq-item__bubble {
  position: relative;
  margin-left: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--neon);
  border-radius: 4px 12px 12px 12px;
  background: var(--bg-deep);
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;
}

.page-faq .faq-item__bubble p {
  margin: 0 0 0.6em;
}

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

.page-faq .faq-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 18px;
  border: 1px solid rgba(199, 255, 54, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(199, 255, 54, 0.1), rgba(0, 229, 255, 0.06)),
    var(--bg-matte);
}

.page-faq .faq-contact .section-label {
  margin-bottom: 6px;
}

.page-faq .faq-contact__info {
  flex: 1;
  min-width: 220px;
}

.page-faq .faq-contact__info p {
  margin: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-contact__email {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-deep);
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--cyan);
}

.page-faq .faq-timeline-note {
  display: grid;
  gap: 16px;
  margin: 32px 0 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-matte);
}

.page-faq .faq-timeline-note img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.page-faq .faq-timeline-note .section-label {
  margin-bottom: 8px;
}

.page-faq .faq-timeline-note p {
  max-width: 52em;
  margin: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;
}

.page-faq .faq-back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-matte);
  color: var(--grey);
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-back-top:hover {
  border-color: var(--neon);
  color: var(--neon);
  transform: translateY(-2px);
}

@media (min-width: 820px) {
  .page-faq {
    padding: 48px 32px 96px;
  }

  .page-faq .faq-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 48px;
    align-items: center;
    padding: 8px 0 48px;
  }

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

  .page-faq .faq-hero__visual {
    margin-top: 0;
  }

  .page-faq .faq-filterbar {
    padding: 22px 0;
    margin: 16px 0 12px;
  }

  .page-faq .faq-layout {
    display: grid;
    grid-template-columns: var(--faq-aside) minmax(0, 1fr);
    gap: var(--faq-gap);
    align-items: start;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 96px;
    padding: 18px;
    margin: 0;
  }

  .page-faq .faq-index__label {
    padding: 0 4px 12px;
  }

  .page-faq .faq-index__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
  }

  .page-faq .faq-index__link {
    display: flex;
    white-space: normal;
    padding: 10px 12px;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
  }

  .page-faq .faq-index__link:hover {
    background: var(--bg-deep);
  }

  .page-faq .faq-section {
    margin-top: 40px;
    padding-top: 30px;
  }

  .page-faq .faq-section:first-of-type {
    margin-top: 0;
  }

  .page-faq .faq-timeline-note {
    grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 28px;
  }
}
