.page-faq {
  --faq-card-bg: var(--rock-gray);
  --faq-line-soft: var(--line-dim);
  --faq-text-soft: var(--text-secondary);
  position: relative;
  background: var(--deep-black);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(247, 211, 57, 0.028) 18px 36px),
    repeating-linear-gradient(65deg, transparent 0 42px, rgba(255, 140, 0, 0.02) 42px 84px),
    radial-gradient(circle at 92% 8%, rgba(155, 48, 255, 0.07) 0%, transparent 38%);
  pointer-events: none;
  z-index: 0;
}

.page-faq > * {
  position: relative;
  z-index: 1;
}

.page-faq img {
  max-width: 100%;
  height: auto;
}

.faq-hero {
  padding: 36px 0 56px;
  position: relative;
}

.faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--banana-yellow) 0%, var(--bright-orange) 55%, var(--electric-purple) 100%);
}

.faq-hero .breadcrumb {
  font-size: 0.85em;
  color: var(--faq-text-soft);
  margin-bottom: 24px;
}

.faq-hero .breadcrumb a {
  color: var(--banana-yellow);
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-hero .breadcrumb a:hover {
  color: var(--bright-orange);
}

.faq-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 24px;
}

.faq-eyebrow {
  display: inline-block;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-neon);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 4px;
  padding: 4px 10px;
  margin: 0 0 16px;
}

.faq-hero-copy .page-title {
  font-family: var(--font-title);
  font-size: clamp(2.4em, 6vw, 4em);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  color: var(--banana-yellow);
  text-shadow: 3px 3px 0 rgba(255, 140, 0, 0.35);
}

.faq-hero-copy .page-desc {
  color: var(--faq-text-soft);
  font-size: 0.95em;
  max-width: 42em;
  margin: 0 0 32px;
}

.faq-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 420px;
}

.faq-stats .stat {
  background: var(--faq-card-bg);
  border-radius: 12px 0 12px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--banana-yellow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-stats .stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(247, 211, 57, 0.1);
}

.faq-stats .stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 1.55em;
  font-weight: 900;
  color: var(--banana-yellow);
}

.faq-stats .stat-label {
  display: block;
  font-size: 0.72em;
  color: var(--faq-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.faq-hero-image {
  overflow: hidden;
  border-radius: 20px 4px 20px 4px;
  border: 2px solid var(--faq-line-soft);
  box-shadow: 10px 10px 0 rgba(247, 211, 57, 0.07);
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 48px 0 72px;
}

.faq-index-inner {
  position: relative;
}

.faq-index-title {
  font-family: var(--font-title);
  font-size: 1.15em;
  font-weight: 900;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--banana-yellow);
  display: inline-block;
  color: var(--ivory);
}

.faq-index-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.faq-index-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--faq-card-bg);
  color: var(--ivory);
  text-decoration: none;
  border-radius: 10px 0 10px 0;
  border-left: 3px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-index-link:hover,
.faq-index-link:focus-visible {
  background: rgba(247, 211, 57, 0.12);
  border-left-color: var(--bright-orange);
  transform: translateX(4px);
}

.faq-index-num {
  font-family: var(--font-digital);
  font-size: 0.85em;
  color: var(--banana-yellow);
  background: rgba(247, 211, 57, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.faq-support-card {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(247, 211, 57, 0.08), rgba(255, 140, 0, 0.04));
  border: 1px solid var(--faq-line-soft);
  border-radius: 16px 4px 16px 4px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.faq-support-image {
  width: 110px;
  flex-shrink: 0;
  border-radius: 12px 3px 12px 3px;
  overflow: hidden;
  border: 1px solid var(--faq-line-soft);
}

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

.faq-support-copy {
  flex: 1;
  min-width: 150px;
}

.faq-support-copy h3 {
  font-family: var(--font-title);
  font-size: 1.05em;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--banana-yellow);
}

.faq-support-copy p {
  font-size: 0.82em;
  color: var(--faq-text-soft);
  margin: 0 0 12px;
}

.faq-support-copy .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.82em;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: 8px 0 8px 0;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-support-copy .btn-primary {
  background: var(--banana-yellow);
  color: var(--deep-black);
  border: 1px solid var(--banana-yellow);
}

.faq-support-copy .btn-primary:hover,
.faq-support-copy .btn-primary:focus-visible {
  background: var(--bright-orange);
  border-color: var(--bright-orange);
  color: #fff;
  transform: translateY(-2px);
}

.faq-section {
  margin-bottom: 44px;
  scroll-margin-top: 24px;
}

.faq-section .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.faq-section .section-title {
  font-family: var(--font-title);
  font-size: 1.45em;
  font-weight: 900;
  color: var(--ivory);
  margin: 0;
  padding-left: 16px;
  position: relative;
}

.faq-section .section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background: var(--bright-orange);
  transform: skewX(-15deg);
}

.faq-section .section-link {
  font-size: 0.78em;
  color: var(--cyan-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--faq-card-bg);
  border-radius: 12px 0 12px 0;
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item[open] {
  border-left-color: var(--banana-yellow);
  background: rgba(31, 35, 41, 0.92);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95em;
  color: var(--ivory);
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

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

.faq-item summary::marker {
  content: "";
}

.faq-item[open] summary {
  border-bottom-color: var(--faq-line-soft);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--banana-yellow);
}

.faq-item-icon {
  font-size: 1.1em;
  font-weight: 900;
  line-height: 1;
  color: var(--banana-yellow);
  background: rgba(247, 211, 57, 0.1);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-item-icon {
  transform: rotate(45deg);
  background: var(--banana-yellow);
  color: var(--deep-black);
}

.faq-item-body {
  padding: 15px 20px 20px;
  color: var(--faq-text-soft);
  font-size: 0.88em;
  line-height: 1.65;
}

.faq-item-body p {
  margin: 0;
}

.faq-item-body a {
  color: var(--cyan-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.faq-item-body a:hover {
  color: var(--banana-yellow);
}

@media (min-width: 640px) {
  .faq-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-support-card {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1024px) {
  .faq-hero {
    padding: 56px 0 72px;
  }

  .faq-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 56px;
    padding-top: 32px;
  }

  .faq-hero-image {
    justify-self: end;
    max-width: 460px;
    transform: translateY(8px) rotate(1.5deg);
  }

  .faq-layout {
    grid-template-columns: 300px 1fr;
    gap: 56px;
    padding: 64px 0 96px;
    align-items: start;
  }

  .faq-index-inner {
    position: sticky;
    top: 28px;
  }

  .faq-support-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .faq-support-image {
    width: 100%;
    max-width: 240px;
  }

  .faq-support-copy .btn {
    display: inline-block;
  }

  .faq-panels {
    min-width: 0;
  }
}
