/* ==========================================================================
   DocuStacker Help Center (2026-11-28). Built on the site's own tokens
   (public/css/styles.css) and the app's look: warm paper, soft lavender
   icon chips, purple text links, the orange accent for the main action.
   ========================================================================== */
.hc { --hc-paper: #faf9f6; --hc-line: #e9e6f2; --hc-chip: #f1eef7; --hc-chip-line: #e2dcef; --hc-ink: #3f3f3f; background: #fff; color: var(--color-ink-soft); }
.hc-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc-ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc a:not(.btn):not(.b) { color: inherit; text-decoration: none; }
.hc h1, .hc h2 { color: var(--hc-ink); letter-spacing: -0.02em; }

/* Hero */
.hc-hero { padding: 56px 0 48px; background: var(--hc-paper); border-bottom: 1px solid var(--hc-line); text-align: center; }
.hc-hero-sm { padding: 32px 0 36px; text-align: left; }
.hc-kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); }
.hc-hero h1 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; line-height: 1.1; }
.hc-lede { margin: 12px auto 0; max-width: 620px; font-size: 17px; line-height: 1.55; }
.hc-hero-sm .hc-lede { margin-left: 0; }

/* Search */
.hc-search { position: relative; max-width: 620px; margin: 28px auto 0; }
.hc-hero-sm .hc-search { margin-left: 0; }
.hc-search input { width: 100%; height: 54px; padding: 0 18px 0 50px; border: 1px solid #d9d4e8; border-radius: 14px; background: #fff; font: inherit; font-size: 16px; color: var(--color-ink); box-shadow: 0 10px 30px -18px rgba(64, 49, 95, .35); }
.hc-search input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(64, 49, 95, .12); }
.hc-search-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #8d86a3; display: flex; }
.hc-results { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: 420px; overflow-y: auto; padding: 6px; border: 1px solid var(--hc-line); border-radius: 14px; background: #fff; box-shadow: 0 24px 50px -20px rgba(28, 21, 48, .3); text-align: left; }
.hc-results a { display: block; padding: 10px 12px; border-radius: 10px; }
.hc-results a:hover, .hc-results a.is-on { background: var(--hc-chip); }
.hc-results strong { display: block; color: var(--color-ink); font-size: 14.5px; }
.hc-results span { display: block; margin-top: 2px; font-size: 12.5px; color: #8d86a3; }
.hc-results p { margin: 0; padding: 12px; font-size: 14px; }

/* Sections */
.hc-section { padding-top: 48px; padding-bottom: 8px; }
.hc-h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; }
.hc-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.hc-cat { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--hc-line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hc-cat:hover { border-color: #cfc7e4; box-shadow: 0 16px 34px -22px rgba(64, 49, 95, .45); transform: translateY(-2px); }
.hc-cat-ic { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--hc-chip); border: 1px solid var(--hc-chip-line); color: var(--color-primary); }
.hc-cat-ic.is-lg { width: 56px; height: 56px; border-radius: 14px; }
.hc-cat-ic.is-lg .hc-ic { width: 26px; height: 26px; }
.hc-cat-ic.is-sm { width: 30px; height: 30px; border-radius: 9px; }
.hc-cat-ic.is-sm .hc-ic { width: 16px; height: 16px; }
.hc-cat-txt { flex: 1; min-width: 0; }
.hc-cat-txt strong { display: block; font-size: 16.5px; color: var(--hc-ink); }
.hc-cat-txt span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.hc-cat-n { flex-shrink: 0; align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--hc-paper); border: 1px solid var(--hc-line); font-size: 12px; font-weight: 700; color: #8d86a3; white-space: nowrap; }
.hc-cat-head { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.hc-cat-head h1 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.hc-cat-head .hc-lede { margin-top: 6px; }

/* Article lists */
.hc-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--hc-line); border-radius: 16px; overflow: hidden; background: #fff; }
.hc-list li + li { border-top: 1px solid var(--hc-line); }
.hc-list a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; transition: background-color .12s; }
.hc-list a:hover { background: var(--hc-paper); }
.hc-list a > .hc-ic:first-child { color: var(--color-primary); }
.hc-list a > span { flex: 1; min-width: 0; }
.hc-list strong { display: block; font-size: 15.5px; color: var(--hc-ink); }
.hc-list a > span > span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; }
.hc-go { color: #b3adc4; transition: transform .15s, color .15s; }
.hc-list a:hover .hc-go { color: var(--color-primary); transform: translateX(3px); }
.hc-list-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-list-2 li + li { border-top: 0; }
.hc-list-2 li { border-top: 1px solid var(--hc-line); }
.hc-list-2 li:nth-child(-n+2) { border-top: 0; }
.hc-list-2 li:nth-child(odd) { border-right: 1px solid var(--hc-line); }
.hc-back { margin: 18px 0 0; font-size: 14px; font-weight: 700; }
.hc-back a, .hc-side-all { color: var(--color-primary); }

/* Breadcrumbs */
.hc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #8d86a3; }
.hc-crumbs a { color: var(--color-primary); }
.hc-crumbs a:hover { text-decoration: underline; }

/* Article page */
.hc-article-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 8px; align-items: start; }
.hc-side { position: sticky; top: 150px; padding: 16px; border: 1px solid var(--hc-line); border-radius: 16px; background: var(--hc-paper); }
.hc-side-cat { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14.5px; font-weight: 800; color: var(--hc-ink); }
.hc-side ul { margin: 0 0 12px; padding: 0; list-style: none; }
.hc-side li a { display: block; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; line-height: 1.4; }
.hc-side li a:hover { background: #fff; color: var(--color-ink); }
.hc-side li a[aria-current="page"] { background: #fff; color: var(--color-primary); font-weight: 700; box-shadow: inset 3px 0 0 var(--color-primary); }
.hc-side-all { font-size: 13.5px; font-weight: 700; padding-left: 10px; }
.hc-article { max-width: 760px; min-width: 0; }
.hc-article h1 { margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; line-height: 1.15; }
.hc-article > .hc-lede { margin-left: 0; font-size: 17px; }
.hc-body { margin-top: 28px; font-size: 16px; line-height: 1.7; }
.hc-body p { margin: 0 0 18px; }
.hc-body h2 { margin: 34px 0 12px; font-size: 21px; font-weight: 800; }
.hc-body a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(64, 49, 95, .3); text-underline-offset: 3px; }
.hc-body a:hover { text-decoration-color: currentColor; }
.hc-body strong { color: var(--hc-ink); }
.hc-steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: hc; }
.hc-steps li { position: relative; padding: 0 0 14px 46px; counter-increment: hc; }
.hc-steps li::before { content: counter(hc); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--hc-chip); border: 1px solid var(--hc-chip-line); color: var(--color-primary); font-size: 14px; font-weight: 800; }
.hc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--hc-chip-line); }
.hc-ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.hc-ul li { position: relative; padding: 0 0 10px 26px; }
.hc-ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); opacity: .55; }
.hc-shot { margin: 8px 0 28px; }
.hc-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--hc-line); border-radius: 14px; box-shadow: 0 22px 50px -30px rgba(28, 21, 48, .45); background: #fff; }
.hc-shot figcaption { margin-top: 10px; font-size: 13px; color: #8d86a3; text-align: center; }
.hc-callout { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.6; }
.hc-callout p { margin: 0; }
.hc-callout .hc-ic { margin-top: 3px; }
.hc-callout.is-tip { background: #f1eef7; border: 1px solid #e2dcef; }
.hc-callout.is-tip .hc-ic { color: var(--color-primary); }
.hc-callout.is-note { background: #fdf1e6; border: 1px solid #f5dcc6; }
.hc-callout.is-note .hc-ic { color: #b9561a; }
.hc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--hc-line); }
.hc-pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--hc-line); border-radius: 12px; transition: border-color .15s, background-color .15s; }
.hc-pager a:hover { border-color: #cfc7e4; background: var(--hc-paper); }
.hc-pager .is-next { text-align: right; grid-column: 2; }
.hc-pager span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8d86a3; }
.hc-pager strong { font-size: 15px; color: var(--color-primary); }

/* Still need help */
.hc-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 40px 0 64px; padding: 28px 32px; border-radius: 20px; background: var(--hc-paper); border: 1px solid var(--hc-line); }
.hc-contact h2 { margin: 0; font-size: 22px; font-weight: 800; }
.hc-contact p { margin: 6px 0 0; max-width: 520px; font-size: 15px; line-height: 1.55; }
.hc-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Same buttons as the header (Start Free Trial / Book a Demo) */
.hc-contact-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.hc-contact-actions .btn-secondary { border: 2px solid var(--color-primary); color: var(--color-primary); }
.hc-contact-actions .btn-secondary:hover { background: #f6e7cf; border-color: var(--color-primary); color: var(--color-primary); }

@media (max-width: 900px) {
  .hc-article-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hc-side { position: static; order: 2; }
  .hc-list-2 { grid-template-columns: minmax(0, 1fr); }
  .hc-list-2 li:nth-child(odd) { border-right: 0; }
  .hc-list-2 li:nth-child(2) { border-top: 1px solid var(--hc-line); }
}
@media (max-width: 600px) {
  .hc-wrap { padding: 0 16px; }
  .hc-hero { padding: 40px 0 32px; }
  .hc-cats { grid-template-columns: minmax(0, 1fr); }
  .hc-cat-n { display: none; }
  .hc-pager { grid-template-columns: minmax(0, 1fr); }
  .hc-pager .is-next { grid-column: 1; }
  .hc-contact { padding: 22px 20px; }
}

/* In-app copy (/help/): inside the app layout, which has none of the site's tokens */
.hc.is-app { --color-primary: #40315f; --color-ink: #1c1530; --color-ink-soft: #564f6e; font-size: 15px; line-height: 1.6; }
.hc.is-app .hc-hero { padding: 40px 0 36px; }
.hc.is-app .hc-hero-sm { padding: 28px 0 30px; }
.hc.is-app .hc-section:last-child { padding-bottom: 56px; }
.hc.is-app .hc-contact-actions .b { height: 44px; padding: 0 22px; font-size: 14.5px; font-weight: 700; }
