.page-faq {
  --faq-gap: 48px;
  position: relative;
  padding-bottom: 96px;
}

.page-faq .page-head--faq {
  display: grid;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 40px;
}

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

.page-faq .page-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--paper);
  margin: 8px 0 16px;
}

.page-faq .page-title-sub {
  display: block;
  color: var(--green-lime);
  font-size: 1.05rem;
  line-height: 1.4;
  margin-top: 8px;
}

.page-faq .page-desc {
  color: rgba(245, 241, 232, 0.76);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 36em;
  margin-bottom: 20px;
}

.page-faq .faq-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.page-faq .tag-label--link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1;
  color: var(--green-lime);
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid rgba(198, 255, 0, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-faq .tag-label--link:hover,
.page-faq .tag-label--link:focus-visible {
  background: var(--green-lime);
  color: var(--ink);
  border-color: var(--green-lime);
  outline: none;
}

.page-faq .page-head-media {
  min-width: 0;
}

.page-faq .img-frame--faq {
  background: var(--blue-dark);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-cut);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  overflow: hidden;
}

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

.page-faq .faq-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

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

.page-faq .faq-rail-card {
  background: linear-gradient(160deg, rgba(0, 58, 74, 0.55), rgba(11, 61, 46, 0.92));
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 18px 16px;
}

.page-faq .faq-rail-card .panel-title {
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.page-faq .faq-rail-list {
  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-list::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-rail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.page-faq .faq-rail-link span {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-lime);
}

.page-faq .faq-rail-link:hover,
.page-faq .faq-rail-link:focus-visible {
  color: var(--green-lime);
  border-color: var(--green-lime);
  outline: none;
}

.page-faq .faq-rail-help {
  margin-top: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(26, 92, 71, 0.5);
}

.page-faq .faq-rail-help .panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.page-faq .faq-rail-help p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(11, 11, 15, 0.75);
  margin: 0;
}

.page-faq .faq-rail-help a {
  color: var(--green-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-rail-help a:hover {
  color: var(--ink);
}

.page-faq .faq-main {
  display: grid;
  gap: var(--faq-gap);
  min-width: 0;
}

.page-faq .faq-section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.page-faq .faq-section .section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.page-faq .faq-section .section-index {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-lime);
}

.page-faq .faq-section .section-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
}

.page-faq .faq-section .section-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

.page-faq .faq-section--dark {
  padding: 24px 0 8px;
}

.page-faq .faq-section--dark .section-title {
  color: var(--paper);
}

.page-faq .faq-section--dark .section-desc {
  color: rgba(245, 241, 232, 0.62);
}

.page-faq .faq-section--paper {
  background: var(--paper);
  border-radius: var(--radius-cut);
  padding: 28px 20px;
}

.page-faq .faq-section--paper .section-title {
  color: var(--ink);
}

.page-faq .faq-section--paper .section-desc {
  color: rgba(11, 11, 15, 0.68);
}

.page-faq .faq-section--paper .section-index {
  color: var(--green-mid);
}

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

.page-faq .faq-item {
  background: rgba(0, 58, 74, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.page-faq .faq-item[open] {
  border-color: rgba(198, 255, 0, 0.55);
}

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--green-lime);
  outline-offset: -2px;
}

.page-faq .faq-item[open] summary {
  border-bottom: 1px dashed rgba(198, 255, 0, 0.2);
}

.page-faq .faq-num {
  flex: none;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--green-lime);
  padding: 5px 10px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
}

.page-faq .faq-question {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper);
}

.page-faq .faq-toggle {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
}

.page-faq .faq-toggle::before,
.page-faq .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--green-lime);
  transition: transform 0.2s;
}

.page-faq .faq-toggle::before {
  left: 5px;
  right: 5px;
  top: 13px;
  height: 2px;
}

.page-faq .faq-toggle::after {
  top: 5px;
  bottom: 5px;
  left: 13px;
  width: 2px;
}

.page-faq .faq-item[open] .faq-toggle::after {
  transform: scaleY(0);
}

.page-faq .faq-answer {
  padding: 14px 14px 18px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.86rem;
  line-height: 1.8;
}

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

.page-faq .faq-answer a {
  color: var(--green-lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-answer a:hover {
  color: var(--paper);
}

.page-faq .faq-item[open] .faq-answer {
  animation: faq-fade-in 0.25s ease both;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq .faq-section--paper .faq-item {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(11, 11, 15, 0.14);
}

.page-faq .faq-section--paper .faq-item[open] {
  border-color: var(--green-mid);
}

.page-faq .faq-section--paper .faq-item[open] summary {
  border-bottom-color: rgba(11, 11, 15, 0.15);
}

.page-faq .faq-section--paper .faq-question {
  color: var(--ink);
}

.page-faq .faq-section--paper .faq-answer {
  color: rgba(11, 11, 15, 0.76);
}

.page-faq .faq-section--paper .faq-answer a {
  color: var(--green-mid);
}

.page-faq .faq-section--paper .faq-answer a:hover {
  color: var(--ink);
}

.page-faq .faq-section--paper .faq-toggle::before,
.page-faq .faq-section--paper .faq-toggle::after {
  background: var(--green-mid);
}

.page-faq .faq-gesture {
  display: grid;
  gap: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px);
  padding-top: 16px;
}

.page-faq .faq-gesture .section-index {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-lime);
}

.page-faq .faq-gesture .section-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--paper);
  margin: 10px 0 6px;
}

.page-faq .faq-gesture .section-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.7);
  max-width: 34em;
  margin: 0;
}

.page-faq .faq-gesture-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-faq .faq-gesture-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 0.82rem;
  line-height: 1.4;
  border: 1px dashed rgba(198, 255, 0, 0.32);
  border-radius: 10px;
  padding: 10px 12px;
}

.page-faq .faq-gesture-list .data-chip {
  background: var(--green-lime);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-faq .faq-gesture-figure {
  margin: 0;
}

.page-faq .img-frame--gesture {
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-dark);
}

.page-faq .faq-gesture-figure figcaption {
  color: rgba(245, 241, 232, 0.55);
  font-size: 0.78rem;
  margin-top: 8px;
  text-align: center;
}

.page-faq .faq-more {
  padding-top: 16px;
}

.page-faq .faq-more .section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.page-faq .faq-more .section-index {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-lime);
}

.page-faq .faq-more .section-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--paper);
  margin: 0;
}

.page-faq .faq-more-grid {
  display: grid;
  gap: 16px;
}

.page-faq .faq-more-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: linear-gradient(140deg, rgba(26, 92, 71, 0.6), rgba(0, 58, 74, 0.75));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-cut);
  padding: 24px 20px 32px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.page-faq .faq-more-card:hover,
.page-faq .faq-more-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green-lime);
  outline: none;
}

.page-faq .faq-more-card .tag-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-lime);
  background: rgba(198, 255, 0, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.page-faq .faq-more-title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
  margin-bottom: 6px;
}

.page-faq .faq-more-desc {
  display: block;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.7);
  max-width: 30em;
}

.page-faq .faq-more-arrow {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--green-lime);
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item[open] .faq-answer {
    animation: none;
  }

  .page-faq .faq-toggle::before,
  .page-faq .faq-toggle::after,
  .page-faq .faq-more-card,
  .page-faq .tag-label--link,
  .page-faq .faq-rail-link {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .page-faq .page-head--faq {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .page-faq .page-head-media {
    order: -1;
  }

  .page-faq .page-title {
    font-size: 2.9rem;
  }

  .page-faq .page-title-sub {
    font-size: 1.3rem;
  }

  .page-faq .faq-tags {
    flex-wrap: wrap;
    overflow: visible;
  }

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

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

  .page-faq .faq-rail-list {
    flex-direction: column;
    overflow: visible;
  }

  .page-faq .faq-rail-link {
    width: 100%;
    white-space: normal;
  }

  .page-faq .faq-rail-help {
    margin-top: 20px;
  }

  .page-faq .faq-section--dark {
    padding: 32px 0 16px;
  }

  .page-faq .faq-section--paper {
    padding: 40px 32px;
  }

  .page-faq .faq-section .section-title {
    font-size: 1.6rem;
  }

  .page-faq .faq-section .section-desc {
    font-size: 0.88rem;
  }

  .page-faq .faq-item summary {
    padding: 20px 20px;
  }

  .page-faq .faq-answer {
    padding: 18px 20px 20px;
    font-size: 0.88rem;
  }

  .page-faq .faq-gesture {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: center;
    padding-top: 32px;
  }

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

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

  .page-faq .faq-more-card {
    padding: 28px 24px 36px;
  }
}
