.page-faq {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.page-faq .faq-top {
  background:
    radial-gradient(circle at 88% 20%, rgba(163, 230, 53, 0.14) 0, transparent 280px),
    linear-gradient(135deg, #242424 0%, var(--space) 68%);
  color: var(--paper);
  padding: 44px 20px 56px;
  position: relative;
}

.page-faq .faq-top::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 46%;
  background:
    linear-gradient(135deg, transparent 60%, rgba(0, 229, 255, 0.08) 60%),
    linear-gradient(180deg, transparent 55%, rgba(163, 230, 53, 0.12) 55%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-top-shell {
  max-width: var(--shell-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.page-faq .faq-top .breadcrumbs a,
.page-faq .faq-top .breadcrumbs span {
  color: rgba(245, 240, 232, 0.76);
  font-size: 14px;
  text-decoration: none;
}

.page-faq .faq-top .breadcrumbs a:hover {
  color: var(--green);
}

.page-faq .breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
}

.page-faq .breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  opacity: 0.48;
}

.page-faq .faq-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-faq .faq-top-grid {
  display: grid;
  gap: 28px;
}

.page-faq .faq-top-main h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-faq .faq-top-main h1 span {
  display: block;
  color: var(--blue);
}

.page-faq .faq-lead {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.82);
}

.page-faq .faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-faq .faq-ghost-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 229, 255, 0.4);
  padding-bottom: 2px;
}

.page-faq .faq-top-panel {
  display: grid;
  gap: 22px;
  align-content: end;
}

.page-faq .faq-top-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-faq .faq-stat {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(245, 240, 232, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(163, 230, 53, 0.28);
  padding: 10px 14px;
  border-radius: 99px;
}

.page-faq .faq-stat strong {
  color: var(--green);
  font-weight: 700;
  margin-right: 4px;
}

.page-faq .faq-pathline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-faq .faq-path-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.page-faq .faq-path-dot.is-green {
  background: var(--green);
}

.page-faq .faq-path-dot.is-blue {
  background: var(--blue);
}

.page-faq .faq-path-line {
  height: 2px;
  flex: 1;
  background: rgba(245, 240, 232, 0.28);
}

.page-faq .faq-shell {
  max-width: var(--shell-w);
  margin-inline: auto;
  display: grid;
  gap: 30px;
  padding: 40px 20px 72px;
}

.page-faq .faq-rail {
  background: var(--white);
  border: 1px solid var(--divider);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 20px 18px;
}

.page-faq .faq-rail-title {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gray);
}

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

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

.page-faq .faq-rail a {
  white-space: nowrap;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--divider);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.page-faq .faq-rail a:hover,
.page-faq .faq-rail a:focus {
  border-color: var(--green);
  color: var(--green);
}

.page-faq .faq-rail-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray);
}

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

.page-faq .faq-block {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--divider);
  scroll-margin-top: 24px;
}

.page-faq .faq-block:last-of-type {
  border-bottom: 0;
}

.page-faq .faq-block:target {
  animation: page-faq-glow 1.6s var(--ease) 1;
}

@keyframes page-faq-glow {
  0% {
    box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.28);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
  }
}

.page-faq .faq-section-no {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--green);
  margin: 0 0 8px;
}

.page-faq .faq-section-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
}

.page-faq .faq-section-desc {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-hot-grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.page-faq .faq-flow-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--divider);
  background: var(--white);
  padding: 10px;
}

.page-faq .faq-flow-figure img,
.page-faq .faq-contact-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.page-faq .faq-flow-figure figcaption,
.page-faq .faq-contact-figure figcaption {
  padding: 12px 6px 2px;
  font-size: 13px;
  color: var(--gray);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.page-faq .faq-list {
  counter-reset: faq-index;
  display: grid;
  gap: 12px;
}

.page-faq .faq-item {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-faq .faq-item[open] {
  border-color: rgba(163, 230, 53, 0.55);
  box-shadow: -3px 3px 0 rgba(163, 230, 53, 0.2);
}

.page-faq .faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}

.page-faq .faq-item[open]::before {
  transform: scaleY(1);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 18px 40px 18px 54px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

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

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

.page-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}

.page-faq .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-faq .faq-list > .faq-item summary::before,
.page-faq .faq-cat-list > .faq-item summary::before {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.page-faq .faq-list > .faq-item summary::before {
  counter-increment: faq-index;
  content: counter(faq-index, decimal-leading-zero);
  background: var(--green);
}

.page-faq .faq-item .faq-item-body {
  margin: 4px 16px 16px 54px;
  padding: 14px 16px 14px 4px;
  border-top: 1px dashed #d4cdbd;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
}

.page-faq .faq-item .faq-item-body p:first-child,
.page-faq .faq-item .faq-item-body p:last-child {
  margin: 0;
}

.page-faq .faq-cat-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.page-faq .faq-cat-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 24px 20px;
  scroll-margin-top: 24px;
  position: relative;
}

.page-faq .faq-cat-card:target {
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.22);
  border-color: var(--blue);
}

.page-faq .faq-cat-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-faq .faq-cat-card h3::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--green);
  transform: rotate(45deg);
  flex: none;
}

.page-faq .faq-cat-list {
  counter-reset: faq-cat-index;
  display: grid;
  gap: 10px;
}

.page-faq .faq-cat-list > .faq-item summary::before {
  counter-increment: faq-cat-index;
  content: counter(faq-cat-index, decimal-leading-zero);
  background: var(--blue);
}

.page-faq .faq-contact-block {
  background: var(--space);
  border-radius: 16px;
  padding: 34px 24px;
  margin-top: 12px;
}

.page-faq .faq-contact-block .faq-section-head h2 {
  color: var(--paper);
}

.page-faq .faq-contact-block .faq-section-desc {
  color: rgba(245, 240, 232, 0.76);
}

.page-faq .faq-contact-figure {
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(163, 230, 53, 0.25);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.page-faq .faq-contact-figure figcaption {
  color: rgba(245, 240, 232, 0.65);
}

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

.page-faq .faq-contact-card {
  display: block;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.page-faq .faq-contact-card:nth-child(2) {
  border-left-color: var(--blue);
}

.page-faq .faq-contact-card:nth-child(3) {
  border-left-color: var(--green);
}

.page-faq .faq-contact-card:hover {
  transform: translateX(4px);
  border-color: var(--green);
}

.page-faq .faq-contact-index {
  font-family: var(--mono);
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.page-faq .faq-contact-card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.page-faq .faq-contact-card p {
  margin: 0;
  color: rgba(245, 240, 232, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-contact-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.7);
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 16px;
}

@media (min-width: 1024px) {
  .page-faq .faq-top {
    padding: 64px 40px 72px;
  }

  .page-faq .faq-top-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: end;
  }

  .page-faq .faq-eyebrow {
    margin-bottom: 20px;
  }

  .page-faq .faq-top-main h1 {
    font-size: 64px;
  }

  .page-faq .faq-lead {
    font-size: 18px;
  }

  .page-faq .faq-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    padding: 56px 0 96px;
  }

  .page-faq .faq-rail {
    position: sticky;
    top: 96px;
    align-self: start;
    background: var(--space);
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--green);
  }

  .page-faq .faq-rail-title {
    color: var(--green);
  }

  .page-faq .faq-rail ol {
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }

  .page-faq .faq-rail a {
    background: transparent;
    border: 0;
    color: rgba(245, 240, 232, 0.78);
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 13px 2px;
    display: flex;
    justify-content: space-between;
    white-space: normal;
  }

  .page-faq .faq-rail a:hover {
    background: rgba(163, 230, 53, 0.08);
    color: var(--green);
    border-bottom-color: var(--green);
  }

  .page-faq .faq-rail-note {
    color: rgba(245, 240, 232, 0.56);
  }

  .page-faq .faq-hot-grid {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }

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

  .page-faq .faq-contact-block {
    padding: 48px 40px;
  }

  .page-faq .faq-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
