.page-faq {
  --faq-panel: rgba(42, 36, 99, 0.6);
  --faq-panel-hover: rgba(57, 48, 130, 0.85);
  --faq-border: rgba(242, 240, 255, 0.1);
  --faq-border-gold: rgba(255, 201, 76, 0.35);
  --faq-highlight: rgba(255, 107, 53, 0.14);
  position: relative;
  color: var(--text-light);
  background:
    radial-gradient(ellipse at 12% -5%, rgba(255, 107, 53, 0.16) 0%, transparent 36%),
    radial-gradient(ellipse at 88% 6%, rgba(255, 201, 76, 0.12) 0%, transparent 30%),
    linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 48%, var(--primary-dark) 100%);
  padding: 32px 0 0;
  overflow-x: hidden;
}

.page-faq .breadcrumbs {
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.page-faq .breadcrumbs a {
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.page-faq .breadcrumbs a:hover {
  border-bottom-color: var(--accent-gold);
}

.page-faq .breadcrumbs-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}

.page-faq .faq-hero,
.page-faq .faq-quick-nav,
.page-faq .faq-layout {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-faq .faq-hero {
  position: relative;
  padding-top: 18px;
  padding-bottom: 56px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -60px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, transparent 46%, rgba(255, 107, 53, 0.3) 47%, rgba(255, 107, 53, 0.3) 52%, transparent 53%);
  opacity: 0.7;
  pointer-events: none;
}

.page-faq .faq-hero-grid {
  display: grid;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero-copy {
  min-width: 0;
}

.page-faq .section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(255, 201, 76, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 201, 76, 0.22);
}

.page-faq h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 14px 0 15px;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-faq .faq-hero-lead {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
  margin: 0;
}

.page-faq .faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 240, 255, 0.16);
  border-radius: 20px;
  max-width: 500px;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.page-faq .faq-search:focus-within {
  border-color: rgba(255, 107, 53, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

.page-faq .faq-search svg {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.page-faq .faq-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 14px;
}

.page-faq .faq-search input::placeholder {
  color: rgba(184, 179, 217, 0.65);
}

.page-faq .faq-search-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(184, 179, 217, 0.7);
  font-family: var(--font-mono);
}

.page-faq .faq-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.page-faq .faq-hero-media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.page-faq .faq-hero-media::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 120px;
  height: 120px;
  background: rgba(255, 107, 53, 0.16);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.page-faq .faq-hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 240, 255, 0.12);
  transform: rotate(1.5deg);
  position: relative;
  z-index: 1;
}

.page-faq .faq-sec-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.page-faq .faq-sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 10px 0 0;
  color: #fff;
}

.page-faq .faq-sec-desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.page-faq .faq-quick-nav {
  padding-bottom: 58px;
}

.page-faq .faq-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-faq .faq-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 18px;
  background: var(--faq-panel);
  border: 1px solid var(--faq-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-light);
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.page-faq .faq-quick-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 72px;
  height: 72px;
  background: rgba(255, 107, 53, 0.18);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transition: background 0.3s;
}

.page-faq .faq-quick-card:hover {
  transform: translateY(-4px);
  background: var(--faq-panel-hover);
  border-color: var(--faq-border-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.page-faq .faq-quick-card:hover::after {
  background: rgba(255, 107, 53, 0.3);
}

.page-faq .faq-quick-num {
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
}

.page-faq .faq-quick-card svg {
  width: 26px;
  height: 26px;
  color: var(--accent-orange);
}

.page-faq .faq-quick-name {
  font-size: 15px;
  font-weight: 700;
}

.page-faq .faq-quick-count {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.page-faq .faq-quick-more {
  font-size: 12px;
  color: var(--accent-gold);
  font-family: var(--font-mono);
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 72px;
}

.page-faq .faq-sidebar {
  display: none;
}

.page-faq .faq-toc {
  position: relative;
  background: rgba(42, 36, 99, 0.52);
  border: 1px solid rgba(242, 240, 255, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 16px 14px;
}

.page-faq .faq-toc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  border-radius: 0 0 4px 4px;
}

.page-faq .faq-toc-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 6px 4px;
}

.page-faq .faq-toc-link {
  display: block;
  padding: 9px 12px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.page-faq .faq-toc-link:hover {
  background: rgba(255, 201, 76, 0.08);
  color: var(--text-light);
  transform: translateX(3px);
  border-left-color: var(--accent-gold);
}

.page-faq .faq-toc-link.is-active {
  background: rgba(255, 107, 53, 0.14);
  color: var(--accent-orange);
  border-left-color: var(--accent-orange);
}

.page-faq .faq-side-note {
  margin-top: 16px;
  background: rgba(42, 36, 99, 0.5);
  border: 1px solid rgba(255, 201, 76, 0.18);
  border-radius: 12px;
  padding: 16px;
}

.page-faq .faq-side-note-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 201, 76, 0.2);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.page-faq .faq-side-note p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 8px;
}

.page-faq .faq-side-note-link {
  color: var(--accent-gold);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 201, 76, 0.4);
  transition: border-color 0.25s;
}

.page-faq .faq-side-note-link:hover {
  border-bottom-color: var(--accent-gold);
}

.page-faq .faq-side-note-muted p {
  margin: 0;
}

.page-faq .faq-main {
  min-width: 0;
}

.page-faq .faq-group {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.page-faq .faq-group-num {
  display: inline-block;
  font-size: 13px;
  color: var(--accent-gold);
  background: rgba(255, 201, 76, 0.12);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.page-faq .faq-group-heading h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin: 0;
  color: #f8f7ff;
}

.page-faq .faq-group-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin: 6px 0 16px;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-item {
  background: var(--faq-panel);
  border: 1px solid var(--faq-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.page-faq .faq-item[open] {
  border-color: var(--faq-border-gold);
  background: var(--faq-panel-hover);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.page-faq .faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 18px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
  position: relative;
}

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

.page-faq .faq-item summary::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  margin-top: 8px;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.page-faq .faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  font-size: 20px;
  line-height: 1;
  transition: color 0.25s, transform 0.25s;
}

.page-faq .faq-item[open] summary::after {
  content: "–";
  color: var(--accent-orange);
}

.page-faq .faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.page-faq .faq-answer {
  padding: 0 20px 20px 40px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
}

.page-faq .faq-answer p {
  margin: 0 0 8px;
}

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

.page-faq .faq-answer a {
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 201, 76, 0.4);
  transition: border-color 0.25s;
}

.page-faq .faq-answer a:hover {
  border-bottom-color: var(--accent-gold);
}

.page-faq .faq-support {
  padding: 56px 20px 72px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 201, 76, 0.05) 55%, rgba(42, 36, 99, 0.2) 100%);
  border-top: 1px solid rgba(242, 240, 255, 0.08);
}

.page-faq .faq-support-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-faq .faq-support-copy {
  min-width: 0;
}

.page-faq .faq-support-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 10px 0 12px;
  color: #fff;
}

.page-faq .faq-support-intro {
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 54ch;
}

.page-faq .faq-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.page-faq .faq-contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.page-faq .faq-contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  background: rgba(255, 201, 76, 0.1);
  padding: 4px 9px;
  border-radius: 6px;
  min-width: 44px;
  text-align: center;
  letter-spacing: 0.04em;
}

.page-faq .faq-contact-value {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

.page-faq .faq-support-note {
  font-size: 12px;
  color: rgba(184, 179, 217, 0.85);
  border-left: 3px solid var(--accent-orange);
  padding-left: 12px;
  margin: 18px 0 24px;
  line-height: 1.7;
}

.page-faq .faq-support-media {
  width: 100%;
  max-width: 600px;
  justify-self: center;
}

.page-faq .faq-support-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(242, 240, 255, 0.12);
  box-shadow: var(--shadow);
}

@media (min-width: 540px) {
  .page-faq .faq-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .page-faq {
    padding-top: 42px;
  }

  .page-faq .breadcrumbs {
    padding: 0 32px;
  }

  .page-faq .faq-hero,
  .page-faq .faq-quick-nav,
  .page-faq .faq-layout {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-faq .faq-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }

  .page-faq .faq-sec-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-faq .faq-sec-head h2 {
    margin-top: 10px;
  }

  .page-faq .faq-support {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-faq .faq-support-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-quick-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-faq .faq-layout {
    grid-template-columns: 240px 1fr;
    gap: 44px;
  }

  .page-faq .faq-sidebar {
    display: block;
    position: sticky;
    top: 110px;
    align-self: start;
  }

  .page-faq .faq-side-note {
    margin-top: 16px;
  }
}

@media (min-width: 1200px) {
  .page-faq .faq-hero {
    padding-top: 28px;
  }

  .page-faq .faq-hero-lead {
    font-size: 16px;
  }

  .page-faq .faq-support {
    padding-top: 68px;
    padding-bottom: 84px;
  }
}
