/* v1.12 Homepage. Loaded only on "/" (pages/home.php). Uses the design tokens from app.css.
   Balance: mostly white / light neutral, teal for brand moments, orange only for "Find Help". */

.page-home { --hx-navy: #0a1a26; --hx-r: 14px; --hx-r-sm: 10px; --hx-line: #e8ebf0; --hx-soft: #f6f8fa;
  --hx-shadow: 0 1px 2px rgba(10, 26, 38, .04), 0 12px 32px -8px rgba(10, 26, 38, .12); }
.page-home main { background: var(--surface); }

/* ---- type ---- */
.hx-h1 { font-size: clamp(2.3rem, 1.2rem + 3.1vw, 3.9rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 22px; color: var(--hx-navy); }
.hx-hl { color: var(--brand); background: linear-gradient(transparent 84%, rgba(0, 192, 180, .22) 84%, rgba(0, 192, 180, .22) 96%, transparent 96%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hx-h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin: 0; color: var(--hx-navy); }
.hx-h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 10px; }
.hx-lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 30em; margin: 0 0 32px; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.hx-head { max-width: 860px; margin-bottom: clamp(32px, 4vw, 56px); }
.hx-head-split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.hx-head-lead { font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); max-width: 30em; margin: 0; }
.hx-section { padding: clamp(64px, 9vw, 120px) 0; }
.hx-note { margin: 28px 0 0; font-size: .9rem; line-height: 1.55; color: var(--ink-3); max-width: 62em; }
.hx-note .icon { color: var(--brand); margin-right: 4px; }
.hx-note a { font-weight: 600; }
.hx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.hx-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.hx-link:hover .icon { transform: translateX(3px); }
.hx-meta { display: block; font-size: .8rem; color: var(--ink-3); }

/* ---- 1. hero ---- */
.hx-hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); overflow: hidden;
  background: radial-gradient(900px 420px at 85% 10%, rgba(0, 192, 180, .08), transparent 70%), linear-gradient(180deg, #f8fafb 0%, #fff 100%); }
.hx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 10px; border: 1px solid var(--hx-line); border-radius: 99px; background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.hx-kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 4px rgba(0, 192, 180, .15); }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-cta { min-width: 180px; justify-content: center; }
.hx-cta-2 { background: #fff; border-color: var(--line-strong); color: var(--hx-navy); }
.hx-cta-2:hover { border-color: var(--hx-navy); color: var(--hx-navy); }
.hx-sub { margin: 22px 0 0; font-size: .86rem; color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.hx-sub > span { display: inline-flex; align-items: center; gap: 6px; }
.hx-sub .icon { color: var(--brand); }

/* hero product stage: floating eHelp UI panels (illustration) */
.hx-stage { position: relative; height: 500px; }
.hx-panel { position: absolute; background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-r); box-shadow: var(--hx-shadow); padding: 16px; color: var(--hx-navy); }
.hx-p-head { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.hx-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.hx-dot-teal { background: var(--brand-bright); }
.hx-dot-orange { background: var(--accent-bright); }
.hx-field { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--hx-line); border-radius: var(--hx-r-sm); background: var(--hx-soft); font-size: .9rem; font-weight: 600; margin-bottom: 8px; min-width: 0; }
.hx-field span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-field .icon { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.hx-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hx-fake-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: var(--hx-r-sm); background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; }
.hx-fake-btn .icon { width: 16px; height: 16px; }
.hx-p-search { top: 0; left: 0; width: 63%; }
.hx-p-helper { top: 250px; right: 0; width: 60%; display: flex; align-items: center; gap: 12px; }
.hx-p-helper strong { display: block; font-size: .95rem; }
.hx-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #0aa89d, #00665e); color: #fff; font-weight: 800; font-size: .9rem; }
.hx-star { color: #b77700; font-weight: 700; }
.hx-badge { margin-left: auto; color: var(--brand); }
.hx-badge .icon { width: 22px; height: 22px; }
.hx-p-offer { top: 290px; left: 0; width: 36%; }
.hx-offer-amt { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand-700); font-size: .76rem; font-weight: 700; }
.hx-chip .icon { width: 13px; height: 13px; }
.hx-p-pay { top: 64px; right: 0; width: 34%; padding: 14px; display: flex; gap: 10px; align-items: center; }
.hx-p-pay strong { display: block; font-size: .84rem; line-height: 1.3; }
.hx-p-pay .hx-meta { white-space: nowrap; }
.hx-p-pay .hx-meta { display: flex; align-items: center; gap: 6px; }
.hx-pay-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.hx-pay-ic .icon { width: 18px; height: 18px; }
.hx-stage-note { position: absolute; right: 0; bottom: 0; font-size: .72rem; color: var(--ink-3); letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .hx-panel { animation: hx-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hx-p-pay { animation-delay: .08s; } .hx-p-helper { animation-delay: .16s; } .hx-p-offer { animation-delay: .24s; }
  @keyframes hx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---- 2. trust strip ---- */
.hx-strip { border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); background: #fff; }
.hx-strip-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 22px 0; }
.hx-strip-row span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--hx-navy); }
.hx-strip-row .icon { width: 20px; height: 20px; color: var(--brand); }

/* ---- 3. steps ---- */
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.hx-steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--brand-100), var(--hx-line)); }
.hx-step { position: relative; }
.hx-step-n { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1px solid var(--hx-line);
  font-size: .85rem; font-weight: 800; color: var(--brand); letter-spacing: .02em; }
.hx-step-ic { display: block; margin: 22px 0 10px; color: var(--hx-navy); }
.hx-step-ic .icon { width: 24px; height: 24px; }
.hx-step h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.hx-step p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; max-width: 24em; }

/* ---- 4. product showcase ---- */
.hx-show { background: var(--hx-soft); }
.hx-app { background: #fff; border: 1px solid var(--hx-line); border-radius: 18px; box-shadow: var(--hx-shadow); overflow: hidden; }
.hx-app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--hx-line); background: #fbfcfd; }
.hx-app-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ec; }
.hx-app-bar em { margin-left: 12px; font-style: normal; font-size: .78rem; color: var(--ink-3); padding: 3px 12px; border-radius: 99px; background: var(--hx-soft); }
.hx-search { padding: 20px 24px 8px; }
.hx-tabs { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.hx-tabs label { cursor: pointer; }
.hx-tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hx-tabs span { display: inline-block; padding: 7px 14px; border-radius: 99px; font-size: .86rem; font-weight: 700; color: var(--ink-2); border: 1px solid transparent; }
.hx-tabs input:checked + span { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.hx-tabs input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hx-search-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 10px; }
.hx-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
.hx-in:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 122, 112, .12); }
.hx-in .icon { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.hx-in input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; width: 100%; min-width: 0; color: var(--hx-navy); }
.hx-go { height: 52px; padding: 0 24px; }
.hx-results { padding: 12px 24px 24px; }
.hx-results-label { margin: 8px 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hx-list { list-style: none; margin: 0; padding: 0; }
.hx-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hx-line); }
.hx-row:last-child { border-bottom: 0; }
.hx-row .avatar-wrap, .hx-row > .avatar { flex: none; }
.hx-row-main { flex: 1; min-width: 0; }
.hx-row-title { display: block; font-weight: 700; color: var(--hx-navy); text-decoration: none; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-row-title:hover { color: var(--brand-700); text-decoration: underline; }
.hx-row-sub { display: block; font-size: .85rem; color: var(--ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hx-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--hx-soft); border: 1px solid var(--hx-line); font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.hx-tag .icon { width: 12px; height: 12px; }
.hx-tag-ok { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.hx-tag-star { color: #8a5a00; background: #fff8e6; border-color: #f6e3b4; }
.hx-tag-pay { color: var(--brand-700); }
.hx-row-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.hx-row-side strong { font-size: 1rem; color: var(--hx-navy); }
.hx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; text-decoration: none; color: var(--brand-700); }
.hx-more .icon { width: 16px; height: 16px; }
.hx-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 6px; }
.hx-empty p { margin: 0; color: var(--ink-2); }

/* ---- 5. two sides ---- */
.hx-sides { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hx-line); border-radius: 20px; overflow: hidden; }
.hx-side { min-width: 0; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.hx-side > p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; margin: 0 0 20px; max-width: 28em; }
.hx-side-need { background: #fff; }
.hx-side-give { background: linear-gradient(180deg, #f3fbfa, #eef8f7); border-left: 1px solid var(--hx-line); }
.hx-side-need .hx-eyebrow { color: var(--accent-600); }
.hx-ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.hx-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .97rem; }
.hx-ticks .icon { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.hx-mini-label { margin: 0 0 8px !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3) !important; }
.hx-asks { list-style: none; margin: 0 0 24px; padding: 0; width: 100%; border-top: 1px solid rgba(0, 122, 112, .14); }
.hx-asks li { padding: 12px 0; border-bottom: 1px solid rgba(0, 122, 112, .14); min-width: 0; }
.hx-asks a { display: block; font-weight: 700; color: var(--hx-navy); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-asks a:hover { color: var(--brand-700); text-decoration: underline; }
.hx-asks span { display: block; font-size: .82rem; color: var(--ink-3); margin-top: 2px; }
.hx-side-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }

/* ---- 6. categories ---- */
.hx-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hx-line); }
.hx-cat-group { padding: 28px 24px 8px 0; }
.hx-cat-group + .hx-cat-group { padding-left: 24px; border-left: 1px solid var(--hx-line); }
.hx-cat-group h3 { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-navy); margin: 0 0 16px; }
.hx-cat-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.hx-cat-ic .icon { width: 16px; height: 16px; }
.hx-cat-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hx-cat-group a { display: inline-block; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.hx-cat-group a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.hx-soon { font-size: .66rem; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: var(--hx-soft); border: 1px solid var(--hx-line); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }

/* ---- 7. community ---- */
.hx-comm-wrap { background: var(--hx-soft); }
.hx-comm { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hx-comm-copy .hx-head-lead { margin: 20px 0 28px; }
.hx-comm-side { display: grid; gap: 14px; }
.hx-q { display: block; padding: 20px 22px; border-radius: var(--hx-r); background: #fff; border: 1px solid var(--hx-line); box-shadow: var(--hx-shadow); text-decoration: none; color: var(--hx-navy); }
.hx-q strong { display: block; font-size: 1.1rem; letter-spacing: -0.01em; margin: 8px 0 6px; }
.hx-q:hover strong { color: var(--brand-700); }
.hx-q-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #eef4ff; color: #1d4ed8; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hx-comm-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-r); }
.hx-comm-list li + li { border-top: 1px solid var(--hx-line); }
.hx-comm-list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; color: var(--hx-navy); }
.hx-comm-list a > .icon { margin-left: auto; width: 18px; height: 18px; color: var(--ink-3); }
.hx-comm-list a:hover strong { color: var(--brand-700); }
.hx-comm-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.hx-comm-ic .icon { width: 18px; height: 18px; }
.hx-comm-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.hx-comm-feats li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.hx-comm-feats .icon { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.hx-comm-feats strong { display: block; color: var(--hx-navy); }

/* ---- 8. trust ---- */
.hx-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.hx-trust > div { padding-top: 24px; border-top: 2px solid var(--hx-navy); }
.hx-trust-ic { display: block; color: var(--brand); margin-bottom: 18px; }
.hx-trust-ic .icon { width: 26px; height: 26px; }
.hx-trust h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.hx-trust p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }

/* ---- 9. final CTA ---- */
.hx-final { background: var(--hx-navy); color: #fff; padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.hx-final::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(0, 192, 180, .18), transparent 70%); pointer-events: none; }
.hx-final-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hx-final .hx-h2 { color: #fff; max-width: 15em; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.hx-final p { color: rgba(255, 255, 255, .72); font-size: 1.1rem; margin: 18px 0 32px; }
.hx-ctas-center { justify-content: center; }
.hx-tagline { margin-top: 40px; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(90deg, #5ee6dc, #fff 50%, #ffc078); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-final .hx-final-sub { font-size: .92rem; margin: 18px 0 0; }
.hx-final a:not(.btn) { color: #fff; font-weight: 700; }

/* ---- footer (site wide look, refined here for the home page only) ---- */

/* ---- focus ---- */
.page-home .btn:focus-visible, .hx-link:focus-visible, .hx-cat-group a:focus-visible, .hx-row-title:focus-visible, .hx-asks a:focus-visible,
.hx-q:focus-visible, .hx-comm-list a:focus-visible, .hx-more:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.hx-final .btn:focus-visible, .hx-final a:focus-visible { outline-color: #fff; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .hx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-cat-group:nth-child(4) { padding-left: 0; border-left: 0; }
  .hx-cat-group:nth-child(n+4) { border-top: 1px solid var(--hx-line); }
  .hx-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 1120px) {
  .hx-hero-grid { grid-template-columns: 1fr; }
  .hx-hero-copy { max-width: 720px; }
  .hx-stage { height: 250px; max-width: 760px; width: 100%; margin: 8px 0 0; }
  .hx-p-search { width: 52%; }
  .hx-p-pay { top: 8px; right: 0; width: 44%; }
  .hx-p-helper { top: 128px; right: 0; width: 44%; }
  .hx-p-offer { display: none; }
}
@media (max-width: 960px) {
  .hx-comm { grid-template-columns: 1fr; }
  .hx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .hx-steps::before { display: none; }
}
@media (max-width: 760px) {
  .hx-sides { grid-template-columns: 1fr; }
  .hx-side-give { border-left: 0; border-top: 1px solid var(--hx-line); }
  .hx-search-row { grid-template-columns: 1fr; }
  .hx-go { width: 100%; justify-content: center; }
  .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-cat-group, .hx-cat-group + .hx-cat-group { padding: 22px 16px 6px 0; border-left: 0; border-top: 1px solid var(--hx-line); }
  .hx-cat-group:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--hx-line); }
  .hx-cats { border-top: 0; }
  .hx-strip-row { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hx-hero { padding-top: 36px; }
  .hx-ctas { flex-direction: column; align-items: stretch; }
  .hx-cta { width: 100%; }
  .hx-lead { margin-bottom: 24px; }
  /* phones: the stage becomes a tidy stack of two panels */
  .hx-stage { height: auto; display: grid; gap: 12px; margin-top: 4px; }
  .hx-panel { position: static; width: auto !important; }
  .hx-p-pay, .hx-p-offer { display: none; }
  .hx-stage-note { position: static; text-align: right; }
  /* steps become a vertical timeline */
  .hx-steps { grid-template-columns: 1fr; gap: 0; }
  .hx-step { padding: 0 0 28px 64px; }
  .hx-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--hx-line); }
  .hx-step:last-child::before { display: none; }
  .hx-step-n { position: absolute; left: 0; top: 0; width: 44px; padding: 0; }
  .hx-step-ic { display: none; }
  .hx-step h3 { padding-top: 10px; }
  .hx-search, .hx-results { padding-left: 16px; padding-right: 16px; }
  .hx-row { flex-wrap: wrap; align-items: flex-start; }
  .hx-row-side { flex-direction: row; align-items: center; width: 100%; padding-left: 58px; justify-content: space-between; }
  .hx-cats { grid-template-columns: 1fr; }
  .hx-cat-group, .hx-cat-group + .hx-cat-group, .hx-cat-group:nth-child(even) { padding: 20px 0 6px; border-left: 0; }
  .hx-cat-group ul { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .hx-trust { grid-template-columns: 1fr; gap: 0; }
  .hx-trust > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid var(--hx-line); }
  .hx-trust > div:first-child { border-top: 2px solid var(--hx-navy); }
  .hx-trust-ic { grid-row: span 2; margin: 2px 0 0; }
  .hx-trust-ic .icon { width: 22px; height: 22px; }
  .hx-strip-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 0; }
  .hx-strip-row span { font-size: .86rem; }
}
@media (max-width: 360px) {
  .hx-cat-group ul { grid-template-columns: 1fr; }
  .hx-strip-row { grid-template-columns: 1fr; }
}

.hx-comm .hx-h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); }
.page-home .site-footer { margin-top: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.page-home main { padding-bottom: 0; margin-bottom: 0; }
@media (max-width: 900px) and (min-width: 361px) { .hx-strip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; } }

/* v1.12.1: community illustration */
.hx-cdemo { position: relative; display: grid; gap: 12px; padding-bottom: 22px; }
.hx-cdemo > * { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-r); box-shadow: var(--hx-shadow); }
.hx-cdemo > .hx-stage-note { background: none; border: 0; box-shadow: none; }
.hx-cd-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.hx-cd-head strong { display: block; font-size: .98rem; color: var(--hx-navy); }
.hx-cd-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #0aa89d, #00665e); color: #fff; }
.hx-cd-logo .icon { width: 18px; height: 18px; }
.hx-cd-join { margin-left: auto; padding: 5px 12px; border-radius: 99px; background: var(--brand-50); color: var(--brand-700); font-size: .76rem; font-weight: 700; }
.hx-cd-post { padding: 14px 16px; }
.hx-cd-post strong { display: block; color: var(--hx-navy); font-size: .95rem; margin: 8px 0 0; line-height: 1.35; }
.hx-cd-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hx-cd-q { background: #eef4ff; color: #1d4ed8; }
.hx-cd-p { background: var(--accent-50); color: var(--accent-600); }
.hx-cd-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hx-cd-avs { display: flex; }
.hx-cd-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff; border: 2px solid #fff; margin-left: -6px; }
.hx-cd-av:first-child { margin-left: 0; }
.hx-cd-av.a1 { background: #0aa89d; } .hx-cd-av.a2 { background: #3b6fd8; } .hx-cd-av.a3 { background: #e0762a; }
.hx-cdemo > .hx-cd-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; background: none; border: 0; box-shadow: none; }
.hx-cd-row > .hx-cd-post { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-r); box-shadow: var(--hx-shadow); }
.hx-cd-bar { position: relative; height: 26px; margin-top: 8px; border-radius: 7px; background: var(--hx-soft); overflow: hidden; }
.hx-cd-bar span { position: absolute; inset: 0 auto 0 0; background: var(--brand-100); border-radius: 7px; }
.hx-cd-bar span.w68 { width: 68%; } .hx-cd-bar span.w32 { width: 32%; background: #e6ebf0; }
.hx-cd-bar em { position: relative; display: block; padding: 0 10px; line-height: 26px; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--hx-navy); }
.hx-cd-event { display: flex; flex-direction: column; }
.hx-cd-date { width: 44px; height: 46px; border-radius: 10px; border: 1px solid var(--hx-line); display: grid; place-items: center; align-content: center; font-size: .66rem; font-weight: 700; text-transform: uppercase; color: var(--accent-600); line-height: 1.1; }
.hx-cd-date b { font-size: 1.1rem; color: var(--hx-navy); }
.hx-cd-event .hx-meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 4px; color: var(--brand-700); font-weight: 700; }
.hx-comm-side > .hx-q, .hx-comm-side > .hx-comm-list { box-shadow: none; }
.hx-comm-side::before { content: none; }
@media (prefers-reduced-motion: no-preference) {
  .hx-cdemo > * { animation: hx-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hx-cdemo > *:nth-child(2) { animation-delay: .08s; } .hx-cdemo > *:nth-child(3) { animation-delay: .16s; }
}
@media (max-width: 420px) { .hx-cdemo > .hx-cd-row { grid-template-columns: 1fr; } .hx-cd-event { flex-direction: row; align-items: center; gap: 12px; } .hx-cd-event strong { margin: 0; } .hx-cd-event .hx-meta { margin: 0 0 0 auto; padding: 0; } }
.hx-live-label { margin: 6px 0 -2px; }

/* v1.12.3: How it works, two journeys (CSS only, keyboard: Tab to the switch, arrows to change) */
.hx-how { position: relative; }
.hx-how-in { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.hx-how-switch { display: inline-flex; padding: 4px; margin-bottom: 40px; border: 1px solid var(--hx-line); border-radius: 99px; background: var(--hx-soft); }
.hx-how-switch label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 99px; font-weight: 700; font-size: .95rem; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.hx-how-switch label .icon { width: 17px; height: 17px; }
#how-need:checked ~ .hx-how-switch label[for="how-need"], #how-give:checked ~ .hx-how-switch label[for="how-give"] { background: #fff; color: var(--hx-navy); box-shadow: 0 1px 2px rgba(10, 26, 38, .08), 0 2px 8px rgba(10, 26, 38, .06); }
#how-need:checked ~ .hx-how-switch label[for="how-need"] .icon { color: var(--accent-600); }
#how-give:checked ~ .hx-how-switch label[for="how-give"] .icon { color: var(--brand); }
#how-need:focus-visible ~ .hx-how-switch label[for="how-need"], #how-give:focus-visible ~ .hx-how-switch label[for="how-give"] { outline: 2px solid var(--brand); outline-offset: 2px; }
.hx-steps-give { display: none; }
#how-give:checked ~ .hx-steps-need { display: none; }
#how-give:checked ~ .hx-steps-give { display: grid; }
.hx-steps-give .hx-step-n { color: var(--brand); }
.hx-steps-need .hx-step-n { color: var(--accent-600); }
.hx-steps-need::before { background: linear-gradient(90deg, #ffd9b8, var(--hx-line)); }
@media (max-width: 600px) { #how-give:checked ~ .hx-steps-give { display: grid; } .hx-how-switch { display: flex; margin-bottom: 28px; } .hx-how-switch label { flex: 1; justify-content: center; padding: 10px 8px; font-size: .9rem; } }
@media (prefers-reduced-motion: no-preference) { .hx-steps .hx-step { animation: hx-rise .45s ease both; } .hx-steps .hx-step:nth-child(2) { animation-delay: .05s; } .hx-steps .hx-step:nth-child(3) { animation-delay: .1s; } .hx-steps .hx-step:nth-child(4) { animation-delay: .15s; } }

/* v1.13.1: "Have a skill?" graphic (example) */
.hx-earn { width: 100%; display: grid; gap: 10px; margin: 4px 0 26px; }
.hx-earn-req, .hx-earn-mini { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-r); box-shadow: var(--hx-shadow); }
.hx-earn-req { padding: 14px 16px; }
.hx-earn-top { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hx-earn-top .hx-meta { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; }
.hx-earn-req strong { display: block; margin: 8px 0 12px; font-size: 1rem; color: var(--hx-navy); }
.hx-earn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-earn-price { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--hx-navy); }
.hx-earn-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; }
.hx-earn-btn .icon { width: 14px; height: 14px; }
.hx-earn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-earn-mini { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-width: 0; }
.hx-earn-mini strong { display: block; font-size: .88rem; color: var(--hx-navy); }
.hx-earn-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hx-earn-ic .icon { width: 17px; height: 17px; }
.hx-earn-ic.ok { background: var(--brand-50); color: var(--brand); }
.hx-earn-ic.pay { background: var(--accent-50); color: var(--accent-600); }
@media (max-width: 420px) { .hx-earn-pair { grid-template-columns: 1fr; } }
.hx-earn-btn-alt { background: var(--accent); }
.hx-need .hx-cd-av { width: 30px; height: 30px; }
