.faq-hero {
  padding-block: clamp(36px, 6vw, 72px);
  background: radial-gradient(ellipse at 85% 5%, #152844 0%, transparent 60%), var(--navy);
  border-top: 1px solid #ffffff14;
}
.faq-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: -.035em;
}
.faq-hero p { color: #b8c3d4; max-width: 62ch; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(30px, 5vw, 64px);
}
.faq-sidebar {
  position: sticky;
  top: 155px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  border-radius: 8px;
  background: #f5f7fa;
}
.faq-sidebar h2 { font-size: 17px; margin-bottom: 8px; }
.faq-topics, .faq-featured { padding: 0; margin: 0; list-style: none; }
.faq-topics a, .faq-featured a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
  color: var(--ink);
}
.faq-topics a:hover, .faq-featured a:hover { text-decoration: underline; }
.faq-topics a { font-size: 14px; }
.faq-topics a span {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  min-height: 24px;
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}
.faq-featured li { border-top: 1px solid var(--line); }
.faq-featured li:last-child { border-bottom: 1px solid var(--line); }
.faq-featured a { padding-block: 19px; font-weight: 600; }
.faq-featured span { color: var(--muted); }
#home-faq-title { margin-bottom: 20px; }
.faq-content { grid-column: 2; min-width: 0; }
.faq-search { margin-bottom: 28px; }
.faq-search label { display: block; margin-bottom: 6px; font-weight: 700; }
.faq-search input { min-height: 46px; font-size: 16px; }
.faq-search input::placeholder { font-size: 14px; }
#faq-result-count { margin-top: 6px; font-size: 14px; color: var(--muted); }
.faq-group + .faq-group, .faq-group ~ .faq-support { margin-top: 34px; }
.faq-group h2, .faq-support h2 { margin: 0 0 12px; font-size: clamp(19px, 2.5vw, 25px); }
.faq-question summary span { flex: none; }
.faq-question[open] summary span { transform: rotate(45deg); }
.faq-question:target { background: #fff9db; }
.faq-question:target summary { padding-inline: 12px; }
.faq-list .faq-answer p { max-width: 78ch; color: var(--ink); font-size: 15px; }
.faq-answer a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-support, .faq-empty {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f7fa;
}
.faq-support p, .faq-empty p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-content { grid-column: 1; }
  .faq-sidebar { position: static; }
  .faq-topics { display: flex; flex-wrap: wrap; gap: 6px 12px; }
  .faq-topics a { padding: 6px 0; }
}
