.page-faq {
  --faq-toc-w: 280px;
  --faq-green-soft: rgba(0, 255, 136, 0.06);
  background:
    radial-gradient(1200px 480px at 85% -5%, rgba(0, 255, 136, 0.12), transparent 60%),
    radial-gradient(800px 320px at 12% 30%, rgba(0, 191, 255, 0.1), transparent 60%),
    var(--ink);
  color: var(--text);
  min-height: 100%;
}

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

.page-faq a {
  color: var(--accent);
  text-decoration: none;
}

.page-faq a:hover {
  text-decoration: underline;
}

.page-faq [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

.page-faq .faq-hero__stripe {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 340px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.18), rgba(0, 191, 255, 0.06));
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  padding-bottom: 12px;
}

.page-faq .faq-hero__kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-faq .faq-hero__title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.page-faq .faq-hero__lead {
  max-width: 540px;
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-faq .faq-hero__media {
  margin-top: 28px;
  margin-left: -2%;
  width: 104%;
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--line);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4);
  transform: skewY(-1.6deg) scale(1.01);
}

.page-faq .faq-layout {
  display: block;
  padding-top: 48px;
  padding-bottom: 80px;
}

.page-faq .faq-toc {
  margin-bottom: 32px;
}

.page-faq .faq-toc__panel {
  background: var(--ink-2);
  border: 3px solid var(--line);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
  padding: 24px 20px;
}

.page-faq .faq-toc__kicker {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-faq .faq-toc__title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 6px 0 0;
}

.page-faq .faq-toc__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-faq .faq-toc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.page-faq .faq-toc__link:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.page-faq .faq-toc__link[aria-current="true"],
.page-faq .faq-toc__link.is-active {
  border-left-color: var(--accent);
  color: var(--text);
  background: var(--faq-green-soft);
}

.page-faq .faq-toc__index {
  font: 900 0.85rem/1 "Poppins", "Noto Sans SC", sans-serif;
  color: var(--accent-2);
}

.page-faq .faq-toc__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.page-faq .faq-toc__note p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 12px;
}

.page-faq .faq-toc__note .btn {
  width: 100%;
  justify-content: center;
}

.page-faq .faq-toc__privacy {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.page-faq .faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px;
  margin-bottom: 36px;
  border: 2px solid var(--line);
  background: var(--ink-2);
}

.page-faq .faq-filter__label {
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-faq .filter-trigger {
  border: 2px solid transparent;
  background: var(--surface);
  color: var(--text-dim);
  padding: 8px 16px;
  font: 600 0.92rem/1 "Noto Sans SC", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-faq .filter-trigger:hover {
  color: var(--text);
  border-color: var(--line);
}

.page-faq .filter-trigger[aria-pressed="true"] {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

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

.page-faq .faq-section {
  margin-bottom: 56px;
}

.page-faq .faq-section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.page-faq .faq-section__num {
  font: 900 2.2rem/1 "Poppins", "Noto Sans SC", sans-serif;
  color: var(--accent-2);
}

.page-faq .faq-section__title {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
}

.page-faq .faq-section__desc {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.page-faq .faq-item {
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 255, 136, 0.6);
  box-shadow: 7px 7px 0 rgba(0, 255, 136, 0.05);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s;
}

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

.page-faq .faq-item summary:hover {
  background: rgba(0, 255, 136, 0.04);
}

.page-faq .faq-item__num {
  font: 900 0.9rem/1 "Poppins", "Noto Sans SC", sans-serif;
  color: var(--accent);
  flex: 0 0 auto;
}

.page-faq .faq-item__text {
  flex: 1;
}

.page-faq .faq-item__icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
  position: relative;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--accent-2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-faq .faq-item__icon::before {
  width: 10px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item__icon::after {
  width: 2px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item[open] .faq-item__icon {
  border-color: var(--accent);
}

.page-faq .faq-item[open] .faq-item__icon::before,
.page-faq .faq-item[open] .faq-item__icon::after {
  background: var(--accent);
}

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

.page-faq .faq-item__body {
  padding: 0 16px 18px 62px;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.page-faq .faq-item__body p:first-child {
  margin-top: 0;
}

.page-faq .faq-steps {
  margin: 12px 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.page-faq .faq-tip {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--warn);
  background: rgba(255, 209, 102, 0.06);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-faq .faq-tip strong {
  color: var(--warn);
}

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

.page-faq .faq-mobile-grid {
  display: grid;
  gap: 24px;
}

.page-faq .faq-mobile-media {
  margin: 0;
}

.page-faq .faq-mobile-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.page-faq .faq-mobile-media figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (min-width: 720px) {
  .page-faq .faq-mobile-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-faq .faq-hero__title {
    font-size: clamp(3rem, 6vw, 4.6rem);
  }
}

@media (min-width: 1020px) {
  .page-faq .faq-layout {
    display: grid;
    grid-template-columns: var(--faq-toc-w) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-faq .faq-hero__inner {
    padding-bottom: 20px;
  }

  .page-faq .faq-hero__media {
    margin-top: 36px;
  }

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