/* ============================================================
   Kampi help centre
   ============================================================ */
.hc-body { background: var(--bg); }
.hc-wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px 80px; }

.hc-hero { text-align: center; padding: clamp(30px, 5vw, 58px) 0 26px; }
.hc-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -.7px; margin: 12px 0 10px; }
.hc-hero p { color: var(--muted); font-size: clamp(15px, 1.7vw, 17px); line-height: 1.7; max-width: 62ch; margin: 0 auto; }

.hc-search {
  display: flex; align-items: center; gap: 10px; margin: 24px auto 0; max-width: 560px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 18px; box-shadow: var(--shadow-sm);
}
.hc-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.hc-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; padding: 13px 0; color: var(--ink); }
.hc-search input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.hc-search input::placeholder { color: #9d95bb; }
/* the input drops its own outline, so the pill carries the keyboard focus ring */
.hc-search:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.hc-search:has(input:focus:not(:focus-visible)) { outline: none; }

.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.hc-chips a {
  font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none;
  background: #f2edff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  transition: background .18s ease;
}
.hc-chips a:hover { background: #e7dfff; }

.hc-empty { text-align: center; color: var(--muted); font-size: 15.5px; padding: 30px 0; }

.hc-cat { margin-top: 44px; }
.hc-cat h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.4px; }
.hc-cat-intro { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 8px 0 16px; max-width: 74ch; }
.hc-articles { display: grid; gap: 10px; }

.hc-article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.hc-article.is-open { box-shadow: var(--shadow-sm); border-color: #d9cdfb; }
.hc-q {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: start;
  background: none; border: 0; font: inherit; font-size: 16px; font-weight: 800; color: var(--ink);
  padding: 17px 20px; cursor: pointer;
}
.hc-q span { flex: 1; }
.hc-q svg { width: 18px; height: 18px; color: var(--blue); flex: none; transition: transform .22s ease; }
.hc-article.is-open .hc-q svg { transform: rotate(180deg); }
.hc-a { display: none; padding: 0 20px 20px; }
.hc-article.is-open .hc-a { display: block; animation: hcIn .28s ease; }
@keyframes hcIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.hc-sum { color: #3f3663; font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
.hc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.hc-steps li { display: flex; gap: 12px; align-items: flex-start; }
.hc-step-n {
  flex: none; width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800; margin-top: 1px;
}
.hc-steps p { margin: 0; font-size: 15px; line-height: 1.7; color: #3f3663; }

.hc-shot { margin: 11px 0 0; }
.hc-shot img {
  width: 100%; max-width: 620px; height: auto; display: block;
  border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(75, 31, 176, .12);
}

.hc-note {
  margin: 15px 0 0; padding: 12px 15px; border-radius: 12px;
  background: #fff6e6; border: 1px solid #f4e2c0; color: #7a4c07;
  font-size: 14.5px; line-height: 1.65;
}
.hc-note::before { content: "שימו לב · "; font-weight: 800; }

/* ---------- Bot ---------- */
.hc-ask {
  margin-top: 54px; padding: clamp(24px, 4vw, 38px);
  border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hc-ask-head h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.4px; }
.hc-ask-head p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 7px; }
.hc-ask-form { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.hc-ask-form input {
  flex: 1; min-width: 220px; font: inherit; font-size: 16px; padding: 13px 18px;
  border-radius: 999px; border: 1px solid var(--line); background: #faf8ff; color: var(--ink);
}
.hc-ask-form input::placeholder { color: #9d95bb; }
.hc-ask-form button {
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; color: #fff;
  padding: 13px 28px; border-radius: 999px; border: 0; background: var(--grad);
  box-shadow: 0 10px 24px rgba(75, 31, 176, .26);
}
.hc-ask-form button[disabled] { opacity: .6; cursor: default; }

.hc-ask-out { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: #faf8ff; border: 1px solid var(--line); }
.hc-ask-out p { font-size: 15.5px; line-height: 1.8; color: #3f3663; margin: 0 0 10px; }
.hc-ask-out p:last-child { margin-bottom: 0; }
.hc-ask-out .hc-src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hc-ask-out .hc-src a {
  font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none;
  background: #f2edff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
}
.hc-ask-out.is-thinking { color: var(--muted); font-size: 15px; }
.hc-ask-fallback { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hc-q { font-size: 15px; padding: 15px 16px; }
  .hc-a { padding: 0 16px 16px; }
}

/* ---------- Lobby: cards, results, breadcrumbs, prev/next ---------- */
.hc-crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.hc-crumbs a { color: var(--blue); font-weight: 700; text-decoration: none; }
.hc-crumbs a:hover { text-decoration: underline; }
.hc-crumbs span[aria-hidden] { margin: 0 6px; }

.hc-hero.is-cat .eyebrow a { color: inherit; text-decoration: none; }
.hc-hero.is-cat .eyebrow a:hover { text-decoration: underline; }

.hc-cards {
  display: grid; gap: 14px; margin-top: 34px;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.hc-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(27, 18, 51, .04); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.hc-card:hover { transform: translateY(-2px); border-color: #d8caff; box-shadow: 0 10px 26px rgba(76, 40, 160, .12); }
.hc-card h2 { font-size: 17.5px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.hc-card p { font-size: 14px; line-height: 1.65; color: var(--muted); flex: 1; }
.hc-card-n {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue);
  background: #f2edff; border-radius: 999px; padding: 5px 11px;
}

.hc-results { margin-top: 28px; display: grid; gap: 9px; }
.hc-results h2 { font-size: 15px; font-weight: 800; color: var(--muted); }
.hc-result {
  display: grid; gap: 3px; text-decoration: none; padding: 15px 18px;
  border-radius: 14px; background: #fff; border: 1px solid var(--line);
}
.hc-result:hover { border-color: #d8caff; background: #fdfcff; }
.hc-result b { font-size: 15.5px; color: var(--ink); }
.hc-result span { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.hc-prevnext { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; }
.hc-prevnext a {
  display: grid; gap: 3px; text-decoration: none; padding: 15px 20px; max-width: 46%;
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.hc-prevnext a:hover { border-color: #d8caff; }
.hc-prevnext span { font-size: 12px; font-weight: 700; color: var(--muted); }
.hc-prevnext b { font-size: 15px; color: var(--ink); }
.hc-next { text-align: end; }

.hc-more { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hc-more h2 { font-size: 17px; font-weight: 800; }
.hc-more div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.hc-more a {
  font-size: 13.5px; font-weight: 700; color: var(--blue); text-decoration: none;
  background: #f2edff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
}
.hc-more a:hover { background: #e7dfff; }
