.page-faq {
  --faq-cut: 10px;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Hero ------------------------------------------------------------------ */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-faq .faq-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(6, 19, 33, 0.94) 0%, rgba(6, 19, 33, 0.78) 55%, rgba(11, 34, 51, 0.72) 100%);
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
}

.page-faq .faq-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-faq .faq-sep {
  opacity: 0.5;
}

.page-faq .faq-hero__title {
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 14px 0 22px;
  max-width: 14ch;
  color: var(--paper);
}

.page-faq .faq-hero__lede {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-2);
}

/* Sticky category bar --------------------------------------------------- */
.page-faq .faq-controls {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 34, 51, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-faq .faq-controls__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.page-faq .faq-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.page-faq .faq-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-2);
  background: var(--steel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  transition: color 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.page-faq .faq-tab:hover {
  color: var(--cyan);
  background: var(--steel-2);
  border-left-color: var(--cyan);
}

.page-faq .faq-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Category sections ----------------------------------------------------- */
.page-faq .faq-list {
  padding-bottom: 8px;
}

.page-faq .faq-cat {
  scroll-margin-top: 128px;
  padding: 56px 0 8px;
}

.page-faq .faq-cat__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.page-faq .faq-cat__idx {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--clay);
}

.page-faq .faq-cat__title {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

/* Q&A items ------------------------------------------------------------- */
.page-faq .qa {
  border-bottom: 1px solid var(--line);
  transition: background-color 260ms var(--ease);
}

.page-faq .qa[open] {
  background: var(--steel);
}

.page-faq .qa__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  padding: 18px 8px;
  cursor: pointer;
  list-style: none;
  transition: color 200ms var(--ease);
}

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

.page-faq .qa__summary::marker {
  display: none;
  content: "";
}

.page-faq .qa__summary:hover .qa__q {
  color: var(--cyan);
}

.page-faq .qa__summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-faq .qa__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: var(--steel-2);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.page-faq .qa__q {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  transition: color 200ms var(--ease);
}

.page-faq .qa__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.page-faq .qa__icon::before,
.page-faq .qa__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--cyan);
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}

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

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

.page-faq .qa[open] .qa__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.page-faq .qa__body {
  position: relative;
  padding: 0 8px 24px 60px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}

.page-faq .qa__body::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 4px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(53, 224, 208, 0) 100%);
}

.page-faq .qa__body p {
  margin: 0;
  max-width: 68ch;
}

.page-faq .qa__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-faq .qa__body a:hover {
  color: var(--cyan-soft);
}

.page-faq .qa__body a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Inline figure -------------------------------------------------------- */
.page-faq .faq-figure {
  margin: 56px 0 0;
}

/* Help panel ----------------------------------------------------------- */
.page-faq .faq-help {
  padding: 64px 0 96px;
}

.page-faq .faq-help__panel {
  padding: 36px 28px;
}

.page-faq .faq-help__title {
  margin: 12px 0 14px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.25;
  color: var(--paper);
}

.page-faq .faq-help__text {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}

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

/* Tablet and up -------------------------------------------------------- */
@media (min-width: 640px) {
  .page-faq .faq-hero {
    padding: 96px 0 80px;
  }

  .page-faq .faq-tab {
    padding: 8px 20px;
    font-size: 14px;
  }

  .page-faq .qa__q {
    font-size: 17px;
  }

  .page-faq .qa__summary {
    padding: 20px 12px;
  }

  .page-faq .qa__body {
    padding: 0 12px 26px 64px;
  }

  .page-faq .qa__body::before {
    left: 28px;
  }

  .page-faq .faq-help__panel {
    padding: 48px 44px;
  }
}

/* Desktop -------------------------------------------------------------- */
@media (min-width: 960px) {
  .page-faq .faq-cat:nth-of-type(even) .faq-cat__head {
    padding-left: 48px;
  }

  .page-faq .faq-list {
    padding-bottom: 16px;
  }

  .page-faq .faq-cat {
    padding-top: 72px;
  }

  .page-faq .faq-figure {
    margin-top: 72px;
  }

  .page-faq .faq-help {
    padding: 88px 0 120px;
  }
}

/* Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .page-faq .qa,
  .page-faq .qa__summary,
  .page-faq .qa__q,
  .page-faq .qa__icon::before,
  .page-faq .qa__icon::after,
  .page-faq .faq-tab {
    transition: none;
  }
}
<<<END>>>
