.page-faq {
  background-color: var(--space);
  color: var(--text);
  padding-bottom: clamp(36px, 7vw, 88px);
}

/* ---------- Hero ---------- */
.page-faq .faq-hero {
  padding: clamp(26px, 6vw, 64px) 0 clamp(26px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
  background-color: var(--space);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px),
    radial-gradient(110% 130% at 4% 0%, rgba(0, 229, 195, 0.14), transparent 58%),
    radial-gradient(85% 110% at 100% 0%, rgba(255, 107, 53, 0.1), transparent 62%);
  background-size: 54px 54px, 54px 54px, auto, auto;
  background-position: 0 0, 0 0, center, center;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-faq .faq-hero__title {
  margin: 12px 0 0;
  font-size: clamp(32px, 7.2vw, 64px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-faq .faq-hero__lead {
  margin: clamp(16px, 2.6vw, 22px) 0 0;
  max-width: 62ch;
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  line-height: 1.9;
  color: var(--text);
}

.page-faq .faq-hero__stats {
  list-style: none;
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: clamp(16px, 3vw, 22px) 0 0;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(22px, 5vw, 56px);
}

.page-faq .faq-hero__stats li {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.page-faq .faq-hero__stats .mono {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-faq .faq-hero__stats em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Block shell ---------- */
.page-faq .faq-block {
  padding: clamp(38px, 6.5vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  animation: faqRise 0.55s var(--ease) both;
}

.page-faq .faq-block__head {
  max-width: 740px;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-faq .faq-block__title {
  margin: 10px 0 12px;
  font-size: clamp(23px, 3.8vw, 38px);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--white);
}

.page-faq .faq-block__lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

@keyframes faqRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Task console ---------- */
.page-faq .task-console {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.page-faq .task-console__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 18px 8px 18px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-faq .task-console__item:hover,
.page-faq .task-console__item:focus-within {
  background-color: rgba(0, 229, 195, 0.055);
  box-shadow: inset 2px 0 0 var(--cyan);
}

.page-faq .task-console__num {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-faq .task-console__body {
  flex: 1 1 240px;
  min-width: 0;
}

.page-faq .task-console__name {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.page-faq .task-console__desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .task-console__count {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 3px 9px;
  letter-spacing: 0.04em;
}

.page-faq .task-console__go {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0, 229, 195, 0.4);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-faq .task-console__go:hover,
.page-faq .task-console__go:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---------- Steps ---------- */
.page-faq .step-layout,
.page-faq .vs-layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

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

.page-faq .steps__item {
  position: relative;
  padding: 0 0 clamp(22px, 3.4vw, 34px) 26px;
  border-left: 1px solid var(--line-strong);
}

.page-faq .steps__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-faq .steps__item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 7px;
  width: 6px;
  height: 6px;
  background-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 229, 195, 0.16);
}

.page-faq .steps__mark {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.page-faq .steps__title {
  margin: 7px 0 8px;
  font-size: clamp(16.5px, 2.1vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--white);
}

.page-faq .steps__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  max-width: 46ch;
}

/* ---------- Figures ---------- */
.page-faq .step-figure {
  margin: 0;
}

.page-faq .step-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background-color: var(--space-2);
}

.page-faq .step-figure__cap {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- Key block ---------- */
.page-faq .vs-layout__side {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
  align-content: start;
}

.page-faq .keyblk {
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--cyan);
  background-color: var(--ink);
  padding: 16px 16px 18px;
}

.page-faq .keyblk__title {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-faq .keyblk__pre {
  margin: 12px 0 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.95;
  color: var(--text);
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.page-faq .keyblk__pre code {
  font: inherit;
  color: inherit;
}

/* ---------- Mini steps ---------- */
.page-faq .mini-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background-color: var(--line);
  border: 1px solid var(--line);
}

.page-faq .mini-steps__item {
  background-color: var(--space);
  padding: 20px 18px 22px;
  transition: background-color 0.3s var(--ease);
}

.page-faq .mini-steps__item:hover {
  background-color: var(--space-2);
}

.page-faq .mini-steps__num {
  display: inline-block;
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.page-faq .mini-steps__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text);
}

.page-faq .bookmark-note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- FAQ groups ---------- */
.page-faq .faq-group + .faq-group {
  margin-top: clamp(26px, 4vw, 42px);
}

.page-faq .faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  border-bottom: 1px solid var(--line-strong);
}

.page-faq .faq-group__idx {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--space);
  background-color: var(--cyan);
  padding: 1px 6px;
}

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

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

.page-faq .faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 4px 15px 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--white);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

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

.page-faq .faq-item__q::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-right: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.page-faq .faq-item__q:hover {
  color: var(--cyan);
  padding-left: 6px;
}

.page-faq .faq-item[open] .faq-item__q {
  color: var(--cyan);
}

.page-faq .faq-item[open] .faq-item__q::after {
  transform: rotate(-135deg);
}

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

.page-faq .faq-item__a p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- Support ---------- */
.page-faq .faq-block--support {
  border-bottom: 0;
}

.page-faq .support-panel {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--orange);
  background-color: var(--space-2);
  padding: clamp(22px, 4vw, 38px);
}

.page-faq .support-panel__mail {
  margin: clamp(16px, 2.6vw, 22px) 0 0;
  font-size: clamp(14px, 2.2vw, 19px);
  letter-spacing: 0.02em;
  color: var(--cyan);
  word-break: break-all;
}

.page-faq .support-panel__hours {
  margin: 8px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-faq .support-panel__label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-faq .support-checklist {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .support-checklist li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text);
}

.page-faq .support-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background-color: var(--cyan);
}

.page-faq .support-panel .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 780px) {
  .page-faq .mini-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-faq .support-panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-faq .step-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-faq .vs-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-faq .task-console__item {
    flex-wrap: nowrap;
    padding-left: 16px;
  }

  .page-faq .task-console__count {
    order: 3;
  }

  .page-faq .task-console__go {
    order: 4;
    margin-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-block {
    animation: none;
  }

  .page-faq .task-console__item,
  .page-faq .mini-steps__item,
  .page-faq .faq-item__q,
  .page-faq .task-console__go {
    transition: none;
  }
}
