.page-faq {
  --faq-red: var(--red);
  --faq-yellow: var(--yellow);
  --faq-ink: var(--ink-blue);
  --faq-charcoal: var(--charcoal);
  --faq-card: var(--card-blue);
  --faq-muted: var(--cold-gray);
  --faq-text: var(--light-gray);
  --faq-line: rgba(139, 155, 180, 0.16);
  --faq-radius: 20px;
  font-family: var(--font-body);
  background:
    radial-gradient(680px 320px at 88% -4%, rgba(255, 59, 48, 0.1), transparent 65%),
    radial-gradient(520px 260px at -6% 26%, rgba(255, 214, 10, 0.06), transparent 60%),
    var(--faq-ink);
  color: var(--faq-text);
}

.help-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 59, 48, 0.4);
}

.help-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 155, 180, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 155, 180, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.help-hero__container {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 44px;
  display: grid;
  gap: 36px;
  align-items: center;
}

.help-hero__copy {
  position: relative;
  z-index: 2;
}

.page-faq .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.page-faq .crumb__link {
  color: var(--faq-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .crumb__link:hover {
  color: var(--faq-yellow);
}

.page-faq .crumb__sep {
  color: rgba(139, 155, 180, 0.5);
  font-size: 0.875rem;
}

.page-faq .crumb__current {
  color: var(--faq-text);
  font-size: 0.875rem;
}

.help-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.help-hero__lead {
  color: var(--faq-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 24px;
}

.help-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 20, 24, 0.9);
  border: 1px solid rgba(139, 155, 180, 0.28);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 16px;
  max-width: 540px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.help-search:focus-within {
  border-color: var(--faq-red);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.14);
}

.help-search__icon {
  color: var(--faq-muted);
  flex-shrink: 0;
}

.help-search__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 8px 0;
}

.help-search__input::placeholder {
  color: var(--faq-muted);
}

.help-search__hint {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--faq-muted);
  border: 1px solid rgba(139, 155, 180, 0.2);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}

.help-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.help-hero__figure {
  position: relative;
  z-index: 2;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(139, 155, 180, 0.2);
  background: var(--faq-charcoal);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.help-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.help-hero__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--faq-text);
  background: rgba(11, 27, 43, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 59, 48, 0.4);
  backdrop-filter: blur(6px);
  margin: 0;
}

.help-hero__watermark {
  position: absolute;
  right: -14px;
  top: -8px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(7rem, 18vw, 12rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  user-select: none;
  pointer-events: none;
}

.help-hero__slash {
  position: absolute;
  left: -40px;
  top: 120px;
  z-index: 1;
  width: 180px;
  height: 3px;
  background: var(--faq-red);
  transform: rotate(-18deg);
  opacity: 0.7;
  pointer-events: none;
}

.topic-bar {
  background: rgba(11, 27, 43, 0.92);
  border-bottom: 1px solid rgba(139, 155, 180, 0.12);
  backdrop-filter: blur(12px);
}

.topic-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  padding: 10px 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.topic-bar__inner::-webkit-scrollbar {
  display: none;
}

.topic-bar__item {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--faq-text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 155, 180, 0.22);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.topic-bar__item:hover {
  border-color: var(--faq-red);
  color: var(--white);
}

.topic-bar__item:focus {
  outline: none;
  border-color: var(--faq-yellow);
  color: var(--faq-yellow);
}

.faq-board {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 24px 64px;
}

.faq-side__inner {
  background: rgba(16, 20, 24, 0.82);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.7);
}

.faq-side__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.faq-side__intro {
  font-size: 0.85rem;
  color: var(--faq-muted);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(139, 155, 180, 0.18);
}

.faq-index__group {
  margin-bottom: 20px;
}

.faq-index__group:last-of-type {
  margin-bottom: 8px;
}

.faq-index__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faq-yellow);
  margin: 0 0 8px;
}

.faq-index__label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--faq-red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.faq-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-index__list li + li {
  margin-top: 4px;
}

.faq-index__list a {
  display: block;
  color: var(--faq-text);
  font-size: 0.875rem;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--radius-s);
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq-index__list a:hover {
  background: rgba(255, 59, 48, 0.1);
  color: var(--white);
  transform: translateX(3px);
}

.faq-side__btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.faq-main__hint {
  display: inline-block;
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.22);
  border-radius: var(--radius-pill);
  color: var(--faq-text);
  font-size: 0.8rem;
  padding: 10px 18px;
  margin-bottom: 28px;
}

.faq-group {
  margin-bottom: 52px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 59, 48, 0.4);
}

.faq-group__title::before {
  content: attr(data-index);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--faq-yellow);
  transform: translateY(-3px);
}

.faq-item {
  background: rgba(16, 20, 24, 0.85);
  border: 1px solid rgba(139, 155, 180, 0.14);
  border-radius: 18px;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(139, 155, 180, 0.3);
}

.faq-item[open] {
  border-color: rgba(255, 59, 48, 0.45);
  box-shadow: 0 10px 30px -18px rgba(255, 59, 48, 0.35);
}

.faq-item:target {
  border-color: var(--faq-red);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.14);
  animation: faq-target-pulse 2s ease-out;
}

@keyframes faq-target-pulse {
  0% {
    background-color: rgba(255, 59, 48, 0.12);
  }
  100% {
    background-color: transparent;
  }
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  color: var(--white);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--faq-yellow);
}

.faq-item summary:focus {
  outline: none;
  color: var(--faq-yellow);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.16);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: rgba(255, 214, 10, 0.2);
  color: var(--faq-yellow);
}

.faq-item__body {
  padding: 14px 48px 20px 20px;
  border-top: 1px dashed rgba(139, 155, 180, 0.14);
  color: var(--faq-text);
  font-size: 0.925rem;
  line-height: 1.75;
}

.faq-item__body p {
  margin: 0 0 10px;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

.sync-guide {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(139, 155, 180, 0.14);
  border-bottom: 1px solid rgba(139, 155, 180, 0.14);
  background:
    linear-gradient(115deg, rgba(30, 42, 58, 0.6) 0%, rgba(11, 27, 43, 0) 55%),
    rgba(11, 27, 43, 0.5);
}

.sync-guide__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  gap: 36px;
  align-items: center;
}

.sync-guide__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.sync-guide__desc {
  color: var(--faq-text);
  max-width: 480px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.sync-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.sync-steps__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(139, 155, 180, 0.12);
}

.sync-steps__item:last-child {
  border-bottom: none;
}

.sync-steps__num {
  flex-shrink: 0;
  min-width: 40px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--faq-red);
}

.sync-steps__text {
  color: var(--faq-text);
  line-height: 1.6;
  font-size: 0.9375rem;
  padding-top: 2px;
}

.sync-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sync-guide__figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(139, 155, 180, 0.2);
  background: var(--faq-charcoal);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8);
}

.sync-guide__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.sync-guide__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.75rem;
  color: var(--faq-text);
  background: rgba(11, 27, 43, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 214, 10, 0.35);
  backdrop-filter: blur(6px);
  margin: 0;
}

.help-cta {
  padding: 64px 24px 72px;
  background:
    radial-gradient(520px 260px at 50% 100%, rgba(255, 59, 48, 0.08), transparent 70%);
}

.help-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.help-cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.help-cta__desc {
  color: var(--faq-text);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 28px;
}

.help-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 960px) {
  .help-hero__container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    padding: 72px 24px 64px;
  }

  .sync-guide__container {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    padding: 72px 24px;
  }
}

@media (min-width: 1024px) {
  .faq-board {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    padding-top: 64px;
  }

  .faq-board > .faq-side {
    min-width: 0;
  }
}
