.help-center,
.help-center *,
.help-center *::before,
.help-center *::after {
  box-sizing: border-box;
}

.help-center {
  --help-max: 1240px;
  --help-gap: 30px;
  --help-text: #f1f5f9;
  --help-muted: #94a3b8;
  --help-cyan: #67e8f9;
  --help-line: rgba(148, 163, 184, 0.18);
  color: var(--help-text);
  font-family: Inter, system-ui, sans-serif;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(820px 420px at 8% 0%, rgba(99, 102, 241, 0.22), transparent 62%),
    radial-gradient(640px 380px at 92% 8%, rgba(6, 182, 212, 0.14), transparent 64%),
    radial-gradient(520px 360px at 70% 100%, rgba(236, 72, 153, 0.08), transparent 62%),
    #070b18;
  padding-bottom: 72px;
}

.help-center a {
  color: var(--help-cyan);
  text-decoration: none;
}

.help-center a:hover {
  color: #a5f3fc;
}

.help-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.help-header-inner,
.help-wrap {
  width: min(var(--help-max), calc(100% - 48px));
  margin: 0 auto;
}

.help-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  min-height: 52px;
  padding: 28px 0 36px;
}

.help-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.help-logo img {
  width: 124px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.help-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.help-nav a,
.help-nav-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.help-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.help-soon-badge {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--help-cyan);
  border: 1px solid rgba(103, 232, 249, 0.45);
  border-radius: 999px;
  padding: 3px 6px;
}

.help-support-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.35);
  font-size: 14px;
  font-weight: 500;
}

.help-support-link svg {
  width: 14px;
  height: 14px;
}

.help-support-link:hover {
  color: #fff !important;
  border-color: rgba(103, 232, 249, 0.55);
}

.help-intro {
  padding: 8px 0 28px;
}

.help-eyebrow {
  margin: 0 0 10px;
  color: var(--help-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.help-intro h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.7vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  background: linear-gradient(100deg, #f472b6 0%, #a78bfa 42%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.help-sub {
  margin: 14px 0 0;
  max-width: 36rem;
  color: var(--help-muted);
  font-size: 18px;
  line-height: 1.5;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(240px, 28%) minmax(0, 1fr);
  gap: var(--help-gap);
  align-items: start;
}

.help-kicker {
  margin: 0 0 10px;
  color: var(--help-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.help-cat-card,
.help-panel,
.help-search,
.help-empty {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.help-cat-card {
  border-radius: 20px;
  overflow: hidden;
}

.help-cat {
  width: 100%;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--help-line);
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
}

.help-cat:last-child {
  border-bottom: 0;
}

.help-cat-icon,
.help-cat-chevron {
  display: inline-flex;
  color: #94a3b8;
}

.help-cat-chevron svg {
  width: 14px;
  height: 14px;
}

.help-cat.is-active {
  color: #f8fafc;
  background: rgba(99, 102, 241, 0.18);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.38);
}

.help-cat.is-active .help-cat-icon,
.help-cat.is-active .help-cat-chevron {
  color: var(--help-cyan);
}

.help-support {
  position: relative;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(8, 12, 28, 0.72);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.12);
}

.help-support::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(236, 72, 153, 0.4), rgba(6, 182, 212, 0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.help-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--help-cyan);
  border: 1px solid rgba(103, 232, 249, 0.35);
  background: rgba(6, 182, 212, 0.08);
}

.help-support h2 {
  margin: 12px 0 6px;
  font-size: 18px;
  font-weight: 650;
}

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

.help-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  color: #fff !important;
  font-weight: 600;
  font-size: 14.5px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #ec4899 78%, #06b6d4 130%);
}

.help-support-btn svg {
  width: 14px;
  height: 14px;
}

.help-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.help-search:focus-within {
  border-color: rgba(103, 232, 249, 0.7);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.16);
}

.help-search-icon {
  display: inline-flex;
  color: #94a3b8;
}

.help-search input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--help-text);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.help-search input::placeholder {
  color: #64748b;
}

.help-search input::-webkit-search-cancel-button {
  appearance: none;
}

.help-clear {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.help-reset {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.help-panel {
  border-radius: 24px;
  overflow: hidden;
}

.help-item {
  border-bottom: 1px solid var(--help-line);
}

.help-item:last-child {
  border-bottom: 0;
}

.help-item h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.help-item h2 button {
  width: 100%;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 16px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.help-num {
  color: var(--help-cyan);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 600;
}

.help-q {
  min-width: 0;
}

.help-mark {
  width: 18px;
  height: 18px;
  position: relative;
  color: #94a3b8;
}

.help-mark::before,
.help-mark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 8px;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
}

.help-mark::after {
  transform: rotate(90deg);
}

.help-item.is-open .help-mark::after {
  transform: rotate(0deg);
  opacity: 0;
}

.help-panel-row {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.help-item.is-open .help-panel-row {
  grid-template-rows: 1fr;
}

.help-panel-inner {
  overflow: hidden;
}

.help-panel-inner p {
  margin: 0;
  padding: 0 18px 16px calc(18px + 2.4rem + 12px);
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.help-panel-inner p + p {
  margin-top: -6px;
}

.help-empty {
  display: none;
  margin-top: 16px;
  padding: 28px 22px;
  border-radius: 24px;
  text-align: left;
}

.help-empty.is-visible {
  display: block;
}

.help-empty h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.help-empty p {
  margin: 0 0 16px;
  color: var(--help-muted);
}

.help-more {
  margin: 16px 4px 0;
  color: var(--help-muted);
  font-size: 14px;
}

.help-center :focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}

body.help-center-page .footer {
  position: relative;
}

body.help-center-page .footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8), transparent);
}

.help-footer-tagline {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .help-layout {
    grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .help-header-inner,
  .help-wrap {
    width: min(var(--help-max), calc(100% - 40px));
  }

  .help-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 16px;
    padding: 18px 0 24px;
  }

  .help-logo {
    justify-self: center;
  }

  .help-support-link {
    display: none;
  }

  .help-nav {
    max-width: 100%;
    overflow-x: auto;
  }

  .help-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .help-side {
    display: contents;
  }

  .help-cats,
  .help-main,
  .help-support {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .help-cats { order: 1; }
  .help-main { order: 2; }
  .help-support { order: 3; margin-top: 18px; }

  .help-cat-card {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 8px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  .help-cat {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    grid-template-columns: 18px auto;
    padding: 0 14px;
  }

  .help-cat-chevron {
    display: none;
  }

  .help-cat.is-active {
    border-radius: 999px;
  }

  .help-intro h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

@media (max-width: 390px) {
  .help-item h2 button {
    padding: 12px 14px;
    font-size: 15px;
  }

  .help-panel-inner p {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-panel-row,
  .help-mark::after {
    transition: none;
  }
}
