.page-faq {
  --faq-text-secondary: #4B5563;
  --faq-gold-bright: #FFC84D;
  --faq-gold-soft: rgba(242, 169, 0, .16);
  background: var(--light-gray);
}

.page-faq .faq-hero {
  background: linear-gradient(135deg, var(--space-navy) 0%, var(--space-navy-light) 78%);
  padding: 128px 0 64px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(242, 169, 0, .16) 0%, transparent 70%);
  top: -160px;
  right: -120px;
  border-radius: 50%;
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(242, 169, 0, 0) 40%);
  pointer-events: none;
}

.page-faq .faq-hero .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .25s ease;
}

.page-faq .faq-hero .breadcrumb a:hover {
  color: var(--gold);
}

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

@media (min-width: 768px) {
  .page-faq .faq-hero-grid {
    grid-template-columns: 1.5fr .85fr;
    gap: 60px;
  }
}

.page-faq .faq-hero .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}

.page-faq .faq-hero .page-title {
  color: var(--white);
  margin-top: 12px;
  font-size: clamp(32px, 5.5vw, 56px);
}

.page-faq .faq-hero .page-lead {
  color: rgba(255, 255, 255, .7);
  max-width: 46rem;
  margin-top: 18px;
  font-size: 15px;
}

.page-faq .faq-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.page-faq .faq-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  color: var(--gold);
  letter-spacing: .02em;
}

.page-faq .faq-stat-label {
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
}

.page-faq .faq-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq .faq-visual::before {
  content: "";
  width: 260px;
  height: 260px;
  background: var(--faq-gold-soft);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 48px;
}

.page-faq .faq-visual::after {
  content: "";
  width: 300px;
  height: 300px;
  border: 1px solid rgba(242, 169, 0, .35);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 56px;
}

.page-faq .faq-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

@media (min-width: 768px) {
  .page-faq .faq-visual img {
    max-width: 400px;
  }
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 68px;
  padding-bottom: 88px;
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: 1fr 300px;
    gap: 56px;
  }
}

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

.page-faq .faq-section-block {
  margin-bottom: 56px;
  scroll-margin-top: 110px;
}

.page-faq .faq-section-block:last-child {
  margin-bottom: 0;
}

.page-faq .faq-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.page-faq .faq-group-index {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

.page-faq .faq-group-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--space-navy);
  margin: 0;
}

.page-faq .faq-group-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--faq-text-secondary);
  margin-bottom: 24px;
  max-width: 36rem;
}

.page-faq .faq-section-block:target .faq-group-head {
  animation: pageFaqTargetFlash 1.4s var(--transition-timing) both;
}

@keyframes pageFaqTargetFlash {
  0%, 100% {
    transform: none;
  }
  30% {
    transform: translateX(6px);
  }
}

.page-faq .faq-list {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0 20px;
  box-shadow: var(--shadow-float);
}

@media (min-width: 768px) {
  .page-faq .faq-list {
    padding: 0 28px;
  }
}

.page-faq .faq-item {
  border-bottom: 1px solid var(--border-gray);
}

.page-faq .faq-item:last-child {
  border-bottom: none;
}

.page-faq .faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-faq .faq-q::-moz-list-bullet {
  list-style-type: none;
}

.page-faq .faq-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 8px;
  transform: rotate(45deg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--space-navy);
}

.page-faq .faq-num span {
  transform: rotate(-45deg);
}

.page-faq .faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--space-navy);
  line-height: 1.4;
  flex: 1;
}

.page-faq .faq-toggle {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--light-gray);
  position: relative;
  transition: background .3s var(--transition-timing);
}

.page-faq .faq-toggle::before,
.page-faq .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--space-navy);
  transition: transform .35s var(--transition-timing), background .3s ease;
}

.page-faq .faq-toggle::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-toggle::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item:hover .faq-toggle {
  background: var(--faq-gold-soft);
}

.page-faq .faq-item[open] .faq-toggle {
  background: var(--gold);
}

.page-faq .faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.page-faq .faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 0 0 46px;
  margin: 0;
  color: var(--faq-text-secondary);
  font-size: 14px;
  line-height: 1.75;
  transform: translateY(-6px);
  transition: max-height .45s var(--transition-timing), opacity .35s ease, transform .35s ease, padding .35s ease;
}

.page-faq .faq-a p {
  margin: 0;
}

.page-faq .faq-item[open] .faq-a {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 24px 46px;
  transform: translateY(0);
}

.page-faq .faq-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .page-faq .faq-side-col {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }
}

.page-faq .faq-side-nav {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  box-shadow: var(--shadow-float);
}

.page-faq .faq-side-nav-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  padding: 0 10px;
  margin-bottom: 12px;
}

.page-faq .faq-side-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-faq .faq-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  color: var(--space-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s var(--transition-timing), color .25s var(--transition-timing), transform .25s var(--transition-timing);
}

.page-faq .faq-side-link::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--border-gray);
  border-radius: 2px;
  flex: 0 0 7px;
  transition: background .25s ease, transform .25s ease;
}

.page-faq .faq-side-link:hover {
  background: var(--space-navy);
  color: var(--white);
  transform: translateX(4px);
}

.page-faq .faq-side-link:hover::before {
  background: var(--gold);
  transform: rotate(45deg);
}

.page-faq .faq-contact-card {
  background: linear-gradient(135deg, var(--space-navy) 0%, var(--space-navy-light) 100%);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-faq .faq-contact-card::after {
  content: "7×24";
  position: absolute;
  right: 14px;
  bottom: 6px;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  opacity: .14;
  pointer-events: none;
}

.page-faq .faq-contact-card-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.page-faq .faq-contact-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 20px;
}

.page-faq .faq-news-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 22px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 6px 20px rgba(10, 10, 10, .06);
}

.page-faq .faq-news-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--space-navy);
  margin-bottom: 6px;
}

.page-faq .faq-news-card-desc {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 12px;
}

.page-faq .faq-docs-section {
  background: var(--white);
  padding: 72px 0 80px;
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  .page-faq .faq-docs-section {
    padding: 96px 0;
  }
}

.page-faq .faq-docs-section .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}

.page-faq .faq-docs-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .page-faq .faq-docs-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }
}

.page-faq .faq-docs-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--space-navy);
  margin: 6px 0 0;
}

.page-faq .faq-docs-lead {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.75;
  max-width: 30rem;
  margin: 0;
}

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

@media (min-width: 640px) {
  .page-faq .faq-docs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-docs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-faq .faq-doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.page-faq .faq-doc-card:hover {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 10, 10, .08);
}

.page-faq .faq-doc-code {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--space-navy);
  background: var(--gold);
  border-radius: 6px;
  padding: 4px 8px;
}

.page-faq .faq-doc-name {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  color: var(--space-navy);
}

.page-faq .faq-doc-desc {
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mid-gray);
  min-width: 0;
}

.page-faq .faq-docs-demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-gray);
}

@media (min-width: 768px) {
  .page-faq .faq-docs-demo {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.page-faq .faq-docs-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

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

.page-faq .faq-docs-desc-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--space-navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.page-faq .faq-docs-desc-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--faq-text-secondary);
  margin-bottom: 24px;
}

.page-faq .faq-docs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.page-faq .faq-docs-links .btn-dark {
  background: var(--space-navy);
  color: var(--white);
}

.page-faq .faq-docs-links .btn-dark:hover {
  background: var(--space-navy-light);
  transform: translateY(-2px);
}

.page-faq .faq-contact-section {
  background: linear-gradient(145deg, var(--space-navy) 0%, var(--space-navy-light) 100%);
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.page-faq .faq-contact-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(242, 169, 0, .16) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.page-faq .faq-contact-section .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}

.page-faq .faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .page-faq .faq-contact-grid {
    grid-template-columns: 1.2fr .8fr;
    gap: 64px;
  }
}

.page-faq .faq-contact-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 6px 0 18px;
  color: var(--white);
}

.page-faq .faq-contact-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .65);
  max-width: 32rem;
  margin-bottom: 28px;
}

.page-faq .faq-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.page-faq .faq-contact-label {
  width: 88px;
  flex: 0 0 88px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .04em;
}

.page-faq .faq-contact-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  word-break: break-all;
  cursor: copy;
  transition: color .25s ease;
}

.page-faq .faq-contact-line:hover .faq-contact-value {
  color: var(--gold);
}

.page-faq .faq-copy-hint {
  font-size: 12px;
  line-height: 1;
  color: var(--gold);
  background: var(--faq-gold-soft);
  border: 1px solid rgba(242, 169, 0, .3);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  margin-left: auto;
  transition: background .25s ease;
}

.page-faq .faq-contact-line:hover .faq-copy-hint {
  background: rgba(242, 169, 0, .28);
}

.page-faq .faq-contact-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .page-faq .faq-contact-note {
    padding-left: 100px;
  }
}

.page-faq .faq-contact-copy .btn {
  margin-top: 28px;
}

.page-faq .faq-contact-card-large {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: 32px;
  align-self: center;
  position: relative;
}

.page-faq .faq-contact-large-head {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-faq .faq-contact-large-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

@media (max-width: 640px) {
  .page-faq .faq-contact-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page-faq .faq-copy-hint {
    margin-left: 0;
  }

  .page-faq .faq-contact-card-large {
    padding: 24px;
  }

  .page-faq .faq-contact-large-head {
    font-size: 44px;
  }
}
