.page-faq {
  --faq-line: rgba(58, 74, 107, 0.45);
  --faq-line-soft: rgba(58, 74, 107, 0.26);
  --faq-cream-line: rgba(36, 28, 24, 0.16);
  color: var(--ink);
}

.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.page-faq section {
  margin-top: clamp(46px, 7vw, 92px);
}

.page-faq h1 {
  margin: 12px 0 18px;
  font-size: clamp(30px, 6.2vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-faq h2 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.page-faq h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.page-faq .faq-hero {
  margin-top: clamp(16px, 3vw, 30px);
}

.faq-frame {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4.4vw, 48px);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(122, 92, 255, 0.16), transparent 58%),
    linear-gradient(155deg, rgba(15, 23, 51, 0.94), rgba(7, 11, 28, 0.74));
}

.faq-frame::before,
.faq-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background-image: repeating-linear-gradient(to right, rgba(58, 74, 107, 0.85) 0 1px, transparent 1px 26px);
}

.faq-frame::before {
  top: 0;
}

.faq-frame::after {
  bottom: 0;
  opacity: 0.7;
  background-image: repeating-linear-gradient(to right, rgba(33, 230, 210, 0.35) 0 1px, transparent 1px 46px);
}

.faq-frame .eyebrow {
  margin: 0;
}

.faq-lead {
  max-width: 40em;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-dim);
}

.faq-stats {
  list-style: none;
  display: grid;
  gap: 14px 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
}

.faq-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--steel);
}

.faq-stats li:nth-child(1) {
  border-left-color: var(--orange);
}

.faq-stats li:nth-child(2) {
  border-left-color: var(--cyan);
}

.faq-stats li:nth-child(3) {
  border-left-color: var(--violet);
}

.faq-stats li:nth-child(4) {
  border-left-color: var(--mint);
}

.faq-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: var(--cream-warm);
  letter-spacing: 0.02em;
}

.faq-stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.faq-sec-head {
  max-width: 46em;
  margin-bottom: clamp(22px, 3.6vw, 38px);
}

.faq-sec-head p {
  margin: 0;
  line-height: 1.85;
  color: var(--ink-dim);
}

.page-faq .faq-sec-head .index-num {
  display: block;
  margin-bottom: 6px;
}

.faq-cats-layout {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.faq-tree {
  margin: 0;
}

.faq-tree img {
  width: 100%;
  border: 1px solid var(--faq-line-soft);
  border-radius: var(--radius);
}

.faq-tree figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

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

.faq-cat-card {
  padding: 16px 18px;
  border-left: 2px solid var(--steel);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(120deg, rgba(15, 23, 51, 0.72), rgba(7, 11, 28, 0.34));
}

.faq-cat-card:nth-child(1) {
  border-left-color: var(--orange);
}

.faq-cat-card:nth-child(2) {
  border-left-color: var(--cyan);
}

.faq-cat-card:nth-child(3) {
  border-left-color: var(--violet);
}

.faq-cat-card:nth-child(4) {
  border-left-color: var(--mint);
}

.faq-cat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.faq-cat-card p {
  margin: 8px 0 12px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-dim);
}

.faq-cat-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.faq-shell {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.faq-index {
  padding: 18px 16px;
  border: 1px solid var(--faq-line-soft);
  border-radius: var(--radius);
  background: var(--glass);
}

.faq-index-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.faq-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.faq-index-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  border-left: 2px solid var(--steel);
  border-radius: 0 6px 6px 0;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.faq-index-list a:hover,
.faq-index-list a:focus-visible {
  border-left-color: var(--orange);
  background: rgba(33, 230, 210, 0.08);
}

.faq-index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.faq-index-label {
  font-size: 15px;
  font-weight: 600;
}

.faq-index-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}

.faq-index-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-faint);
}

.faq-body {
  display: grid;
  gap: clamp(34px, 5vw, 60px);
}

.faq-group-head {
  max-width: 44em;
  margin-bottom: 10px;
}

.faq-group-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-dim);
}

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

.faq-item > summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

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

.faq-item > summary:hover .faq-q,
.faq-item > summary:focus-visible .faq-q {
  color: var(--cyan);
}

.faq-num {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.faq-item[open] > summary .faq-num {
  color: var(--orange);
}

.faq-q {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.faq-item > summary .tag {
  flex: 0 0 auto;
}

.faq-answer {
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--brown);
}

.faq-answer-meta {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.faq-answer p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.85;
}

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

.faq-answer a {
  color: #B4551C;
  text-decoration: underline;
}

.faq-steps {
  list-style: none;
  counter-reset: faq-step;
  margin: 14px 0 0;
  padding: 0;
}

.faq-steps li {
  position: relative;
  counter-increment: faq-step;
  padding: 0 0 16px 36px;
  font-size: 15px;
  line-height: 1.85;
}

.faq-steps li:last-child {
  padding-bottom: 0;
}

.faq-steps li::before {
  content: counter(faq-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #B4551C;
  border: 1px solid rgba(255, 122, 47, 0.55);
  border-radius: 4px;
}

.faq-steps li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 2px;
  width: 1px;
  background: var(--faq-cream-line);
}

.faq-steps li:last-child::after {
  display: none;
}

.faq-flow-media {
  margin: 0 0 clamp(20px, 3vw, 34px);
  border: 1px solid var(--faq-line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-flow-media img {
  width: 100%;
}

.faq-flow-list {
  list-style: none;
  counter-reset: flow-step;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.faq-flow-list li {
  counter-increment: flow-step;
  padding-top: 14px;
  border-top: 2px solid var(--cyan);
}

.faq-flow-list li:nth-child(2) {
  border-top-color: var(--violet);
}

.faq-flow-list li:nth-child(3) {
  border-top-color: var(--orange);
}

.faq-flow-list li:nth-child(4) {
  border-top-color: var(--mint);
}

.faq-flow-list li::before {
  content: "0" counter(flow-step);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.faq-flow-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.faq-flow-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-dim);
}

.faq-channels {
  display: grid;
  gap: 14px;
}

.faq-channel {
  padding: 20px;
  border: 1px solid var(--faq-line-soft);
  border-radius: var(--radius);
  background: var(--glass);
}

.faq-channel-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.faq-channel p {
  margin: 8px 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-dim);
}

.faq-channel-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--cyan);
  word-break: break-all;
}

.faq-channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 230, 210, 0.5);
}

.faq-help-foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-dim);
}

@media (min-width: 620px) {
  .faq-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .faq-flow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .faq-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 940px) {
  .faq-cats-layout {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .faq-cat-card {
    padding: 18px 20px;
  }
}

@media (min-width: 1000px) {
  .faq-shell {
    grid-template-columns: minmax(208px, 3fr) 9fr;
    align-items: start;
  }

  .faq-index {
    position: sticky;
    top: calc(var(--header-h) + 18px);
  }

  .faq-lead {
    font-size: 17px;
  }
}
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
<<<END>>>
