.page-faq {
  --faq-navy: #1E3A8A;
  --faq-orange: #FF6B35;
  --faq-teal: #00B3A4;
  --faq-ice: #E3F4FD;
  --faq-glacier: #B0C4DE;
  --faq-ink: #0F172A;
  position: relative;
  background-color: var(--faq-ice);
  background-image:
    linear-gradient(rgba(176, 196, 222, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 196, 222, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -1px -1px;
  min-height: 600px;
}

.page-faq .faq-hero {
  position: relative;
  padding: 36px 0 32px;
  overflow: hidden;
  border-bottom: 1px solid rgba(176, 196, 222, 0.45);
  background:
    radial-gradient(ellipse at 88% 16%, rgba(255, 107, 53, 0.1) 0%, transparent 55%),
    linear-gradient(120deg, #F2FAFF 0%, var(--faq-ice) 58%, #DAEFFC 100%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 107, 53, 0.07) 14px 15px),
    linear-gradient(135deg, transparent 48%, rgba(30, 58, 138, 0.08));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

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

.page-faq .faq-hero .breadcrumbs {
  margin-bottom: 22px;
}

.page-faq .faq-hero .section-kicker {
  color: var(--faq-orange);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.page-faq .faq-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin: 6px 0 14px;
  color: var(--faq-navy);
  max-width: 12em;
  letter-spacing: -0.02em;
}

.page-faq .faq-hero-desc {
  max-width: 46em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
  margin: 0 0 22px;
}

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

.page-faq .hero-stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  color: var(--text-main);
}

.page-faq .hero-stat .data-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--faq-navy);
  line-height: 1;
}

.page-faq .faq-batch {
  margin-left: auto;
}

.page-faq .faq-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 44px;
}

.page-faq .faq-index-card {
  display: block;
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid rgba(176, 196, 222, 0.55);
  border-radius: var(--radius);
  padding: 16px 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.page-faq .faq-index-card:hover,
.page-faq .faq-index-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 179, 164, 0.55);
  box-shadow: var(--shadow-md);
  outline: none;
}

.page-faq .faq-index-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--faq-orange);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.page-faq .faq-index-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--faq-navy);
  margin-bottom: 4px;
}

.page-faq .faq-index-desc {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-main);
}

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

.page-faq .faq-section .section-head {
  margin-bottom: 18px;
  position: relative;
  padding-left: 14px;
}

.page-faq .faq-section .section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--faq-orange), var(--faq-teal));
}

.page-faq .faq-section .section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faq-teal);
  margin-bottom: 4px;
}

.page-faq .faq-section .section-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--faq-navy);
  margin: 0;
}

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

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

.page-faq .faq-item {
  background: var(--color-white);
  border: 1px solid rgba(176, 196, 222, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.page-faq .faq-item details[open] {
  border-color: rgba(0, 179, 164, 0.5);
  box-shadow: var(--shadow-md);
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 16px;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}

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

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

.page-faq .faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--faq-orange);
  background: rgba(255, 107, 53, 0.09);
  border-radius: 2px;
  padding: 4px 6px;
  flex-shrink: 0;
  line-height: 1;
}

.page-faq .faq-q {
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: var(--faq-navy);
}

.page-faq .faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(176, 196, 222, 0.7);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-faq .faq-toggle::before,
.page-faq .faq-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 2px;
  background: var(--faq-teal);
  border-radius: 1px;
}

.page-faq .faq-toggle::after {
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}

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

.page-faq .faq-item details[open] .faq-toggle {
  border-color: rgba(0, 179, 164, 0.6);
}

.page-faq .faq-a {
  position: relative;
  padding: 2px 18px 20px 50px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
  border-top: 1px dashed rgba(176, 196, 222, 0.5);
  margin: 0 16px 0 50px;
  padding-left: 0;
}

.page-faq .faq-a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 4px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--faq-orange), var(--faq-teal));
}

.page-faq .faq-a p {
  margin: 12px 0 0;
}

.page-faq .faq-a a {
  color: var(--faq-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.page-faq .faq-figure {
  margin: 0;
  border: 1px solid rgba(176, 196, 222, 0.55);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.page-faq .faq-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main);
  border-top: 1px solid rgba(176, 196, 222, 0.35);
}

.page-faq .faq-more {
  margin: 20px 0 56px;
}

.page-faq .faq-more-card {
  position: relative;
  background: var(--color-ink);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  overflow: hidden;
}

.page-faq .faq-more-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(0, 179, 164, 0.18) 12px 13px);
  pointer-events: none;
}

.page-faq .faq-more-card .section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faq-orange);
  margin-bottom: 6px;
}

.page-faq .faq-more-card h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--color-white);
  margin: 0 0 8px;
}

.page-faq .faq-more-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-more-card p:last-of-type {
  margin-bottom: 0;
}

.page-faq .faq-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-faq .faq-more-actions .btn {
  position: relative;
  z-index: 1;
}

.page-faq .faq-more-card .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.page-faq .faq-more-card .btn-ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item details,
  .page-faq .faq-index-card,
  .page-faq .faq-toggle::after,
  .page-faq .faq-toggle {
    transition: none !important;
  }
}

@media (min-width: 640px) {
  .page-faq .faq-index {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .page-faq .faq-index-card {
    padding: 20px 16px;
  }

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

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

  .page-faq .faq-hero-desc {
    font-size: 16px;
    max-width: 44em;
  }

  .page-faq .faq-hero-meta {
    gap: 26px;
  }

  .page-faq .faq-index {
    margin: 32px 0 56px;
  }

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

  .page-faq .faq-layout-split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 28px;
  }

  .page-faq .faq-layout-reverse .faq-figure {
    order: -1;
  }

  .page-faq .faq-figure {
    position: sticky;
    top: 90px;
  }

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

  .page-faq .faq-a {
    font-size: 15px;
  }

  .page-faq .faq-more {
    margin: 32px 0 64px;
  }

  .page-faq .faq-more-card {
    padding: 36px 36px 38px;
    max-width: 760px;
  }
}
