/* ===== Страница помощи /help ===== */
.help-page {
  margin: 0;
  background: var(--bg, #08080b);
  color: var(--text, #f4f4f6);
  font-family: var(--font-ui, "Manrope", system-ui, sans-serif);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Шапка ── */
.help-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  max-width: 1080px; width: 100%; margin: 0 auto;
}
.help-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.help-logo { width: 38px; height: 38px; display: inline-flex; flex-shrink: 0; }
.help-logo svg { width: 100%; height: 100%; }
.help-brand-name { font-family: var(--font-display, "Unbounded", sans-serif); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.help-home-link { color: var(--text-2, #a6a6b0); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .15s; }
.help-home-link:hover { color: var(--text); }

/* ── Основное ── */
.help-main { flex: 1; max-width: 1080px; width: 100%; margin: 0 auto; padding: 0 28px 60px; }

/* Поиск */
.help-hero { text-align: center; padding: 50px 0 40px; }
.help-hero h1 {
  font-family: var(--font-display, "Unbounded", sans-serif);
  font-weight: 700; font-size: clamp(28px, 5vw, 46px); line-height: 1.05;
  margin: 0 0 30px;
}
.help-search {
  position: relative; max-width: 640px; margin: 0 auto;
  display: flex; align-items: center;
  background: var(--surface, #15151a);
  border: 1px solid var(--line-strong, rgba(255,255,255,.14));
  border-radius: 16px;
  padding: 0 18px;
  transition: border-color .2s, box-shadow .2s;
}
.help-search:focus-within {
  border-color: var(--accent, #7c5cff);
  box-shadow: 0 0 0 4px var(--accent-soft, rgba(124,92,255,.16));
}
.help-search-ic { width: 20px; height: 20px; color: var(--text-3, #6f6f7a); flex-shrink: 0; }
.help-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: 16px;
  padding: 18px 14px;
}
.help-search input::placeholder { color: var(--text-3, #6f6f7a); }

.help-results { max-width: 640px; margin: 18px auto 0; text-align: left; }
.help-results-lbl { font-size: 14px; color: var(--text-2, #a6a6b0); margin: 0 0 12px; }
.help-results-empty {
  padding: 20px; border: 1px dashed var(--line-strong, rgba(255,255,255,.14));
  border-radius: 14px; color: var(--text-3, #6f6f7a); font-size: 14px; text-align: center;
}

/* Категории */
.help-cats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  transition: opacity .2s;
}
.help-cat {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px; border-radius: 18px;
  background: var(--surface, #15151a);
  border: 1px solid var(--line, rgba(255,255,255,.08));
  text-decoration: none; color: var(--text);
  transition: border-color .15s, background .15s, transform .15s;
}
.help-cat:hover { border-color: var(--line-strong, rgba(255,255,255,.14)); background: var(--surface-2, #1c1c23); transform: translateY(-2px); }
.help-cat-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(124,92,255,.16));
  color: var(--accent-2, #9d7bff);
}
.help-cat-ic svg { width: 24px; height: 24px; }
.help-cat-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.help-cat-txt b { font-size: 16px; font-weight: 700; }
.help-cat-txt small { font-size: 13.5px; color: var(--text-3, #6f6f7a); line-height: 1.4; }

/* ── Подвал ── */
.help-foot {
  border-top: 1px solid var(--line, rgba(255,255,255,.08));
  padding: 34px 28px 44px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.help-foot .help-logo { width: 44px; height: 44px; }
.help-foot-name { font-family: var(--font-display, "Unbounded", sans-serif); font-weight: 700; font-size: 20px; }
.help-foot-sub { font-size: 14px; color: var(--text-3, #6f6f7a); }

/* ── Мобилка ── */
@media (max-width: 720px) {
  .help-head { padding: 16px 18px; }
  .help-main { padding: 0 18px 48px; }
  .help-hero { padding: 32px 0 28px; }
  .help-cats { grid-template-columns: 1fr; gap: 12px; }
  .help-cat { padding: 18px; }
  .help-brand-name { font-size: 19px; }
}
