.page-faq {
  --faq-cut: 16px;
  --faq-line: rgba(154, 147, 184, .18);
  --faq-card: rgba(26, 16, 48, .72);
  --faq-card-2: rgba(14, 11, 26, .78);
  color: var(--paper);
}

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

.page-faq .breadcrumb {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 18px;
}

.page-faq .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-faq .breadcrumb a:hover {
  color: var(--cyan);
}

.page-faq .breadcrumb span[aria-hidden] {
  margin: 0 8px;
  color: rgba(154, 147, 184, .6);
}

/* ---------- hero ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 44px) 0 clamp(34px, 6vw, 68px);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(107, 60, 245, .32), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(0, 229, 208, .12), transparent 66%),
    var(--ink);
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -24%;
  width: 58%;
  height: 148%;
  background: linear-gradient(162deg, rgba(107, 60, 245, .34), rgba(11, 59, 58, .26) 58%, transparent 80%);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

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

.page-faq .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}

.page-faq .faq-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(29px, 7vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
  transform: skewX(-5deg);
  transform-origin: left center;
  max-width: 18em;
  text-shadow: 0 0 42px rgba(107, 60, 245, .55);
}

.page-faq .faq-hero__lede {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(232, 230, 245, .84);
}

.page-faq .faq-hero__meta {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--muted);
}

.page-faq .faq-hero__meta li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
}

.page-faq .faq-hero__meta .mono {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--lime);
}

/* ---------- section shell ---------- */
.page-faq .faq-sec {
  padding: clamp(40px, 8vw, 78px) 0;
  background: var(--ink);
}

.page-faq .faq-sec--alt {
  background:
    linear-gradient(180deg, var(--ink-2), var(--ink) 78%);
  border-top: 1px solid var(--faq-line);
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-sec__head {
  max-width: 40em;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.page-faq .faq-sec__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 5.2vw, 40px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--paper);
  padding-left: 14px;
  border-left: 3px solid var(--violet);
}

.page-faq .faq-sec__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-sec__foot {
  margin: clamp(20px, 3.6vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .faq-sec__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 208, .4);
}

.page-faq .faq-sec__foot a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- steps ---------- */
.page-faq .faq-steps {
  display: grid;
  gap: clamp(22px, 3.6vw, 40px);
}

.page-faq .faq-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-faq .faq-step {
  position: relative;
  padding: 18px 18px 20px 20px;
  background: linear-gradient(180deg, var(--faq-card), var(--faq-card-2));
  border: 1px solid var(--faq-line);
  border-left: 3px solid var(--violet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--faq-cut)), calc(100% - var(--faq-cut)) 100%, 0 100%);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-faq .faq-step:hover {
  border-left-color: var(--cyan);
  transform: translateY(-2px);
}

.page-faq .faq-step + .faq-step::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 26px;
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  transform: skewX(-16deg);
}

.page-faq .faq-step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--violet);
  margin-bottom: 10px;
}

.page-faq .faq-step__title {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .faq-step__text {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(232, 230, 245, .84);
}

.page-faq .faq-step__check {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--cyan);
  font-size: 13px;
  line-height: 1.7;
  color: var(--cyan);
}

.page-faq .faq-figure {
  margin: 0;
  order: -1;
}

/* ---------- media frames ---------- */
.page-faq .media-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(154, 147, 184, .07) 1px, transparent 1px) 0 0 / 100% 26px,
    linear-gradient(90deg, rgba(154, 147, 184, .07) 1px, transparent 1px) 0 0 / 26px 100%,
    var(--panel);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-faq .media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-faq .media-frame--square {
  aspect-ratio: 1 / 1;
}

.page-faq .media-frame--wide {
  aspect-ratio: 2 / 1;
  margin: 0 0 clamp(20px, 3.4vw, 32px);
}

.page-faq .media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
  background: linear-gradient(180deg, transparent, rgba(7, 7, 12, .88));
}

/* ---------- chips ---------- */
.page-faq .faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(22px, 3.6vw, 34px);
}

.page-faq .faq-chips .chip {
  display: inline-block;
  padding: 9px 15px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--paper);
  text-decoration: none;
  background: rgba(26, 16, 48, .66);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.page-faq .faq-chips .chip:hover,
.page-faq .faq-chips .chip:focus-visible {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* ---------- accordion ---------- */
.page-faq .faq-group {
  margin-bottom: clamp(26px, 4.4vw, 44px);
}

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

.page-faq .faq-group__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
  padding-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}

.page-faq .faq-group__title .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
  letter-spacing: 0;
}

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

.page-faq .faq-item__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}

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

.page-faq .faq-item__q:hover {
  color: var(--cyan);
}

.page-faq .faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 5px;
  transition: transform .2s var(--ease);
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 1.5px;
  margin-top: -.75px;
  background: var(--violet);
  transition: background .2s var(--ease);
}

.page-faq .faq-item__icon::after {
  transform: rotate(90deg);
}

.page-faq .faq-item[open] .faq-item__icon {
  transform: rotate(135deg);
}

.page-faq .faq-item[open] .faq-item__icon::before,
.page-faq .faq-item[open] .faq-item__icon::after {
  background: var(--orange);
}

.page-faq .faq-item__body {
  padding: 2px 0 18px 14px;
  border-left: 2px solid var(--cyan);
}

.page-faq .faq-item__body p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(232, 230, 245, .82);
}

.page-faq .faq-item__body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 208, .4);
}

.page-faq .faq-item__body a:hover {
  border-bottom-color: var(--cyan);
}

.page-faq .faq-item__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.page-faq .faq-item__body li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .faq-item__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 1.5px;
  background: var(--violet);
}

/* ---------- terms ---------- */
.page-faq .faq-terms {
  margin: 0;
  display: grid;
  gap: 0;
}

.page-faq .faq-terms__row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-terms__row:first-child {
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-terms dt {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--lime);
}

.page-faq .faq-terms dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(232, 230, 245, .84);
}

/* ---------- contact ---------- */
.page-faq .faq-contact {
  padding: clamp(38px, 7vw, 72px) 0;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(255, 106, 43, .18), transparent 58%),
    linear-gradient(118deg, var(--wine), #241040 52%, var(--teal));
  border-top: 1px solid rgba(232, 230, 245, .16);
}

.page-faq .faq-contact__inner {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
}

.page-faq .faq-contact__title {
  margin: 0 0 12px;
  font-size: clamp(23px, 5vw, 38px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-faq .faq-contact__text {
  margin: 0;
  max-width: 30em;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(232, 230, 245, .82);
}

.page-faq .faq-contact__panel {
  padding: 20px 20px 22px;
  background: rgba(7, 7, 12, .58);
  border: 1px solid rgba(232, 230, 245, .2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-faq .faq-contact__label {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-faq .faq-contact__mail,
.page-faq .faq-contact__phone {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 3.6vw, 19px);
  word-break: break-all;
  color: var(--paper);
}

.page-faq .faq-contact__phone {
  color: var(--lime);
}

.page-faq .faq-contact__hours {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(232, 230, 245, .78);
}

.page-faq .faq-contact__hours a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 43, .5);
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .page-faq .faq-hero__lede {
    font-size: 16.5px;
  }

  .page-faq .faq-steps {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .page-faq .faq-figure {
    order: 0;
    position: sticky;
    top: 96px;
  }

  .page-faq .faq-step {
    padding: 22px 26px 24px 26px;
  }

  .page-faq .faq-step__title {
    font-size: 21px;
  }

  .page-faq .faq-item__q {
    font-size: 16.5px;
    padding: 18px 2px;
  }

  .page-faq .faq-terms__row {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
    align-items: baseline;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-step,
  .page-faq .faq-item__icon,
  .page-faq .faq-chips .chip {
    transition: none;
  }

  .page-faq .faq-step:hover {
    transform: none;
  }
}
