.page-faq {
  --faq-lime-glow: rgba(212, 255, 63, 0.12);
  color: var(--text-silver);
}

.page-faq .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.page-faq .breadcrumbs a {
  color: var(--text-silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .breadcrumbs a:hover {
  color: var(--accent-lime);
}

.page-faq .breadcrumbs span[aria-current="page"] {
  color: var(--text-white);
  font-weight: 600;
}

.page-faq .faq-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.75rem, 4vw, 3rem);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 6%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--faq-lime-glow), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero::after {
  content: "?";
  position: absolute;
  top: -0.35em;
  right: 0.05em;
  font-family: var(--font-display);
  font-size: 13rem;
  line-height: 1;
  color: rgba(200, 208, 224, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.page-faq .faq-hero__copy,
.page-faq .faq-hero__media {
  min-width: 0;
}

.page-faq .faq-hero__copy .eyebrow {
  margin-bottom: 1rem;
}

.page-faq .faq-hero h1 {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.page-faq .faq-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  background: var(--accent-orange);
  transform: skewX(-18deg);
  margin-top: 0.625rem;
}

.page-faq .faq-hero .lead {
  max-width: 46ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  line-height: 1.6;
}

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.page-faq .faq-hero__stats .stat {
  flex: 1 1 auto;
  min-width: 108px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.875rem 1.125rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.page-faq .faq-hero__stats .stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--accent-lime);
}

.page-faq .faq-hero__stats .stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.page-faq .faq-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  line-height: 0;
}

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

@media (min-width: 860px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    column-gap: clamp(2rem, 5vw, 4.5rem);
  }
}

.page-faq .faq-layout {
  display: grid;
  gap: 1.75rem;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem);
}

@media (min-width: 960px) {
  .page-faq .faq-layout {
    grid-template-columns: 264px minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
}

.page-faq .faq-toc {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.375rem;
}

@media (min-width: 960px) {
  .page-faq .faq-toc {
    position: sticky;
    top: 132px;
  }
}

.page-faq .faq-toc__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-white);
}

.page-faq .faq-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.page-faq .faq-toc__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 14px;
  color: var(--text-silver);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-toc__link:hover {
  background: rgba(212, 255, 63, 0.08);
  color: var(--accent-lime);
  border-color: rgba(212, 255, 63, 0.18);
}

.page-faq .faq-toc__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--accent-orange);
}

.page-faq .faq-toc__note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-faq .faq-toc__note-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--text-white);
}

.page-faq .faq-toc__note a {
  color: var(--accent-lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 255, 63, 0.35);
  transition: border-color 0.2s ease;
}

.page-faq .faq-toc__note a:hover {
  border-color: var(--accent-lime);
}

@media (max-width: 959px) {
  .page-faq .faq-toc {
    padding: 1rem;
    border-radius: 20px;
  }

  .page-faq .faq-toc__title {
    margin-bottom: 0.625rem;
  }

  .page-faq .faq-toc__list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .page-faq .faq-toc__link {
    white-space: nowrap;
    padding: 0.5rem 0.875rem;
    background: rgba(200, 208, 224, 0.04);
    border-radius: 999px;
    font-size: 0.875rem;
  }

  .page-faq .faq-toc__num {
    display: none;
  }

  .page-faq .faq-toc__note {
    display: none;
  }
}

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

.page-faq .faq-group {
  scroll-margin-top: 120px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.page-faq .faq-group__head {
  position: relative;
  margin-bottom: 1.375rem;
  padding-left: 3.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-group__num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--accent-orange);
}

.page-faq .faq-group__head h2 {
  margin: 0;
}

.page-faq .faq-group__desc {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}

.page-faq .faq-group:target .faq-group__head h2 {
  color: var(--accent-lime);
}

.page-faq .faq-group:target .faq-group__num {
  color: var(--accent-lime);
}

.page-faq .faq-group__items {
  display: grid;
  gap: 0.875rem;
}

.page-faq .faq-item {
  scroll-margin-top: 130px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.page-faq .faq-item[open] {
  background: #171E3D;
  border-color: rgba(212, 255, 63, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.page-faq .faq-item:target {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.16);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-white);
  transition: color 0.2s ease;
}

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

.page-faq .faq-item summary::marker {
  content: "";
}

.page-faq .faq-item summary:hover {
  color: var(--accent-lime);
}

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

.page-faq .faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--accent-lime), var(--accent-lime)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent-lime), var(--accent-lime)) center / 2px 10px no-repeat;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(0deg);
  border-color: rgba(255, 90, 31, 0.5);
  background:
    linear-gradient(var(--accent-orange), var(--accent-orange)) center / 10px 2px no-repeat;
}

.page-faq .faq-item__body {
  display: grid;
  gap: 0.875rem;
  padding: 0 1.375rem 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.75;
}

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

.page-faq .faq-item__list {
  margin: 0;
  padding-left: 1.125rem;
  display: grid;
  gap: 0.375rem;
}

.page-faq .faq-item__figure {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.page-faq .faq-item__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.page-faq .faq-item__figure .caption {
  margin: 0;
}

.page-faq .faq-item__permalink {
  justify-self: start;
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--chart-blue);
  border: 1px solid rgba(0, 163, 255, 0.35);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-faq .faq-item__permalink:hover {
  color: var(--accent-lime);
  border-color: var(--accent-lime);
  background: rgba(212, 255, 63, 0.06);
}

@media (min-width: 720px) {
  .page-faq .faq-item summary {
    font-size: 1.125rem;
    padding: 1.375rem 1.625rem;
  }

  .page-faq .faq-item__body {
    padding: 0 1.625rem 1.625rem;
  }
}

.page-faq .faq-cta {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.page-faq .faq-cta__inner {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-faq .faq-cta__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-orange));
}

.page-faq .faq-cta__inner::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 24px solid rgba(255, 90, 31, 0.06);
  pointer-events: none;
}

.page-faq .faq-cta__text {
  position: relative;
  z-index: 1;
  max-width: 64ch;
  margin: 0.75rem 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.page-faq .faq-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.page-faq .faq-cta__caption {
  position: relative;
  z-index: 1;
  margin: 0;
  opacity: 0.8;
}

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