.page-faq {
  --faq-sticky-top: 88px;
  --faq-line: #E3E8F0;
  background: var(--c-light);
}

.page-faq .faq-hero {
  position: relative;
  background: linear-gradient(128deg, var(--c-primary) 0%, var(--c-blue) 58%, #13294E 100%);
  overflow: hidden;
  padding: 44px 0 72px;
  color: var(--c-white);
}

.page-faq .faq-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  display: block;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-accent) 0%, #FF8D5C 100%);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  z-index: 2;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 28px;
}

.page-faq .faq-hero .breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.page-faq .faq-hero .breadcrumb li[aria-current="page"] {
  color: var(--c-white);
  font-weight: 600;
}

.page-faq .faq-hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.page-faq .faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 900px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.page-faq .faq-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin: 0;
}

.page-faq .faq-hero-meta {
  margin-top: 28px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.page-faq .faq-layout {
  display: block;
  padding: 32px 20px 72px;
}

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

.page-faq .faq-sidebar {
  margin-bottom: 36px;
}

.page-faq .faq-toc {
  background: var(--c-white);
  border: 1px solid var(--faq-line);
  padding: 20px;
}

.page-faq .faq-toc-title {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-accent);
}

.page-faq .faq-toc-link {
  display: block;
  padding: 12px;
  border-bottom: 1px solid #EEF1F6;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-faq .faq-toc-link:last-child {
  border-bottom: 0;
}

.page-faq .faq-toc-link:hover {
  color: var(--c-accent);
}

.page-faq .faq-toc-link.is-active {
  color: var(--c-accent);
  background: rgba(255, 107, 53, 0.04);
  box-shadow: inset 3px 0 0 var(--c-accent);
}

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

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

.page-faq .faq-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 2px solid var(--c-primary);
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.page-faq .faq-section-idx {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.9;
  color: var(--c-accent);
}

.page-faq .faq-section-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--c-primary);
  margin: 0;
  letter-spacing: 0.02em;
}

.page-faq .faq-section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-gray);
  margin: 0 0 20px;
  max-width: 720px;
}

.page-faq .fold {
  background: var(--c-white);
  border: 1px solid var(--faq-line);
  border-left: 4px solid var(--c-accent);
  margin-bottom: 14px;
  transition: box-shadow var(--dur) var(--ease);
}

.page-faq .fold[open] {
  box-shadow: 0 10px 30px rgba(11, 27, 61, 0.08);
}

.page-faq .fold-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-faq .fold-summary:hover {
  background: rgba(11, 27, 61, 0.02);
}

.page-faq .fold-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-accent);
  background: rgba(255, 107, 53, 0.1);
  border-left: 2px solid var(--c-accent);
  padding: 8px 12px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.page-faq .fold-title {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  color: var(--c-primary);
  transition: color var(--dur) var(--ease);
}

.page-faq .fold-summary:hover .fold-title {
  color: var(--c-accent);
}

.page-faq .fold-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 2px solid var(--c-accent);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-faq .fold-icon::before,
.page-faq .fold-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-accent);
  transition: background var(--dur) var(--ease);
}

.page-faq .fold-icon::before {
  width: 12px;
  height: 2px;
}

.page-faq .fold-icon::after {
  width: 2px;
  height: 12px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.page-faq .fold[open] .fold-icon {
  background: var(--c-accent);
  transform: rotate(45deg);
}

.page-faq .fold[open] .fold-icon::before,
.page-faq .fold[open] .fold-icon::after {
  background: var(--c-white);
}

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

.page-faq .fold-body {
  padding: 18px 20px 22px;
  border-top: 1px solid #F0F2F6;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-gray);
}

.page-faq .faq-mobile-media {
  margin: 24px 0 8px;
  background: var(--c-primary);
  padding: 10px;
}

.page-faq .faq-mobile-media img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

.page-faq .faq-mobile-media figcaption {
  max-width: 400px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.page-faq .faq-help-card {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-blue) 100%);
  color: var(--c-white);
  padding: 28px;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-help-card::before {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transform: rotate(15deg);
}

.page-faq .faq-help-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 10px;
}

.page-faq .faq-help-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
  max-width: 620px;
}

.page-faq .faq-help-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-help-actions .btn,
.page-faq .faq-help-actions .btn--invert {
  justify-content: center;
  width: 100%;
  margin: 0;
}

@media (min-width: 600px) {
  .page-faq .faq-help-actions {
    flex-direction: row;
  }

  .page-faq .faq-help-actions .btn,
  .page-faq .faq-help-actions .btn--invert {
    width: auto;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 64px 0 96px;
  }

  .page-faq .faq-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 56px 40px 96px;
  }

  .page-faq .faq-sidebar {
    position: sticky;
    top: var(--faq-sticky-top);
    margin-bottom: 0;
  }

  .page-faq .faq-main {
    max-width: 800px;
  }

  .page-faq .faq-section-head h2 {
    font-size: 28px;
  }

  .page-faq .faq-section-idx {
    font-size: 52px;
  }

  .page-faq .fold-summary {
    padding: 22px 24px;
  }

  .page-faq .fold-title {
    font-size: 16px;
  }

  .page-faq .fold-num {
    font-size: 16px;
    padding: 10px 14px;
  }

  .page-faq .fold-body {
    padding-left: 80px;
    padding-right: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
