.faq-page {
  background: #fff;
}

.faq-page .site-header:not(.scrolled) .nav-shell {
  background: transparent;
  color: var(--ink);
  backdrop-filter: none;
}

.faq-page .site-header:not(.scrolled) .brand-svg-main,
.faq-page .site-header:not(.scrolled) .brand-svg-point {
  fill: var(--ink);
}

.faq-page .site-header:not(.scrolled) .nav-link,
.faq-page .site-header:not(.scrolled) .search-button,
.faq-page .site-header:not(.scrolled) .menu-toggle {
  color: var(--ink);
}

.faq-page .site-header:not(.scrolled) .search-icon {
  stroke: var(--ink);
}

.faq-page .site-header:not(.scrolled) .header-cta {
  background: var(--ink);
  color: #fff;
}

.faq-hero {
  padding: 0;
}

.faq-hero .eyebrow {
  margin-bottom: 16px;
}

.faq-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
}

.faq-hero > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.faq-directory {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: clamp(64px, 10vw, 160px);
  padding-top: 184px;
  padding-bottom: 0;
}

.faq-left {
  min-width: 0;
}

.faq-sidebar {
  position: sticky;
  top: 126px;
  align-self: start;
  margin-top: 142px;
}

.faq-category-nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-category-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.faq-category-nav a.is-active {
  color: var(--ink);
}

.faq-category-count {
  color: #aaa7a0;
  font: 400 15px/1 Outfit, Pretendard, sans-serif;
}

.faq-groups {
  min-width: 0;
}

.faq-group {
  scroll-margin-top: 116px;
}

.faq-group + .faq-group {
  margin-top: 94px;
}

.faq-group-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.faq-page .faq-group-head h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.32;
}

.faq-group-head span {
  color: var(--faint);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-page .faq-question {
  padding: 25px 0;
  font-size: 16.5px;
}

.faq-page .faq-answer p {
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .faq-hero {
    padding: 0;
  }

  .faq-hero h1 {
    margin-bottom: 14px;
  }

  .faq-hero > p:last-child {
    font-size: 14px;
    line-height: 1.6;
  }

  .faq-directory {
    display: block;
    padding-top: 126px;
    padding-bottom: 78px;
  }

  .faq-sidebar {
    position: sticky;
    z-index: 3;
    top: 77px;
    margin: 42px calc((100vw - var(--wrap)) / -2) 48px;
    padding: 12px calc((100vw - var(--wrap)) / 2);
    overflow-x: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
  }

  .faq-category-nav {
    display: flex;
    width: max-content;
    gap: 20px;
    border: 0;
  }

  .faq-category-nav a {
    display: block;
    padding: 0;
    border: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .faq-group {
    scroll-margin-top: 132px;
  }

  .faq-group + .faq-group {
    margin-top: 64px;
  }

  .faq-group-head {
    gap: 6px;
    margin-bottom: 12px;
  }

  .faq-page .faq-group-head h2 {
    font-size: 20px;
  }

  .faq-group-head span {
    font-size: 16px;
  }

  .faq-page .faq-question {
    gap: 14px;
    padding: 20px 0;
    font-size: 16px;
    line-height: 1.45;
  }

  .faq-page .faq-answer p {
    margin-bottom: 20px;
    padding-right: 0;
    font-size: 13px;
    line-height: 1.7;
  }
}
