.faqs-page { background: #f6f6f8; color: #17171d; }
.faqs-wrap { width: min(100% - 3rem, 1200px); margin-inline: auto; }

.faqs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(4rem, 7vw, 7rem);
  color: #fff;
  background: #101017;
}
.faqs-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(72vw, 900px);
  aspect-ratio: 1;
  top: -55%;
  right: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .36), transparent 68%);
  pointer-events: none;
}
.faqs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent 18%, #000);
  pointer-events: none;
}
.faqs-eyebrow { margin: 0 0 1rem; color: #a78bfa; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.faqs-hero h1 { max-width: 13ch; margin: 0; color: #fff; font-size: clamp(3.4rem, 7vw, 7.5rem); line-height: .98; letter-spacing: -.065em; }
.faqs-intro { max-width: 63ch; margin: 1.7rem 0 0; color: rgba(255, 255, 255, .72); font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.6; }
.faqs-hero-meta { display: flex; align-items: center; gap: 1.5rem; margin-top: 3rem; color: rgba(255, 255, 255, .66); font-size: .9rem; }
.faqs-hero-meta strong { color: #fff; font-size: 1.4rem; font-weight: 600; margin-right: .25rem; }
.faqs-meta-divider { width: 1px; height: 1.5rem; background: rgba(255, 255, 255, .22); }

.faqs-body { padding-block: clamp(2.75rem, 6vw, 6rem) 7rem; }
.faqs-index { padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid #e4e2e9; border-radius: 1.2rem; background: #fff; box-shadow: 0 20px 55px rgba(22, 15, 38, .04); }
.faqs-index-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 1.7rem; border-bottom: 1px solid #e9e7ed; }
.faqs-index-head .faqs-eyebrow { color: #6d36d7; }
.faqs-index h2 { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.2; letter-spacing: -.045em; }
.faqs-index-head > p { max-width: 20rem; margin: 0; color: #696774; font-size: .85rem; line-height: 1.5; }
.faqs-index-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.8rem; padding-top: .7rem; }
.faqs-index-links a { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .95rem 0; border-bottom: 1px solid #efedf2; color: #27252e; font-size: .9rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: color .2s ease; }
.faqs-index-links a:hover, .faqs-index-links a:focus-visible { color: #6530d2; }
.faqs-index-links a > span:last-child { margin-left: auto; color: #8865cc; }
.faqs-index-no, .faqs-question-no { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #8f8a9a; font-variant-numeric: tabular-nums; }

.faqs-groups { margin-top: clamp(4rem, 7vw, 7rem); }
.faqs-group { scroll-margin-top: 7rem; padding-block: clamp(2.5rem, 5vw, 5rem); border-top: 1px solid #dcd9e2; }
.faqs-group-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.faqs-group-copy { max-width: 45rem; }
.faqs-group-kicker { margin: 0 0 .75rem; color: #6d36d7; font-size: .75rem; font-weight: 700; letter-spacing: .11em; }
.faqs-group h2 { margin: 0 0 .7rem; font-size: clamp(1.8rem, 3.1vw, 3rem); line-height: 1.12; letter-spacing: -.045em; }
.faqs-group-copy > p:last-child { max-width: 65ch; margin: 0; color: #6b6874; line-height: 1.6; }
.faqs-product-link { display: inline-flex; flex: none; align-items: center; gap: .9rem; padding: .8rem 1rem; border: 1px solid #d8d4e1; border-radius: .55rem; color: #32283f; font-size: .8rem; font-weight: 700; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.faqs-product-link:hover, .faqs-product-link:focus-visible { color: #6530d2; border-color: #a78bfa; }
.faqs-answers { border-top: 1px solid #dedbe4; }
.faqs-answers details { scroll-margin-top: 7rem; border-bottom: 1px solid #dedbe4; }
.faqs-answers summary { display: flex; align-items: center; gap: 1.2rem; padding: 1.35rem 0; cursor: pointer; list-style: none; color: #25222d; font-size: clamp(.98rem, 1.2vw, 1.12rem); font-weight: 600; line-height: 1.45; }
.faqs-answers summary::-webkit-details-marker { display: none; }
.faqs-answers summary > span:nth-child(2) { flex: 1; }
.faqs-answers details[open] summary { color: #5727bd; }
.faqs-toggle { position: relative; flex: none; width: 1.7rem; height: 1.7rem; border: 1px solid #cfc8db; border-radius: 50%; }
.faqs-toggle::before, .faqs-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: .7rem; height: 1px; background: #5b4c72; transform: translate(-50%, -50%); }
.faqs-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faqs-answers details[open] .faqs-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faqs-answer { padding: 0 3rem 1.5rem 2.4rem; }
.faqs-answer p { max-width: 77ch; margin: 0; color: #585562; font-size: .96rem; line-height: 1.75; }
.faqs-back { display: inline-flex; gap: .65rem; align-items: center; margin-top: 1.65rem; color: #6d36d7; font-size: .78rem; font-weight: 700; text-decoration: none; }
.faqs-back:hover, .faqs-back:focus-visible { text-decoration: underline; }
.faqs-page a:focus-visible, .faqs-page summary:focus-visible { outline: 2px solid #7c3aed; outline-offset: 4px; }

@media (max-width: 850px) {
  .faqs-index-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faqs-index-head, .faqs-group-head { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .faqs-wrap { width: min(100% - 2rem, 1200px); }
  .faqs-hero { padding-block: 5rem 4rem; }
  .faqs-index-links { grid-template-columns: 1fr; }
  .faqs-index-head { gap: 1rem; }
  .faqs-answers summary { gap: .8rem; }
  .faqs-answer { padding-left: 1.7rem; padding-right: .5rem; }
}
