.eg-help-page {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(42px, 6vw, 72px);
}

.eg-help-shell {
  width: var(--eg-shell-width);
  margin-inline: auto;
}

.eg-help-hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(42px, 5vw, 70px);
  text-align: center;
}

.eg-help-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(180, 150, 255, 0.16);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eg-help-hero h1 {
  margin: 18px 0 0;
  color: #f7f3ff;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
  text-wrap: balance;
}

.eg-help-hero h1 span {
  color: #8b5cf6;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.32);
}

.eg-help-hero p {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(236, 232, 255, 0.72);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
}

.eg-help-search {
  max-width: 720px;
  margin: 34px auto 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(22, 21, 34, 0.78);
  border: 1px solid rgba(180, 150, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 60px rgba(0, 0, 0, 0.24);
}

.eg-help-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7f3ff;
  padding: 0 18px;
  font-size: 16px;
}

.eg-help-search input::placeholder {
  color: rgba(236, 232, 255, 0.42);
}

.eg-help-search button {
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  background: linear-gradient(135deg, #5b4bff, #8b5cf6);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.eg-help-quick-grid {
  margin: 34px auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.eg-help-quick-card {
  min-height: 138px;
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(22, 21, 34, 0.7);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: #f7f3ff;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eg-help-quick-card strong {
  font-size: 17px;
  line-height: 1.15;
}

.eg-help-quick-card span:last-child {
  color: rgba(236, 232, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.eg-help-guide,
.eg-help-faq-section,
.eg-help-support,
.eg-help-documents {
  padding-top: clamp(42px, 5vw, 72px);
}

.eg-help-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.eg-help-section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
}

.eg-help-section-head--center .eg-help-section-head__text {
  margin-top: 12px;
  max-width: 640px;
  margin-inline: auto;
}

.eg-help-section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eg-help-section-head__title {
  margin: 16px 0 0;
  color: #f7f3ff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 950;
  text-wrap: balance;
}

.eg-help-section-head__text {
  margin: 0;
  color: rgba(236, 232, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

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

.eg-help-guide-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(180, 150, 255, 0.12);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.1), transparent 42%),
    rgba(22, 21, 34, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.24);
  display: grid;
  align-content: start;
  gap: 14px;
}

/* Combined step number + icon wrapper */
.eg-help-step-icon-wrap {
  position: relative;
  display: inline-flex;
  width: fit-content;
}

.eg-help-step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 1;
  border: 1px solid rgba(184, 168, 255, 0.28);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.30), rgba(22, 18, 38, 0.94));
  color: rgba(216, 205, 255, 0.95);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.02em;
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eg-help-guide-card h3 {
  margin: 0;
  color: #f7f3ff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.eg-help-guide-card p {
  margin: 0;
  color: rgba(236, 232, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.eg-help-faq-section {
  width: min(100% - 48px, 900px);
  margin: 0 auto;
}

/* ── Search summary bar ──────────────────────────────────────────────────── */
.eg-help-search-summary {
  width: min(100%, 760px);
  margin: 0 auto 22px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(184, 168, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(12, 10, 22, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eg-help-search-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.eg-help-search-summary__label {
  color: rgba(196, 181, 253, 0.72);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eg-help-search-summary__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.eg-help-search-summary__clear {
  flex-shrink: 0;
  border: 1px solid rgba(184, 168, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 218, 255, 0.78);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
  white-space: nowrap;
}

.eg-help-search-summary__clear:hover {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.34);
  color: #c4b5fd;
}

/* ── FAQ toolbar ─────────────────────────────────────────────────────────── */
.eg-help-faq-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.faq-tab {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: rgba(246, 242, 255, 0.82);
  font-weight: 800;
  cursor: pointer;
}

.faq-tab.is-active {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.34);
  color: #fff;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.16);
}

.eg-help-faq-state {
  margin: 0;
  text-align: center;
  color: rgba(236, 232, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 14, 24, 0.84);
  border: 1px solid rgba(180, 150, 255, 0.1);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.faq-item:hover {
  border-color: rgba(180, 150, 255, 0.22);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.08);
}

.faq-item-trigger {
  width: 100%;
  min-height: 72px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: #f7f3ff;
  text-align: left;
  cursor: pointer;
}

.faq-item-question {
  color: #f7f3ff;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
}

.faq-item-chevron {
  color: rgba(236, 232, 255, 0.72);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.24s ease;
}

.faq-item.is-open .faq-item-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  padding: 0 24px 0 64px;
  color: rgba(236, 232, 255, 0.74);
  font-size: 15.5px;
  line-height: 1.65;
  transition: max-height 0.28s ease, padding-bottom 0.28s ease;
}

.faq-item.is-open .faq-answer {
  padding-bottom: 22px;
}

.faq-answer__inner {
  padding-top: 2px;
}

.eg-help-faq-empty {
  margin-top: 18px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(22, 21, 34, 0.72);
  border: 1px solid rgba(180, 150, 255, 0.12);
  text-align: center;
}

.eg-help-faq-empty h3 {
  margin: 0;
  color: #f7f3ff;
  font-size: 24px;
  line-height: 1.15;
}

.eg-help-faq-empty p {
  margin: 12px auto 0;
  max-width: 520px;
  color: rgba(236, 232, 255, 0.7);
  line-height: 1.6;
}

.eg-help-faq-empty__btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.38);
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.eg-help-faq-empty__btn:hover {
  background: rgba(139, 92, 246, 0.32);
  border-color: rgba(139, 92, 246, 0.65);
  color: #ede9fe;
}

.support-cta {
  width: min(100% - 48px, 900px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 42%, rgba(124, 92, 255, 0.12), transparent 45%),
    radial-gradient(circle at 12% 0%, rgba(184, 168, 255, 0.06), transparent 40%),
    linear-gradient(135deg, rgba(22, 21, 34, 0.84), rgba(10, 10, 16, 0.96));
  border: 1px solid rgba(184, 168, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 28px 70px rgba(0, 0, 0, 0.26),
    0 0 36px rgba(124, 92, 255, 0.08);
}

.support-cta__eyebrow {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-cta h2 {
  margin: 18px 0 0;
  color: #f7f3ff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.support-cta p {
  margin: 18px 0 0;
  color: rgba(236, 232, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.support-cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.support-cta__trust span {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: rgba(246, 242, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.support-cta__actions {
  display: grid;
  gap: 12px;
}

.support-cta__button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 850;
}

.support-cta__button--primary {
  background: linear-gradient(135deg, #5b4bff, #8b5cf6);
  color: #fff;
  border: 1px solid rgba(180, 150, 255, 0.24);
}

.support-cta__button--ghost {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: #f7f3ff;
}

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

.eg-help-doc-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(22, 21, 34, 0.72);
  border: 1px solid rgba(180, 150, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.24);
  color: #f7f3ff;
  text-decoration: none;
  display: grid;
  align-content: start;
  gap: 14px;
}

.eg-help-doc-card strong {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.eg-help-doc-card p {
  margin: 0;
  color: rgba(236, 232, 255, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.eg-help-doc-card__link {
  margin-top: auto;
  color: #c4b5fd;
  font-weight: 800;
}

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

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

  .support-cta {
    grid-template-columns: 1fr;
  }

  .support-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .eg-help-search {
    grid-template-columns: 1fr;
  }

  .eg-help-search button {
    min-height: 48px;
  }

  .eg-help-quick-grid,
  .eg-help-guide-grid,
  .eg-help-doc-grid,
  .support-cta__actions {
    grid-template-columns: 1fr;
  }

  .faq-item-trigger {
    padding: 18px;
    gap: 14px;
  }

  .faq-answer {
    padding: 0 18px 0 18px;
  }

  .faq-item.is-open .faq-answer {
    padding-bottom: 18px;
  }

  .eg-help-search-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .eg-help-search-summary__clear {
    align-self: flex-start;
  }
}

/* ── Live search panel ───────────────────────────────────────────────────── */
@keyframes egLiveSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eg-help-live {
  width: min(720px, 100%);
  margin: 10px auto 0;
  border: 1px solid rgba(178, 154, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.16), transparent 34%),
    rgba(12, 10, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 14px;
  text-align: left;
  animation: egLiveSlideIn 0.22s cubic-bezier(.22, .61, .36, 1) both;
}

.eg-help-live__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 10px;
}

.eg-help-live__label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  min-width: 0;
}

.eg-help-live__clear {
  flex-shrink: 0;
  border: 1px solid rgba(184, 168, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 218, 255, 0.7);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}

.eg-help-live__clear:hover {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.34);
  color: #c4b5fd;
}

.eg-help-live__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eg-help-live-result {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.033);
  cursor: pointer;
  text-align: left;
  color: #f7f3ff;
  width: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.eg-help-live-result:hover {
  transform: translateY(-1px);
  border-color: rgba(178, 154, 255, 0.28);
  background: rgba(124, 92, 255, 0.10);
}

.eg-help-live-result__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.10);
  border: 1px solid rgba(180, 150, 255, 0.14);
  flex-shrink: 0;
}

.eg-help-live-result__icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.eg-help-live-result__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.eg-help-live-result__q {
  font-size: 14px;
  font-weight: 700;
  color: rgba(247, 243, 255, 0.92);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eg-help-live-result__a {
  font-size: 12px;
  color: rgba(200, 190, 230, 0.58);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eg-help-live-result__cat {
  flex-shrink: 0;
  font-size: 11px;
  color: rgba(196, 181, 253, 0.7);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Chips (empty / no-results state) */
.eg-help-live__chips {
  padding: 10px 6px 4px;
}

.eg-help-live__chips-hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(200, 190, 230, 0.6);
}

.eg-help-live__chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eg-help-live__chip {
  border: 1px solid rgba(184, 168, 255, 0.18);
  background: rgba(124, 92, 255, 0.08);
  color: rgba(216, 205, 255, 0.82);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.eg-help-live__chip:hover {
  background: rgba(124, 92, 255, 0.18);
  border-color: rgba(184, 168, 255, 0.36);
  color: #ddd7ff;
}

/* "All results" link */
.eg-help-live__all {
  display: block;
  text-align: center;
  padding: 10px 6px 4px;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(196, 181, 253, 0.7);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.18s;
}

.eg-help-live__all:hover {
  color: #c4b5fd;
}

/* FAQ item highlight on click from live result */
.faq-item.is-highlighted {
  border-color: rgba(139, 92, 246, 0.48) !important;
  background: rgba(139, 92, 246, 0.09) !important;
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.18) !important;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease !important;
}

@media (max-width: 720px) {
  .eg-help-live {
    border-radius: 18px;
    padding: 10px;
  }

  .eg-help-live-result {
    grid-template-columns: 30px 1fr;
  }

  .eg-help-live-result__cat {
    display: none;
  }

  .eg-help-live-result__q {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}
