.page-faq {
  --faq-line: rgba(0, 196, 90, 0.25);
  --faq-card-bg: #111711;
  overflow-x: clip;
  background:
    radial-gradient(1200px 400px at 90% -50px, rgba(0, 196, 90, 0.08), transparent 60%),
    var(--c-dark);
}

.page-faq .breadcrumb {
  margin-bottom: 28px;
}

.page-faq .faq-header {
  position: relative;
  padding: 48px 0 44px;
}

.page-faq .faq-header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--c-green), transparent 70%);
}

.page-faq .faq-header-grid {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.page-faq .faq-kicker {
  color: var(--c-green);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-faq h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.page-faq .faq-lead {
  color: var(--c-gray);
  font-size: 15px;
  line-height: 1.8;
  max-width: 680px;
  margin: 0;
}

.page-faq .faq-version-card {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 196, 90, 0.16), rgba(0, 20, 10, 0.4));
  border: 1px solid var(--faq-line);
  padding: 20px 22px;
  max-width: 320px;
}

.page-faq .faq-version-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--c-green);
  color: var(--c-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px 4px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 8px 50%);
  letter-spacing: 0.08em;
}

.page-faq .faq-version-label {
  display: block;
  font-size: 11px;
  color: var(--c-green);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.page-faq .faq-version-num {
  display: block;
  font-family: var(--font-head);
  font-size: 52px;
  line-height: 1;
  color: var(--c-green);
}

.page-faq .faq-version-round {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-top: 6px;
}

.page-faq .faq-version-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--c-yellow);
  text-decoration: none;
  border-bottom: 1px solid var(--c-yellow);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-version-link:hover {
  color: #fff;
  border-color: #fff;
}

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

.page-faq .faq-search-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  background: #0e130e;
  border: 1px solid var(--faq-line);
  padding: 12px 16px;
}

.page-faq .faq-search-icon {
  font-size: 20px;
  color: var(--c-green);
  line-height: 1;
}

.page-faq .faq-search-text {
  flex: 1 1 180px;
  min-width: 0;
  color: #fff;
  font-size: 14px;
}

.page-faq .faq-search-hint {
  flex: 1 1 100%;
  font-size: 12px;
  color: rgba(205, 211, 205, 0.7);
  border-left: 0;
  padding-left: 0;
  border-top: 1px solid var(--faq-line);
  padding-top: 8px;
  white-space: normal;
}

.page-faq .faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-tag {
  font-size: 13px;
  color: var(--c-green);
  background: rgba(0, 196, 90, 0.08);
  border: 1px solid var(--faq-line);
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-faq .faq-tag:hover {
  background: var(--c-green);
  color: var(--c-dark);
  border-color: var(--c-green);
}

.page-faq .faq-chapter {
  position: relative;
  padding: 48px 0;
  border-top: 1px dashed rgba(0, 196, 90, 0.2);
}

.page-faq .faq-chapter:last-of-type {
  border-bottom: 1px dashed rgba(0, 196, 90, 0.2);
}

.page-faq .faq-chapter-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.page-faq .faq-chapter-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--c-deep-green);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  flex-shrink: 0;
}

.page-faq .faq-chapter-title-group {
  padding-top: 4px;
}

.page-faq .faq-chapter-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}

.page-faq .faq-chapter-desc {
  margin: 0;
  font-size: 13px;
  color: var(--c-gray);
  opacity: 0.85;
}

.page-faq .faq-chapter-body {
  display: grid;
  gap: 28px;
}

.page-faq .faq-list {
  display: grid;
  gap: 10px;
}

.page-faq .faq-item {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-line);
  border-left-width: 3px;
  border-left-color: transparent;
  transition: border-color 0.25s, background 0.25s;
}

.page-faq .faq-item[open] {
  border-left-color: var(--c-green);
  background: linear-gradient(100deg, rgba(0, 196, 90, 0.07), var(--faq-card-bg) 40%);
}

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

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

.page-faq .faq-q::-moz-list-bullet {
  list-style: none;
}

.page-faq .faq-q:hover {
  background: rgba(0, 196, 90, 0.04);
}

.page-faq .faq-q-index {
  font-size: 12px;
  color: var(--c-green);
  background: rgba(0, 196, 90, 0.1);
  padding: 2px 6px;
  flex-shrink: 0;
}

.page-faq .faq-q-text {
  flex: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
}

.page-faq .faq-q-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.page-faq .faq-q-toggle::before,
.page-faq .faq-q-toggle::after {
  content: '';
  position: absolute;
  background: var(--c-green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-faq .faq-q-toggle::before {
  width: 14px;
  height: 2px;
  left: 3px;
  top: 9px;
}

.page-faq .faq-q-toggle::after {
  width: 2px;
  height: 14px;
  left: 9px;
  top: 3px;
}

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

.page-faq .faq-a {
  margin: 0 16px 16px 46px;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(0, 196, 90, 0.22);
}

.page-faq .faq-a p {
  margin: 0 0 10px;
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.9;
}

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

.page-faq .faq-link-inline {
  color: var(--c-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 196, 90, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-link-inline:hover {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}

.page-faq .faq-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-faq .faq-figure {
  margin: 0;
  padding: 10px;
  background: #0d120d;
  border: 1px solid var(--faq-line);
}

.page-faq .faq-figure-img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(0, 196, 90, 0.15);
}

.page-faq .faq-figure-caption {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 196, 90, 0.2);
  font-size: 11px;
  color: var(--c-green);
  letter-spacing: 0.08em;
}

.page-faq .faq-team-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, var(--c-deep-green), #004020);
}

.page-faq .faq-team-num {
  font-size: 40px;
  line-height: 1;
  color: var(--c-yellow);
  font-weight: 700;
}

.page-faq .faq-team-text {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
}

.page-faq .faq-sys-panel {
  background: #0d120d;
  border: 1px solid var(--faq-line);
  padding: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-faq .faq-sys-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--faq-line);
  font-size: 11px;
  color: var(--c-green);
  letter-spacing: 0.12em;
}

.page-faq .faq-sys-dot {
  width: 8px;
  height: 8px;
  background: var(--c-green);
  border-radius: 50%;
}

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

.page-faq .faq-sys-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: #fff;
}

.page-faq .faq-sys-row:last-child {
  border-bottom: 0;
}

.page-faq .faq-sys-ok {
  font-size: 12px;
  color: var(--c-green);
}

.page-faq .faq-sys-ok::before {
  content: '✓ ';
}

.page-faq .faq-sys-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--faq-line);
  font-size: 12px;
  color: var(--c-gray);
}

.page-faq .faq-highlight-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-yellow);
  color: var(--c-dark);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
}

.page-faq .faq-highlight-dot {
  width: 10px;
  height: 10px;
  background: var(--c-dark);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.page-faq .faq-contact-card {
  background: linear-gradient(160deg, rgba(0, 196, 90, 0.14), rgba(0, 20, 10, 0.6));
  border: 1px solid var(--faq-line);
  padding: 20px;
}

.page-faq .faq-contact-label {
  display: block;
  font-size: 11px;
  color: var(--c-green);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--faq-line);
}

.page-faq .faq-contact-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.page-faq .faq-contact-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.page-faq .faq-contact-type {
  font-size: 11px;
  color: var(--c-gray);
  background: rgba(0, 196, 90, 0.1);
  text-align: center;
  padding: 3px 0;
}

.page-faq .faq-contact-list a {
  color: var(--c-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 196, 90, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-contact-list a:hover {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}

.page-faq .faq-contact-note {
  margin: 0;
  font-size: 12px;
  color: rgba(205, 211, 205, 0.8);
  line-height: 1.7;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
}

.page-faq .faq-contact-icp {
  display: inline-block;
  margin: 12px 0 0;
  font-size: 11px;
  color: rgba(205, 211, 205, 0.65);
  letter-spacing: 0.06em;
}

.page-faq .faq-more-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 28px 32px;
  margin: 16px 0 64px;
  border: 1px solid var(--faq-line);
  background: linear-gradient(120deg, rgba(0, 196, 90, 0.1), rgba(11, 15, 11, 0.4));
}

.page-faq .faq-more-help p {
  margin: 0;
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-more-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: #fff;
  flex: 0 0 auto;
}

.page-faq .faq-more-help p:not(.faq-more-title) {
  flex: 1;
  min-width: 220px;
}

@media (min-width: 900px) {
  .page-faq .faq-header {
    padding: 64px 0 52px;
  }

  .page-faq .faq-header-grid {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .page-faq .faq-header-side {
    display: flex;
    justify-content: flex-end;
  }

  .page-faq .faq-tools {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .page-faq .faq-search-hint {
    flex: 0 0 auto;
    border-left: 1px solid var(--faq-line);
    padding-left: 12px;
    border-top: 0;
    padding-top: 0;
    white-space: nowrap;
  }

  .page-faq .faq-chapter {
    padding: 72px 0;
  }

  .page-faq .faq-chapter-body {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }

  .page-faq .faq-chapter-body--reverse {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .page-faq .faq-chapter-body--support {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .page-faq .faq-figure {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .page-faq .faq-more-help {
    padding: 22px 20px;
  }

  .page-faq .faq-more-title {
    width: 100%;
  }
}
