/* Gigxie Help Center — shared stylesheet.
 *
 * SHARED FILE: help.html, help-category.html and help-article.html all load it.
 * APPEND your page's block at the end; never rewrite or reformat someone else's.
 * Keep page-specific rules scoped under that page's body/main class
 * (.help-article-page, .help-home-page, .help-category-page …) so blocks cannot collide.
 * Only put a rule outside a page scope if all three pages genuinely share it.
 */

/* ══════════════════════════════════════════════════════════════════════
   help-article.html   —   scope: .help-article-page
   ══════════════════════════════════════════════════════════════════════ */

.help-article-page {
  --ha-sticky-top: 88px;            /* 72px sticky header + 16px breathing room */
  --ha-amber: #E8A33D;
  --ha-amber-wash: #FFF7EA;
  --ha-amber-ink: #7A4E05;          /* 7.4:1 on --ha-amber-wash */
  display: block;
}

/* ── Header band ─────────────────────────────────────────────────────── */
.help-article-page .ha-top {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding-block: 20px 40px;
}
.help-article-page .ha-top .breadcrumbs { margin-bottom: 28px; }
.help-article-page .ha-title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.help-article-page .ha-summary {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 68ch;
}
.help-article-page .ha-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  list-style: none;
  padding: 0;
}
.help-article-page .ha-meta li { display: inline-flex; align-items: center; gap: 7px; }
.help-article-page .ha-meta svg { width: 15px; height: 15px; flex: none; }
.help-article-page .ha-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding-inline: 11px;
  border-radius: var(--r-pill);
  background: var(--brand-wash);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

/* Help search — every article carries one, so a reader who is on the wrong article
   never has to fall back to the header's gig search. Plain GET to help-search.html. */
.help-article-page .ha-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin-top: 24px;
  padding: 6px 6px 6px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.help-article-page .ha-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-wash);
}
.help-article-page .ha-search-icon { width: 19px; height: 19px; flex: none; color: var(--muted); }
.help-article-page .ha-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: none;
  font-size: 15.5px;
  color: var(--ink);
}
.help-article-page .ha-search input::placeholder { color: var(--muted); }
.help-article-page .ha-search input:focus { outline: none; }
.help-article-page .ha-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.help-article-page .ha-search-btn { flex: none; border-radius: var(--r-pill); }
.help-article-page .ha-missing .ha-search { margin: 4px auto 22px; }

/* ── Three-column layout ─────────────────────────────────────────────── */
.help-article-page .ha-layout {
  display: grid;
  grid-template-areas: "toc" "main" "side";
  gap: 32px;
  align-items: start;
  padding-block: 40px 24px;
}
.help-article-page .ha-side { grid-area: side; }
.help-article-page .ha-main { grid-area: main; min-width: 0; }
.help-article-page .ha-toc  { grid-area: toc; }

@media (min-width: 1024px) {
  .help-article-page .ha-layout {
    grid-template-areas: "side toc" "side main";
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    row-gap: 28px;
    padding-block: 48px 32px;
  }
}
@media (min-width: 1280px) {
  .help-article-page .ha-layout {
    grid-template-areas: "side main toc";
    /* Rails stay tight so the reading column keeps a 65–70ch measure at 1280–1440. */
    grid-template-columns: 232px minmax(0, 1fr) 216px;
    grid-template-rows: 1fr;
    column-gap: 44px;
  }
}

/* ── Left sidebar: articles in this category ─────────────────────────── */
.help-article-page .ha-side-inner {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  padding: 18px 6px 12px;
}
.help-article-page .ha-side-label {
  display: block;
  padding: 0 14px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.help-article-page .ha-side-cat {
  display: block;
  padding: 0 14px 12px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.help-article-page .ha-side-cat:hover { color: var(--brand); }
.help-article-page .ha-side-list {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.help-article-page .ha-side-list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-btn);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--body);
  transition: background var(--ease), color var(--ease);
}
.help-article-page .ha-side-list a:hover { background: var(--bg-soft); color: var(--ink); }
.help-article-page .ha-side-list a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.help-article-page .ha-side-list a[aria-current="page"] {
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--brand);
}
.help-article-page .ha-side-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 14px 4px;
  font-size: 14px;
  font-weight: 600;
}
.help-article-page .ha-side-all svg { width: 14px; height: 14px; }

@media (min-width: 1024px) {
  .help-article-page .ha-side-inner {
    position: sticky;
    top: var(--ha-sticky-top);
    max-height: calc(100vh - var(--ha-sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* ── On this page (TOC) ──────────────────────────────────────────────── */
.help-article-page .ha-toc-box {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  overflow: hidden;
}
.help-article-page .ha-toc-box > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  transition: background var(--ease);
}
.help-article-page .ha-toc-box > summary::-webkit-details-marker { display: none; }
.help-article-page .ha-toc-box > summary:hover { background: var(--bg-soft); }
.help-article-page .ha-toc-box > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.help-article-page .ha-toc-box > summary .ha-caret {
  width: 16px; height: 16px;
  margin-left: auto;
  flex: none;
  color: var(--muted);
  transition: transform var(--ease);
}
.help-article-page .ha-toc-box[open] > summary .ha-caret { transform: rotate(180deg); }
.help-article-page .ha-toc-list {
  list-style: none;
  margin: 0;
  padding: 4px 8px 12px;
  display: grid;
  gap: 1px;
}
.help-article-page .ha-toc-list a {
  display: block;
  padding: 7px 10px 7px 12px;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.help-article-page .ha-toc-list a:hover { color: var(--ink); background: var(--bg-soft); }
.help-article-page .ha-toc-list a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.help-article-page .ha-toc-list .ha-toc-h3 a { padding-left: 26px; font-size: 13px; }
.help-article-page .ha-toc-list a.is-current {
  color: var(--brand-dark);
  border-left-color: var(--brand);
  font-weight: 600;
}

@media (min-width: 1280px) {
  .help-article-page .ha-toc-box {
    position: sticky;
    top: var(--ha-sticky-top);
    max-height: calc(100vh - var(--ha-sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
  }
  .help-article-page .ha-toc-box > summary { padding: 2px 16px 8px; pointer-events: none; }
  .help-article-page .ha-toc-box > summary:hover { background: none; }
  .help-article-page .ha-toc-box > summary .ha-caret { display: none; }
  .help-article-page .ha-toc-list { padding: 0 8px 8px; }
}

/* ── Article body ────────────────────────────────────────────────────── */
.help-article-page .ha-body { max-width: 72ch; }
.help-article-page .ha-body > p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 22px;
}
.help-article-page .ha-body > p:last-child { margin-bottom: 0; }
.help-article-page .ha-body h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 44px 0 14px;
  scroll-margin-top: 96px;
}
.help-article-page .ha-body h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 32px 0 10px;
  scroll-margin-top: 96px;
}
.help-article-page .ha-body > *:first-child { margin-top: 0; }
.help-article-page .ha-body a { text-decoration: underline; text-underline-offset: 2px; }

.help-article-page .ha-list {
  margin: 0 0 22px;
  padding-left: 22px;
  display: grid;
  gap: 9px;
}
.help-article-page .ha-list li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  padding-left: 4px;
}
.help-article-page .ha-list li::marker { color: var(--brand); font-weight: 600; }

/* Callouts */
.help-article-page .ha-callout {
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: var(--r-card);
  font-size: 15.5px;
  line-height: 1.65;
}
.help-article-page .ha-callout svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.help-article-page .ha-callout strong {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.help-article-page .ha-note {
  background: var(--brand-tint);
  border-left: 3px solid var(--brand);
  color: #3A2470;
}
.help-article-page .ha-note strong { color: var(--brand-dark); }
.help-article-page .ha-warning {
  background: var(--ha-amber-wash);
  border-left: 3px solid var(--ha-amber);
  color: var(--ha-amber-ink);
}
.help-article-page .ha-warning strong { color: var(--ha-amber-ink); }

/* Numbered step cards */
.help-article-page .ha-steps {
  counter-reset: ha-step;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.help-article-page .ha-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.help-article-page .ha-step:hover { border-color: var(--brand-wash); box-shadow: var(--shadow-card); }
.help-article-page .ha-step::before {
  counter-increment: ha-step;
  content: counter(ha-step);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
}
.help-article-page .ha-step p { font-size: 15.5px; line-height: 1.65; color: var(--body); }
/* A paragraph, not a heading (it would skip a level), styled like the h4 it replaced. */
.help-article-page .ha-step .ha-step-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--ink);
}

/* Tables */
.help-article-page .ha-tablewrap {
  margin: 0 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  -webkit-overflow-scrolling: touch;
  /* Scroll affordance, CSS only: the two `local` layers ride the content and mask the
     two `scroll` shadows when an edge is reached, so a shadow shows exactly on the side
     that still has table left to scroll. */
  background:
    linear-gradient(to right, var(--bg) 40%, rgba(255, 255, 255, 0)) 0 0 / 44px 100% no-repeat local,
    linear-gradient(to left,  var(--bg) 40%, rgba(255, 255, 255, 0)) 100% 0 / 44px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%,   rgba(20, 12, 48, .17), rgba(20, 12, 48, 0)) 0 0 / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(20, 12, 48, .17), rgba(20, 12, 48, 0)) 100% 0 / 16px 100% no-repeat scroll;
}
.help-article-page .ha-tablewrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-article-page .ha-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 420px;
}
.help-article-page .ha-table th,
.help-article-page .ha-table td {
  text-align: left;
  padding: 12px 16px;
  vertical-align: top;
  line-height: 1.55;
}
.help-article-page .ha-table thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.help-article-page .ha-table tbody tr + tr th,
.help-article-page .ha-table tbody tr + tr td { border-top: 1px solid var(--line); }
.help-article-page .ha-table tbody td:first-child { color: var(--ink); font-weight: 600; }

/* ── Helpful widget ──────────────────────────────────────────────────── */
.help-article-page .ha-helpful {
  margin-top: 56px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-soft);
  max-width: 72ch;
}
.help-article-page .ha-helpful h2 { font-size: 19px; margin: 0 0 4px; }
.help-article-page .ha-helpful p { font-size: 15px; color: var(--muted); }
.help-article-page .ha-vote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.help-article-page .ha-vote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--ease), color var(--ease), background var(--ease), transform var(--ease);
}
.help-article-page .ha-vote svg { width: 17px; height: 17px; }
.help-article-page .ha-vote:hover { border-color: var(--brand); color: var(--brand); background: var(--bg); }
.help-article-page .ha-vote:active { transform: translateY(1px); }
.help-article-page .ha-vote:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-article-page .ha-thanks {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--ink);
  margin-top: 6px;
}
.help-article-page .ha-thanks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--success-ink); }
.help-article-page .ha-followup { margin-top: 18px; }
.help-article-page .ha-followup label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.help-article-page .ha-followup textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.help-article-page .ha-followup textarea:hover { border-color: #CFCFE0; }
.help-article-page .ha-followup textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.help-article-page .ha-followup-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.help-article-page .ha-helpful [hidden] { display: none; }

/* ── Related articles ────────────────────────────────────────────────── */
.help-article-page .ha-related { padding-block: 24px 8px; }
.help-article-page .ha-related h2 { font-size: 24px; margin-bottom: 20px; }
.help-article-page .ha-rel-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--body);
  height: 100%;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.help-article-page .ha-rel-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: var(--body);
}
.help-article-page .ha-rel-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-article-page .ha-rel-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.help-article-page .ha-rel-card h3 { font-size: 17px; line-height: 1.35; }
.help-article-page .ha-rel-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.help-article-page .ha-rel-more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.help-article-page .ha-rel-card:hover .ha-rel-more { color: var(--brand-dark); gap: 9px; }
.help-article-page .ha-rel-more svg { width: 14px; height: 14px; transition: transform var(--ease); }

/* ── Contact band ────────────────────────────────────────────────────── */
.help-article-page .ha-contact {
  margin-top: 64px;
  background: var(--hero-grad);
  color: #fff;
  padding-block: 56px;
}
.help-article-page .ha-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.help-article-page .ha-contact h2 { color: #fff; font-size: 28px; max-width: 20ch; }
.help-article-page .ha-contact p {
  margin-top: 8px;
  color: #C9C4DC;
  font-size: 16px;
  max-width: 52ch;
}
.help-article-page .ha-contact p .ha-hl { color: var(--accent); font-weight: 600; }
.help-article-page .ha-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.help-article-page .ha-contact .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.help-article-page .ha-contact .btn-ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }
.help-article-page .ha-contact :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Not found ───────────────────────────────────────────────────────── */
.help-article-page .ha-missing { padding-block: 24px 40px; }
.help-article-page .ha-missing code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink);
  word-break: break-all;
}
.help-article-page .ha-missing-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .help-article-page .ha-top { padding-block: 16px 32px; }
  .help-article-page .ha-title { font-size: 30px; max-width: none; }
  .help-article-page .ha-summary { font-size: 16.5px; }
  .help-article-page .ha-body > p,
  .help-article-page .ha-list li { font-size: 16.5px; }
  .help-article-page .ha-body h2 { font-size: 22px; margin-top: 36px; }
  .help-article-page .ha-body h3 { font-size: 18px; }
  .help-article-page .ha-helpful { padding: 22px 20px; }
  .help-article-page .ha-vote-row .ha-vote { flex: 1 1 140px; justify-content: center; }
  .help-article-page .ha-related h2 { font-size: 21px; }
  .help-article-page .ha-contact { padding-block: 44px; }
  .help-article-page .ha-contact h2 { font-size: 24px; }
  .help-article-page .ha-step { padding: 14px 15px; gap: 12px; }
  /* 16px on the input: anything smaller makes iOS zoom the page on focus. */
  .help-article-page .ha-search { padding-left: 12px; margin-top: 20px; }
  .help-article-page .ha-search input { font-size: 16px; height: 38px; }
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cat-strip, .skip-link, .toast,
  .modal-overlay, .drawer, .drawer-overlay,
  .help-article-page .ha-side,
  .help-article-page .ha-toc,
  .help-article-page .ha-helpful,
  .help-article-page .ha-related,
  .help-article-page .ha-contact,
  .help-article-page .breadcrumbs { display: none !important; }

  html, body { background: #fff !important; }
  .help-article-page .ha-top {
    background: none !important;
    border: 0;
    padding: 0 0 12pt;
  }
  .help-article-page .container { max-width: none; padding-inline: 0; }
  .help-article-page .ha-layout { display: block; padding: 0; }
  .help-article-page .ha-body { max-width: none; }
  .help-article-page .ha-title { font-size: 22pt; }
  .help-article-page .ha-summary { font-size: 11pt; }
  .help-article-page .ha-body > p,
  .help-article-page .ha-list li,
  .help-article-page .ha-step p { font-size: 10.5pt; line-height: 1.5; }
  .help-article-page .ha-step .ha-step-title { font-size: 11pt; }
  .help-article-page .ha-search { display: none !important; }
  .help-article-page .ha-tablewrap { background: none !important; }
  .help-article-page .ha-body h2 { font-size: 14pt; margin-top: 18pt; }
  .help-article-page .ha-body h3 { font-size: 12pt; }
  .help-article-page .ha-body h2,
  .help-article-page .ha-body h3,
  .help-article-page .ha-step,
  .help-article-page .ha-callout { break-inside: avoid; break-after: avoid-page; }
  .help-article-page .ha-tablewrap { overflow: visible; break-inside: auto; }
  .help-article-page .ha-table { min-width: 0; }
  .help-article-page .ha-table thead { display: table-header-group; }
  .help-article-page .ha-callout,
  .help-article-page .ha-step,
  .help-article-page .ha-tablewrap { border: 1px solid #ccc; }
  .help-article-page .ha-print-url {
    display: block !important;
    margin-top: 18pt;
    padding-top: 8pt;
    border-top: 1px solid #ccc;
    font-size: 9pt;
    color: #555;
  }
}
.help-article-page .ha-print-url { display: none; }

/* ══════════════════════════════════════════════════════════════════════
   help-category.html   —   scope: .help-category-page
   Element prefix: .hc-*
   ══════════════════════════════════════════════════════════════════════ */

.help-category-page {
  --hc-sticky-top: 92px;   /* 72px sticky header + 20px breathing room */
}

/* ── Page shell ──────────────────────────────────────────────────────── */
.help-category-page .hc-shell { padding-block: 28px 0; }
.help-category-page .hc-crumbs { margin-bottom: 24px; }

/* ── Category header ─────────────────────────────────────────────────── */
.help-category-page .hc-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.help-category-page .hc-head-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.help-category-page .hc-head-icon svg { width: 34px; height: 34px; }
.help-category-page .hc-head h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.help-category-page .hc-head-desc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  max-width: 68ch;
}
.help-category-page .hc-head-stats {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.help-category-page .hc-head-stats strong { color: var(--ink); font-weight: 600; }
.help-category-page .hc-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #C9C9DA;
  flex: none;
}
@media (max-width: 720px) {
  .help-category-page .hc-head { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
  .help-category-page .hc-head-icon { width: 56px; height: 56px; border-radius: 14px; }
  .help-category-page .hc-head-icon svg { width: 26px; height: 26px; }
  .help-category-page .hc-head h1 { font-size: 30px; }
  .help-category-page .hc-head-desc { font-size: 17px; }
}

/* ── Two-column layout ───────────────────────────────────────────────── */
.help-category-page .hc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-block: 28px 0;
}
@media (min-width: 1024px) {
  .help-category-page .hc-layout {
    grid-template-columns: 268px minmax(0, 1fr);
    column-gap: 56px;
    padding-block: 44px 0;
  }
}

/* ── Sidebar (sticky on desktop, <details> accordion below 1024px) ───── */
.help-category-page .hc-side {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
}
.help-category-page .hc-side > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background var(--ease), color var(--ease);
}
.help-category-page .hc-side > summary::-webkit-details-marker { display: none; }
.help-category-page .hc-side > summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--ease);
}
.help-category-page .hc-side[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.help-category-page .hc-side > summary:hover { background: var(--bg-soft); color: var(--brand); }
.help-category-page .hc-side > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.help-category-page .hc-side-inner { padding: 0 14px 18px; }
.help-category-page .hc-side-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.help-category-page .hc-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.help-category-page .hc-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-btn);
  font-size: 15px;
  line-height: 1.35;
  color: var(--body);
  transition: background var(--ease), color var(--ease);
}
.help-category-page .hc-side-link svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
  transition: color var(--ease);
}
.help-category-page .hc-side-count {
  margin-left: auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.help-category-page .hc-side-link:hover { background: var(--bg-soft); color: var(--ink); }
.help-category-page .hc-side-link:hover svg { color: var(--brand); }
.help-category-page .hc-side-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-category-page .hc-side-link[aria-current="page"] {
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--brand);
}
.help-category-page .hc-side-link[aria-current="page"] svg,
.help-category-page .hc-side-link[aria-current="page"] .hc-side-count { color: var(--brand-dark); }

/* Audience filter */
.help-category-page .hc-filter { margin-top: 22px; border: 0; padding: 0; }
.help-category-page .hc-filter legend {
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.help-category-page .hc-filter-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.help-category-page .hc-filter-opt { position: relative; display: inline-flex; }
.help-category-page .hc-filter-opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.help-category-page .hc-filter-opt span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.help-category-page .hc-filter-opt input:hover + span { border-color: var(--brand); color: var(--brand); }
.help-category-page .hc-filter-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-category-page .hc-filter-opt input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

@media (min-width: 1024px) {
  .help-category-page .hc-side {
    position: sticky;
    top: var(--hc-sticky-top);
    max-height: calc(100vh - var(--hc-sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .help-category-page .hc-side > summary { display: none; }
  .help-category-page .hc-side-inner { padding: 0 4px 0 0; }
  .help-category-page .hc-filter { margin-top: 32px; }
}

/* ── In-category search ──────────────────────────────────────────────── */
.help-category-page .hc-tools { margin-bottom: 26px; }
.help-category-page .hc-search { position: relative; display: block; }
.help-category-page .hc-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.help-category-page .hc-search input {
  width: 100%;
  height: 52px;
  padding: 0 50px 0 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--bg);
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.help-category-page .hc-search input::placeholder { color: var(--muted); }
.help-category-page .hc-search input::-webkit-search-cancel-button { display: none; }
.help-category-page .hc-search input:hover { border-color: #CFCFE0; }
.help-category-page .hc-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.help-category-page .hc-search-clear {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}
.help-category-page .hc-search-clear[hidden] { display: none; }
.help-category-page .hc-search-clear svg { width: 16px; height: 16px; }
.help-category-page .hc-search-clear:hover { background: var(--bg-soft); color: var(--ink); }
.help-category-page .hc-search-clear:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* The count echoes the typed query, which can be one unbroken 50-char word. */
.help-category-page .hc-count {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ── Article list ────────────────────────────────────────────────────── */
.help-category-page .hc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.help-category-page .hc-row {
  display: block;
  position: relative;
  padding: 22px 56px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  color: inherit;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.help-category-page .hc-row:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.help-category-page .hc-row:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-category-page .hc-row-title {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color var(--ease);
}
.help-category-page .hc-row:hover .hc-row-title { color: var(--brand-dark); }
.help-category-page .hc-row-sum {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  max-width: 70ch;
}
.help-category-page .hc-row mark {
  background: var(--brand-wash);
  color: var(--brand-dark);
  border-radius: 3px;
  padding: 0 2px;
}
.help-category-page .hc-row-meta {
  display: flex;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.help-category-page .hc-row-meta span { display: inline-flex; align-items: center; gap: 6px; }
.help-category-page .hc-row-meta svg { width: 14px; height: 14px; flex: none; }
.help-category-page .hc-tags {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.help-category-page .hc-tag {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}
.help-category-page .hc-row:hover .hc-tag { background: var(--brand-tint); color: var(--brand-dark); }
.help-category-page .hc-row-arrow {
  position: absolute;
  right: 22px;
  top: 26px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform var(--ease), color var(--ease);
}
.help-category-page .hc-row:hover .hc-row-arrow { transform: translateX(4px); color: var(--brand); }
@media (max-width: 640px) {
  .help-category-page .hc-row { padding: 20px 18px; }
  .help-category-page .hc-row-arrow { display: none; }
  .help-category-page .hc-row-title { font-size: 17px; }
}

/* ── Empty state / unknown category ──────────────────────────────────── */
.help-category-page .hc-empty {
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  background: var(--bg-soft);
  padding: 48px 32px;
  text-align: center;
}
/* Both echo an untrusted query string — break it rather than widen the page. */
.help-category-page .hc-empty h3 { font-size: 20px; margin-bottom: 8px; overflow-wrap: anywhere; }
.help-category-page .hc-empty p {
  color: var(--body);
  max-width: 54ch;
  margin: 0 auto 20px;
}
.help-category-page .hc-empty-q { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

.help-category-page .hc-404 { padding-block: 48px 0; text-align: center; }
/* Quotes the slug from ?c=, which can be one unbroken word longer than the viewport. */
.help-category-page .hc-404 h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.help-category-page .hc-404 > p {
  font-size: 18px;
  color: var(--body);
  max-width: 60ch;
  margin-inline: auto;
}
.help-category-page .hc-404 h2 { font-size: 22px; margin-top: 48px; }
.help-category-page .hc-404-grid { margin-top: 20px; text-align: left; }
@media (max-width: 720px) {
  .help-category-page .hc-404 h1 { font-size: 28px; }
}

/* ── Related categories ──────────────────────────────────────────────── */
.help-category-page .hc-related { padding-block: 80px 0; }
.help-category-page .hc-related h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; }
.help-category-page .hc-related > p { color: var(--body); margin-bottom: 28px; max-width: 62ch; }
@media (max-width: 720px) {
  .help-category-page .hc-related { padding-top: 48px; }
  .help-category-page .hc-related h2 { font-size: 24px; }
}

/* ── Contact band ────────────────────────────────────────────────────── */
.help-category-page .hc-contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  margin-top: 88px;
  padding-block: 72px;
}
.help-category-page .hc-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.help-category-page .hc-contact-copy { max-width: 60ch; }
.help-category-page .hc-contact h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 10px; }
.help-category-page .hc-contact p { color: var(--body); font-size: 17px; }
.help-category-page .hc-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .help-category-page .hc-contact { margin-top: 56px; padding-block: 48px; }
  .help-category-page .hc-contact h2 { font-size: 24px; }
  .help-category-page .hc-contact-actions { width: 100%; }
  .help-category-page .hc-contact-actions .btn { flex: 1 1 180px; }
}
/* ===========================================================================
   Gigxie Help Center — shared stylesheet.
   APPEND-ONLY. Each help page owns one clearly marked block and scopes its
   rules under its own page class. Never edit or reformat another page's block.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   help-contact.html — Contact support.  All rules scoped under .help-contact-page.
   --------------------------------------------------------------------------- */

.help-contact-page main { padding-bottom: 96px; }

/* ---- Hero ---- */
.help-contact-page .hc-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 48px;
}
.help-contact-page .hc-hero .breadcrumbs { margin-bottom: 28px; }
.help-contact-page .hc-hero h1 { font-size: 44px; margin-bottom: 14px; }
.help-contact-page .hc-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  max-width: 68ch;
}
.help-contact-page .hc-lead + .hc-lead { margin-top: 14px; }
.help-contact-page .hc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin-top: 26px;
}
.help-contact-page .hc-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.help-contact-page .hc-facts svg { width: 18px; height: 18px; flex: none; color: var(--brand); }

/* ---- Two-column body ---- */
.help-contact-page .hc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
}
.help-contact-page .hc-side { display: grid; gap: 20px; min-width: 0; }
@media (min-width: 1001px) {
  .help-contact-page .hc-side { position: sticky; top: 96px; }
}
@media (max-width: 1000px) {
  .help-contact-page .hc-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
}

/* ---- Card shell ---- */
.help-contact-page .hc-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 34px;
  min-width: 0;
}
.help-contact-page .hc-card h2 { font-size: 24px; margin-bottom: 6px; }
.help-contact-page .hc-card-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 28px;
}

/* ---- Form ---- */
.help-contact-page .hc-form .field { margin-bottom: 22px; gap: 7px; }
.help-contact-page .hc-form .field label { font-size: 15px; }
.help-contact-page .hc-optional { font-weight: 500; color: var(--muted); }
.help-contact-page .hc-hint { font-size: 13px; color: var(--muted); line-height: 1.5; }
.help-contact-page .hc-form textarea { min-height: 176px; line-height: 1.6; }
.help-contact-page .hc-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}
.help-contact-page .field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--danger-ink);
}
.help-contact-page .field-error[hidden] { display: none; }
.help-contact-page .field-error svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.help-contact-page .field.is-invalid input,
.help-contact-page .field.is-invalid select,
.help-contact-page .field.is-invalid textarea { border-color: var(--danger); }
.help-contact-page .field.is-invalid input:focus,
.help-contact-page .field.is-invalid select:focus,
.help-contact-page .field.is-invalid textarea:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-wash);
}

/* Live character counter */
.help-contact-page .hc-count-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.help-contact-page .hc-count-row .hc-hint { flex: 1; }
.help-contact-page .hc-counter {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  flex: none;
  transition: color var(--ease);
}
.help-contact-page .hc-counter.is-near { color: #7A4E05; }
.help-contact-page .hc-counter.is-max { color: var(--danger-ink); font-weight: 600; }

.help-contact-page .hc-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.help-contact-page .hc-submit-note { font-size: 13px; color: var(--muted); max-width: 40ch; line-height: 1.5; }

/* ---- Success panel ---- */
.help-contact-page .hc-success:focus { outline: none; }
.help-contact-page .hc-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #E7F8EF;
  color: var(--success-ink);
  margin-bottom: 20px;
}
.help-contact-page .hc-success-icon svg { width: 28px; height: 28px; }
.help-contact-page .hc-success > p { max-width: 66ch; }
.help-contact-page .hc-ticket {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px 18px;
  margin: 22px 0 28px;
}
.help-contact-page .hc-ticket-label {
  font-size: 12px;
  font-weight: 600;   /* Inter tops out at 600 in the shared font request */
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}
.help-contact-page .hc-ticket-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}
.help-contact-page .hc-copy { margin-left: auto; }
.help-contact-page .hc-success h3 { font-size: 18px; margin-bottom: 14px; }
.help-contact-page .hc-next {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: hc-step;
}
.help-contact-page .hc-next li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.6;
  max-width: 66ch;
}
.help-contact-page .hc-next li::before {
  counter-increment: hc-step;
  content: counter(hc-step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.help-contact-page .hc-demo-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 64ch;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

/* ---- Sidebar panels ---- */
.help-contact-page .hc-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
}
.help-contact-page .hc-panel--soft { background: var(--bg-soft); }
/* Deflection panel: appears as the form is filled in, so it is tinted to read as new. */
.help-contact-page .hc-suggest { background: var(--brand-tint); border-color: var(--brand-wash); }
.help-contact-page .hc-suggest[hidden] { display: none; }
.help-contact-page .hc-suggest .hc-links li + li { border-top-color: var(--brand-wash); }
/* --muted lands at 4.55:1 on the tint — passing, but only just. --body has the headroom. */
.help-contact-page .hc-suggest > p { color: var(--body); }
.help-contact-page .hc-panel h2 { font-size: 18px; margin-bottom: 6px; }
.help-contact-page .hc-panel > p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.help-contact-page .hc-links { list-style: none; padding: 0; margin-top: 14px; }
.help-contact-page .hc-links li + li { border-top: 1px solid var(--line); }
.help-contact-page .hc-links a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  transition: color var(--ease);
}
.help-contact-page .hc-links a:hover { color: var(--brand); }
.help-contact-page .hc-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-btn); }
.help-contact-page .hc-links svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--muted);
  transition: transform var(--ease), color var(--ease);
}
.help-contact-page .hc-links a:hover svg { transform: translateX(3px); color: var(--brand); }
.help-contact-page .hc-hours { display: grid; gap: 15px; margin-top: 16px; }
.help-contact-page .hc-hours > div { display: grid; gap: 2px; }
.help-contact-page .hc-hours dt { font-size: 13px; color: var(--muted); }
.help-contact-page .hc-hours dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.help-contact-page .hc-hours dd small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.help-contact-page .hc-panel-foot {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---- FAQ ---- */
.help-contact-page .hc-faq { padding-top: 72px; max-width: 840px; }
.help-contact-page .hc-faq h2 { font-size: 28px; margin-bottom: 8px; }
.help-contact-page .hc-faq > p { color: var(--body); max-width: 64ch; margin-bottom: 24px; }
.help-contact-page .hc-faq .accordion-body p { font-size: 15px; }
.help-contact-page .hc-faq .accordion-body p + p { margin-top: 10px; }
.help-contact-page .hc-faq .accordion-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .help-contact-page main { padding-bottom: 64px; }
  .help-contact-page .hc-hero { padding: 20px 0 36px; }
  .help-contact-page .hc-hero h1 { font-size: 32px; }
  .help-contact-page .hc-lead { font-size: 17px; }
  .help-contact-page .hc-faq { padding-top: 48px; }
  .help-contact-page .hc-faq h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  .help-contact-page .hc-card { padding: 22px 18px; }
  .help-contact-page .hc-panel { padding: 20px 18px; }
  .help-contact-page .hc-submit-row .btn { width: 100%; }
  .help-contact-page .hc-copy { margin-left: 0; }
}


/* ============================================================================
   help.html — Help Center hub. Scoped under body.page-help.
   Reuses the SHARED .help-contact-page band above for the closing strip.
   ========================================================================== */

/* ---------- Hero ---------- */
/* The two glows are background layers, not absolutely-positioned pseudo-elements.
   A background is clipped to its own box for free, so the hero needs no
   overflow:hidden — which was cutting the search suggestion panel off at the hero's
   bottom edge and killing every option below it — and the 760px circle can no longer
   widen the document at 375px. Same geometry as the old ::before/::after: a 380px-radius
   violet circle centred 60px above the hero top, and a 230px-radius lime circle centred
   70px past the bottom-right corner. */
.page-help .hh-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle 380px at 50% -60px, rgba(108, 59, 255, .55) 0%, rgba(108, 59, 255, 0) 68%),
    radial-gradient(circle 230px at calc(100% - 70px) calc(100% + 70px), rgba(191, 247, 71, .16) 0%, rgba(191, 247, 71, 0) 70%),
    var(--hero-grad);
  padding-block: 80px 72px;
}
.page-help .hh-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-help .hh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.page-help .hh-eyebrow svg { width: 15px; height: 15px; color: var(--accent); }
.page-help .hh-hero h1 { color: #fff; margin-top: 20px; }
.page-help .hh-sub {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
}

/* ---------- Hero search + live suggestions ---------- */
.page-help .hh-search {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 720px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 20px;
  background: var(--bg);
  border-radius: var(--r-pill);
  box-shadow: 0 18px 44px rgba(8, 4, 20, .38);
}
.page-help .hh-search:focus-within {
  box-shadow: 0 0 0 3px rgba(191, 247, 71, .55), 0 18px 44px rgba(8, 4, 20, .38);
}
.page-help .hh-search-icon { width: 22px; height: 22px; flex: none; color: var(--muted); }
.page-help .hh-search input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  background: none;
  font-size: 17px;
  color: var(--ink);
}
.page-help .hh-search input::placeholder { color: var(--muted); }
.page-help .hh-search input:focus { outline: none; }
.page-help .hh-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.page-help .hh-search-btn { flex: none; border-radius: var(--r-pill); }

.page-help .hh-suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(8, 4, 20, .28);
  /* A scroll container, so scrollIntoView({block:"nearest"}) moves the list and not
     the page, and the panel cannot run past the fold on a phone. */
  max-height: min(60vh, 460px);
  overflow: hidden auto;
  text-align: left;
}
.page-help .hh-suggest[hidden] { display: none; }
.page-help .hh-suggest-list { list-style: none; margin: 0; padding: 6px; }
.page-help .hh-opt {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--ease);
}
.page-help .hh-opt:hover,
.page-help .hh-opt.is-active { background: var(--brand-tint); }
.page-help .hh-opt-title {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.page-help .hh-opt-snip {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.page-help .hh-suggest mark {
  background: var(--accent);
  color: var(--ink);
  border-radius: 3px;
  padding: 0 1px;
}
.page-help .hh-suggest-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--muted);
}
.page-help .hh-suggest-foot a { font-weight: 600; }
.page-help .hh-suggest-empty { padding: 18px 16px; font-size: 14px; color: var(--body); }
.page-help .hh-suggest-empty[hidden] { display: none; }
.page-help .hh-suggest-empty a { font-weight: 600; }
/* Every other selectable thing in this panel is a brand-tint fill; the three focusable
   elements inside it get the same ring rather than the UA default. */
.page-help .hh-opt:focus-visible,
.page-help .hh-suggest a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.page-help .hh-kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--bg);
  font-size: 11px;
  font-weight: 600;
  color: var(--body);
}

/* ---------- Popular question pills ---------- */
.page-help .hh-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  max-width: 880px;
}
.page-help .hh-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), color var(--ease);
}
.page-help .hh-pill:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}
.page-help .hh-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Section heads ---------- */
.page-help .hh-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.page-help .hh-head h2 { margin-bottom: 8px; }
.page-help .hh-head p { font-size: 17px; color: var(--body); max-width: 68ch; }

/* ---------- Audience switcher ---------- */
.page-help .hh-aud {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.page-help .hh-aud-btn {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}
.page-help .hh-aud-btn:hover { color: var(--ink); }
.page-help .hh-aud-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.page-help .hh-aud-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Category grid ---------- */
.page-help .hh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.page-help .hh-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.page-help .hh-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.page-help .hh-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-wash);
  color: var(--brand);
  transition: background var(--ease), color var(--ease);
}
.page-help .hh-card:hover .hh-card-icon { background: var(--brand); color: #fff; }
.page-help .hh-card-icon svg { width: 24px; height: 24px; }
.page-help .hh-card h3 { font-size: 20px; margin-top: 18px; }
.page-help .hh-card h3 a { color: var(--ink); transition: color var(--ease); }
.page-help .hh-card h3 a:hover { color: var(--brand); }
.page-help .hh-card h3 a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.page-help .hh-card-desc {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 46ch;
}
.page-help .hh-card-links {
  list-style: none;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.page-help .hh-card-links a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
  transition: color var(--ease), transform var(--ease);
}
.page-help .hh-card-links a:hover { color: var(--brand); transform: translateX(4px); }
.page-help .hh-card-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.page-help .hh-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.page-help .hh-card-more svg { width: 15px; height: 15px; transition: transform var(--ease); }
.page-help .hh-card-more:hover svg { transform: translateX(3px); }
.page-help .hh-card-more:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Popular articles ---------- */
.page-help .hh-popular {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
  counter-reset: hhnum;
}
.page-help .hh-popular li { counter-increment: hhnum; }
.page-help .hh-pop {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--bg);
  border: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.page-help .hh-pop:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.page-help .hh-pop:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.page-help .hh-pop::before {
  content: counter(hhnum, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--brand-ghost);
  flex: none;
  transition: color var(--ease);
}
.page-help .hh-pop:hover::before { color: var(--brand); }
.page-help .hh-pop-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.page-help .hh-pop-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.page-help .hh-pop-cat { font-weight: 600; color: var(--brand); }
.page-help .hh-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* ---------- 0% commission panel ---------- */
.page-help .hh-zero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: 20px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-dark);
}
.page-help .hh-zero h2 { font-size: 34px; margin-top: 16px; }
.page-help .hh-zero p { margin-top: 14px; font-size: 17px; line-height: 1.65; max-width: 66ch; }
.page-help .hh-zero .btn { margin-top: 24px; }
.page-help .hh-zero-figure {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--bg);
  border: 1px solid var(--line);
}
.page-help .hh-zero-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--body);
}
.page-help .hh-zero-row b { font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.page-help .hh-zero-row.is-them b {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
/* Itemisation lines — the fees that make up the two headline figures. Same row, quieter
   number, so the totals keep the emphasis. */
.page-help .hh-zero-row.is-item { font-size: 13px; color: var(--muted); }
.page-help .hh-zero-row.is-item b {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}
.page-help .hh-zero-rule { height: 1px; background: var(--line); }
.page-help .hh-zero-note { font-size: 13px; color: var(--muted); }

/* ---------- Contact band (inside SHARED .help-contact) ---------- */
.page-help .hh-contact-head { text-align: center; max-width: 60ch; margin-inline: auto; }
.page-help .hh-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.page-help .hh-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.page-help .hh-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.page-help .hh-contact-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.page-help .hh-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-wash);
  color: var(--brand);
  transition: background var(--ease), color var(--ease);
}
.page-help .hh-contact-card:hover .hh-contact-icon { background: var(--brand); color: #fff; }
.page-help .hh-contact-icon svg { width: 24px; height: 24px; }
.page-help .hh-contact-card h3 { font-size: 20px; }
.page-help .hh-contact-card p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 44ch;
}
.page-help .hh-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.page-help .hh-cta svg { width: 15px; height: 15px; transition: transform var(--ease); }
.page-help .hh-contact-card:hover .hh-cta svg { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .page-help .hh-popular { grid-template-columns: 1fr; }
  .page-help .hh-zero { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .page-help .hh-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-help .hh-hero { padding-block: 52px 56px; }
  .page-help .hh-sub { font-size: 17px; }
  .page-help .hh-grid { grid-template-columns: 1fr; }
  .page-help .hh-search {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 12px;
    gap: 10px;
  }
  .page-help .hh-search-icon { margin-left: 6px; }
  .page-help .hh-search input { height: 40px; flex: 1 1 60%; font-size: 16px; }
  .page-help .hh-search-btn { width: 100%; order: 3; }
  .page-help .hh-suggest { top: calc(100% + 8px); }
  /* Keyboard hints mean nothing on a touch device and wrapped onto two lines here —
     drop them and let the See-all link have the row. */
  .page-help .hh-suggest-foot > span:first-child { display: none; }
  .page-help .hh-suggest-foot { justify-content: flex-end; }
  .page-help .hh-head { margin-bottom: 28px; }
  .page-help .hh-card { padding: 22px; }
  .page-help .hh-pop { padding: 14px 16px; gap: 14px; }
  .page-help .hh-zero { padding: 26px; border-radius: var(--r-card); }
  .page-help .hh-zero h2 { font-size: 26px; }
  .page-help .hh-contact-card { flex-direction: column; gap: 14px; padding: 22px; }
}

/* ══════════════════════════════════════════════════════════════════════
   help-search.html   —   scope: .help-search-page
   ══════════════════════════════════════════════════════════════════════ */

.help-search-page {
  --hs-sticky-top: 88px;            /* 72px sticky header + 16px breathing room */
  --hs-field: 60px;
}

/* The page renders itself: [hidden] is toggled on the count line, the sub-head,
   the clear button, the facet reset and the filter rail. Every one of those also
   carries a display rule below, so restore the attribute's meaning once. */
.help-search-page main [hidden] { display: none !important; }

.help-search-page .hs-shell { padding-block: 32px 0; }
.help-search-page .hs-crumbs { margin-bottom: 26px; }

/* ---------- Head + search field ---------- */
.help-search-page .hs-head { margin-bottom: 40px; }
.help-search-page .hs-head h1 {
  font-size: 40px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.help-search-page #hs-sub {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 68ch;
}

.help-search-page .hs-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 760px;
  height: var(--hs-field);
  margin-top: 24px;
  padding: 0 8px 0 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.help-search-page .hs-form:hover { border-color: #CFCFE0; }
.help-search-page .hs-form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.help-search-page .hs-form > svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
  transition: color var(--ease);
}
.help-search-page .hs-form:focus-within > svg { color: var(--brand); }

.help-search-page .hs-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.help-search-page .hs-input::placeholder { color: var(--muted); }
/* The pill owns the clear affordance; the UA's own one would sit beside ours. */
.help-search-page .hs-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.help-search-page .hs-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition: color var(--ease), background var(--ease);
}
.help-search-page .hs-clear:hover { color: var(--ink); background: var(--bg-soft); }
.help-search-page .hs-clear:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-search-page .hs-clear svg { width: 16px; height: 16px; }

.help-search-page .hs-submit {
  flex: none;
  height: 44px;
  padding-inline: 26px;
  border-radius: var(--r-pill);
}

/* ---------- Recent searches ---------- */
.help-search-page .hs-recent { margin-top: 20px; }
.help-search-page .hs-recent-label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.help-search-page .hs-recent .chip {
  padding: 7px 14px;
  font-size: 14px;
  max-width: 100%;
}
.help-search-page .hs-recent .chip svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.help-search-page .hs-recent .chip:hover svg { color: var(--brand); }
.help-search-page .hs-recent-clear {
  align-self: center;
  margin-left: 4px;
  padding: 6px 8px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--ease);
}
.help-search-page .hs-recent-clear:hover { color: var(--danger-ink); text-decoration: underline; }
.help-search-page .hs-recent-clear:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Two-column shell ---------- */
.help-search-page .hs-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 24px;
}
.help-search-page .hs-layout.is-solo { grid-template-columns: minmax(0, 1fr); }
.help-search-page .hs-panel { min-width: 0; }
/* Focus target only — a re-render that destroys its own trigger hands focus here, so
   the next Tab continues from the results instead of restarting at the top. */
.help-search-page .hs-panel:focus { outline: none; }

/* ---------- Filter rail ---------- */
.help-search-page .hs-filters {
  position: sticky;
  top: var(--hs-sticky-top);
}
.help-search-page .hs-filter-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  padding: 6px 18px 18px;
}
.help-search-page .hs-filter-shell > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--r-btn);
}
.help-search-page .hs-filter-shell > summary::-webkit-details-marker { display: none; }
.help-search-page .hs-filter-shell > summary:hover { color: var(--brand); }
.help-search-page .hs-filter-shell > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-search-page .hs-filter-shell > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--ease);
  opacity: .55;
}
.help-search-page .hs-filter-shell[open] > summary::after { transform: translateY(2px) rotate(-135deg); }

.help-search-page .hs-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.help-search-page .hs-facet + .hs-facet {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.help-search-page .hs-facet h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.help-search-page .hs-facet ul { list-style: none; padding: 0; margin: 0; }

.help-search-page .hs-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.help-search-page .hs-check:hover { background: var(--bg-soft); }
.help-search-page .hs-check:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }
.help-search-page .hs-check:has(input:disabled) { cursor: not-allowed; opacity: .45; }
.help-search-page .hs-check:has(input:disabled):hover { background: none; }
.help-search-page .hs-check input {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  cursor: inherit;
}
.help-search-page .hs-check-name {
  flex: 1 1 auto;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--body);
}
.help-search-page .hs-check:hover .hs-check-name { color: var(--ink); }
.help-search-page .hs-check:has(input:checked) .hs-check-name { color: var(--ink); font-weight: 600; }
.help-search-page .hs-check-count {
  flex: none;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.help-search-page .hs-filter-reset {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.help-search-page .hs-filter-reset:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.help-search-page .hs-filter-reset:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Result count ---------- */
.help-search-page .hs-count {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.help-search-page .hs-count strong { color: var(--ink); font-weight: 600; }

/* ---------- Results ---------- */
.help-search-page .hs-results {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.help-search-page .hs-result {
  display: block;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.help-search-page .hs-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.help-search-page .hs-result:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-search-page .hs-result-cat {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.help-search-page .hs-result-title {
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  transition: color var(--ease);
  overflow-wrap: anywhere;
}
.help-search-page .hs-result:hover .hs-result-title { color: var(--brand-dark); }
.help-search-page .hs-result-snippet {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  max-width: 72ch;
  overflow-wrap: anywhere;
}
.help-search-page .hs-result-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.help-search-page .hs-result-meta svg { width: 14px; height: 14px; flex: none; }
.help-search-page .hs-result mark {
  background: var(--brand-wash);
  color: var(--brand-dark);
  border-radius: 3px;
  padding: 0 2px;
}

/* ---------- Suggestion blocks (no query / no results) ---------- */
.help-search-page .hs-block + .hs-block { margin-top: 44px; }
.help-search-page .hs-block > h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.help-search-page .hs-suggest {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.help-search-page .hs-suggest-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-search-page .hs-suggest-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.help-search-page .hs-suggest-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.help-search-page .hs-suggest-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-search-page .hs-suggest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-wash);
  color: var(--brand);
  transition: background var(--ease), color var(--ease);
}
.help-search-page .hs-suggest-card:hover .hs-suggest-icon { background: var(--brand); color: #fff; }
.help-search-page .hs-suggest-icon svg { width: 20px; height: 20px; }
.help-search-page .hs-suggest-title {
  display: block;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  transition: color var(--ease);
}
.help-search-page .hs-suggest-card:hover .hs-suggest-title { color: var(--brand-dark); }
.help-search-page .hs-suggest-sub {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Empty state ---------- */
.help-search-page .hs-empty {
  max-width: 680px;
  margin-inline: auto;
  padding: 8px 0 12px;
  text-align: center;
}
.help-search-page .hs-empty-art {
  width: 168px;
  height: auto;
  max-width: 100%;
  margin: 0 auto 24px;
}
.help-search-page .hs-empty > h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.help-search-page .hs-empty > p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  max-width: 60ch;
  margin-inline: auto;
}
.help-search-page .hs-empty-tips {
  margin: 22px auto 0;
  padding-left: 22px;
  max-width: 62ch;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}
.help-search-page .hs-empty-tips li + li { margin-top: 6px; }
.help-search-page .hs-empty-tips li::marker { color: var(--brand); }
.help-search-page .hs-empty-tips em { color: var(--ink); font-style: normal; font-weight: 600; }
.help-search-page .hs-empty .hs-block { margin-top: 40px; text-align: left; }
.help-search-page .hs-empty .hs-block > h2 { font-size: 18px; }
.help-search-page .hs-empty-sm { padding: 40px 0; }
.help-search-page .hs-empty-sm .btn { margin-top: 20px; }

.help-search-page .hs-empty-more {
  margin-top: 32px;
  font-size: 14.5px;
  color: var(--muted);
}
.help-search-page .hs-results + .hs-empty-more {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.help-search-page .hs-empty-more a { font-weight: 600; }
.help-search-page .hs-empty-more a:hover { text-decoration: underline; }

/* ---------- Contact band ---------- */
.help-search-page .hs-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  max-width: min(1192px, 100% - 48px);
  margin: 72px auto 96px;
  padding: 34px 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.help-search-page .hs-contact h2 { font-size: 24px; letter-spacing: -0.01em; }
.help-search-page .hs-contact p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  max-width: 66ch;
}
.help-search-page .hs-contact .btn { flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .help-search-page .hs-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
  /* Filters become a collapsed disclosure above the results (JS closes it). */
  .help-search-page .hs-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .help-search-page .hs-filters { position: static; }
  .help-search-page .hs-filter-shell { padding: 4px 16px; }
  .help-search-page .hs-filter-shell[open] { padding-bottom: 18px; }
  .help-search-page .hs-filter-shell > summary { padding: 14px 0; }
}
@media (max-width: 720px) {
  .help-search-page { --hs-field: auto; }
  .help-search-page .hs-shell { padding-block: 20px 0; }
  .help-search-page .hs-head { margin-bottom: 28px; }
  .help-search-page .hs-head h1 { font-size: 30px; }
  .help-search-page #hs-sub { font-size: 16px; }
  .help-search-page .hs-form {
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 18px;
    row-gap: 12px;
  }
  .help-search-page .hs-form > svg { margin-left: 6px; }
  .help-search-page .hs-input { height: 40px; flex: 1 1 60%; font-size: 16px; }
  .help-search-page .hs-submit { order: 3; width: 100%; }
  .help-search-page .hs-suggest-2 { grid-template-columns: minmax(0, 1fr); }
  .help-search-page .hs-result { padding: 18px; }
  .help-search-page .hs-result-title { font-size: 17.5px; }
  .help-search-page .hs-block + .hs-block { margin-top: 32px; }
  .help-search-page .hs-empty-art { width: 140px; }
  .help-search-page .hs-empty > h2 { font-size: 22px; }
  .help-search-page .hs-contact {
    max-width: min(1192px, 100% - 32px);
    margin: 48px auto 64px;
    padding: 24px;
    gap: 20px;
  }
  .help-search-page .hs-contact h2 { font-size: 21px; }
  .help-search-page .hs-contact .btn { width: 100%; }
}
@media (max-width: 420px) {
  .help-search-page .hs-head h1 { font-size: 26px; }
  .help-search-page .hs-suggest-card { padding: 14px; gap: 12px; }
  .help-search-page .hs-result { padding: 16px; }
}
