.page-faq {
  --faq-gap: 28px;
  --faq-rail: 320px;
  --faq-card-bg: rgba(255, 255, 255, .03);
  --faq-card-border: rgba(255, 255, 255, .08);
  color: var(--white);
}

.page-faq .eyebrow {
  margin-bottom: 14px;
}

.page-faq .section-head {
  margin-bottom: 32px;
}

.page-faq .section-head__title {
  transform: skewX(-8deg);
}

.page-faq .section-head__title {
  position: relative;
  display: inline-block;
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 44px);
  padding-bottom: 48px;
  background:
    radial-gradient(900px 320px at 82% -10%, rgba(0, 255, 163, .18), transparent 62%),
    radial-gradient(700px 280px at 6% 18%, rgba(0, 209, 255, .12), transparent 58%),
    linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.page-faq .faq-hero__crumb {
  margin-bottom: 34px;
}

.page-faq .faq-hero__crumb a {
  color: var(--muted);
  text-decoration: none;
}

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

.page-faq .faq-hero__grid {
  display: grid;
  gap: 32px;
}

.page-faq .faq-hero__content {
  position: relative;
  z-index: 2;
}

.page-faq .faq-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: .01em;
  transform: skewX(-6deg);
  text-shadow: 0 4px 30px rgba(0, 255, 163, .18);
}

.page-faq .faq-hero__lead {
  max-width: 38em;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-hero__lead strong {
  color: var(--white);
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-faq .faq-hero__media {
  position: relative;
  margin: 0;
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
}

.page-faq .faq-hero__note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--accent);
  background: rgba(5, 6, 15, .72);
  border: 1px solid rgba(0, 255, 163, .5);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.page-faq .faq-hero__note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 255, 163, .14);
}

.page-faq .faq-hot {
  padding-top: 18px;
}

.page-faq .faq-hot__grid {
  display: grid;
  gap: var(--faq-gap);
}

.page-faq .faq-hot__list {
  display: grid;
  gap: 16px;
}

.page-faq .faq-hot__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-faq .faq-hot__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .08);
}

.page-faq .faq-hot__note {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 255, 163, .1), rgba(0, 209, 255, .06));
  border: 1px solid rgba(0, 255, 163, .25);
}

.page-faq .faq-hot__note-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-faq .faq-hot__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .faq-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-card-border);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 255, 163, .38);
  background: rgba(17, 22, 61, .6);
}

.page-faq .faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

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

.page-faq .faq-item__head::marker {
  content: "";
}

.page-faq .faq-item__q {
  flex: 1;
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.page-faq .faq-item__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
  border-radius: 50%;
  background: rgba(0, 255, 163, .1);
  transition: transform .35s var(--ease), background .3s var(--ease);
}

.page-faq .faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: rgba(0, 255, 163, .2);
}

.page-faq .faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease);
}

.page-faq .faq-item[open] .faq-item__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.page-faq .faq-item__body-inner {
  min-height: 0;
  overflow: hidden;
}

.page-faq .faq-item__text {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .faq-item__text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 163, .35);
}

.page-faq .faq-item__text a:hover {
  color: var(--accent-soft);
}

.page-faq .faq-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 22px 18px 44px;
  list-style: none;
  counter-reset: faq-step;
}

.page-faq .faq-steps__item {
  position: relative;
  counter-increment: faq-step;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
}

.page-faq .faq-steps__item::before {
  content: counter(faq-step, decimal-leading-zero);
  position: absolute;
  left: -24px;
  color: var(--accent);
  font-weight: 700;
}

.page-faq .faq-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--accent-soft);
  background: rgba(0, 255, 163, .07);
  border-left: 3px solid var(--accent);
}

.page-faq .faq-tip svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.page-faq .faq-topics {
  position: relative;
  padding-top: 28px;
  background: linear-gradient(180deg, rgba(17, 22, 61, .62), rgba(10, 14, 39, 0));
}

.page-faq .faq-topics__tabs {
  display: grid;
  gap: var(--faq-gap);
}

.page-faq .faq-topics__rail {
  display: grid;
  gap: 12px;
}

.page-faq .faq-topic-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px 18px;
  font-family: var(--font-body);
  color: var(--white);
  text-align: left;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .2s var(--ease);
}

.page-faq .faq-topic-btn:hover {
  border-color: rgba(0, 255, 163, .35);
  transform: translateX(4px);
}

.page-faq .faq-topic-btn[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(0, 255, 163, .16), rgba(0, 209, 255, .07));
  border-color: var(--accent);
}

.page-faq .faq-topic-btn__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.page-faq .faq-topic-btn__meta {
  display: grid;
  gap: 3px;
}

.page-faq .faq-topic-btn__meta strong {
  font-size: 16px;
  font-weight: 800;
}

.page-faq .faq-topic-btn__meta small {
  font-size: 12px;
  color: var(--muted);
}

.page-faq .faq-topics__panels {
  display: grid;
  gap: 20px;
}

.page-faq .faq-topics__panel {
  padding: 4px 0 0 18px;
  border-left: 2px solid rgba(0, 255, 163, .35);
}

.page-faq .faq-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 800;
}

.page-faq .faq-panel-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 255, 163, .4), transparent);
}

.page-faq .faq-panel-title + .faq-item {
  margin-bottom: 14px;
}

.page-faq .faq-contact {
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-faq .faq-contact__panel {
  display: grid;
  gap: 28px;
  padding: 34px 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(560px 200px at 90% 0%, rgba(0, 209, 255, .12), transparent 60%),
    radial-gradient(500px 240px at 0% 100%, rgba(123, 97, 255, .14), transparent 55%),
    linear-gradient(135deg, rgba(0, 255, 163, .14), rgba(17, 22, 61, .72));
  border: 1px solid rgba(0, 255, 163, .3);
}

.page-faq .faq-contact__left {
  display: grid;
  align-content: start;
  gap: 18px;
}

.page-faq .faq-contact__eyebrow {
  margin: 0;
  letter-spacing: .14em;
  color: var(--accent);
}

.page-faq .faq-contact__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  transform: skewX(-6deg);
}

.page-faq .faq-contact__lead {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-contact__lead strong {
  color: var(--accent-soft);
  font-family: var(--font-mono);
}

.page-faq .faq-contact__right {
  display: grid;
  gap: 14px;
  align-content: center;
}

.page-faq .faq-contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(5, 6, 15, .42);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-sm);
}

.page-faq .faq-contact__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--accent);
  border-radius: 12px;
  background: rgba(0, 255, 163, .1);
}

.page-faq .faq-contact__item-body {
  display: grid;
  gap: 2px;
}

.page-faq .faq-contact__item-label {
  font-size: 12px;
  color: var(--muted);
}

.page-faq .faq-contact__item-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  word-break: break-all;
}

@media (min-width: 960px) {
  .page-faq .faq-hero {
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 64px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
  }

  .page-faq .faq-hero__title {
    font-size: 54px;
  }

  .page-faq .faq-hot {
    padding-top: 28px;
  }

  .page-faq .faq-hot__grid {
    grid-template-columns: 7fr 4fr;
    gap: 42px;
    align-items: start;
  }

  .page-faq .faq-hot__side {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .page-faq .faq-topics__tabs {
    grid-template-columns: var(--faq-rail) 1fr;
    gap: 44px;
    align-items: start;
  }

  .page-faq .faq-topics__rail {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .page-faq .faq-topics__panel {
    padding: 6px 0 0 28px;
  }

  .page-faq .faq-contact {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .page-faq .faq-contact__panel {
    grid-template-columns: 5fr 6fr;
    gap: 44px;
    padding: 54px 52px;
  }

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