:root {
  --hc-bg: #04030a;
  --hc-bg-2: #080512;
  --hc-panel: #0b0912;
  --hc-panel-2: #100b1c;
  --hc-text: #f5f7ff;
  --hc-muted: rgba(245, 247, 255, .70);
  --hc-soft: rgba(245, 247, 255, .52);
  --hc-line: rgba(255, 255, 255, .12);
  --hc-line-strong: rgba(255, 255, 255, .22);
  --hc-brand: #8b5cf6;
  --hc-brand-strong: #7c3aed;
  --hc-accent: #ffffff;
  --hc-indigo: #c4b5fd;
  --hc-success: #f5f3ff;
  --hc-max: 1180px;
  --hc-radius: 8px;
  --hc-shadow: 0 18px 48px rgba(0, 0, 0, .30);
}

body {
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(180deg, #04030a 0%, #090614 48%, #04030a 100%) !important;
  background-size: 36px 36px, 36px 36px, auto !important;
  color: var(--hc-text) !important;
}

.page-shell *,
.hc-modal * {
  letter-spacing: 0 !important;
}

.page-shell {
  padding: 96px 0 84px !important;
  overflow: clip;
}

.wrap {
  width: min(var(--hc-max), calc(100% - 48px));
  max-width: var(--hc-max) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.hc-panel,
.hc-card,
.hc-category,
.hc-strip,
.hc-mini,
.article-card,
.faq-card,
.hc-modal-panel {
  border-radius: var(--hc-radius) !important;
  border: 1px solid var(--hc-line) !important;
  background: rgba(11, 9, 18, .94) !important;
  box-shadow: none !important;
}

.hc-topline {
  margin-bottom: 22px !important;
  padding: 10px 12px !important;
  background: rgba(11, 9, 18, .78) !important;
}

.hc-kicker,
.hc-status-pill,
.hero-meta span,
.path-meta span,
.article-meta span,
.journey-meta span,
.mini-meta span,
.catalog-meta span {
  border-radius: 999px !important;
  border-color: rgba(167, 139, 250, .34) !important;
  background: rgba(139, 92, 246, .12) !important;
  color: rgba(248, 246, 255, .92) !important;
}

.hc-kicker {
  color: var(--hc-brand) !important;
  text-transform: none !important;
  font-weight: 800 !important;
}

.hc-bread,
.hc-status-pill,
.hero-copy p,
.hero-stat span,
.info-strip p,
.section-title p,
.support-path p,
.journey-card p,
.hc-mini p,
.hc-category p,
.article-card p,
.catalog-link span,
.catalog-group-copy,
.faq-card p,
.final-cta p,
.hc-article-content,
.helpful-message {
  color: var(--hc-muted) !important;
}

.hc-status-dot {
  background: var(--hc-success) !important;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, .20) !important;
}

.hero {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  min-height: 520px !important;
  display: grid !important;
  align-items: center !important;
  padding: 56px !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  background-image:
    linear-gradient(90deg, rgba(4, 3, 10, .99) 0%, rgba(10, 5, 24, .94) 48%, rgba(47, 24, 86, .72) 100%),
    linear-gradient(120deg, rgba(124, 58, 237, .62) 0%, rgba(91, 33, 182, .42) 48%, rgba(255, 255, 255, .06) 100%),
    url("../img/helpcenter_bg.png") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-blend-mode: normal, color, normal;
  box-shadow: var(--hc-shadow) !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hc-brand), var(--hc-accent), var(--hc-indigo));
}

.hero-grid {
  width: min(var(--hc-max), calc(100% - 48px)) !important;
  margin: 0 auto !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px) !important;
  gap: 34px !important;
  align-items: stretch !important;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 52px !important;
  line-height: 1.02 !important;
  font-weight: 850 !important;
}

.hero-copy p {
  max-width: 690px !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
}

.hero-search {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  margin-top: 34px !important;
}

.hero-search-shell,
.library-search input {
  border-radius: var(--hc-radius) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22) !important;
}

.hero-search-shell {
  padding: 10px 10px 10px 16px !important;
}

.hero-search-shell i,
.library-search i {
  color: #0e1110 !important;
}

.hero-search-shell input,
.library-search input {
  min-height: 54px !important;
  color: #0e1110 !important;
  font-size: 16px !important;
}

.hero-search-shell input::placeholder,
.library-search input::placeholder {
  color: rgba(14, 17, 16, .58) !important;
}

.hero-btn,
.btn,
.btn-soft,
.btn-ghost,
.article-link-btn,
.helpful button,
.hc-modal-close {
  border-radius: var(--hc-radius) !important;
  min-height: 44px !important;
}

.hero-btn,
.page-shell .btn {
  background: var(--hc-brand) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: none !important;
}

.page-shell .btn:hover,
.hero-btn:hover {
  background: #a78bfa !important;
  transform: translateY(-1px);
}

.btn-soft,
.btn-ghost,
.article-link-btn,
.helpful button,
.hc-modal-close {
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
}

.btn-soft:hover,
.btn-ghost:hover,
.article-link-btn:hover,
.helpful button:hover,
.hc-modal-close:hover {
  border-color: rgba(167, 139, 250, .55) !important;
  background: rgba(139, 92, 246, .16) !important;
}

.hero-side {
  gap: 12px !important;
}

.hero-stat {
  border-radius: var(--hc-radius) !important;
  padding: 18px !important;
  background: rgba(11, 9, 18, .84) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  backdrop-filter: blur(12px);
}

.hero-stat .hero-label,
.article-tag,
.hc-modal-breadcrumb {
  color: var(--hc-brand) !important;
  text-transform: none !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

.info-strip {
  margin-top: 14px !important;
  padding: 18px !important;
  border-left: 5px solid var(--hc-brand) !important;
  background: rgba(11, 9, 18, .88) !important;
}

.section-title {
  align-items: flex-end !important;
  margin-bottom: 22px !important;
}

.section-title h2,
.final-cta h2,
.hc-modal-title {
  color: #fff !important;
  font-size: 34px !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
}

.support-paths {
  margin-top: 28px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.support-path {
  min-height: 230px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: space-between;
  gap: 20px !important;
  padding: 20px !important;
  background: rgba(11, 9, 18, .90) !important;
  border-left: 5px solid rgba(255, 255, 255, .14) !important;
}

.support-path:hover,
.article-card:hover,
.faq-card:hover,
.catalog-link:hover,
.journey-card:hover,
.hc-category:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(167, 139, 250, .52) !important;
  background: rgba(16, 11, 28, .98) !important;
}

.support-path:nth-child(1) { border-left-color: var(--hc-brand) !important; }
.support-path:nth-child(2) { border-left-color: var(--hc-accent) !important; }
.support-path:nth-child(3) { border-left-color: var(--hc-indigo) !important; }
.support-path:nth-child(4) { border-left-color: var(--hc-success) !important; }

.support-ico,
.journey-ico,
.mini-ico,
.article-ico,
.category-ico {
  border-radius: var(--hc-radius) !important;
  background: rgba(139, 92, 246, .15) !important;
  border: 1px solid rgba(167, 139, 250, .32) !important;
  color: var(--hc-brand) !important;
}

.support-path strong,
.journey-card strong,
.hc-mini strong,
.hc-category strong,
.article-card strong,
.catalog-link strong {
  color: #fff !important;
  font-weight: 800 !important;
}

.catalog-shell {
  margin-top: 86px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.catalog-grid {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 24px !important;
}

.catalog-sidebar {
  gap: 10px !important;
}

.hc-mini {
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
  background: rgba(11, 9, 18, .78) !important;
}

.hc-mini p,
.hc-mini .mini-meta,
.hc-mini .path-meta {
  display: flex !important;
}

.hc-mini .path-meta {
  margin-top: 0 !important;
}

.catalog-main {
  gap: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.catalog-main-row {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 20px !important;
  padding: 22px 0 !important;
  border-bottom: 1px solid var(--hc-line) !important;
}

.catalog-group-title {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 850 !important;
}

.catalog-links {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.catalog-link {
  min-height: 112px;
  border-radius: var(--hc-radius) !important;
  padding: 14px !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
}

.journeys,
.library,
.faq,
.final-cta {
  margin-top: 86px !important;
}

#help-library,
.library {
  scroll-margin-top: 96px;
}

.journey-grid {
  gap: 12px !important;
}

.journey-card {
  grid-template-columns: 260px minmax(0, 1fr) auto !important;
  padding: 18px !important;
  background: rgba(11, 9, 18, .82) !important;
  border-left: 5px solid rgba(167, 139, 250, .45) !important;
}

.journey-list {
  gap: 10px 18px !important;
}

.journey-list li {
  color: var(--hc-muted) !important;
}

.journey-list li::before {
  background: var(--hc-brand) !important;
}

.library-controls {
  gap: 14px !important;
}

.library-search input {
  padding-left: 54px !important;
}

.library-search input:focus,
.hero-search-shell:focus-within {
  border-color: rgba(167, 139, 250, .82) !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .18) !important;
}

.filter-meta {
  color: var(--hc-soft) !important;
}

.library-subhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.library-subhead span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--hc-indigo);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.library-subhead h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 850;
}

.library-subhead p {
  max-width: 520px;
  margin: 0;
  color: var(--hc-muted);
  font-size: 14px;
  line-height: 1.65;
}

.library-subhead--articles {
  margin-top: 34px;
  border-top-color: rgba(139, 92, 246, .28);
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
}

.hc-category {
  min-height: 150px !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  gap: 12px !important;
  padding: 16px !important;
  background: rgba(255, 255, 255, .035) !important;
  border-color: rgba(255, 255, 255, .10) !important;
  border-top: 3px solid rgba(167, 139, 250, .36) !important;
}

.hc-category::before {
  content: "Category";
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(248, 246, 255, .76);
  font-size: 11px;
  font-weight: 800;
}

.hc-category .support-path-head {
  gap: 10px !important;
  align-items: center !important;
}

.hc-category .category-ico {
  width: 38px !important;
  height: 38px !important;
}

.hc-category p {
  font-size: 13px !important;
  line-height: 1.58 !important;
}

.hc-category .catalog-meta {
  margin-top: auto !important;
}

.hc-category.active {
  border-color: rgba(167, 139, 250, .68) !important;
  border-top-color: var(--hc-brand) !important;
  background: linear-gradient(180deg, rgba(139, 92, 246, .24), rgba(11, 9, 18, .94)) !important;
}

.hc-category.active::before {
  background: rgba(255, 255, 255, .94);
  color: #150d2a;
  border-color: transparent;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 0 !important;
}

.article-card {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px !important;
  background: linear-gradient(180deg, rgba(17, 11, 31, .98), rgba(8, 6, 14, .98)) !important;
  border-color: rgba(167, 139, 250, .26) !important;
  border-left: 4px solid rgba(139, 92, 246, .72) !important;
}

.article-card::before {
  content: "Article";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, .20);
  border: 1px solid rgba(167, 139, 250, .34);
  color: rgba(248, 246, 255, .94);
  font-size: 11px;
  font-weight: 850;
}

.article-card:hover {
  border-left-color: #c4b5fd !important;
  background: linear-gradient(180deg, rgba(24, 16, 45, .98), rgba(11, 8, 20, .98)) !important;
}

.article-top {
  align-items: flex-start !important;
  padding-right: 72px;
}

.article-card .article-ico {
  background: rgba(139, 92, 246, .24) !important;
  color: #fff !important;
}

.article-tag {
  width: fit-content;
  margin-bottom: 9px !important;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, .28);
  background: rgba(139, 92, 246, .12);
  color: rgba(248, 246, 255, .88) !important;
  font-size: 11px !important;
}

.article-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.article-card .article-meta {
  margin-top: 18px !important;
}

.empty-state {
  border-radius: var(--hc-radius) !important;
  background: rgba(11, 9, 18, .84) !important;
  border: 1px solid var(--hc-line) !important;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.faq-card {
  background: rgba(11, 9, 18, .84) !important;
}

.faq-card summary {
  padding: 18px !important;
  color: #fff !important;
  font-size: 16px !important;
}

.faq-card p {
  padding: 0 18px 18px !important;
}

.article-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.final-cta {
  padding: 28px !important;
  border-left: 5px solid var(--hc-accent) !important;
  background: rgba(11, 9, 18, .90) !important;
}

.hc-modal {
  background: rgba(0, 0, 0, .72) !important;
  z-index: 1000 !important;
  align-items: flex-start !important;
  overflow-y: auto !important;
  padding: 86px 24px 24px !important;
}

.hc-modal-panel {
  background: var(--hc-panel) !important;
  max-height: calc(100vh - 110px) !important;
}

.hc-modal-head {
  background: rgba(11, 9, 18, .98) !important;
  padding-top: 24px !important;
  padding-bottom: 18px !important;
}

.hc-modal-head > div {
  min-width: 0;
}

.hc-modal-title {
  line-height: 1.18 !important;
  overflow-wrap: anywhere;
}

.hc-modal-breadcrumb {
  line-height: 1.45 !important;
}

.hc-article-content h3 {
  color: #fff !important;
  font-size: 20px !important;
}

.article-note {
  border-radius: var(--hc-radius) !important;
  border-color: rgba(167, 139, 250, .38) !important;
  background: rgba(139, 92, 246, .16) !important;
  color: rgba(248, 246, 255, .96) !important;
}

.article-note a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(196, 181, 253, .72);
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .catalog-grid,
  .catalog-main-row,
  .final-cta,
  .info-strip,
  .journey-card {
    grid-template-columns: 1fr !important;
  }

  .support-paths,
  .category-grid,
  .article-grid,
  .catalog-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding-top: 88px !important;
  }

  .wrap {
    width: min(100% - 28px, var(--hc-max)) !important;
  }

  .hero {
    min-height: auto !important;
    padding: 30px 18px !important;
    background-position: center !important;
  }

  .hero-grid {
    width: min(100% - 28px, var(--hc-max)) !important;
  }

  .hero-copy h1,
  .section-title h2,
  .final-cta h2,
  .hc-modal-title {
    font-size: 32px !important;
  }

  .hero-search-shell {
    flex-wrap: wrap !important;
  }

  .hero-btn,
  .final-cta-actions,
  .final-cta-actions a {
    width: 100% !important;
  }

  .support-paths,
  .category-grid,
  .article-grid,
  .catalog-links,
  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .library-subhead {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .article-card::before {
    position: static;
    margin-bottom: 12px;
  }

  .article-top {
    padding-right: 0;
  }

  .hc-modal {
    padding: 76px 12px 12px !important;
  }

  .hc-modal-panel {
    max-height: calc(100vh - 88px) !important;
  }

  .hc-modal-head {
    gap: 12px !important;
    padding: 18px !important;
  }

  .hc-modal-title {
    font-size: 28px !important;
    line-height: 1.22 !important;
  }

  .catalog-main-row,
  .final-cta {
    padding: 18px !important;
  }

  .hc-topline {
    align-items: flex-start !important;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .page-shell *,
  .page-shell *::before,
  .page-shell *::after,
  .hc-modal *,
  .hc-modal *::before,
  .hc-modal *::after {
    box-sizing: border-box;
    min-width: 0;
  }

  .page-shell {
    padding-bottom: 64px !important;
    overflow: hidden;
    overflow: clip;
  }

  .wrap,
  .hero-grid {
    width: calc(100% - 2rem) !important;
    max-width: none !important;
  }

  .hero {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 28px 1rem !important;
  }

  .hero-grid {
    gap: 22px !important;
  }

  .hero-copy h1,
  .section-title h2,
  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 2.55rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  .hero-copy p,
  .section-title p,
  .support-path p,
  .journey-card p,
  .hc-mini p,
  .hc-category p,
  .article-card p,
  .catalog-link span,
  .catalog-group-copy,
  .faq-card p,
  .final-cta p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }

  .hc-topline,
  .hc-topline-left,
  .hero-meta,
  .catalog-meta,
  .filter-meta {
    gap: 10px !important;
  }

  .hero-search {
    margin-top: 24px !important;
  }

  .hero-search-shell {
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .hero-search-shell input,
  .library-search input {
    min-height: 50px !important;
    font-size: 16px !important;
  }

  .hero-search-shell input {
    flex: 1 1 100%;
    width: 100% !important;
  }

  .hero-btn,
  .btn,
  .btn-soft,
  .btn-ghost,
  .article-link-btn,
  .final-cta-actions,
  .final-cta-actions a {
    width: 100% !important;
  }

  .hero-side {
    grid-template-columns: 1fr !important;
  }

  .hero-stat,
  .support-path,
  .journey-card,
  .hc-mini,
  .hc-category,
  .article-card,
  .faq-card,
  .final-cta {
    padding: 18px !important;
  }

  .support-paths,
  .category-grid,
  .article-grid,
  .catalog-links,
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .catalog-shell,
  .journeys,
  .library,
  .faq,
  .final-cta {
    margin-top: 58px !important;
  }

  .catalog-grid,
  .catalog-main-row,
  .final-cta,
  .info-strip,
  .journey-card {
    grid-template-columns: 1fr !important;
  }

  .catalog-main-row {
    padding: 18px 0 !important;
  }

  .catalog-link,
  .hc-category,
  .article-card {
    min-height: auto !important;
  }

  .article-card::before {
    position: static !important;
    align-self: flex-start;
    margin-bottom: 12px;
  }

  .article-top {
    padding-right: 0 !important;
  }

  .library-subhead,
  .library-controls,
  .final-cta-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .hc-modal {
    padding: 72px 10px 10px !important;
  }

  .hc-modal-panel {
    width: 100% !important;
    max-height: calc(100vh - 82px) !important;
    border-radius: 18px !important;
  }

  .hc-modal-head,
  .hc-modal-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hc-modal-head {
    align-items: flex-start !important;
  }

  .hc-modal-title {
    font-size: clamp(1.65rem, 8vw, 2rem) !important;
  }
}

@media (max-width: 380px) {
  .wrap,
  .hero-grid {
    width: calc(100% - 1.25rem) !important;
  }

  .hero {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .hero-stat,
  .support-path,
  .journey-card,
  .hc-mini,
  .hc-category,
  .article-card,
  .faq-card,
  .final-cta {
    padding: 16px !important;
  }
}
