.help-center-body {
  background: var(--bg);
  color: var(--text);
}

.help-center-page {
  padding-top: 24px;
}

.help-center {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.help-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.help-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.back-button {
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 107, 107, 0.12);
}

.mobile-title {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.back-placeholder {
  width: 44px;
  height: 1px;
}

.help-eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.help-center h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}

.help-subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.help-search {
  margin: 8px 0 18px;
  width: 100%;
  max-width: 780px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(31, 107, 107, 0.12);
  border: 1px solid #e7efef;
}

.help-search input {
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  width: 100%;
}

.search-icon {
  font-size: 18px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.help-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 26px rgba(31, 107, 107, 0.12);
  border: 1px solid #e7efef;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
}

.help-card:hover,
.help-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(31, 107, 107, 0.16);
}

.help-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, #f3fbfb, #e4f2f2);
}

.help-card__title {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.help-card__description {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.help-card__chevron {
  font-size: 22px;
  color: var(--muted);
}

.help-empty {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px dashed #d6e4e4;
  color: var(--muted);
  text-align: center;
}

.help-empty__title {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.help-empty__text {
  margin: 6px 0 0;
}

.help-cta {
  margin-top: 6px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 26px rgba(31, 107, 107, 0.12);
  border: 1px solid #e7efef;
}

.help-cta__question {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.help-cta__subtitle {
  margin: 4px 0 0;
  color: var(--muted);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(31, 107, 107, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  outline: none;
  background: var(--teal-soft);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(31, 107, 107, 0.22);
}

.help-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.help-modal[hidden] {
  display: none;
}

.help-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 20, 0.45);
  backdrop-filter: blur(4px);
}

.help-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(31, 107, 107, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.help-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: #f2f7f7;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
}

.help-modal__title {
  margin: 0;
  font-size: 22px;
  padding-right: 44px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.help-modal__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.help-modal__image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page.help-center-page {
    padding: 16px 18px 32px;
  }

  .desktop-header {
    display: none;
  }

  .help-center {
    padding-top: 0;
  }

  .help-wrapper {
    gap: 16px;
  }

  .help-mobile-header {
    display: flex;
  }

  .help-center h1,
  .help-subtitle,
  .help-search {
    text-align: center;
  }

  .help-search {
    max-width: none;
    border-radius: 16px;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-card {
    padding: 16px 18px;
  }

  .help-modal__dialog {
    padding: 24px 20px;
  }

  .help-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
