.help-hub {
  --hc-ink: #102033;
  --hc-muted: #667085;
  --hc-line: #e7edf3;
  --hc-card: #fff;
  --hc-blue: #2563eb;
  --hc-navy: #1d4ed8;
  color: var(--hc-ink);
}

.help-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
  background:
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #f4f8ff 0%, #eef7f3 72%, #ffffff 100%);
}

.help-hero__skyline {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52vw, 620px);
  height: 180px;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 20%, rgba(255,255,255,0.4)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 180' fill='none'%3E%3Cpath fill='%23d7e4f4' d='M40 180V92h28v88H40zm42 0v-52h22v52H82zm36 0V70h34v110h-34zm48 0v-40h18v40h-18zm28 0V84h40v96h-40zm54 0V58h30v122h-30zm44 0v-72h24v72h-24zm38 0V76h50v104h-50zm64 0V48h28v132h-28zm42 0v-36h22v36h-22zm32 0V64h46v116h-46zm60 0V80h26v100h-26z'/%3E%3Cpath fill='%23c5d6ea' d='M120 180V40h18v140h-18zm210 0V28h16v152h-16zm250 0V22h20v158h-20z'/%3E%3Cpath fill='%23b7cbe3' d='M640 180V34c18-18 44-18 62 0v146h-62z'/%3E%3C/svg%3E") no-repeat right bottom;
  background-size: contain;
  opacity: .55;
}

.help-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.help-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.help-hero p {
  margin: 0 0 26px;
  max-width: 560px;
  color: var(--hc-muted);
  font-size: 16px;
}

.help-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
}

.help-search__icon {
  display: none;
}

.help-search {
  position: relative;
}

.help-search__icon {
  display: inline-flex;
  position: absolute;
  left: 16px;
  color: #94a3b8;
}

.help-search input {
  flex: 1;
  min-height: 52px;
  padding: 0 16px 0 44px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.help-search button {
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--hc-navy);
  color: #fff;
  font-weight: 700;
}

.help-values {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.help-values li {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 92px;
  text-align: center;
}

.help-values span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.help-values strong {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: #475569;
}

.help-hub__body {
  padding: 8px 0 72px;
}

.help-section {
  margin-bottom: 36px;
}

.help-section__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.help-section__head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
}

.help-section__head p,
.help-section__head a {
  margin: 0;
  color: var(--hc-muted);
  font-size: 14px;
}

.help-section__head a {
  color: #334155;
  font-weight: 600;
  white-space: nowrap;
}

.help-topics,
.help-popular,
.help-results {
  display: grid;
  gap: 14px;
}

.help-topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.help-topic,
.help-popular__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 18px 16px;
  border: 1px solid var(--hc-line);
  border-radius: 16px;
  background: var(--hc-card);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.help-topic:hover,
.help-popular__item:hover {
  text-decoration: none;
  border-color: #d0dbe8;
}

.help-topic__copy,
.help-popular__item span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.help-topic strong,
.help-popular__item strong {
  font-size: 16px;
  font-weight: 700;
}

.help-topic span,
.help-popular__item small,
.help-topic small {
  color: var(--hc-muted);
  font-size: 13px;
  line-height: 1.45;
}

.help-topic > i,
.help-support a i:last-child {
  color: #94a3b8;
  font-size: 13px;
}

.help-topic__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 40px;
}

.help-topic__icon--blue { background: #eef4ff; color: #2563eb; }
.help-topic__icon--indigo { background: #eef2ff; color: #4f46e5; }
.help-topic__icon--green { background: #ecfdf3; color: #16a34a; }
.help-topic__icon--amber { background: #fff7e8; color: #d97706; }
.help-topic__icon--rose { background: #fff1f2; color: #e11d48; }
.help-topic__icon--teal { background: #ecfdf8; color: #0f766e; }
.help-topic__icon--file { background: #eef2f7; color: #64748b; }

.help-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 22px;
  align-items: start;
}

.help-support {
  padding: 22px;
  border: 1px solid var(--hc-line);
  border-radius: 16px;
  background: var(--hc-card);
}

.help-support__intro {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.help-support__headset {
  color: #2563eb;
}

.help-support h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.help-support p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 14px;
}

.help-support a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  color: var(--hc-ink);
  font-weight: 600;
  text-decoration: none;
}

.help-support a:hover {
  text-decoration: none;
}

.help-support a i:first-child {
  color: #2563eb;
  width: 16px;
}

.help-support a span {
  flex: 1;
}

.help-support__note {
  margin-top: 10px !important;
  font-size: 13px !important;
}

.help-center {
  --hc-ink: #0f172a;
  --hc-muted: #64748b;
  --hc-line: #e2e8f0;
  --hc-card: #fff;
  --hc-blue: #2563eb;
  color: var(--hc-ink);
}

.page-title-area {
  margin-top: var(--site-header-height, 90px) !important;
}

.help-center__hero {
  padding: 28px 0;
}

.help-center__hero h1,
.help-center__topic h2 {
  margin: 0 0 10px;
}

.help-center__list,
.help-center__grid {
  display: grid;
  gap: 12px;
}

.help-center__article-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--hc-line);
  border-radius: 16px;
  background: var(--hc-card);
  color: inherit;
  text-decoration: none;
}

.help-center__crumb {
  margin-bottom: 16px;
  color: var(--hc-muted);
}

.help-center__body {
  padding: 8px 0 48px;
}

.help-center__prose {
  max-width: 760px;
  line-height: 1.7;
}

.help-center__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.help-center__cta a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--hc-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.help-center__cta a.is-ghost {
  background: #fff;
  border: 1px solid var(--hc-line);
  color: var(--hc-ink);
}

@media (max-width: 1100px) {
  .help-hero__grid,
  .help-topics,
  .help-popular,
  .help-split {
    grid-template-columns: 1fr;
  }

  .help-values {
    justify-content: flex-start;
    padding-top: 8px;
  }
}

html[data-theme="dark"] .help-hub,
html[data-theme="dark"] .help-center {
  --hc-ink: #e8eef6;
  --hc-muted: #9aa8b8;
  --hc-line: #2a3544;
  --hc-card: #151b24;
}

html[data-theme="dark"] .help-hero {
  background: linear-gradient(180deg, #121821 0%, #151b24 100%);
}

html[data-theme="dark"] .help-search input,
html[data-theme="dark"] .help-topic,
html[data-theme="dark"] .help-popular__item,
html[data-theme="dark"] .help-support,
html[data-theme="dark"] .help-support a,
html[data-theme="dark"] .help-center__cta a.is-ghost {
  background: #10161f;
  color: #e8eef6;
  border-color: #2a3544;
}

html[data-theme="dark"] .help-values span {
  background: #1b2330;
  color: #d7e2ef;
}

html[data-theme="dark"] .help-values strong,
html[data-theme="dark"] .help-section__head a {
  color: #d7e2ef;
}

html[data-theme="dark"] .page-title-area h1,
html[data-theme="dark"] .page-title-area li,
html[data-theme="dark"] .page-title-area a {
  color: #f2f6fb !important;
}
