.page-faq {
  --faq-ink-soft: rgba(20, 18, 16, 0.76);
  --faq-line-ink: rgba(20, 18, 16, 0.13);
  --faq-line-mist: rgba(251, 247, 239, 0.16);
  background: var(--ink);
  color: var(--mist);
}

.page-faq .faq-hero {
  position: relative;
  background:
    radial-gradient(58% 76% at 84% 10%, rgba(242, 163, 58, 0.2), rgba(242, 163, 58, 0) 62%),
    linear-gradient(158deg, var(--pine) 0%, var(--ink) 70%);
  padding-bottom: clamp(46px, 8vw, 92px);
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(251, 247, 239, 0.045) 0 1px, transparent 1px 92px);
  pointer-events: none;
}

.page-faq .faq-crumb {
  position: relative;
  z-index: 1;
  padding-top: clamp(18px, 3vw, 28px);
}

.page-faq .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 239, 0.6);
}

.page-faq .breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-faq .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(251, 247, 239, 0.32);
}

.page-faq .breadcrumb__link {
  color: rgba(251, 247, 239, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.28s var(--ease-lamp), border-color 0.28s var(--ease-lamp);
}

.page-faq a.breadcrumb__link:hover {
  color: var(--gold);
  border-bottom-color: var(--line-amber-strong);
}

.page-faq .breadcrumb__link[aria-current="page"] {
  color: var(--amber);
  letter-spacing: 0.08em;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  padding-top: clamp(28px, 5vw, 52px);
  align-items: center;
}

.page-faq .faq-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(29px, 5.4vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--mist);
}

.page-faq .faq-hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.page-faq .faq-hero__lead {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.92;
  color: rgba(251, 247, 239, 0.78);
}

.page-faq .faq-hero__jump {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line-amber-strong);
  border-radius: var(--r-pill);
  background: rgba(242, 163, 58, 0.08);
  color: var(--gold);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s var(--ease-lamp), border-color 0.3s var(--ease-lamp);
}

.page-faq .faq-hero__jump:hover {
  background: rgba(242, 163, 58, 0.2);
  border-color: var(--amber);
}

.page-faq .faq-hero__jump:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-faq .faq-hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-amber);
  background: var(--pine);
  box-shadow: 0 34px 74px -46px rgba(0, 0, 0, 0.95);
}

.page-faq .faq-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-faq .faq-hero__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(20, 18, 16, 0.76);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.page-faq .faq-index {
  background: var(--paper);
  color: var(--ink);
  border-radius: 30px 30px 0 0;
  padding: clamp(34px, 6vw, 74px) 0 clamp(42px, 7vw, 86px);
}

.page-faq .faq-index__grid {
  display: grid;
  gap: clamp(24px, 4vw, 50px);
}

.page-faq .faq-tocwrap .eyebrow {
  color: var(--sage);
}

.page-faq .faq-toc {
  display: flex;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0 2px 8px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-faq .faq-toc__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--faq-line-ink);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-size: 13.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.28s var(--ease-lamp), background-color 0.28s var(--ease-lamp), color 0.28s var(--ease-lamp);
}

.page-faq .faq-toc__link:hover {
  border-color: var(--amber);
  background: rgba(242, 163, 58, 0.18);
}

.page-faq .faq-toc__link:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

.page-faq .faq-toc__no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

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

.page-faq .faq-group {
  scroll-margin-top: 96px;
}

.page-faq .faq-group + .faq-group {
  margin-top: clamp(30px, 4.6vw, 52px);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faq-line-ink);
  margin-bottom: 2px;
}

.page-faq .faq-group__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--vermilion);
}

.page-faq .faq-group__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.36;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.page-faq .faq-item {
  border-bottom: 1px solid var(--faq-line-ink);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 14px 16px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 14px 14px 0;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s var(--ease-lamp), border-color 0.3s var(--ease-lamp);
}

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

.page-faq .faq-item__q::marker {
  content: "";
}

.page-faq .faq-item__q:hover {
  background: rgba(242, 163, 58, 0.1);
}

.page-faq .faq-item__q:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: -2px;
}

.page-faq .faq-item[open] > .faq-item__q {
  border-left-color: var(--amber);
  background: rgba(242, 163, 58, 0.14);
}

.page-faq .faq-item__no {
  flex: 0 0 auto;
  min-width: 1.7em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--sage);
  transition: color 0.3s var(--ease-lamp);
}

.page-faq .faq-item[open] .faq-item__no {
  color: var(--vermilion);
}

.page-faq .faq-item__text {
  font-size: clamp(15px, 1.55vw, 16.5px);
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
}

.page-faq .faq-item__arrow {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  margin-left: auto;
  color: var(--sage);
  transition: transform 0.32s var(--ease-lamp), color 0.32s var(--ease-lamp);
}

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

.page-faq .faq-item__a {
  padding: 2px 18px 22px 16px;
  font-size: clamp(14.5px, 1.45vw, 15.5px);
  line-height: 1.92;
  color: var(--faq-ink-soft);
  animation: faq-lamp-in 0.32s var(--ease-lamp) both;
}

.page-faq .faq-item__a a {
  color: var(--vermilion);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-faq .faq-item__a a:hover {
  color: var(--ink);
}

.page-faq .faq-item__a a:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}

@keyframes faq-lamp-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-faq .faq-batch {
  display: grid;
  gap: 14px;
  margin: 18px 0 4px;
  padding: 14px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--pine), #17140f);
  color: var(--mist);
}

.page-faq .faq-batch__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--faq-line-mist);
  background: rgba(251, 247, 239, 0.06);
}

.page-faq .faq-batch__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-faq .faq-batch__no {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-faq .faq-batch__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.45;
  color: var(--gold);
}

.page-faq .faq-batch__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: rgba(251, 247, 239, 0.78);
}

.page-faq .faq-cta {
  background: var(--paper);
  padding: 0 0 clamp(46px, 7vw, 88px);
}

.page-faq .faq-cta__panel {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4.6vw, 48px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(72% 130% at 90% 0%, rgba(242, 163, 58, 0.22), rgba(242, 163, 58, 0) 60%),
    linear-gradient(150deg, var(--pine), #17140f);
  color: var(--mist);
}

.page-faq .faq-cta__title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.008em;
  color: var(--mist);
}

.page-faq .faq-cta__text {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.88;
  color: rgba(251, 247, 239, 0.8);
}

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

.page-faq .faq-cta__actions .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .page-faq .faq-batch {
    grid-template-columns: 168px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 16px;
  }
}

@media (min-width: 720px) {
  .page-faq .faq-item__a {
    padding-left: 52px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .page-faq .faq-cta__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 940px) {
  .page-faq .faq-index__grid {
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-tocwrap {
    position: sticky;
    top: 96px;
  }

  .page-faq .faq-toc {
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .page-faq .faq-toc__link {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
    white-space: normal;
    padding: 11px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__a {
    animation: none;
  }

  .page-faq .faq-item__arrow,
  .page-faq .faq-item__q,
  .page-faq .faq-toc__link {
    transition: none;
  }
}
