.page-faq {
  --faq-rail: 272px;
  --faq-gap: clamp(24px, 4vw, 56px);
  --faq-sticky-top: 104px;
  --faq-rail-active: rgba(53, 240, 160, 0.10);
  position: relative;
  display: block;
  overflow-x: clip;
}

/* ---------- Hero ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 60px) clamp(36px, 6vw, 88px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-strong) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(125% 95% at 10% 0%, #000 0%, rgba(0, 0, 0, 0.35) 48%, transparent 84%);
  mask-image: radial-gradient(125% 95% at 10% 0%, #000 0%, rgba(0, 0, 0, 0.35) 48%, transparent 84%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -32%;
  width: 44vw;
  height: 44vw;
  max-width: 560px;
  max-height: 560px;
  background: radial-gradient(circle, rgba(53, 240, 160, 0.14), rgba(53, 240, 160, 0) 68%);
  pointer-events: none;
}

.page-faq .faq-hero .breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(22px, 3.2vw, 40px);
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

@media (min-width: 960px) {
  .page-faq .faq-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
  }
}

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

.page-faq .faq-hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 250;
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 15em;
}

.page-faq .faq-hero-lede {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(22px, 3vw, 46px);
  margin-top: clamp(26px, 3.4vw, 44px);
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
}

.page-faq .faq-stat {
  display: grid;
  gap: 5px;
}

.page-faq .faq-stat-num {
  font-family: var(--font-data);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-faq .faq-stat-num--live {
  color: var(--live);
}

.page-faq .faq-stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-faq .faq-hero-figure {
  margin: 0;
  position: relative;
  min-width: 0;
}

.page-faq .faq-hero-figure .media-frame {
  border: 1px solid var(--line);
  position: relative;
}

.page-faq .faq-hero-figure .media-frame::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 16px;
  height: 16px;
  border-left: 2px solid var(--live);
  border-top: 2px solid var(--live);
  pointer-events: none;
}

.page-faq .media-frame img,
.page-faq .faq-figure .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-faq .faq-hero-caption {
  margin-top: 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- Body layout ---------- */
.page-faq .faq-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--faq-gap);
  padding-block: clamp(34px, 5vw, 64px) clamp(64px, 9vw, 132px);
}

@media (min-width: 1000px) {
  .page-faq .faq-body {
    grid-template-columns: var(--faq-rail) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
  }
}

/* ---------- Rail ---------- */
.page-faq .faq-rail {
  align-self: start;
  min-width: 0;
}

@media (min-width: 1000px) {
  .page-faq .faq-rail {
    position: sticky;
    top: var(--faq-sticky-top);
  }
}

.page-faq .faq-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.page-faq .faq-rail-count {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--disabled);
}

.page-faq .faq-rail-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

@media (min-width: 1000px) {
  .page-faq .faq-rail-list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding-bottom: 0;
  }
}

.page-faq .faq-rail-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

@media (min-width: 1000px) {
  .page-faq .faq-rail-link {
    border-bottom: 0;
    border-left: 2px solid var(--line);
    white-space: normal;
    padding: 11px 14px;
  }
}

.page-faq .faq-rail-num {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--disabled);
  transition: color 0.18s var(--ease);
}

.page-faq .faq-rail-link:hover {
  color: var(--text);
  border-color: var(--blue);
}

.page-faq .faq-rail-link[aria-current="page"] {
  color: var(--text);
  border-color: var(--live);
  background: linear-gradient(90deg, var(--faq-rail-active), rgba(53, 240, 160, 0) 78%);
}

.page-faq .faq-rail-link[aria-current="page"] .faq-rail-num {
  color: var(--live);
}

/* ---------- Stream ---------- */
.page-faq .faq-stream {
  min-width: 0;
}

.page-faq .faq-group {
  scroll-margin-top: calc(var(--faq-sticky-top) + 28px);
}

.page-faq .faq-group + .faq-group {
  margin-top: clamp(48px, 6vw, 88px);
}

.page-faq .faq-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 16px;
  padding-bottom: clamp(14px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(4px, 1vw, 10px);
}

.page-faq .faq-group-num {
  grid-row: 1;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--live);
}

.page-faq .faq-group-head h2 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-faq .faq-group-head p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Fold items ---------- */
.page-faq .faq-item {
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}

.page-faq .faq-item[open] {
  background: linear-gradient(90deg, rgba(53, 240, 160, 0.055), rgba(53, 240, 160, 0) 62%);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 1.8vw, 20px) 4px;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  transition: color 0.18s var(--ease);
}

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

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

.page-faq .faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.24s var(--ease), border-color 0.18s var(--ease);
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 11px;
  border-color: var(--live);
}

.page-faq .faq-item summary:hover {
  color: var(--live);
}

.page-faq .faq-item summary:focus-visible {
  outline: 1px solid var(--blue);
  outline-offset: 2px;
}

.page-faq .faq-answer {
  padding: 0 4px clamp(18px, 2.4vw, 26px);
  max-width: 36em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

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

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

.page-faq .faq-answer a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s var(--ease);
}

.page-faq .faq-answer a:hover {
  color: var(--live);
}

/* ---------- Inline figure ---------- */
.page-faq .faq-figure {
  margin: clamp(20px, 3vw, 32px) 0 clamp(8px, 1.2vw, 14px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
}

@media (min-width: 720px) {
  .page-faq .faq-figure {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: clamp(20px, 3vw, 34px);
  }
}

.page-faq .faq-figure .media-frame {
  border: 1px solid var(--line);
}

.page-faq .faq-figure figcaption {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 2px solid var(--blue);
  padding-left: 14px;
}

/* ---------- Reveal fallback ---------- */
.page-faq [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.page-faq [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-faq [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-faq .faq-item summary::after,
  .page-faq .faq-rail-link,
  .page-faq .faq-item {
    transition: none;
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .page-faq .faq-hero-stats {
    gap: 16px 26px;
  }

  .page-faq .faq-group-head {
    gap: 6px 12px;
  }

  .page-faq .faq-hero-caption {
    letter-spacing: 0.08em;
  }
}
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
