/* =====================================================================
   Help Center — customer guides, search, and the sales teaser.
   Builds on site.css tokens; icons that live in CSS are Lucide masks.
   ===================================================================== */

:root {
  --help-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
  --help-icon-tip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E");
  --help-icon-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  --help-icon-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  --help-icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
  --help-sticky-top: calc(var(--header-h) + 24px);
}

/* ---------- hero & search ---------- */

.help-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  color: #c9d6ea;
  text-align: center;
  padding-block: clamp(56px, 8vw, 96px) clamp(56px, 8vw, 88px);
}
.help-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.help-hero-inner {
  position: relative;
}
.help-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  max-width: 820px;
  margin-inline: auto;
}
.help-hero .eyebrow {
  color: var(--accent-300);
}
.help-hero .lead {
  color: #c9d6ea;
  max-width: 620px;
  margin-inline: auto;
}
.help-hero-compact {
  padding-block: clamp(36px, 5vw, 56px);
}
.help-hero-compact h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-top: 16px;
}
.help-hero-compact .help-search {
  margin-top: 20px;
}

.help-search {
  display: flex;
  gap: 6px;
  max-width: 640px;
  margin: 32px auto 0;
  padding: 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.15s ease;
}
.help-search:focus-within {
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 181, 127, 0.5);
}
.help-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.help-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.help-search input[type='search'] {
  height: 100%;
  min-height: 48px;
  border: 0;
  box-shadow: none;
  padding: 12px 10px 12px 44px;
  font-size: 1.05rem;
  background: transparent;
}
.help-search input[type='search']:focus {
  border: 0;
  box-shadow: none;
}
.help-search .btn {
  flex: none;
}
@media (max-width: 480px) {
  .help-search .btn {
    --btn-pad-x: 16px;
  }
  .help-search input[type='search'] {
    font-size: 1rem;
    padding-left: 40px;
  }
  .help-search-icon {
    left: 12px;
  }
}

.help-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #b9c8de;
}
.help-popular ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.help-popular a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 550;
}
.help-popular a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

/* ---------- section heads ---------- */

.help-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 32px;
  margin-bottom: 28px;
}
.help-section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0;
}
.help-section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
}

/* ---------- start here ---------- */

.help-start-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}
.help-start-grid > li {
  display: flex;
}
.help-start-grid .help-start-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}
.help-start-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
}
.help-start-step {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}
.help-start-card h3 {
  font-size: 1.12rem;
}
.help-start-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}
.help-start-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-600);
  font-weight: 650;
  font-size: 0.93rem;
}
.help-start-more .icon {
  transition: transform 0.15s ease;
}
.help-start-card:hover .help-start-more .icon {
  transform: translateX(3px);
}
@media (max-width: 900px) {
  .help-start-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- topic cards ---------- */

.help-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}
.help-cat {
  display: flex;
  flex-direction: column;
}
.help-cat:target {
  border-color: var(--accent-300);
  box-shadow: var(--shadow), var(--ring);
}
.help-cat-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.help-cat-head .icon-tile {
  flex: none;
  margin: 0;
}
.help-cat-head h3 {
  font-size: 1.15rem;
  margin: 2px 0 4px;
}
.help-cat-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.help-cat-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.help-cat-list li {
  border-bottom: 1px solid var(--line);
}
.help-cat-list li:last-child {
  border-bottom: 0;
}
.help-cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: -8px;
  padding: 11px 8px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 550;
  font-size: 0.95rem;
  line-height: 1.4;
}
.help-cat-list a:hover {
  background: var(--accent-50);
  color: var(--accent-700);
  text-decoration: none;
}
.help-cat-lead {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.help-cat-list a:hover .help-cat-lead {
  color: var(--accent-600);
}
.help-cat-title {
  flex: 1;
  min-width: 0;
}
.help-chev {
  width: 16px;
  height: 16px;
  color: var(--faint);
  transition: transform 0.15s ease, color 0.15s ease;
}
.help-cat-list a:hover .help-chev {
  color: var(--accent-600);
  transform: translateX(2px);
}
.help-cat-count {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- support card ---------- */

.help-support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  color: #c9d6ea;
  box-shadow: var(--shadow);
}
.help-support .icon-tile {
  margin: 0;
}
.help-support h2 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-bottom: 6px;
}
.help-support p {
  margin: 0;
}
.help-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 820px) {
  .help-support {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- empty states & topic chips ---------- */

.help-empty {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.help-empty-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent-600);
}
.help-empty-icon .icon {
  width: 26px;
  height: 26px;
}
.help-empty h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  overflow-wrap: anywhere;
}
.help-empty p {
  color: var(--muted);
}
.help-empty-tips {
  display: inline-grid;
  gap: 6px;
  margin: 4px auto 0;
  padding-left: 1.2em;
  text-align: left;
  color: var(--text);
}
.help-empty-tips li::marker {
  color: var(--accent-500);
}
.help-topic-chips {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.help-topic-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-xs);
}
.help-topic-chips a:hover {
  border-color: #ffd2b0;
  background: var(--accent-50);
  color: var(--accent-700);
  text-decoration: none;
}
.help-topic-chips .icon {
  color: var(--accent-600);
}

/* ---------- search results ---------- */

.help-results-count {
  margin-bottom: 18px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.help-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.help-result {
  position: relative;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.help-result:hover {
  border-color: #ffd2b0;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.help-result:focus-within {
  border-color: var(--accent-600);
  box-shadow: var(--ring);
}
.help-result-cat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.help-result-cat .icon {
  color: var(--accent-600);
}
.help-result h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 6px;
}
.help-result h2 a {
  color: var(--ink);
}
/* The whole card is clickable; the ring on .help-result shows keyboard focus. */
.help-result h2 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.help-result h2 a:hover {
  color: var(--accent-600);
  text-decoration: none;
}
.help-result h2 a:focus-visible {
  outline: none;
}
.help-result-snippet {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.help-result mark {
  padding: 0 0.12em;
  border-radius: 3px;
  background: var(--accent-100);
  color: var(--navy-900);
}
.help-results-wrap .help-stuck {
  margin-top: 40px;
}

/* ---------- top bar & breadcrumbs ---------- */

.help-topbar {
  background: var(--bg-softer);
  border-bottom: 1px solid var(--line);
}
.help-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  min-height: 60px;
  padding-block: 10px;
}
.help-crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.9rem;
}
.help-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.help-crumbs li + li::before {
  content: '';
  width: 14px;
  height: 14px;
  background-color: var(--faint);
  -webkit-mask: var(--help-icon-chevron) center / contain no-repeat;
  mask: var(--help-icon-chevron) center / contain no-repeat;
}
.help-crumbs a {
  color: var(--muted);
  font-weight: 550;
}
.help-crumbs a:hover {
  color: var(--accent-600);
}
.help-crumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
}
.help-crumbs-light ol {
  justify-content: center;
}
.help-crumbs-light a,
.help-crumbs-light a:hover {
  color: var(--accent-300);
}
.help-crumbs-light [aria-current] {
  color: #fff;
}
.help-crumbs-light li + li::before {
  background-color: rgba(255, 255, 255, 0.5);
}

.help-search-compact {
  position: relative;
  flex: 0 1 300px;
  min-width: 0;
  margin: 0;
}
.help-search-compact input[type='search'] {
  padding: 8px 46px 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
}
.help-search-compact button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.help-search-compact button:hover {
  background: var(--accent-50);
  color: var(--accent-600);
}
@media (max-width: 640px) {
  .help-search-compact {
    flex-basis: 100%;
  }
}

/* ---------- article layout ---------- */

.help-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 200px;
  grid-template-areas: 'nav article toc';
  gap: 48px;
  align-items: start;
  padding-block: 40px clamp(56px, 8vw, 96px);
}
.help-sidebar {
  grid-area: nav;
  min-width: 0;
}
.help-article {
  grid-area: article;
  min-width: 0;
}
.help-toc-col {
  grid-area: toc;
  min-width: 0;
  align-self: stretch;
}
@media (max-width: 1180px) {
  .help-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas: 'nav article';
    gap: 40px;
  }
  .help-toc-col {
    display: none;
  }
}
@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'nav' 'article';
    gap: 20px;
    max-width: calc(760px + 2 * var(--gutter));
    padding-top: 20px;
  }
}

/* sidebar: every guide, grouped by topic */
.help-nav-desktop {
  position: sticky;
  top: var(--help-sticky-top);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 8px 8px 2px;
  scrollbar-width: thin;
}
.help-nav-group + .help-nav-group {
  margin-top: 22px;
}
.help-nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.help-nav-title .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-600);
}
.help-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.help-nav-group a {
  display: block;
  margin-left: -1px;
  padding: 6px 10px 6px 14px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}
.help-nav-group a:hover {
  color: var(--navy-900);
  background: var(--bg-soft);
  text-decoration: none;
}
.help-nav-group a[aria-current='page'] {
  color: var(--accent-700);
  border-left-color: var(--accent-600);
  background: var(--accent-50);
  font-weight: 600;
}

/* collapsible panels (mobile guide list, "On this page" on narrower screens) */
.help-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.help-disclosure > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
}
.help-disclosure > summary::-webkit-details-marker {
  display: none;
}
.help-disclosure > summary .icon {
  color: var(--accent-600);
}
.help-disclosure-chev {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.help-disclosure[open] .help-disclosure-chev {
  transform: rotate(180deg);
}
.help-disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
}
.help-nav-mobile {
  display: none;
}
.help-nav-mobile nav {
  max-height: 60vh;
  overflow-y: auto;
  padding: 16px;
}
@media (max-width: 900px) {
  .help-nav-desktop {
    display: none;
  }
  .help-nav-mobile {
    display: block;
  }
}
.help-toc-inline {
  display: none;
  margin-top: 24px;
}
.help-toc-inline ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 16px 14px 38px;
  font-size: 0.95rem;
}
.help-toc-inline li::marker {
  color: var(--muted);
}
.help-toc-inline a {
  color: var(--text);
}
.help-toc-inline a:hover {
  color: var(--accent-600);
}
@media (max-width: 1180px) {
  .help-toc-inline {
    display: block;
  }
}

/* ---------- article header ---------- */

.help-article-cat {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.help-article-cat a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-600);
}
.help-article-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.35em;
}
.help-article-head .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  margin-bottom: 20px;
}
.help-meta {
  list-style: none;
  margin: 0;
  padding: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.help-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- article body typography ---------- */

.help-prose {
  margin-top: 32px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  overflow-wrap: break-word;
}
.help-prose p,
.help-prose ul,
.help-prose ol,
.help-prose blockquote,
.help-prose pre {
  margin: 0;
}
.help-prose > * + * {
  margin-top: 1.15em;
}
.help-prose > :first-child {
  margin-top: 0;
}
.help-prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin: 2.1em 0 0;
}
.help-prose h3 {
  font-size: 1.18rem;
  margin: 1.8em 0 0;
}
.help-prose h4 {
  font-size: 1.02rem;
  margin: 1.5em 0 0;
}
.help-prose h2 + *,
.help-prose h3 + *,
.help-prose h4 + * {
  margin-top: 0.6em;
}
.help-prose > h2:first-child,
.help-prose > h3:first-child {
  margin-top: 0;
}
.help-prose a {
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: rgba(254, 118, 25, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.help-prose a:hover {
  text-decoration-color: currentColor;
}
.help-prose a[target='_blank']::after {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.15em;
  vertical-align: -0.05em;
  background-color: currentColor;
  -webkit-mask: var(--help-icon-external) center / contain no-repeat;
  mask: var(--help-icon-external) center / contain no-repeat;
}
.help-prose strong {
  color: var(--ink);
  font-weight: 650;
}
.help-prose em {
  font-style: italic;
}

/* bulleted lists */
.help-prose ul {
  padding-left: 1.3em;
}
.help-prose ul > li {
  padding-left: 0.3em;
}
.help-prose ul > li::marker {
  color: var(--accent-500);
}
.help-prose li + li {
  margin-top: 0.5em;
}
.help-prose li > * + *,
.help-prose .step-body > * + * {
  margin-top: 0.6em;
}

/* numbered lists are step-by-step instructions */
.help-prose ol:not(.steps) {
  padding-left: 1.4em;
}
.help-prose ol.steps {
  list-style: none;
  padding: 0;
}
.help-prose ol.steps > li {
  position: relative;
  min-height: 30px;
  padding-left: 46px;
}
.help-prose ol.steps > li + li {
  margin-top: 16px;
}
.help-prose ol.steps > li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 36px;
  bottom: -12px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.help-prose .step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  box-shadow: 0 4px 10px -4px rgba(254, 118, 25, 0.6);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}
.help-prose ol.steps ol.steps > li {
  padding-left: 38px;
}
.help-prose ol.steps ol.steps > li:not(:last-child)::before {
  left: 11px;
  top: 30px;
}
.help-prose ol.steps ol.steps .step-num {
  top: 3px;
  width: 24px;
  height: 24px;
  background: var(--accent-50);
  border: 1px solid #ffd2b0;
  box-shadow: none;
  color: var(--accent-700);
  font-size: 0.75rem;
}

/* callouts: > **Tip:** / **Good to know:** / **Heads up:** */
.help-prose .callout {
  position: relative;
  padding: 16px 20px 16px 52px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}
.help-prose .callout::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  -webkit-mask: var(--callout-icon) center / contain no-repeat;
  mask: var(--callout-icon) center / contain no-repeat;
  background-color: var(--callout-accent);
}
.help-prose .callout > * + * {
  margin-top: 0.6em;
}
.help-prose .callout > p:first-child > strong:first-child {
  color: var(--callout-accent);
  font-weight: 700;
}
.help-prose .callout-tip {
  --callout-icon: var(--help-icon-tip);
  --callout-accent: var(--green-700);
  background: var(--green-50);
  border-color: #bfe9d6;
}
.help-prose .callout-note {
  --callout-icon: var(--help-icon-note);
  --callout-accent: var(--accent-700);
  background: var(--accent-50);
  border-color: #ffd2b0;
}
.help-prose .callout-warning {
  --callout-icon: var(--help-icon-warning);
  --callout-accent: var(--amber-700);
  background: var(--amber-50);
  border-color: #f4dba8;
}
.help-prose blockquote {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent-300);
  color: var(--muted);
}

/* tables, rules, stray code */
.help-prose .table-wrap {
  box-shadow: var(--shadow-xs);
}
.help-prose .table {
  font-size: 0.95rem;
  line-height: 1.55;
}
.help-prose .table td {
  color: var(--text);
}
.help-prose hr {
  margin: 2.4em 0;
}
.help-prose hr + * {
  margin-top: 0;
}
.help-prose code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 0.9em;
}
.help-prose pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.help-prose pre code {
  padding: 0;
  border: 0;
  background: none;
}

/* ---------- "On this page" ---------- */

.help-toc {
  position: sticky;
  top: var(--help-sticky-top);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding: 2px 2px 8px;
  font-size: 0.875rem;
  scrollbar-width: thin;
}
.help-toc-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy-700);
}
.help-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.help-toc a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  line-height: 1.4;
}
.help-toc a:hover {
  color: var(--ink);
  text-decoration: none;
}
.help-toc a.is-active {
  color: var(--accent-700);
  border-left-color: var(--accent-600);
  font-weight: 600;
}
.help-toc .help-toc-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  font-size: 0.85rem;
}

/* ---------- pager & "still stuck" ---------- */

.help-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.help-pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.help-pager-link:hover {
  border-color: #ffd2b0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}
.help-pager-next {
  grid-column: 2;
  align-items: flex-end;
  text-align: right;
}
.help-pager-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.help-pager-title {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.4;
}
.help-pager-link:hover .help-pager-title {
  color: var(--accent-600);
}
@media (max-width: 560px) {
  .help-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .help-pager-next {
    grid-column: auto;
  }
}

.help-stuck {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid #ffdcc2;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-50), #fff 70%);
}
.help-stuck .icon-tile {
  flex: none;
  margin: 0;
  background: #fff;
}
.help-stuck-text {
  flex: 1;
  min-width: 0;
}
.help-stuck h2 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.help-stuck p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.help-stuck .btn {
  flex: none;
}
@media (max-width: 640px) {
  .help-stuck {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- teaser: Help Center home for visitors ---------- */

.help-teaser-pill {
  margin-bottom: 22px;
}
.help-teaser-actions {
  margin-top: 32px;
}
.help-teaser-trust {
  justify-content: center;
  margin-top: 22px;
}
.help-teaser-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 620px;
  margin: 24px auto 0;
  padding: 12px 16px;
  border: 1px solid #ffd2b0;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  text-align: left;
}
.help-teaser-note .icon {
  margin-top: 3px;
  color: var(--accent-600);
}
.help-teaser-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.help-teaser-stats .icon {
  color: var(--accent-600);
}
.help-value h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.help-value p {
  color: var(--muted);
}

/* ---------- teaser: a single guide ---------- */

.help-teaser-article {
  padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px);
}
.help-inside {
  margin-top: 32px;
}
.help-inside h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.help-inside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: inside;
}
.help-inside-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 550;
  counter-increment: inside;
}
.help-inside-list li::before {
  content: counter(inside);
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 0;
  border: 1px solid #ffd2b0;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
}

.help-locked {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.help-locked-preview {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  height: 180px;
  overflow: hidden;
  padding: 32px clamp(20px, 5vw, 40px) 0;
}
.help-locked-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
}
.help-sk {
  display: block;
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--line) 0%, var(--bg-soft) 100%);
}
.help-sk-heading {
  width: 42%;
  height: 16px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--line-strong) 0%, var(--line) 100%);
}
.help-sk-heading:first-child {
  margin-top: 0;
}
.help-sk-short {
  width: 68%;
}
.help-locked-panel {
  position: relative;
  margin-top: -64px;
  padding: 0 clamp(20px, 5vw, 48px) clamp(28px, 4vw, 40px);
  text-align: center;
}
.help-lock-badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--accent-300);
  box-shadow: var(--shadow);
}
.help-lock-badge .icon {
  width: 26px;
  height: 26px;
}
.help-locked-panel h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
}
.help-locked-panel p {
  max-width: 520px;
  margin-inline: auto;
  color: var(--muted);
}
.help-locked-panel .cluster {
  justify-content: center;
  margin-top: 22px;
}
.help-locked-panel .help-locked-login {
  margin-top: 18px;
  font-size: 0.93rem;
}

.help-related {
  margin-top: 48px;
}
.help-related h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.help-related .help-cat-list {
  margin-top: 12px;
}
