.page-faq{
  --faq-slice: 14px;
  background: var(--cream);
  scroll-behavior: smooth;
}
.faq-hero{
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--cream);
}
.faq-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(53,92,125,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53,92,125,.10) 1px, transparent 1px);
  background-size: 44px 44px;
}
.faq-hero::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  z-index: 0;
  display: none;
  background: var(--red);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.faq-hero .shell{
  position: relative;
  z-index: 1;
  padding-top: 36px;
  padding-bottom: 48px;
}
.faq-hero-grid{
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
.faq-hero-copy .masthead-kicker{
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.faq-hero-copy h1{
  font-family: var(--font-head);
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.01em;
  max-width: 760px;
  margin: 0;
}
.faq-hero-copy .lead{
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.faq-hero-panel{
  background: var(--dark);
  color: var(--cream);
  padding: 24px 22px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.faq-hero-panel-kicker{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--highlight);
}
.faq-hero-panel-stats{
  display: flex;
  gap: 16px;
}
.faq-hero-stat{
  flex: 1;
  border-left: 2px solid rgba(245,243,236,.18);
  padding-left: 10px;
}
.faq-hero-stat-num{
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
  color: #ffffff;
  font-weight: 700;
}
.faq-hero-stat-label{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(245,243,236,.72);
}
.faq-hero-panel-note{
  font-size: 12px;
  color: var(--highlight);
  border-top: 1px solid rgba(245,243,236,.18);
  padding-top: 12px;
  margin-top: 4px;
}
.faq-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 56px;
}
.faq-index{
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.faq-index-title,
.faq-index-tip{
  display: none;
}
.faq-index-nav{
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
.faq-index a{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bone);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.faq-index a:hover{
  border-color: var(--red);
  color: var(--red);
}
.faq-index-code{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
}
.faq-answers{
  min-width: 0;
}
.faq-section{
  scroll-margin-top: 120px;
  margin-bottom: 52px;
}
.faq-section-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}
.faq-section-code{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  white-space: nowrap;
  letter-spacing: .04em;
}
.faq-section-head h2{
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}
.faq-flow{
  margin: 0 0 22px;
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 10px;
}
.faq-flow img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05);
}
.faq-flow figcaption{
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  padding: 10px 4px 2px;
  line-height: 1.6;
}
.faq-card{
  margin-bottom: 14px;
}
.faq-card summary{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px 16px 16px;
  background: var(--bone);
  cursor: pointer;
  user-select: none;
  clip-path: polygon(0 0, calc(100% - var(--faq-slice)) 0, 100% var(--faq-slice), 100% 100%, 0 100%);
  transition: background .18s ease;
}
.faq-card summary::-webkit-details-marker{
  display: none;
}
.faq-card summary:hover{
  background: var(--line);
}
.faq-card[open] summary{
  background: var(--ink);
  color: var(--cream);
}
.faq-card-q{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  background: var(--cream);
  padding: 3px 6px;
  font-weight: 700;
}
.faq-card[open] .faq-card-q{
  background: var(--red);
  color: #ffffff;
}
.faq-card-text{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  flex: 1;
}
.faq-card-icon{
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1.5px solid currentColor;
  opacity: .8;
}
.faq-card-icon::before,
.faq-card-icon::after{
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-card-icon::before{
  width: 11px;
  height: 1.5px;
}
.faq-card-icon::after{
  width: 1.5px;
  height: 11px;
}
.faq-card[open] .faq-card-icon::after{
  display: none;
}
.faq-card-body{
  background: var(--cream);
  border-left: 3px solid var(--red);
  margin: 0 14px 0 18px;
  padding: 16px 18px 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.faq-card-body p{
  margin: 0 0 10px;
}
.faq-card-body p:last-child{
  margin-bottom: 0;
}
.faq-card-body a{
  color: var(--red);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.faq-card-body a:hover{
  color: var(--orange);
}
.faq-keyword{
  background: linear-gradient(transparent 62%, rgba(247,197,72,.55) 62%);
  font-weight: 700;
}
.faq-flow--realtime{
  max-width: 520px;
  margin-top: 24px;
}
.faq-contact-strip{
  background: var(--ink);
  color: var(--cream);
  margin-top: 8px;
  padding: 44px 0 48px;
  clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.faq-contact-grid{
  display: grid;
  gap: 24px;
}
.faq-contact-copy .masthead-kicker{
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.faq-contact-copy h2{
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  margin: 10px 0 8px;
}
.faq-contact-copy p{
  color: rgba(245,243,236,.82);
  line-height: 1.8;
  font-size: 15px;
}
.faq-contact-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.faq-contact-actions .btn{
  background: var(--red);
  color: #ffffff;
  border: 0;
  font-weight: 800;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 15px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.faq-contact-actions .btn--ghost{
  background: transparent;
  border: 1.5px solid rgba(245,243,236,.5);
  color: var(--cream);
}
@media (min-width: 900px){
  .faq-hero .shell{
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .faq-hero::after{
    display: block;
  }
  .faq-hero-grid{
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: stretch;
    gap: 48px;
    margin-top: 36px;
  }
  .faq-layout{
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    padding-top: 48px;
  }
  .faq-index{
    position: sticky;
    top: 150px;
    align-self: start;
    display: block;
    width: auto;
    background: var(--dark);
    color: var(--cream);
    padding: 24px;
    overflow: visible;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  }
  .faq-index-title{
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--highlight);
    border-bottom: 1px solid rgba(245,243,236,.2);
    padding-bottom: 12px;
    margin-bottom: 14px;
  }
  .faq-index-nav{
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .faq-index a{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px dashed rgba(245,243,236,.16);
    font-size: 15px;
    font-weight: 600;
    color: var(--cream);
    white-space: normal;
    border-radius: 0;
  }
  .faq-index a:hover{
    color: var(--highlight);
    border-bottom-color: var(--highlight);
    padding-left: 4px;
  }
  .faq-index-code{
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    background: var(--red);
    color: #ffffff;
  }
  .faq-index-tip{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
    color: rgba(245,243,236,.58);
    line-height: 1.6;
  }
  .faq-index-tip svg{
    flex: 0 0 18px;
    margin-top: 2px;
    color: var(--highlight);
  }
  .faq-section{
    margin-bottom: 64px;
  }
  .faq-section-head h2{
    font-size: 32px;
  }
  .faq-card-text{
    font-size: 16px;
  }
  .faq-card-body{
    font-size: 15px;
  }
  .faq-contact-strip{
    padding: 56px 0 60px;
  }
  .faq-contact-grid{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }
  .faq-contact-copy h2{
    font-size: 34px;
  }
}
