.page-faq {
  --faq-sidebar-w: 280px;
  --faq-hero-max: calc(var(--content-max) + 320px);
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 20px 48px;
  color: var(--white-100);
  background-color: var(--black-900);
  background-image: linear-gradient(120deg, rgba(255, 77, 0, 0.18) 0%, transparent 42%, rgba(0, 194, 255, 0.1) 100%);
  border-bottom: 4px solid var(--orange-500);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -140px;
  width: 380px;
  height: 100%;
  background: var(--orange-500);
  opacity: 0.14;
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-75deg, transparent 0 26px, rgba(255, 255, 255, 0.03) 26px 28px);
  pointer-events: none;
}

.page-faq .faq-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--faq-hero-max);
  margin: 0 auto;
}

.page-faq .faq-hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-faq .faq-hero-mark {
  position: absolute;
  right: 12px;
  bottom: -52px;
  z-index: 0;
  font-family: var(--font-heading);
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 77, 0, 0.1);
  pointer-events: none;
}

.page-faq .breadcrumb {
  margin: 0 0 24px;
  padding: 0;
}

.page-faq .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}

.page-faq .breadcrumb a {
  color: var(--orange-300);
  text-decoration: none;
}

.page-faq .breadcrumb a:hover {
  text-decoration: underline;
}

.page-faq .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.25);
}

.page-faq .breadcrumb li:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.page-faq .faq-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-300);
}

.page-faq .faq-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--orange-500);
}

.page-faq .faq-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
}

.page-faq .faq-hero h1 em {
  font-style: italic;
  color: var(--orange-500);
}

.page-faq .faq-hero-desc {
  max-width: 42em;
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(242, 244, 247, 0.8);
}

.page-faq .faq-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-hero-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 138, 92, 0.4);
  transform: rotate(0.6deg);
}

.page-faq .faq-hero-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--faq-hero-max);
  margin: 0 auto;
}

.page-faq .faq-sidebar {
  position: relative;
  padding: 32px 24px;
  background: var(--black-900);
  color: var(--white-100);
}

.page-faq .faq-sidebar-title {
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange-300);
}

.page-faq .faq-nav {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-faq .faq-nav::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-nav a {
  display: block;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  color: rgba(242, 244, 247, 0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.page-faq .faq-nav a:hover {
  color: var(--orange-300);
}

.page-faq .faq-nav a[aria-current="true"] {
  background: rgba(255, 77, 0, 0.18);
  border-bottom-color: var(--orange-500);
  color: var(--white-100);
}

.page-faq .faq-sidebar-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(242, 244, 247, 0.55);
}

.page-faq .faq-sidebar-external {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(242, 244, 247, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.page-faq .faq-sidebar-external:hover {
  color: var(--orange-300);
}

.page-faq .faq-sidebar-vline {
  position: absolute;
  top: 26px;
  right: 12px;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.page-faq .faq-main {
  padding: 32px 20px;
  background: var(--white-100);
}

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

.page-faq .faq-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.page-faq .faq-section-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange-500);
}

.page-faq .faq-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.page-faq .faq-section-head p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.page-faq .faq-list {
  border-top: 2px solid var(--black-900);
}

.page-faq .faq-item {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.page-faq .faq-item summary {
  position: relative;
  display: block;
  padding: 20px 52px 20px 16px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

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

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

.page-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--orange-500);
  border-radius: 50%;
  background: #fff;
  color: var(--orange-500);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  background: var(--orange-500);
  color: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.page-faq .faq-answer {
  padding: 0 16px 24px 48px;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-dark);
  animation: pageFaqFade 0.25s ease;
}

.page-faq .faq-answer strong {
  color: var(--orange-500);
  font-weight: 700;
}

.page-faq .faq-answer a {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-platform-note {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--orange-500);
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.08), rgba(0, 194, 255, 0.04));
}

.page-faq .faq-platform-note h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.page-faq .faq-platform-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.page-faq .faq-contact-panel {
  position: relative;
  overflow: hidden;
  padding: 48px 20px;
  background: var(--black-900);
  color: var(--white-100);
}

.page-faq .faq-contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 77, 0, 0.2), transparent 52%),
    repeating-linear-gradient(-45deg, transparent 0 20px, rgba(255, 255, 255, 0.03) 20px 21px);
  pointer-events: none;
}

.page-faq .faq-contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  max-width: var(--faq-hero-max);
  margin: 0 auto;
}

.page-faq .faq-contact-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-300);
}

.page-faq .faq-contact-copy h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

.page-faq .faq-contact-copy p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: rgba(242, 244, 247, 0.8);
}

.page-faq .faq-contact-copy .faq-contact-time {
  color: rgba(242, 244, 247, 0.55);
  font-size: 0.85rem;
}

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

.page-faq .faq-contact-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 138, 92, 0.3);
  transform: rotate(-0.8deg);
}

.page-faq .faq-contact-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 4%, 100% 0, 96% 100%, 0 100%);
}

@keyframes pageFaqFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 44px 48px 56px;
  }

  .page-faq .faq-hero-mark {
    display: block;
  }

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

  .page-faq .faq-hero-figure {
    margin-right: 24px;
  }

  .page-faq .faq-layout {
    grid-template-columns: var(--faq-sidebar-w) 1fr;
  }

  .page-faq .faq-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .page-faq .faq-nav {
    display: block;
    margin-top: 16px;
    overflow: visible;
  }

  .page-faq .faq-nav a {
    padding: 12px 16px;
    margin-bottom: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    border-radius: 0;
    font-size: 0.9rem;
    white-space: normal;
  }

  .page-faq .faq-nav a[aria-current="true"] {
    background: rgba(255, 77, 0, 0.18);
    border-left-color: var(--orange-500);
    border-bottom: none;
  }

  .page-faq .faq-main {
    padding: 48px 56px;
  }

  .page-faq .faq-section-head h2 {
    font-size: 1.5rem;
  }

  .page-faq .faq-item summary {
    font-size: 1.02rem;
  }

  .page-faq .faq-contact-panel {
    padding: 60px 48px;
  }

  .page-faq .faq-contact-inner {
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-answer,
  .page-faq .faq-item summary,
  .page-faq .faq-item summary::after {
    transition: none;
    animation: none;
  }
}
