:root {
  --brand: #5750ff;
  --ink: #0b0b0c;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --page-line: #d1d5db;
  --page-pad: 24px;
  --mobile-rail-offset: 16px;
  --sidebar-bg: #f9fafb;
  --radius: 12px;
  --maxw: 1120px;
  --rail-half-span: min(calc((var(--maxw) / 2) + var(--page-pad)), calc(50vw - var(--page-pad)));
  --rail-left-offset: calc(50% - var(--rail-half-span) + 0.5px);
  --rail-right-offset: calc(50% + var(--rail-half-span) + 0.5px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: transparent;
  color: inherit;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.help-page-header {
  position: sticky;
  top: 0;
  z-index: 60;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: var(--page-pad);
  background: #f4f4f4;
  border-bottom: 1px solid #d1d5db;
}

.help-page-header-inner {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 600px) auto;
  gap: 24px;
  max-width: calc(1200px - (var(--home-rail-gutter) * 2));
  margin: 0 auto;
  padding: 18px 0;
}

.help-page-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #121316;
  font-size: 1.56rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.help-page-brand span {
  line-height: 1;
}

.help-page-header-search {
  min-width: 0;
}

.help-page-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.help-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.16s ease;
}

.help-header-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.help-header-link-icon svg {
  width: 16px;
  height: 16px;
}

.help-header-link:hover {
  color: #111;
}

.help-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #121827;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(18, 24, 39, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.help-header-cta:hover {
  background: #0b1020;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 24, 39, 0.22);
}

.help-shell {
  display: grid;
  grid-template-columns: minmax(250px, 296px) minmax(0, 1fr);
  gap: 34px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 24px 56px;
  align-items: stretch;
  min-height: 0;
}

.help-page {
  min-height: 100vh;
  padding: 0;
  background: #f4f4f4;
}

.help-topbar-logo {
  width: auto;
  max-width: none;
  height: 22px;
  display: block;
}

.help-search-area {
  position: relative;
  width: 100%;
}

.help-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.help-search-row:focus-within {
  border-color: transparent;
  background: #fff;
  box-shadow: none;
}

.help-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.help-search-icon svg {
  width: 18px;
  height: 18px;
}

.help-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  color: #111;
  font-size: 15px;
  line-height: 1.4;
  appearance: none;
}

.help-search-input::placeholder {
  color: #8b94a3;
}

.help-search-input::-webkit-search-cancel-button,
.help-search-input::-webkit-search-decoration,
.help-search-input::-webkit-search-results-button,
.help-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.help-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.help-search-clear:hover {
  background: rgba(15, 23, 42, 0.05);
  color: #4b5563;
}

.help-search-clear svg {
  width: 16px;
  height: 16px;
}

.help-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 250px;
  margin-top: 6px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  padding: 4px;
}

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

.help-search-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.12s;
}

.help-search-suggestion:hover {
  background: #f3f4f6;
}

.help-search-suggestion .meta {
  font-size: 12px;
  color: #9ca3af;
  flex: 0 0 auto;
  margin-left: 12px;
}

.help-search-suggestion .label-wrap {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.help-search-suggestion .copy {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-sidebar {
  min-width: 0;
  font-size: 14px;
  min-height: 0;
}

.help-sidebar-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

.help-sidebar-toplinks {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eceef1;
}

.help-sidebar-toplinks a,
.help-overview-nav a,
.help-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.help-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: 0 0 auto;
}

.help-nav-icon svg {
  width: 16px;
  height: 16px;
}

.help-sidebar-toplinks a:hover,
.help-overview-nav a:hover,
.help-nav a:hover {
  background: rgba(87, 80, 255, 0.08);
  color: #111;
}

.help-sidebar-toplinks a.is-active,
.help-overview-nav a.is-active,
.help-nav a.is-active {
  background: rgba(87, 80, 255, 0.12);
  color: var(--brand);
  border-color: transparent;
  font-weight: 600;
}

.help-sidebar-section-heading {
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.help-overview-nav {
  margin: 0;
  padding: 0 0 16px;
  margin-bottom: 2px;
  border-bottom: 1px solid #d1d5db;
}

.help-sidebar-group {
  margin-bottom: 0;
  padding: 0 0 8px;
  background: transparent;
  border: 0;
}

.help-sidebar-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.help-sidebar-group-title:hover {
  background: rgba(87, 80, 255, 0.08);
  border-color: transparent;
}

.help-sidebar-group-title::-webkit-details-marker {
  display: none;
}

.help-sidebar-group-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.help-sidebar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.help-sidebar-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: transform 0.18s ease, color 0.18s ease;
}

.help-sidebar-chevron svg {
  width: 16px;
  height: 16px;
}

.help-sidebar-group[open] .help-sidebar-chevron {
  color: var(--brand);
  transform: rotate(90deg);
}

.help-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 8px;
}

.help-content-wrap {
  min-width: 0;
  width: 100%;
  min-height: 0;
}

.help-content {
  padding: 42px 44px 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1.68;
  font-size: 15px;
}

.help-main {
  min-width: 0;
  min-height: 0;
}

.help-content-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eceef1;
}

.help-content-eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.help-content-header h1,
.help-hero-card h1 {
  margin: 0;
  color: #111;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.help-content-lede {
  max-width: 760px;
  margin: 16px 0 0;
  color: #4b5563;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.help-article-body > h1:first-child {
  display: none;
}

.help-hero-card {
  padding: 6px 0 10px;
}

.help-overview {
  display: grid;
  gap: 28px;
}

.help-overview-section {
  display: grid;
  gap: 18px;
}

.help-overview-copy {
  max-width: 680px;
}

.help-overview-eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.help-overview-copy h2 {
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.help-overview-copy p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

.help-overview-grid,
.help-topic-grid {
  display: grid;
  gap: 18px;
}

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

.help-overview-card,
.help-topic-card {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fcfcfc;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.help-overview-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.help-overview-card:hover,
.help-topic-link:hover {
  transform: translateY(-1px);
}

.help-overview-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.help-overview-card-kicker {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.help-overview-card-title {
  color: #111;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.help-overview-card-copy {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.help-overview-card-link {
  color: #111;
  font-size: 14px;
  font-weight: 600;
}

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

.help-topic-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.help-topic-card-header h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.help-topic-card-header p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.help-topic-links {
  display: grid;
  gap: 10px;
}

.help-topic-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.help-topic-link:hover {
  border-color: #d1d5db;
  background: #fafafa;
}

.marketing-help .brand-lockup__logo {
  width: 124px;
  max-width: 124px;
  height: auto;
  flex: 0 0 auto;
}

.marketing-help .footer-logo-img {
  width: 110px;
  max-width: 110px;
  height: auto;
}

.marketing-help .footer-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketing-help .footer-store-badges .store-badge {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.marketing-help .footer-store-badges .store-badge img {
  width: auto;
  max-width: none;
  height: 38px;
}

.marketing-help .footer-origin-flag {
  width: auto;
  height: 14px;
}

.help-article-body h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.help-article-body h2 {
  margin: 30px 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.help-article-body h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.help-article-body p,
.help-article-body ul {
  margin: 0 0 16px;
  color: #374151;
}

.help-article-body ul {
  padding-left: 22px;
}

.help-article-body li {
  margin: 8px 0;
}

.help-article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.section-separator {
  position: relative;
  height: 32px;
  width: 100vw;
  margin: 20px 0 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--page-line);
  transform: translateY(-50%);
}

.section-separator .plus {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  background: #fff;
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.section-separator .plus.left {
  left: var(--rail-left-offset);
  transform: translate(-50%, -50%);
}

.section-separator .plus.right {
  left: var(--rail-right-offset);
  transform: translate(-50%, -50%);
}

.section-separator .plus svg {
  width: 20px;
  height: 20px;
}

.help-legacy-footer-wrap {
  padding: 36px 24px 32px;
}

.help-legacy-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.help-legacy-footer-top {
  display: grid;
  gap: 28px;
}

.help-legacy-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-legacy-footer-logo-img {
  width: 110px;
  height: auto;
  display: block;
}

.help-legacy-footer-note {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
}

.help-legacy-footer-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
}

.help-legacy-footer-input {
  flex: 1 1 auto;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 16px;
}

.help-legacy-footer-btn {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.help-legacy-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.help-legacy-footer-heading {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.help-legacy-footer-links {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
}

.help-legacy-footer-links a {
  text-decoration: none;
}

.help-legacy-footer-links a:hover,
.help-legacy-footer-social a:hover {
  color: var(--ink);
}

.help-legacy-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.help-legacy-footer-copy-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.help-legacy-footer-copy {
  font-size: 15px;
}

.help-legacy-footer-origin,
.help-legacy-footer-origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  white-space: nowrap;
}

.help-legacy-footer-origin-flag,
.help-legacy-footer-origin-badge-flag {
  width: auto;
  height: 14px;
  object-fit: contain;
  display: block;
}

.help-legacy-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.help-legacy-footer-social a {
  color: inherit;
}

@media (max-width: 960px) {
  .help-page-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 16px;
  }

  .help-page-brand {
    font-size: 1.45rem;
  }

  .help-page-header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .help-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
  }

  .help-sidebar-card {
    max-height: none;
    overflow: visible;
  }

  .help-content-wrap {
    max-height: none;
    overflow: visible;
  }

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

  .help-legacy-footer-form {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (min-width: 961px) {
  body.marketing-help {
    overflow: hidden;
  }

  .marketing-help .page-shell--home,
  .marketing-help .frame--home {
    height: 100vh;
    min-height: 100vh;
  }

  .help-page {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100vh;
  }

  .help-shell {
    height: 100%;
    min-height: 0;
    padding-top: 26px;
    padding-bottom: 26px;
    overflow: hidden;
  }

  .help-sidebar,
  .help-main {
    height: 100%;
  }

  .help-sidebar-card,
  .help-content-wrap {
    height: 100%;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .help-sidebar-card {
    overscroll-behavior: contain;
  }

  .help-content-wrap {
    padding-right: 10px;
    overscroll-behavior: contain;
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad: 16px;
    --mobile-rail-offset: 10px;
    --rail-left-offset: calc(var(--mobile-rail-offset) + env(safe-area-inset-left));
    --rail-right-offset: calc(100% - var(--mobile-rail-offset) - env(safe-area-inset-right));
  }

  .help-page-header-inner {
    padding: 12px 0;
  }

  .help-page-brand {
    gap: 10px;
    font-size: 1.2rem;
  }

  .help-shell {
    padding: 18px 16px 34px;
    gap: 22px;
  }

  .help-page-header-actions {
    gap: 8px;
  }

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

  .help-header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .help-search-row {
    min-height: 44px;
    padding: 0 14px;
  }

  .help-content {
    padding: 28px 22px 34px;
    border-radius: 24px;
  }

  .marketing-help .brand-lockup__logo {
    width: 112px;
    max-width: 112px;
  }

  .marketing-help .footer-store-badges .store-badge img {
    height: 34px;
  }

  .help-legacy-footer-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 900px) {
  .help-legacy-footer-top {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }

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

  .help-legacy-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
