.page-faq {
  --faq-aside-w: 280px;
  --faq-border: rgba(100, 116, 139, 0.25);
  background: var(--paper);
}

.page-faq .page-faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 40px;
}

.page-faq .page-faq-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, transparent 48%, rgba(212, 160, 23, 0.45) 50%, transparent 52%);
  pointer-events: none;
}

.page-faq .page-faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(212, 160, 23, 0.15) 55%, transparent 100%);
}

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

.page-faq .page-faq-hero .breadcrumb {
  margin-bottom: 28px;
  color: var(--slate);
  font-size: 14px;
}

.page-faq .page-faq-hero .breadcrumb a {
  color: var(--light-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.page-faq .page-faq-hero .breadcrumb a:hover {
  border-bottom-color: var(--light-gold);
}

.page-faq-hero-head {
  position: relative;
  max-width: 860px;
}

.page-faq .page-faq-hero-head .eyebrow {
  color: var(--light-gold);
}

.page-faq-hero-head h1 {
  margin: 12px 0 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--white);
}

.page-faq-hero-desc {
  max-width: 70ch;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(248, 250, 252, 0.82);
  margin-bottom: 28px;
}

.page-faq-hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(245, 199, 106, 0.5);
  border-radius: 999px;
  color: var(--light-gold);
  font-size: 13px;
  letter-spacing: 0.02em;
  background: rgba(212, 160, 23, 0.1);
}

.page-faq-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.page-faq-hero-stat {
  flex: 1 1 130px;
  max-width: 180px;
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.page-faq-hero-stat-num {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: var(--light-gold);
}

.page-faq-hero-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.65);
}

.page-faq-layout {
  display: grid;
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 64px;
}

.page-faq-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq-toc {
  border: 1px solid var(--faq-border);
  border-top: 3px solid var(--gold);
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}

.page-faq-toc-title {
  margin: 0;
  padding: 14px 18px 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: uppercase;
}

.page-faq-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-faq-toc a:hover {
  background: rgba(212, 160, 23, 0.08);
  color: var(--signal-red);
}

.page-faq-toc-num {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--gold);
}

.page-faq-aside-figure {
  margin: 0;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
}

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

.page-faq-aside-figure img {
  width: 100%;
  object-fit: cover;
}

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

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

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

.page-faq .page-faq-section .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(8, 31, 55, 0.1);
  padding-bottom: 14px;
}

.page-faq .page-faq-section .section-index {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  color: var(--gold);
  flex: none;
}

.page-faq-section-headtext {
  min-width: 0;
}

.page-faq-section h2 {
  margin: 6px 0 4px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.25;
}

.page-faq .page-faq-section .section-desc {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

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

.page-faq-item {
  background: var(--white);
  border: 1px solid var(--faq-border);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-faq-item:hover {
  border-color: var(--signal-red);
}

.page-faq-item[open] {
  border-color: rgba(212, 160, 23, 0.7);
  box-shadow: 0 12px 32px rgba(8, 31, 55, 0.08);
}

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

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

.page-faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}

.page-faq-item[open] summary::after {
  transform: rotate(225deg) translateY(2px);
}

.page-faq-qnum {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(29, 78, 216, 0.09);
  border-radius: 9px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  color: var(--royal);
}

.page-faq-q {
  flex: 1;
  min-width: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.page-faq-a {
  padding: 2px 16px 20px 68px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

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

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

.page-faq-guide {
  background: var(--white);
  border-top: 1px solid rgba(212, 160, 23, 0.25);
  padding: 48px 0 64px;
}

.page-faq-guide-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-faq-guide-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 56px rgba(8, 31, 55, 0.2);
}

.page-faq-guide-figure img {
  width: 100%;
  object-fit: cover;
}

.page-faq-guide-body .eyebrow {
  color: var(--gold);
}

.page-faq-guide-body h2 {
  margin: 10px 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
}

.page-faq-guide-body p {
  margin: 0 0 22px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.8;
  max-width: 56ch;
}

.page-faq-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq a:focus-visible,
.page-faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

  .page-faq-layout {
    grid-template-columns: var(--faq-aside-w) minmax(0, 1fr);
    gap: 64px;
    padding-top: 64px;
    padding-bottom: 88px;
  }

  .page-faq-aside {
    position: sticky;
    top: 24px;
    align-self: start;
  }

  .page-faq-section {
    margin-bottom: 72px;
    scroll-margin-top: 32px;
  }

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

  .page-faq .page-faq-section .section-index {
    font-size: 68px;
  }

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

  .page-faq-a {
    padding: 4px 22px 24px 74px;
  }

  .page-faq-guide {
    padding: 72px 0 96px;
  }

  .page-faq-guide-inner {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 48px;
  }
}
