/* ================================================================
   ELVA — Help Center
   Docs-style surface. Lighter / airier than the marketing site.
   Depends on: elva-tokens.css
   ================================================================ */

body { background: #FBFBFC; color: var(--ink-1); -webkit-font-smoothing: antialiased; }

/* product accent default; pages/cards override --acc */
:root { --acc: var(--ai-3); --acc-tint: rgba(155,92,255,.10); }

.hc-wrap   { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.hc-narrow { max-width: 920px;  margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .hc-wrap, .hc-narrow { padding: 0 20px; } }

a.hc-plain { color: inherit; }

/* ============================================================ HEADER */
.hc-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(251,251,252,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--cream-2);
}
.hc-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  height: 62px; display: flex; align-items: center; gap: 20px;
}
@media (max-width: 640px) { .hc-header-inner { padding: 0 18px; gap: 12px; } }

.hc-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.hc-mark {
  width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center;
}
.hc-mark img { display: block; width: 28px; height: 28px; }
.hc-brand-word { font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: -.04em; color: var(--ink-0); display: inline-flex; gap: 5px; }
.hc-brand-ai { color: var(--ai-4); }
.hc-brand-sep { width: 1px; height: 20px; background: var(--cream-shadow); margin: 0 2px; }
.hc-brand-help { font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--ink-2); letter-spacing: -.01em; }
@media (max-width: 520px) { .hc-brand-sep, .hc-brand-help { display: none; } }

.hc-header-search {
  flex: 1; max-width: 360px; height: 38px; margin: 0 auto;
  display: flex; align-items: center; gap: 9px; padding: 0 14px;
  background: #fff; border: 1px solid var(--cream-2); border-radius: 999px;
  color: var(--ink-3); font-size: 13.5px; cursor: text;
  transition: border-color .14s, box-shadow .14s;
}
.hc-header-search:hover { border-color: var(--sage-2); }
.hc-header-search svg { width: 15px; height: 15px; stroke: var(--ink-3); flex: none; }
.hc-header-search .hc-kbd { margin-left: auto; }
@media (max-width: 760px) { .hc-header-search { display: none; } }

.hc-kbd { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3);
  border: 1px solid var(--cream-2); border-radius: 5px; padding: 1px 6px; background: var(--cream-0); }

.hc-header-actions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.hc-back { font-size: 13.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;
  transition: color .14s; white-space: nowrap; }
.hc-back:hover { color: var(--ink-0); }
.hc-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
@media (max-width: 640px) { .hc-back span { display: none; } }
.hc-contact-btn {
  font-size: 13.5px; font-weight: 600; color: #fff; background: var(--sage-0);
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(20,20,30,.5); transition: transform .14s, box-shadow .14s;
}
.hc-contact-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(20,20,30,.55); }

/* ============================================================ HERO (home) */
.hc-hero { position: relative; padding: 92px 0 64px; text-align: center; overflow: hidden; }
.hc-hero::before {
  content:''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 320px at 50% -60px, rgba(201,182,255,.34), transparent 70%),
    radial-gradient(560px 300px at 14% 0%, rgba(175,200,255,.20), transparent 72%),
    radial-gradient(520px 280px at 88% 4%, rgba(63,184,168,.14), transparent 72%);
}
.hc-hero-inner { position: relative; }
.hc-hero-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.hc-hero-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6vw, 60px); letter-spacing: -.04em; line-height: 1.04;
  color: var(--ink-0); margin: 16px 0 0; text-wrap: balance;
}
.hc-hero-sub { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 16px auto 0;
  max-width: 46ch; text-wrap: pretty; }

.hc-hero-search {
  margin: 34px auto 0; max-width: 620px; height: 60px;
  display: flex; align-items: center; gap: 14px; padding: 0 10px 0 22px;
  background: #fff; border: 1px solid var(--cream-2); border-radius: 999px;
  box-shadow: 0 2px 6px rgba(20,20,30,.04), 0 22px 50px -28px rgba(20,20,30,.28);
  cursor: text; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.hc-hero-search:hover { border-color: var(--sage-2); box-shadow: 0 2px 6px rgba(20,20,30,.05), 0 26px 56px -28px rgba(20,20,30,.32); }
.hc-hero-search svg { width: 21px; height: 21px; stroke: var(--ink-3); flex: none; }
.hc-hero-search-ph { flex: 1; text-align: left; font-size: 17px; color: var(--ink-3); }
.hc-hero-search-go {
  height: 42px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #fff;
  background: var(--grad-spectrum); display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 8px 18px -8px rgba(155,92,255,.55); transition: transform .14s;
}
.hc-hero-search-go:hover { transform: translateY(-1px); }

.hc-hero-quick { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.hc-hero-quick-label { font-size: 13px; color: var(--ink-3); margin-right: 2px; }
.hc-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500;
  color: var(--ink-1); background: #fff; border: 1px solid var(--cream-2);
  padding: 7px 14px; border-radius: 999px; transition: border-color .14s, color .14s, transform .14s;
}
.hc-chip:hover { border-color: var(--acc); color: var(--ink-0); transform: translateY(-1px); }
.hc-chip svg { width: 14px; height: 14px; stroke: var(--ink-3); flex: none; }

/* ============================================================ SECTION HEADINGS */
.hc-section { padding: 60px 0; }
.hc-section--tint { background: #fff; border-top: 1px solid var(--cream-2); border-bottom: 1px solid var(--cream-2); }
.hc-sec-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.hc-sec-title { font-family: var(--font-display); font-size: 26px; font-weight: 600;
  letter-spacing: -.03em; color: var(--ink-0); margin: 12px 0 0; line-height: 1.15; }
.hc-sec-sub { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; margin: 8px 0 0; max-width: 56ch; }
.hc-sec-head { margin-bottom: 32px; }

/* ============================================================ PRODUCT GRID (home) */
.hc-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .hc-prod-grid { grid-template-columns: 1fr; } }

.hc-prod {
  --acc: var(--ai-3);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--cream-2); border-radius: var(--r-xl);
  padding: 26px 26px 22px; overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s;
}
.hc-prod:hover { transform: translateY(-3px); box-shadow: var(--sh-2);
  border-color: color-mix(in srgb, var(--acc) 32%, var(--cream-2)); }
.hc-prod-top { display: flex; align-items: center; gap: 13px; }
.hc-prod-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  color: var(--acc); background: color-mix(in srgb, var(--acc) 13%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent);
}
.hc-prod-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.hc-prod-name { font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -.025em; color: var(--ink-0); }
.hc-prod-soon { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; font-weight: 500;
  color: var(--ink-3); border: 1px solid var(--cream-2); border-radius: 999px; padding: 2px 7px;
  margin-left: 8px; vertical-align: 2px; }
.hc-prod-desc { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 14px 0 0; text-wrap: pretty; }
.hc-prod-cats { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--cream-2);
  display: flex; flex-direction: column; gap: 1px; }
.hc-prod-cat { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-1);
  padding: 7px 8px; margin: 0 -8px; border-radius: 8px; transition: background .14s, color .14s; }
.hc-prod-cat:hover { background: var(--acc-tint); color: var(--ink-0); }
.hc-prod-cat::before { content:''; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); flex: none; }
.hc-prod-cat .hc-cat-count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.hc-prod-foot { margin-top: 18px; }
.hc-prod-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--acc); }
.hc-prod-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s var(--ease-out); }
.hc-prod:hover .hc-prod-link svg { transform: translateX(3px); }
.hc-start-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hc-start-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-1); text-decoration: none; transition: color .15s; }
.hc-start-link:hover { color: var(--gs-acc); }
.hc-start-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gs-acc); flex: none; }

/* ============================================================ POPULAR ARTICLES (home) */
.hc-pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .hc-pop-grid { grid-template-columns: 1fr; } }
.hc-pop {
  display: flex; flex-direction: column; gap: 8px; background: #fff;
  border: 1px solid var(--cream-2); border-radius: var(--r-lg); padding: 18px 20px;
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.hc-pop:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-color: var(--sage-2); }
.hc-pop-tags { display: flex; gap: 6px; }
.hc-tag { font-size: 11px; font-weight: 500; color: var(--acc);
  background: var(--acc-tint); border-radius: 999px; padding: 3px 9px; line-height: 1.4; white-space: nowrap; }
.hc-tag--mute { color: var(--ink-3); background: var(--surface-mute); }
.hc-pop-title { font-family: var(--font-display); font-size: 15.5px; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink-0); line-height: 1.3; }
.hc-pop-ex { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ============================================================ CONTACT BAND */
.hc-cband { padding: 56px 0 72px; }
.hc-cband-card {
  position: relative; overflow: hidden; border-radius: 24px;
  background: var(--grad-ink); color: #fff; padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.hc-cband-card::before { content:''; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(155,92,255,.46), rgba(91,141,239,.16) 55%, transparent); }
.hc-cband-card::after { content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-spectrum); opacity: .85; }
.hc-cband-tx { position: relative; max-width: 52ch; }
.hc-cband-h { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; margin: 0; }
.hc-cband-p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.6; margin: 10px 0 0; }
.hc-cband-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.hc-btn-light { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-0); background: #fff; padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); transition: transform .14s; }
.hc-btn-light:hover { transform: translateY(-1px); }
.hc-btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600;
  color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: 12px 22px; border-radius: 999px; transition: background .14s; }
.hc-btn-ghost:hover { background: rgba(255,255,255,.18); }
.hc-btn-light svg, .hc-btn-ghost svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================ FOOTER */
.hc-footer { background: #fff; border-top: 1px solid var(--cream-2); padding: 28px 0; position: relative; }
.hc-footer::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-spectrum); opacity: .6; }
.hc-footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) { .hc-footer-inner { padding: 0 20px; } }
.hc-footer-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 600; font-size: 16px; letter-spacing: -.04em; color: var(--ink-0); }
.hc-footer-mark { width: 22px; height: 22px; border-radius: 50%; position: relative;
  background: conic-gradient(from 210deg, var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), var(--ai-5), var(--ai-1)); }
.hc-footer-mark::after { content:''; position: absolute; inset: 6px; border-radius: 50%; background: rgba(255,255,255,.92); }
.hc-footer-links { display: flex; gap: 20px; }
.hc-footer-links a { font-size: 12.5px; color: var(--ink-3); transition: color .14s; }
.hc-footer-links a:hover { color: var(--ink-1); }
.hc-footer-copy { font-size: 12px; color: var(--ink-4); }

/* ============================================================ CATEGORY PAGE */
.hc-cat-banner { position: relative; overflow: hidden; padding: 64px 0 56px;
  background: color-mix(in srgb, var(--acc) 8%, #fff); border-bottom: 1px solid var(--cream-2); }
.hc-cat-banner::before { content:''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 280px at 88% -40px, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); }
.hc-cat-banner-inner { position: relative; }
.hc-cat-icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  color: #fff; background: var(--acc); box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--acc) 70%, transparent); }
.hc-cat-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.hc-cat-h { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 42px); font-weight: 600;
  letter-spacing: -.035em; color: var(--ink-0); margin: 20px 0 0; line-height: 1.06; }
.hc-cat-sub { font-size: 16.5px; color: var(--ink-2); line-height: 1.6; margin: 12px 0 0; max-width: 60ch; text-wrap: pretty; }

/* breadcrumb */
.hc-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.hc-crumb a { color: var(--acc); font-weight: 500; transition: opacity .14s; }
.hc-crumb a:hover { opacity: .7; }
.hc-crumb svg { width: 13px; height: 13px; stroke: var(--ink-4); fill: none; stroke-width: 1.8; flex: none; }
.hc-crumb .hc-crumb-cur { color: var(--ink-2); }

/* category article groups */
.hc-cat-body { padding: 52px 0 64px; }
.hc-group { margin-bottom: 44px; }
.hc-group:last-child { margin-bottom: 0; }
.hc-group-h { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink-0); margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.hc-group-h .hc-group-count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); font-weight: 400; }
.hc-group-sub { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; }
.hc-art-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 720px) { .hc-art-list { grid-template-columns: 1fr; } }
.hc-art {
  display: flex; align-items: flex-start; gap: 13px; background: #fff;
  border: 1px solid var(--cream-2); border-radius: var(--r-lg); padding: 16px 18px;
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.hc-art:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-color: color-mix(in srgb, var(--acc) 34%, var(--cream-2)); }
.hc-art-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
  color: var(--acc); background: var(--acc-tint); margin-top: 1px; }
.hc-art-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.hc-art-tx { display: flex; flex-direction: column; gap: 3px; }
.hc-art-title { font-size: 15px; font-weight: 600; color: var(--ink-0); letter-spacing: -.01em; line-height: 1.3; }
.hc-art-ex { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* sidebar nav (category + article) */
.hc-doclayout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
@media (max-width: 940px) { .hc-doclayout { grid-template-columns: 1fr; gap: 28px; } }
.hc-sidenav { position: sticky; top: 86px; }
@media (max-width: 940px) { .hc-sidenav { position: static; padding-bottom: 8px; border-bottom: 1px solid var(--cream-2); } }
.hc-sidenav-group { margin-bottom: 22px; }
.hc-sidenav-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 500; margin: 0 0 10px; }
.hc-sidenav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.hc-sidenav-list a { display: block; font-size: 13.5px; color: var(--ink-2); padding: 6px 11px; margin: 0 -11px;
  border-radius: 8px; line-height: 1.35; transition: background .14s, color .14s; }
.hc-sidenav-list a:hover { background: var(--surface-mute); color: var(--ink-0); }
.hc-sidenav-list a.is-current { color: var(--acc); background: var(--acc-tint); font-weight: 600; }

/* ============================================================ ARTICLE PAGE */
.hc-article-top { padding: 30px 0 0; }
.hc-art-layout { display: grid; grid-template-columns: 1fr 250px; gap: 56px; align-items: start;
  padding: 26px 0 72px; }
@media (max-width: 1000px) { .hc-art-layout { grid-template-columns: 1fr; gap: 0; } }

.hc-art-main { min-width: 0; }
.hc-art-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 0; font-size: 13px; color: var(--ink-3); }
.hc-art-meta .hc-tag { font-size: 11px; }
.hc-art-meta-i { display: inline-flex; align-items: center; gap: 6px; }
.hc-art-meta-i svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.hc-art-h1 { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 40px); font-weight: 600;
  letter-spacing: -.035em; color: var(--ink-0); line-height: 1.08; margin: 16px 0 0; text-wrap: balance; }
.hc-art-lede { font-size: 18px; color: var(--ink-2); line-height: 1.7; margin: 18px 0 0; text-wrap: pretty; }
.hc-art-divider { height: 1px; background: var(--cream-2); margin: 30px 0; border: 0; }

/* prose */
.hc-prose { font-size: 16.5px; line-height: 1.82; color: var(--ink-1); letter-spacing: -0.006em; }
.hc-prose > * { scroll-margin-top: 86px; }
.hc-prose h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.025em;
  color: var(--ink-0); line-height: 1.22; margin: 48px 0 18px; }
.hc-prose h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.015em;
  color: var(--ink-0); margin: 36px 0 14px; }
.hc-prose p { margin: 0 0 20px; text-wrap: pretty; }
.hc-prose strong { font-weight: 600; color: var(--ink-0); }
.hc-prose a:not(.hc-art):not(.hc-related-card) { color: var(--acc); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.hc-prose a:not(.hc-art):not(.hc-related-card):hover { text-decoration-color: var(--acc); }
.hc-prose ul { margin: 4px 0 22px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hc-prose ul li { position: relative; padding-left: 22px; }
.hc-prose ul li::before { content:''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--acc); }
.hc-prose ul li strong:first-child { color: var(--ink-0); }

/* numbered steps */
.hc-steps { counter-reset: step; list-style: none; margin: 4px 0 22px; padding: 0;
  display: flex; flex-direction: column; gap: 4px; }
.hc-steps li { counter-increment: step; position: relative; padding: 12px 0 12px 50px; min-height: 36px; }
.hc-steps li::before { content: counter(step); position: absolute; left: 0; top: 9px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff;
  background: var(--acc); box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--acc) 70%, transparent); }
.hc-steps li:not(:last-child)::after { content:''; position: absolute; left: 14.5px; top: 42px; bottom: 4px;
  width: 1.5px; background: color-mix(in srgb, var(--acc) 28%, var(--cream-2)); }

/* callouts */
.hc-callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); margin: 22px 0;
  font-size: 14.5px; line-height: 1.6; }
.hc-callout-ic { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.hc-callout-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.hc-callout-tx { color: var(--ink-1); }
.hc-callout-tx strong { color: var(--ink-0); }
.hc-callout--tip { background: var(--info-tint); }
.hc-callout--tip .hc-callout-ic { background: rgba(91,141,239,.18); color: var(--info); }
.hc-callout--note { background: var(--surface-mute); }
.hc-callout--note .hc-callout-ic { background: #fff; color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--cream-2); }
.hc-callout--good { background: var(--success-tint); }
.hc-callout--good .hc-callout-ic { background: rgba(47,138,91,.18); color: var(--success); }

/* TOC right rail */
.hc-toc { position: sticky; top: 86px; }
@media (max-width: 1000px) { .hc-toc { display: none; } }
.hc-toc-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 500; margin: 0 0 12px; }
.hc-toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px;
  border-left: 2px solid var(--cream-2); }
.hc-toc-list a { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-3); padding: 7px 0 7px 14px;
  margin-left: -2px; border-left: 2px solid transparent; transition: color .14s, border-color .14s; }
.hc-toc-list a:hover { color: var(--ink-1); }
.hc-toc-list a.is-active { color: var(--acc); border-left-color: var(--acc); font-weight: 600; }

/* feedback + related */
.hc-feedback { margin-top: 40px; padding: 22px 24px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--cream-2); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hc-feedback-q { font-size: 15px; font-weight: 600; color: var(--ink-0); }
.hc-feedback-btns { display: flex; gap: 10px; }
.hc-fb-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-1);
  background: var(--cream-0); border: 1px solid var(--cream-2); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: border-color .14s, background .14s, color .14s; }
.hc-fb-btn:hover { border-color: var(--sage-2); }
.hc-fb-btn.is-picked { background: var(--acc); border-color: var(--acc); color: #fff; }
.hc-fb-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.hc-fb-thanks { font-size: 14px; color: var(--success); font-weight: 600; display: none; }
.hc-fb-thanks.show { display: inline-flex; align-items: center; gap: 7px; }

.hc-related { margin-top: 36px; }
.hc-related-h { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink-0); margin: 0 0 16px; }
.hc-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .hc-related-grid { grid-template-columns: 1fr; } }
.hc-related-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cream-2);
  border-radius: var(--r-lg); padding: 15px 17px; transition: border-color .16s, transform .16s, box-shadow .16s; }
.hc-related-card:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-color: color-mix(in srgb, var(--acc) 34%, var(--cream-2)); }
.hc-related-card svg { width: 16px; height: 16px; stroke: var(--acc); fill: none; stroke-width: 1.8; flex: none; }
.hc-related-card span { font-size: 14px; font-weight: 600; color: var(--ink-0); line-height: 1.3; }
.hc-related-card .hc-rc-arrow { margin-left: auto; stroke: var(--ink-4); }

/* ============================================================ SEARCH MODAL */
.hc-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.hc-modal.open { display: block; }
.hc-modal-scrim { position: absolute; inset: 0; background: rgba(40,38,55,.42);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.hc-modal.open .hc-modal-scrim { opacity: 1; }
.hc-modal-panel {
  position: relative; max-width: 720px; margin: 8vh auto 0; background: #fff;
  border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(20,20,30,.5);
  overflow: hidden; transform: translateY(-12px) scale(.985); opacity: 0;
  transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
}
.hc-modal.open .hc-modal-panel { transform: none; opacity: 1; }
@media (max-width: 760px) { .hc-modal-panel { margin: 0; max-width: none; min-height: 100%; border-radius: 0; } }

.hc-modal-search { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--cream-2); }
.hc-modal-search > svg { width: 22px; height: 22px; stroke: var(--ink-3); flex: none; }
.hc-modal-input { flex: 1; border: 0; outline: 0; font-family: var(--font-display); font-size: 21px;
  letter-spacing: -.02em; color: var(--ink-0); background: transparent; }
.hc-modal-input::placeholder { color: var(--ink-4); }
.hc-modal-close { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-3); background: var(--cream-0); transition: background .14s, color .14s; }
.hc-modal-close:hover { background: var(--surface-mute); color: var(--ink-0); }
.hc-modal-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.hc-modal-body { max-height: 60vh; overflow-y: auto; padding: 8px 0; }
@media (max-width: 760px) { .hc-modal-body { max-height: none; } }
.hc-modal-hint { padding: 14px 22px; font-size: 13px; color: var(--ink-3); }
.hc-modal-hint b { color: var(--ink-1); font-weight: 600; }
.hc-modal-section-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); padding: 12px 22px 6px; }

.hc-result { display: block; padding: 13px 22px; transition: background .12s; }
.hc-result:hover, .hc-result.is-active { background: var(--cream-0); }
.hc-result-tags { display: flex; gap: 6px; margin-bottom: 6px; }
.hc-result-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink-0); line-height: 1.3; }
.hc-result-ex { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 3px; }
.hc-result mark { background: rgba(232,169,60,.34); color: inherit; border-radius: 3px; padding: 0 1px; }
.hc-modal-empty { padding: 40px 22px; text-align: center; color: var(--ink-3); font-size: 14.5px; }
.hc-modal-empty strong { color: var(--ink-1); }
.hc-modal-foot { display: flex; align-items: center; gap: 16px; padding: 12px 22px; border-top: 1px solid var(--cream-2);
  font-size: 12px; color: var(--ink-3); }
.hc-modal-foot .hc-kbd { font-size: 10px; }
.hc-modal-foot .hc-mf-spacer { margin-left: auto; }
.hc-modal-foot a { color: var(--acc); font-weight: 600; }

/* ============================================================ CONTACT / TICKET */
.hc-contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start;
  padding: 48px 0 72px; }
@media (max-width: 940px) { .hc-contact-layout { grid-template-columns: 1fr; gap: 32px; } }

.hc-form { display: flex; flex-direction: column; gap: 18px; }
.hc-field { display: flex; flex-direction: column; gap: 7px; }
.hc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .hc-field-row { grid-template-columns: 1fr; } }
.hc-label { font-size: 13px; font-weight: 600; color: var(--ink-1); }
.hc-label .hc-req { color: var(--terracotta); margin-left: 2px; }
.hc-input, .hc-textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink-0);
  background: #fff; border: 1px solid var(--cream-2); border-radius: var(--r-md);
  padding: 12px 14px; transition: border-color .14s, box-shadow .14s;
}
.hc-input::placeholder, .hc-textarea::placeholder { color: var(--ink-4); }
.hc-input:focus, .hc-textarea:focus { outline: 0; border-color: var(--ai-4);
  box-shadow: 0 0 0 3px rgba(91,141,239,.16); }
.hc-textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.hc-form-submit { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin-top: 4px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  background: var(--sage-0); border: 0; padding: 13px 26px; border-radius: 999px;
  box-shadow: var(--sh-btn); transition: transform .14s, box-shadow .14s; }
.hc-form-submit:hover { transform: translateY(-1.5px); box-shadow: 0 16px 30px -14px rgba(20,20,30,.7); }
.hc-form-submit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* deflection panel */
.hc-deflect { margin-top: 6px; border: 1px dashed color-mix(in srgb, var(--ai-3) 40%, var(--cream-2));
  border-radius: var(--r-lg); background: var(--ai-tint); padding: 14px 16px; display: none; }
.hc-deflect.show { display: block; animation: hcfade .3s var(--ease-out); }
@keyframes hcfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hc-deflect-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ai-3); margin-bottom: 10px; }
.hc-deflect-h svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.hc-deflect-list { display: flex; flex-direction: column; gap: 7px; }
.hc-deflect-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--cream-2);
  border-radius: var(--r-md); padding: 10px 13px; transition: border-color .14s, transform .14s; }
.hc-deflect-item:hover { border-color: var(--ai-3); transform: translateX(2px); }
.hc-deflect-item .hc-di-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hc-deflect-item .hc-di-title { font-size: 13.5px; font-weight: 600; color: var(--ink-0); line-height: 1.3; }
.hc-deflect-item .hc-di-cat { font-size: 11px; color: var(--ink-3); }
.hc-deflect-item .hc-di-arrow { margin-left: auto; width: 14px; height: 14px; stroke: var(--ink-4); fill: none; stroke-width: 2; flex: none; }

/* contact aside */
.hc-aside { background: #fff; border: 1px solid var(--cream-2); border-radius: var(--r-xl); padding: 26px;
  box-shadow: var(--sh-1); }
.hc-aside-h { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink-0); margin: 0 0 6px; }
.hc-aside-p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0 0 18px; }
.hc-aside-item { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--cream-2); }
.hc-aside-item:first-of-type { border-top: 0; }
.hc-aside-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
  color: var(--ai-4); background: var(--info-tint); }
.hc-aside-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.hc-aside-it-h { font-size: 13.5px; font-weight: 600; color: var(--ink-0); }
.hc-aside-it-p { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.hc-aside-it-p a { color: var(--ai-4); font-weight: 500; }

/* success state */
.hc-sent { display: none; flex-direction: column; align-items: center; text-align: center; padding: 48px 24px;
  background: #fff; border: 1px solid var(--cream-2); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.hc-sent.show { display: flex; }
.hc-sent-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--success); box-shadow: 0 14px 30px -12px rgba(47,138,91,.6); }
.hc-sent-ic svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.hc-sent-h { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.025em;
  color: var(--ink-0); margin: 20px 0 0; }
.hc-sent-p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 10px 0 0; max-width: 42ch; }

/* ============================================================ REVEAL */
@media (prefers-reduced-motion: no-preference) {
  .hc-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
  .hc-reveal.is-in { opacity: 1; transform: none; }
}
