.page-faq {
  --faq-card-bg: #F8FBFF;
  --faq-line: #E2E9F2;
  --faq-text: #3A4657;
  --faq-muted: #6B7A92;
  background: #F4F7FB;
}

.page-faq .breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}

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

.page-faq .breadcrumbs li {
  font-size: 13px;
  color: var(--faq-muted);
}

.page-faq .breadcrumbs li::before {
  content: "/";
  margin-right: 8px;
  color: var(--faq-muted);
  opacity: 0.4;
}

.page-faq .breadcrumbs li:first-child::before {
  content: none;
}

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

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

.page-faq .faq-hero {
  max-width: 1280px;
  margin: 16px auto 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(57, 255, 20, 0.12), transparent 32%),
    linear-gradient(120deg, #0A192F 0%, #0F5B64 68%, #14253D 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  color: #F8FBFF;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(57, 255, 20, 0.04), 0 0 0 48px rgba(57, 255, 20, 0.02);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .section-marker {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.page-faq .faq-hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  line-height: 1.18;
  font-weight: 900;
  font-style: italic;
  margin: 0 0 16px;
  max-width: 12em;
  color: #FFFFFF;
}

.page-faq .faq-hero__lead {
  color: rgba(248, 251, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
  max-width: 50em;
  margin: 0 0 26px;
}

.page-faq .faq-search {
  position: relative;
  max-width: 500px;
}

.page-faq .faq-search__input {
  width: 100%;
  background: rgba(10, 25, 47, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-family: var(--font-cjk);
  font-size: 15px;
  padding: 13px 44px 13px 20px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-faq .faq-search__input::placeholder {
  color: rgba(248, 251, 255, 0.5);
}

.page-faq .faq-search__input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.15);
}

.page-faq .faq-search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: rgba(248, 251, 255, 0.7);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-faq .faq-search__clear:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.page-faq .faq-hero__visual {
  display: flex;
  align-items: center;
}

.page-faq .faq-hero__frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.page-faq .faq-hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq .faq-layout-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px var(--gutter) 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-faq .faq-index {
  position: static;
  align-self: start;
}

.page-faq .faq-index__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faq-muted);
  margin: 0 0 12px;
  font-weight: 700;
}

.page-faq .faq-index__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 8px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-faq .faq-index__link {
  display: block;
  color: rgba(248, 251, 255, 0.7);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-faq .faq-index__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.page-faq .faq-index__link.is-current {
  background: var(--neon);
  color: var(--navy);
  font-weight: 700;
}

.page-faq .faq-index__card {
  padding: 18px;
}

.page-faq .faq-index__card-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px;
}

.page-faq .faq-index__card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(248, 251, 255, 0.65);
  margin: 0 0 14px;
}

.page-faq .faq-board {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.page-faq .faq-category {
  border: 1px solid var(--faq-line);
  border-top-width: 4px;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  background: var(--faq-card-bg);
  box-shadow: 0 2px 6px rgba(10, 25, 47, 0.04);
  scroll-margin-top: 20px;
}

.page-faq .faq-category--update {
  border-top-color: var(--orange);
}

.page-faq .faq-category--screen {
  border-top-color: var(--teal);
}

.page-faq .faq-category--search {
  border-top-color: var(--wine);
}

.page-faq .faq-category--account {
  border-top-color: var(--indigo);
}

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

.page-faq .faq-category__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 25, 47, 0.15);
  margin: 0;
}

.page-faq .faq-category__head h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 900;
  font-style: italic;
  margin: 0;
  color: var(--navy);
}

.page-faq .faq-category__intro {
  color: var(--faq-text);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 58em;
}

.page-faq .faq-cat-chip--orange {
  background: rgba(255, 77, 0, 0.12);
  color: var(--orange);
}

.page-faq .faq-cat-chip--teal {
  background: rgba(15, 91, 100, 0.12);
  color: var(--teal);
}

.page-faq .faq-cat-chip--wine {
  background: rgba(109, 31, 61, 0.1);
  color: var(--wine);
}

.page-faq .faq-cat-chip--indigo {
  background: rgba(91, 42, 134, 0.12);
  color: var(--indigo);
}

.page-faq .faq-item {
  border-bottom: 1px solid #E3E9F1;
}

.page-faq .faq-item:last-of-type {
  border-bottom: none;
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 4px;
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s var(--ease);
}

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

.page-faq .faq-item summary:hover {
  color: var(--orange);
}

.page-faq .faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #7B8AA1;
  border-bottom: 2px solid #7B8AA1;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

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

.page-faq .faq-item > p {
  margin: 0 0 20px;
  padding: 0 40px 0 4px;
  color: var(--faq-text);
  font-size: 14px;
  line-height: 1.75;
}

.page-faq .faq-item a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-category__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(15, 91, 100, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
}

.page-faq .faq-media {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--faq-line);
}

.page-faq .faq-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq .faq-help {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px var(--gutter) 48px;
}

.page-faq .faq-help__card {
  background: linear-gradient(115deg, #0A192F 0%, #5B2A86 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.18);
}

.page-faq .faq-help__copy h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 900;
  font-style: italic;
  margin: 0 0 10px;
}

.page-faq .faq-help__copy p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 860px) {
  .page-faq .faq-hero {
    margin-top: 24px;
  }

  .page-faq .faq-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .page-faq .faq-layout-wrap {
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 44px var(--gutter) 20px;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 24px;
  }

  .page-faq .faq-index__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    overflow: visible;
  }

  .page-faq .faq-index__link {
    border-radius: 12px;
    white-space: normal;
  }

  .page-faq .faq-help {
    padding-top: 28px;
    padding-bottom: 56px;
  }
}
