.page-faq {
  --qa-blue: #1264FF;
  --qa-orange: #FF6A00;
  --qa-yellow: #FFE818;
  --qa-green: #00B96D;
  --qa-ink: #0E0F12;
  --qa-soft: #D8D0BF;
  --faq-radius: 24px;
}

.page-faq .faq-hero {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 60px 20px 48px;
  position: relative;
  overflow: hidden;
}
.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -50px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 106, 0, 0.28), transparent 68%);
  pointer-events: none;
}
.page-faq .faq-hero__shell {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: 36px;
  position: relative;
  z-index: 1;
}
.page-faq .faq-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.6);
}
.page-faq .breadcrumb a {
  color: rgba(245, 245, 245, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-faq .breadcrumb a:hover {
  color: var(--qa-orange);
}
.page-faq .breadcrumb__sep {
  opacity: 0.6;
}
.page-faq .faq-hero__eyebrow {
  margin-top: 28px;
  display: inline-block;
  background: rgba(255, 232, 24, 0.15);
  color: var(--qa-yellow);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 9vw, 72px);
  line-height: 1.05;
  margin: 16px 0 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.page-faq .faq-hero h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--qa-orange), var(--qa-yellow));
  border-radius: 99px;
}
.page-faq .faq-hero__lead {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(245, 245, 245, 0.82);
  max-width: 580px;
}
.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.page-faq .faq-hero__stat {
  border-left: 3px solid var(--qa-orange);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(245, 245, 245, 0.85);
  border-radius: 0 12px 12px 0;
}
.page-faq .faq-hero__stat strong {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin-right: 4px;
}
.page-faq .faq-hero__media {
  position: relative;
  border-radius: var(--faq-radius);
  overflow: hidden;
  transform: rotate(1.2deg);
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.page-faq .faq-index {
  max-width: var(--content-max);
  margin: -22px auto 0;
  padding: 0 16px 36px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  position: relative;
  z-index: 2;
  scrollbar-width: thin;
}
.page-faq .faq-index__item {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bg-cream);
  border: 1px solid #E4DDCF;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-faq .faq-index__item:hover,
.page-faq .faq-index__item:focus {
  border-color: var(--qa-blue);
  color: var(--qa-blue);
}

.page-faq .faq-body {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px 16px 72px;
  display: grid;
  gap: 32px;
}

.page-faq .faq-section {
  border-radius: 32px;
  padding: 34px 20px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
}
.page-faq .faq-section--subscribe {
  background: linear-gradient(160deg, rgba(18, 100, 255, 0.06), rgba(245, 239, 230, 0.4));
}
.page-faq .faq-section--dashboard {
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.07), rgba(245, 239, 230, 0.4));
}
.page-faq .faq-section--account {
  background: linear-gradient(160deg, rgba(255, 232, 24, 0.1), rgba(245, 239, 230, 0.4));
}
.page-faq .faq-section--member {
  background: linear-gradient(160deg, rgba(0, 185, 109, 0.07), rgba(245, 239, 230, 0.4));
}
.page-faq .faq-section--tech {
  background: linear-gradient(160deg, rgba(14, 15, 18, 0.06), rgba(245, 239, 230, 0.4));
}

.page-faq .faq-section__top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}
.page-faq .faq-section__num {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px #D8D0BF;
  letter-spacing: 0.02em;
}
.page-faq .faq-section__heading h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.page-faq .faq-section__desc {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

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

.page-faq .faq-section--subscribe {
  --qa-accent: var(--qa-blue);
}
.page-faq .faq-section--dashboard {
  --qa-accent: var(--qa-orange);
}
.page-faq .faq-section--account {
  --qa-accent: var(--qa-blue);
}
.page-faq .faq-section--member {
  --qa-accent: var(--qa-green);
}
.page-faq .faq-section--tech {
  --qa-accent: var(--qa-ink);
}

.page-faq .faq-q {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  border-left: 4px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.page-faq .faq-q[open] {
  background: #fff;
  border-left-color: var(--qa-accent);
}
.page-faq .faq-q__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-heading);
}
.page-faq .faq-q__summary::-webkit-details-marker {
  display: none;
}
.page-faq .faq-q__summary::-moz-list-bullet {
  list-style: none;
}
.page-faq .faq-q__tag {
  flex-shrink: 0;
  background: var(--qa-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.page-faq .faq-q__text {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
}
.page-faq .faq-q__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--qa-accent);
  transition: transform 0.3s ease;
}
.page-faq .faq-q[open] .faq-q__icon {
  transform: rotate(45deg);
}
.page-faq .faq-q__content {
  padding: 0 18px 20px 18px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.85;
}
.page-faq .faq-q__content p {
  margin: 0 0 10px;
}
.page-faq .faq-q__content p:last-child {
  margin-bottom: 0;
}
.page-faq .faq-q__content a {
  color: var(--qa-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.page-faq .faq-dashboard__grid {
  display: grid;
  gap: 28px;
}
.page-faq .faq-dashboard__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  background: var(--qa-ink);
}
.page-faq .faq-dashboard__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .faq-support {
  background: var(--bg-ink);
  color: var(--text-on-dark);
  padding: 56px 16px;
}
.page-faq .faq-support__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.page-faq .faq-support h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  margin: 0 0 14px;
  line-height: 1.15;
}
.page-faq .faq-support p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.75);
}
.page-faq .faq-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.page-faq .faq-support .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-on-dark);
  background: transparent;
}
.page-faq .faq-support .btn-ghost:hover {
  border-color: var(--qa-orange);
  color: var(--qa-orange);
}

@media (prefers-reduced-motion: no-preference) {
  .page-faq .faq-q[open] .faq-q__content {
    animation: faq-reveal 0.28s ease-out;
  }
}
@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 80px 40px;
  }
  .page-faq .faq-hero__shell {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
  .page-faq .faq-index {
    overflow-x: visible;
    flex-wrap: wrap;
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-faq .faq-body {
    gap: 48px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
  }
  .page-faq .faq-section {
    padding: 48px 40px;
  }
  .page-faq .faq-section__num {
    font-size: 76px;
  }
  .page-faq .faq-dashboard__grid {
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
  }
  .page-faq .faq-dashboard__media {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero {
    padding: 90px 48px;
  }
  .page-faq .faq-hero__lead {
    font-size: 18px;
  }
  .page-faq .faq-body {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-faq .faq-section {
    padding: 56px 52px;
  }
  .page-faq .faq-section__heading h2 {
    font-size: 30px;
  }
  .page-faq .faq-support {
    padding: 72px 24px;
  }
}
