.page-faq {
  --faq-radius: 14px;
  --faq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--c-snow);
  color: var(--c-ink);
  font-family: var(--font-body);
}

.page-faq .faq-hero {
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(59, 130, 246, 0.25), transparent 60%),
    linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-800) 100%);
  color: var(--c-snow);
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  transform: rotate(45deg);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transform: rotate(45deg);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  gap: 32px;
}

.page-faq .faq-hero__content {
  max-width: 680px;
}

.page-faq .faq-hero .chapter-label {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff;
}

.page-faq .faq-hero__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px;
  max-width: 600px;
}

.page-faq .faq-hero__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.page-faq .faq-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-faq .faq-hero__btn--solid {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

.page-faq .faq-hero__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(249, 115, 22, 0.45);
}

.page-faq .faq-hero__textlink {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.page-faq .faq-hero__textlink:hover {
  border-color: var(--c-orange);
}

.page-faq .faq-hero__figure {
  margin: 0;
}

.page-faq .faq-hero__img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-faq .faq-hero__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.64);
  text-align: right;
}

.page-faq .faq-breadcrumb {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 0.9rem;
}

.page-faq .faq-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-faq .faq-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-faq .faq-index__title {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue-900);
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-blue-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq .faq-index__title::after {
  content: "INDEX";
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-blue-500);
  font-weight: 400;
}

.page-faq .faq-index__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: 12px;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.page-faq .faq-index__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: var(--c-blue-500);
}

.page-faq .faq-index__icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  background: var(--c-blue-800);
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
}

.page-faq .faq-index__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.page-faq .faq-index__label {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
  color: var(--c-blue-900);
}

.page-faq .faq-index__sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-ink);
  opacity: 0.55;
}

.page-faq .faq-index__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-blue-500);
  opacity: 0.7;
}

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

.page-faq .faq-section {
  margin-bottom: 52px;
  scroll-margin-top: 96px;
}

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

.page-faq .faq-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--c-blue-900);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.page-faq .faq-section__mark {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-orange);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}

.page-faq .faq-section__desc {
  color: var(--c-ink);
  opacity: 0.62;
  font-size: 0.95rem;
  margin: 0 0 18px 42px;
  line-height: 1.6;
}

.page-faq .faq-section__desc a {
  color: var(--c-blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-item {
  margin: 14px 0;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--faq-radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.page-faq .faq-item[open] {
  border-color: rgba(30, 64, 175, 0.3);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.page-faq .faq-item__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
  user-select: none;
  transition: background-color 0.2s, color 0.2s;
}

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

.page-faq .faq-item__summary::-moz-list-bullet {
  font-size: 0;
}

.page-faq .faq-item__summary:hover {
  background: var(--c-gray-100);
}

.page-faq .faq-item[open] .faq-item__summary {
  color: var(--c-blue-800);
  background: rgba(59, 130, 246, 0.06);
}

.page-faq .faq-item__number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-orange);
  background: rgba(249, 115, 22, 0.08);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-faq .faq-item__title {
  flex: 1;
  line-height: 1.45;
}

.page-faq .faq-item__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-blue-500);
  transition: transform 0.3s var(--faq-ease);
}

.page-faq .faq-item[open] .faq-item__arrow {
  transform: rotate(180deg);
}

.page-faq .faq-item__body {
  padding: 2px 20px 20px 50px;
  color: var(--c-ink);
  opacity: 0;
  transform: translateY(-6px);
  animation: page-faq-body-in 0.35s var(--faq-ease) forwards;
}

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

.page-faq .faq-item__body p {
  margin: 0 0 10px;
  line-height: 1.7;
  font-size: 0.95rem;
}

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

.page-faq .faq-item__body a {
  color: var(--c-blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(59, 130, 246, 0.4);
  transition: color 0.2s;
}

.page-faq .faq-item__body a:hover {
  color: var(--c-blue-800);
}

.page-faq .faq-item__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid var(--c-gray-200);
}

.page-faq .faq-contact-card {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-800) 100%);
  border-radius: 16px;
  padding: 24px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--c-orange) 0 24px, var(--c-blue-500) 24px 48px, transparent 48px 64px);
}

.page-faq .faq-contact-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  border-radius: 18px;
  pointer-events: none;
}

.page-faq .faq-contact-card__heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.page-faq .faq-contact-card__grid {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.page-faq .faq-contact-card__cell {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}

.page-faq .faq-contact-card__cell dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.page-faq .faq-contact-card__cell dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  word-break: break-all;
  line-height: 1.5;
}

.page-faq .faq-contact-card__note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .page-faq .faq-contact-card__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 64px 24px 72px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: 250px 1fr;
    gap: 56px;
    padding-top: 48px;
  }

  .page-faq .faq-index {
    grid-template-columns: 1fr;
    position: sticky;
    top: 24px;
  }
}
