.page-faq {
  position: relative;
  background:
    radial-gradient(640px 320px at 88% 8%, rgba(245, 183, 0, 0.12), transparent 60%),
    radial-gradient(540px 300px at 6% 58%, rgba(255, 107, 53, 0.10), transparent 60%),
    var(--gradient-space);
  overflow: hidden;
  overflow: clip;
}

.page-faq .faq-wrap {
  position: relative;
  width: min(var(--container-width), calc(100% - 32px));
  margin-inline: auto;
}

.page-faq .faq-hero {
  position: relative;
  padding: clamp(120px, 13vw, 168px) 0 48px;
}

.page-faq .faq-hero__ghost {
  position: absolute;
  top: 92px;
  right: -12px;
  z-index: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(88px, 19vw, 210px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(61, 79, 122, 0.55);
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
}

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

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

.page-faq .breadcrumb {
  margin-bottom: 22px;
}

.page-faq .faq-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.page-faq .faq-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--text-high);
}

.page-faq .faq-hero__h1-sub {
  display: block;
  margin-top: 12px;
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-medium);
}

.page-faq .faq-hero__lead {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-medium);
}

.page-faq .faq-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-faq .faq-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--border-starlight);
  border-radius: 999px;
  background: rgba(26, 35, 64, 0.75);
  color: var(--text-high);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.page-faq .faq-pill:hover,
.page-faq .faq-pill:focus-visible {
  border-color: var(--accent-gold);
  background: rgba(245, 183, 0, 0.08);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

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

.page-faq .faq-hero__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -20px;
  right: -10px;
  width: 108px;
  height: 108px;
  background: linear-gradient(135deg, rgba(245, 183, 0, 0.6), transparent 65%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.page-faq .faq-hero__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--border-starlight);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(3, 7, 20, 0.5);
}

.page-faq .faq-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 0 72px;
  background-image: radial-gradient(rgba(198, 208, 227, 0.07) 1px, transparent 1.4px);
  background-size: 28px 28px;
}

.page-faq .faq-group {
  position: relative;
  padding: 20px;
  scroll-margin-top: 110px;
  background: rgba(26, 35, 64, 0.78);
  border: 1px solid var(--border-starlight);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius);
  box-shadow: 0 22px 56px rgba(3, 7, 20, 0.34);
  transition: border-color 0.3s ease;
}

.page-faq .faq-group:hover {
  border-color: rgba(245, 183, 0, 0.45);
}

.page-faq .faq-group--updates,
.page-faq .faq-group--support {
  border-left-color: var(--accent-orange);
}

.page-faq .faq-group--updates:hover,
.page-faq .faq-group--support:hover {
  border-color: rgba(255, 107, 53, 0.45);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(61, 79, 122, 0.75);
}

.page-faq .faq-group__index {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-gold);
}

.page-faq .faq-group--updates .faq-group__index,
.page-faq .faq-group--support .faq-group__index {
  -webkit-text-stroke: 1px var(--accent-orange);
}

.page-faq .faq-group__head h2 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-high);
}

.page-faq .faq-group__head p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-medium);
}

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

.page-faq .faq-item {
  position: relative;
  scroll-margin-top: 110px;
  background: rgba(11, 16, 38, 0.6);
  border: 1px solid rgba(61, 79, 122, 0.55);
  border-radius: 12px;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-faq .faq-item:hover,
.page-faq .faq-item:target {
  border-color: rgba(245, 183, 0, 0.6);
  box-shadow: 0 0 0 1px rgba(245, 183, 0, 0.25), 0 16px 40px rgba(3, 7, 20, 0.35);
}

.page-faq .faq-group--updates .faq-item:hover,
.page-faq .faq-group--updates .faq-item:target,
.page-faq .faq-group--support .faq-item:hover,
.page-faq .faq-group--support .faq-item:target {
  border-color: rgba(255, 107, 53, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.25), 0 16px 40px rgba(3, 7, 20, 0.35);
}

.page-faq .faq-item__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  text-decoration: none;
}

.page-faq .faq-item__mark {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
  color: var(--accent-gold);
  border: 1px solid rgba(245, 183, 0, 0.4);
  border-radius: 6px;
  background: rgba(245, 183, 0, 0.1);
}

.page-faq .faq-group--updates .faq-item__mark,
.page-faq .faq-group--support .faq-item__mark {
  color: var(--accent-orange);
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.1);
}

.page-faq .faq-item__q h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-high);
  transition: color 0.25s ease;
}

.page-faq .faq-item:hover .faq-item__q h3,
.page-faq .faq-item:target .faq-item__q h3 {
  color: var(--accent-gold);
}

.page-faq .faq-group--updates .faq-item:hover .faq-item__q h3,
.page-faq .faq-group--updates .faq-item:target .faq-item__q h3,
.page-faq .faq-group--support .faq-item:hover .faq-item__q h3,
.page-faq .faq-group--support .faq-item:target .faq-item__q h3 {
  color: var(--accent-orange);
}

.page-faq .faq-item__toggle {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-medium);
  transition: color 0.25s ease, transform 0.3s ease;
}

.page-faq .faq-item:hover .faq-item__toggle,
.page-faq .faq-item:target .faq-item__toggle {
  color: var(--accent-gold);
  transform: rotate(45deg);
}

.page-faq .faq-group--updates .faq-item:hover .faq-item__toggle,
.page-faq .faq-group--updates .faq-item:target .faq-item__toggle,
.page-faq .faq-group--support .faq-item:hover .faq-item__toggle,
.page-faq .faq-group--support .faq-item:target .faq-item__toggle {
  color: var(--accent-orange);
}

.page-faq .faq-item__shell {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-faq .faq-item:hover .faq-item__shell,
.page-faq .faq-item:target .faq-item__shell,
.page-faq .faq-item:focus-within .faq-item__shell {
  grid-template-rows: 1fr;
}

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

.page-faq .faq-item__a p {
  margin: 0;
  padding: 2px 18px 20px 50px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-medium);
}

.page-faq .faq-item__a a {
  color: var(--accent-gold);
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: background-size 0.35s ease, color 0.25s ease;
}

.page-faq .faq-item__a a:hover,
.page-faq .faq-item__a a:focus-visible {
  color: var(--text-high);
  background-size: 100% 2px;
}

.page-faq .faq-contact {
  position: relative;
  padding: 8px 0 72px;
  scroll-margin-top: 110px;
}

.page-faq .faq-contact::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 52px;
  background: linear-gradient(90deg, transparent, rgba(245, 183, 0, 0.55), rgba(255, 107, 53, 0.35), transparent);
}

.page-faq .faq-contact::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -150px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(245, 183, 0, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

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

.page-faq .faq-contact__media {
  margin: 0;
}

.page-faq .faq-contact__media img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--border-starlight);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(3, 7, 20, 0.4);
}

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

.page-faq .faq-contact__card {
  padding: 28px;
  background: rgba(42, 53, 82, 0.42);
  border: 1px solid var(--border-starlight);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.page-faq .faq-contact__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.page-faq .faq-contact__card h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-high);
}

.page-faq .faq-contact__lead {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-medium);
}

.page-faq .faq-contact__list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-faq .faq-contact__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-high);
  word-break: break-all;
}

.page-faq .faq-contact__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-medium);
  padding-top: 3px;
}

.page-faq .faq-contact__list a {
  color: var(--accent-gold);
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.page-faq .faq-contact__list a:hover,
.page-faq .faq-contact__list a:focus-visible {
  color: var(--text-high);
  background-size: 100% 2px;
}

@media (min-width: 860px) {
  .page-faq .faq-hero {
    padding: clamp(140px, 12vw, 180px) 0 64px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 56px;
  }

  .page-faq .faq-layout {
    grid-template-columns: 1fr 1fr;
    gap: 52px 44px;
    align-items: start;
  }

  .page-faq .faq-group {
    padding: 28px;
  }

  .page-faq .faq-group:nth-child(odd) {
    grid-column: 1;
  }

  .page-faq .faq-group:nth-child(even) {
    grid-column: 2;
    margin-top: 104px;
  }

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