.page-faq {
  --faq-line-soft: rgba(39, 67, 95, 0.55);
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 52px;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: -32%;
  right: -12%;
  width: min(660px, 78vw);
  height: min(660px, 78vw);
  background:
    radial-gradient(circle at 32% 32%, rgba(45, 226, 230, 0.2), transparent 62%),
    radial-gradient(circle at 70% 72%, rgba(255, 107, 74, 0.16), transparent 64%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

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

.page-faq .faq-hero .eyebrow {
  margin-top: 24px;
}

.page-faq .faq-hero__title {
  margin: 10px 0 0;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 18ch;
}

.page-faq .faq-hero__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 32px;
}

.page-faq .stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid var(--faq-line-soft);
}

.page-faq .stat__num {
  font-family: var(--mono);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.page-faq .stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.page-faq .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 72px;
}

.page-faq .faq-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-faq .toc {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--panel);
  padding: 14px;
}

.page-faq .toc__title {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-faq .toc__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-faq .toc__list li {
  flex: 0 0 auto;
}

.page-faq .toc__list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-faq .toc__list a:hover {
  color: var(--paper);
  background: rgba(45, 226, 230, 0.08);
}

.page-faq .toc__list a[aria-current="true"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: rgba(45, 226, 230, 0.1);
}

.page-faq .faq-rail__card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, rgba(45, 226, 230, 0.1), rgba(255, 107, 74, 0.08));
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--slate);
}

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

.page-faq .faq-rail__card a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.4);
}

.page-faq .faq-body {
  min-width: 0;
}

.page-faq .faq-block {
  padding-top: 6px;
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}

.page-faq .faq-block:last-of-type {
  margin-bottom: 36px;
}

.page-faq .faq-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

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

.page-faq .faq-head h2 {
  margin: 0;
  font-size: clamp(1.42rem, 2.7vw, 2.05rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-faq .faq-lede {
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--slate);
}

.page-faq .faq-block a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.4);
}

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

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

.page-faq .step {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 74px;
}

.page-faq .step:last-child {
  padding-bottom: 0;
}

.page-faq .step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  background: linear-gradient(150deg, var(--cyan), var(--cyan-soft));
  border-radius: 13px;
  box-shadow: 4px 4px 0 -1px rgba(39, 67, 95, 0.6);
}

.page-faq .step::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 62px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--line), rgba(39, 67, 95, 0));
}

.page-faq .step:last-child::after {
  display: none;
}

.page-faq .step__title {
  margin: 4px 0 8px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.page-faq .step p {
  margin: 0 0 8px;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--slate);
}

.page-faq .step p.step__see {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: rgba(45, 226, 230, 0.07);
  font-size: 0.84rem;
  line-height: 1.65;
}

.page-faq .status-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.page-faq .status-item {
  padding: 14px 16px;
  border-left: 3px solid var(--line);
  border-radius: 0 12px 12px 0;
  background: var(--card);
}

.page-faq .status-item--live {
  border-left-color: var(--amber);
}

.page-faq .status-item--replay {
  border-left-color: var(--cyan);
}

.page-faq .status-item--done {
  border-left-color: var(--mint);
}

.page-faq .status-item h3 {
  margin: 10px 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .status-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-faq .axis-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--panel);
}

.page-faq .axis-note h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .axis-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .axis-note li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-faq .axis-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-faq .axis-note strong {
  color: var(--paper);
  font-weight: 600;
}

.page-faq .combo {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--panel);
}

.page-faq .combo + .combo {
  margin-top: 12px;
}

.page-faq .combo__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.page-faq .combo__op {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--slate);
}

.page-faq .combo__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-faq .combo__desc strong {
  color: var(--paper);
  font-weight: 700;
}

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

.page-faq .device {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
}

.page-faq .device h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.page-faq .device ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .device li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--slate);
}

.page-faq .device li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--coral);
}

.page-faq .checklist-wrap {
  display: grid;
  gap: 20px;
  align-items: start;
}

.page-faq .check-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.page-faq .check-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-faq .check-item:hover {
  border-color: rgba(45, 226, 230, 0.6);
}

.page-faq .check-item__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-faq .check-item__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border: 2px solid var(--faq-line-soft);
  border-radius: 6px;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-faq .check-item__box::after {
  content: "";
  width: 10px;
  height: 5px;
  margin-top: -3px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) scale(0.4);
  opacity: 0;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.page-faq .check-item__input:checked + .check-item__box {
  background: var(--mint);
  border-color: var(--mint);
}

.page-faq .check-item__input:checked + .check-item__box::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.page-faq .check-item__input:focus-visible + .check-item__box {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-faq .check-item__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--slate);
  min-width: 0;
}

.page-faq .check-item__text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .check-item__input:checked ~ .check-item__text strong {
  color: var(--mint);
}

.page-faq .qa-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .qa {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.page-faq .qa[open] {
  border-color: rgba(45, 226, 230, 0.5);
  background: linear-gradient(180deg, rgba(45, 226, 230, 0.07), transparent 62%), var(--panel);
}

.page-faq .qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

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

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

.page-faq .qa__icon::before,
.page-faq .qa__icon::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  border-radius: 2px;
}

.page-faq .qa__icon::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.page-faq .qa__icon::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

.page-faq .qa__a {
  padding: 0 16px 16px;
  font-size: 0.89rem;
  line-height: 1.78;
  color: var(--slate);
}

.page-faq .qa__a p {
  margin: 0 0 8px;
  max-width: 60ch;
}

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

.page-faq .faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(45, 226, 230, 0.12), rgba(255, 107, 74, 0.12));
}

.page-faq .faq-cta__text {
  min-width: 0;
}

.page-faq .faq-cta__title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.page-faq .faq-cta__sub {
  margin: 6px 0 0;
  max-width: 52ch;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-faq .faq-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

  .page-faq .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero {
    padding: 48px 0 64px;
  }

  .page-faq .faq-grid {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 56px;
  }

  .page-faq .faq-rail {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .page-faq .toc__list {
    flex-direction: column;
    overflow: visible;
    gap: 2px;
    margin-top: 12px;
  }

  .page-faq .toc__list a {
    white-space: normal;
    border-bottom: 0;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
  }

  .page-faq .toc__list a[aria-current="true"] {
    border-left-color: var(--cyan);
    border-bottom-color: transparent;
  }

  .page-faq .checklist-wrap {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
  }

  .page-faq .faq-block {
    margin-bottom: 64px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-faq .check-item,
  .page-faq .check-item__box,
  .page-faq .check-item__box::after,
  .page-faq .qa__icon::after,
  .page-faq .toc__list a {
    transition: none;
  }
}
