.page-faq {
  --faq-grid-line: rgba(57, 255, 136, 0.05);
  background-color: var(--deep-tech-blue);
  color: var(--text-ice);
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
}

.page-faq .faq-hero__bg {
  position: absolute;
  inset: 0;
}

.page-faq .faq-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.78) 0%, rgba(11, 18, 34, 0.94) 100%);
}

.page-faq .faq-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--faq-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--faq-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  padding-bottom: 44px;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.page-faq .faq-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.page-faq .faq-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.page-faq .faq-hero h1 span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.42em;
  letter-spacing: 0;
  font-weight: 800;
  color: var(--neon-green);
}

.page-faq .faq-hero__lead {
  border-left: 3px solid var(--neon-green);
  padding-left: 20px;
  color: var(--text-mist);
  font-size: 0.98rem;
  line-height: 1.8;
  align-self: end;
}

.page-faq .faq-hero__lead p {
  margin: 0;
}

.page-faq .faq-hero__lead strong {
  color: var(--signal-orange);
  font-weight: 600;
}

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

.page-faq .faq-hero__facts div {
  background: rgba(17, 26, 46, 0.72);
  border: 1px solid rgba(57, 255, 136, 0.18);
  border-radius: 10px;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.page-faq .faq-hero__facts dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-mist);
  letter-spacing: 0.06em;
}

.page-faq .faq-hero__facts dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--neon-green);
}

.page-faq .faq-layout {
  display: grid;
  gap: 36px;
  padding: 56px 0 72px;
}

.page-faq .faq-index__inner {
  position: sticky;
  top: 132px;
  background: var(--glass-layer);
  border: 1px solid rgba(143, 162, 192, 0.16);
  border-radius: 16px;
  padding: 22px;
}

.page-faq .faq-index__label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon-green);
}

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

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

.page-faq .faq-index__item {
  flex: 0 0 auto;
}

.page-faq .faq-index__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(22, 35, 58, 0.9);
  border: 1px solid transparent;
  color: var(--text-ice);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.page-faq .faq-index__item a:hover {
  border-color: rgba(57, 255, 136, 0.55);
  color: var(--neon-green);
}

.page-faq .faq-index__item a:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

.page-faq .faq-index__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--signal-orange);
}

.page-faq .faq-index__links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(143, 162, 192, 0.2);
  display: grid;
  gap: 6px;
}

.page-faq .faq-index__links-title {
  margin: 0 0 4px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-mist);
}

.page-faq .faq-index__links a {
  color: var(--text-mist);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color 0.2s ease;
}

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

.page-faq .faq-group {
  padding-top: 16px;
  margin-bottom: 56px;
  scroll-margin-top: 140px;
}

.page-faq .faq-group__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(57, 255, 136, 0.28);
}

.page-faq .faq-group__num {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--neon-green);
  opacity: 0.45;
  min-width: 48px;
}

.page-faq .faq-group h2 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-faq .faq-group__intro {
  margin: 0;
  color: var(--text-mist);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-faq .faq-group__dual {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  align-items: center;
}

.page-faq .faq-group__dual-text {
  margin: 0;
  color: var(--text-mist);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-faq .faq-group__illustration {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 136, 0.2);
}

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

.page-faq .faq-group__illustration figcaption {
  padding: 10px 12px;
  background: var(--panel-deep);
  font-size: 0.82rem;
  color: var(--text-mist);
}

.page-faq .faq-items {
  display: grid;
  gap: 14px;
}

.page-faq .faq-item {
  background: var(--panel-deep);
  border: 1px solid rgba(143, 162, 192, 0.14);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(57, 255, 136, 0.45);
  background: rgba(22, 35, 58, 0.92);
}

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: -2px;
  border-radius: 14px;
}

.page-faq .faq-item__q {
  flex: 1;
}

.page-faq .faq-item__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 136, 0.4);
  position: relative;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--neon-green);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.page-faq .faq-item__icon::before {
  width: 12px;
  height: 2px;
  left: 7px;
  top: 12px;
}

.page-faq .faq-item__icon::after {
  width: 2px;
  height: 12px;
  left: 12px;
  top: 7px;
}

.page-faq .faq-item[open] .faq-item__icon::after {
  transform: scaleY(0);
}

.page-faq .faq-item__a {
  padding: 0 20px 20px;
  color: var(--text-mist);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px dashed rgba(143, 162, 192, 0.15);
  margin: -4px 0 0;
  padding-top: 12px;
}

.page-faq .faq-item__a p {
  margin: 0;
}

.page-faq .faq-item__a strong {
  color: var(--signal-orange);
  font-weight: 600;
}

.page-faq .faq-item__a a {
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-faq .faq-item__a a:hover {
  color: var(--btn-hover);
  border-color: var(--btn-hover);
}

.page-faq .faq-item[open] .faq-item__a {
  animation: faq-answer-in 0.3s ease;
}

.page-faq .faq-support {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 122, 41, 0.35);
  border-bottom: 1px solid rgba(57, 255, 136, 0.2);
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.96), rgba(11, 18, 34, 1));
}

.page-faq .faq-support__question {
  position: absolute;
  right: -30px;
  bottom: -70px;
  font-family: var(--font-serif);
  font-size: 15rem;
  line-height: 1;
  color: rgba(57, 255, 136, 0.06);
  pointer-events: none;
  user-select: none;
}

.page-faq .faq-support__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-faq .faq-support__content h2 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-faq .faq-support__content p {
  margin: 0 0 20px;
  max-width: 46em;
  color: var(--text-mist);
  font-size: 0.98rem;
  line-height: 1.8;
}

.page-faq .faq-support__batch {
  display: grid;
  gap: 4px;
  text-align: center;
  min-width: 220px;
  padding: 28px 32px;
  border-radius: 16px;
  background: rgba(57, 255, 136, 0.08);
  border: 1px solid rgba(57, 255, 136, 0.25);
}

.page-faq .faq-support__batch .display-number {
  font-size: 3.2rem;
  line-height: 1;
  color: var(--neon-green);
  font-weight: 700;
}

.page-faq .faq-support__batch span:last-child {
  color: var(--text-mist);
  font-size: 0.85rem;
}

.page-faq .faq-support__batch span:nth-child(2) {
  font-size: 0.95rem;
  color: var(--text-ice);
  font-weight: 600;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq * {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 760px) {
  .page-faq .faq-hero {
    padding-top: 40px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

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

  .page-faq .faq-group__dual {
    grid-template-columns: 1fr 300px;
  }
}

@media (min-width: 980px) {
  .page-faq .faq-layout {
    grid-template-columns: 284px minmax(0, 1fr);
    align-items: start;
    gap: 48px;
  }

  .page-faq .faq-index__list {
    display: grid;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-faq .faq-index__item a {
    width: 100%;
    white-space: normal;
  }

  .page-faq .faq-support__inner {
    grid-template-columns: 1fr auto;
  }

  .page-faq .faq-support__question {
    right: 0;
    bottom: -60px;
    font-size: 18rem;
  }
}
