.page-faq {
  --faq-radius: 16px;
  --faq-link-dark: #4DA3FF;
  --faq-ease: cubic-bezier(0.32, 0.72, 0, 1);
  background: var(--bibo-white);
  color: var(--bibo-gray-900);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.page-faq a {
  color: var(--bibo-blue);
  text-decoration: none;
  transition: color 0.2s var(--faq-ease);
}
.page-faq a:hover {
  text-decoration: underline;
}
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--bibo-gray-100) 0%, var(--bibo-white) 100%);
}
.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -120px;
  width: 380px;
  height: 380px;
  border: 46px solid rgba(0, 122, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}
.page-faq .faq-hero .container {
  position: relative;
}
.page-faq .faq-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--bibo-gray-500);
}
.page-faq .faq-breadcrumb a {
  color: var(--bibo-gray-500);
}
.page-faq .faq-breadcrumb a:hover {
  color: var(--bibo-blue);
}
.page-faq .faq-hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.page-faq .faq-hero__content {
  max-width: 640px;
}
.page-faq .faq-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--bibo-gray-900);
}
.page-faq .faq-hero__lead {
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 600;
  color: var(--bibo-gray-900);
}
.page-faq .faq-hero__desc {
  max-width: 560px;
  line-height: 1.65;
  color: var(--bibo-gray-500);
}
.page-faq .faq-search {
  position: relative;
  max-width: 480px;
  margin-top: 26px;
}
.page-faq .faq-search__input {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bibo-white);
  box-shadow: 0 8px 28px var(--bibo-shadow);
  font-family: inherit;
  font-size: 15px;
  color: var(--bibo-gray-900);
  transition: border-color 0.2s var(--faq-ease), box-shadow 0.2s var(--faq-ease);
}
.page-faq .faq-search__input:focus {
  outline: none;
  border-color: var(--bibo-blue);
  box-shadow: 0 10px 28px rgba(0, 122, 255, 0.12);
}
.page-faq .faq-search::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--bibo-gray-500);
  border-radius: 50%;
  transform: translateY(-70%);
  pointer-events: none;
}
.page-faq .faq-search::after {
  content: "";
  position: absolute;
  top: 58%;
  right: 15px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--bibo-gray-500);
  transform: rotate(45deg);
  pointer-events: none;
}
.page-faq .faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.page-faq .faq-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--bibo-gray-100);
  border-radius: 999px;
  background: var(--bibo-white);
  color: var(--bibo-gray-900);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s var(--faq-ease), color 0.2s var(--faq-ease), border-color 0.2s var(--faq-ease), transform 0.2s var(--faq-ease);
}
.page-faq .faq-tag:hover {
  background: var(--bibo-blue);
  border-color: var(--bibo-blue);
  color: var(--bibo-white);
  transform: translateY(-2px);
  text-decoration: none;
}
.page-faq .faq-hero__art {
  position: relative;
}
.page-faq .faq-hero__art img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.10);
}
.page-faq .faq-index {
  padding: 24px 0 40px;
  background: var(--bibo-white);
}
.page-faq .faq-index__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.page-faq .faq-index-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: var(--faq-radius);
  background: var(--bibo-gray-100);
  transition: background 0.2s var(--faq-ease), border-color 0.2s var(--faq-ease), transform 0.2s var(--faq-ease);
}
.page-faq .faq-index-card:hover {
  background: var(--bibo-white);
  border-color: var(--bibo-blue);
  transform: translateY(-3px);
  text-decoration: none;
}
.page-faq .faq-index-card__num {
  font-family: "SFMono-Regular", "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--bibo-blue);
}
.page-faq .faq-index-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--bibo-gray-900);
}
.page-faq .faq-index-card__count {
  font-size: 12px;
  color: var(--bibo-gray-500);
}
.page-faq .faq-section {
  padding: 48px 0;
}
.page-faq .faq-section--dark {
  position: relative;
  background: var(--bibo-gray-900);
  color: var(--bibo-white);
}
.page-faq .faq-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
}
.page-faq .faq-section--dark .container {
  position: relative;
  z-index: 1;
}
.page-faq .faq-section--tint {
  background: var(--bibo-gray-100);
}
.page-faq .faq-section__head {
  max-width: 680px;
  margin-bottom: 36px;
}
.page-faq .faq-section__head .coord-index {
  display: inline-block;
  margin-bottom: 6px;
  font-family: "SFMono-Regular", "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bibo-blue);
}
.page-faq .faq-section--dark .coord-index {
  color: var(--bibo-green);
}
.page-faq .faq-section--dark .section-label {
  color: var(--bibo-green);
}
.page-faq .faq-section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bibo-gray-900);
}
.page-faq .faq-section--dark .faq-section__head h2 {
  color: var(--bibo-white);
}
.page-faq .faq-section__head p {
  margin: 0;
  line-height: 1.7;
  color: var(--bibo-gray-500);
}
.page-faq .faq-section--dark .faq-section__head p {
  color: rgba(255, 255, 255, 0.64);
}
.page-faq .faq-split {
  display: grid;
  gap: 32px;
}
.page-faq .faq-split__aside {
  align-self: start;
}
.page-faq .faq-figure {
  margin: 0;
}
.page-faq .faq-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--bibo-gray-100);
  border-radius: var(--faq-radius);
  box-shadow: 0 14px 32px var(--bibo-shadow);
}
.page-faq .faq-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: var(--bibo-gray-500);
}
.page-faq .faq-figure__note {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bibo-gray-100);
  font-size: 13px;
  text-align: center;
  color: var(--bibo-gray-500);
}
.page-faq .faq-list {
  display: grid;
  gap: 16px;
}
.page-faq .faq-item {
  padding: 0 22px;
  border: 1px solid var(--bibo-gray-100);
  border-radius: var(--faq-radius);
  background: var(--bibo-white);
  box-shadow: 0 4px 16px var(--bibo-shadow);
  transition: border-color 0.25s var(--faq-ease), box-shadow 0.25s var(--faq-ease);
}
.page-faq .faq-item[open] {
  border-color: rgba(0, 122, 255, 0.24);
  box-shadow: 0 12px 32px var(--bibo-shadow);
}
.page-faq .faq-item__head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.page-faq .faq-item__head::-webkit-details-marker {
  display: none;
}
.page-faq .faq-item__num {
  flex-shrink: 0;
  font-family: "SFMono-Regular", "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--bibo-blue);
}
.page-faq .faq-item__title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bibo-gray-900);
}
.page-faq .faq-item__mark {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.page-faq .faq-item__mark::before,
.page-faq .faq-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: var(--bibo-blue);
  transition: transform 0.3s var(--faq-ease), background 0.3s var(--faq-ease);
}
.page-faq .faq-item__mark::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.page-faq .faq-item__mark::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}
.page-faq .faq-item[open] .faq-item__mark::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.page-faq .faq-item[open] .faq-item__mark::after {
  transform: translate(-50%, -50%) rotate(45deg);
}
.page-faq .faq-item__body {
  padding: 2px 0 22px 44px;
  border-top: 1px solid var(--bibo-gray-100);
  font-size: 15px;
  line-height: 1.7;
  color: var(--bibo-gray-700);
}
.page-faq .faq-item__body p {
  margin: 10px 0 0;
}
.page-faq .faq-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: faq-step;
}
.page-faq .faq-steps li {
  position: relative;
  padding: 0 0 12px 38px;
  counter-increment: faq-step;
}
.page-faq .faq-steps li:last-child {
  padding-bottom: 0;
}
.page-faq .faq-steps li::before {
  content: counter(faq-step);
  position: absolute;
  top: -2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bibo-blue);
  color: var(--bibo-white);
  font-size: 12px;
  font-weight: 700;
}
.page-faq .faq-bullets {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.page-faq .faq-bullets li {
  position: relative;
  padding: 0 0 10px 22px;
}
.page-faq .faq-bullets li:last-child {
  padding-bottom: 0;
}
.page-faq .faq-bullets li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bibo-blue);
}
.page-faq .faq-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.page-faq .faq-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--bibo-gray-100);
  border-radius: 999px;
  background: var(--bibo-gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--bibo-gray-700);
}
.page-faq .faq-section--dark a {
  color: var(--faq-link-dark);
}
.page-faq .faq-section--dark .faq-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}
.page-faq .faq-section--dark .faq-item[open] {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}
.page-faq .faq-section--dark .faq-item__title {
  color: var(--bibo-white);
}
.page-faq .faq-section--dark .faq-item__num {
  color: var(--bibo-green);
}
.page-faq .faq-section--dark .faq-item__mark::before,
.page-faq .faq-section--dark .faq-item__mark::after {
  background: var(--bibo-green);
}
.page-faq .faq-section--dark .faq-item__body {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}
.page-faq .faq-section--dark .faq-steps li::before {
  background: var(--bibo-green);
}
.page-faq .faq-section--dark .faq-bullets li::before {
  background: var(--bibo-green);
}
.page-faq .faq-section--dark .faq-chip {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.80);
}
.page-faq .faq-help {
  padding: 48px 0 72px;
  background: var(--bibo-white);
}
.page-faq .faq-help__card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--bibo-gray-100);
  border-radius: 20px;
  background: var(--bibo-gray-100);
  box-shadow: 0 16px 40px var(--bibo-shadow);
}
.page-faq .faq-help__text {
  max-width: 520px;
}
.page-faq .faq-help__text h2 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  color: var(--bibo-gray-900);
}
.page-faq .faq-help__text p {
  margin: 0;
  line-height: 1.7;
  color: var(--bibo-gray-500);
}
.page-faq .faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (min-width: 720px) {
  .page-faq .faq-index__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 760px) {
  .page-faq .faq-hero {
    padding: 88px 0 56px;
  }
  .page-faq .faq-hero__art img {
    max-width: 320px;
  }
  .page-faq .faq-section {
    padding: 72px 0;
  }
  .page-faq .faq-help {
    padding: 64px 0 88px;
  }
  .page-faq .faq-help__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 44px 48px;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }
  .page-faq .faq-split {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
  }
  .page-faq .faq-split__aside {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 420px) {
  .page-faq .faq-item {
    padding: 0 16px;
  }
  .page-faq .faq-item__body {
    padding-left: 28px;
  }
}
