/* ============================================================================
   help.css — "/help".

   Source of truth: apps/editor/src/pages/resources/HelpPage.tsx. The page hero
   is PageShell/PageHero (marketing.css); the accordion rows are the shared
   FaqItem (.mk-faq, also marketing.css).

   Each rule is the resolved value of the Tailwind class list quoted above it;
   inline `style={{…}}` values are reproduced as-is.
   ========================================================================= */

/* ═══ Search box (rendered into the hero via PageShell's heroExtra) ════════ */

/* "relative max-w-lg mx-auto mt-10 rounded-xl border border-slate-300
    dark:border-white/10 focus-within:border-indigo-500 transition-colors
    shadow-sm" + background var(--mk-tile), backdropFilter blur(12px) */
.help-search {
  position: relative;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1),
              background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: var(--mk-tile);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
/* ORDER IS LOAD-BEARING, and reproduces a quirk rather than an intention.
   Tailwind emits `dark:` variants after `focus-within:` ones, and both rules
   here have the same specificity (0,2,0) — `:is(.mk-dark *)` counts as one
   class, `:focus-within` as one pseudo-class. So in DARK MODE the white/10
   border wins even while the box is focused, and the indigo focus ring never
   appears; it only shows on the light theme. Verified against the emission
   offsets in apps/editor/dist/assets/index-*.css (focus-within at 42506,
   dark at 48727). Swapping these two rules would "fix" the dark focus ring
   and diverge from the original. */
.help-search:focus-within { border-color: #6366f1; }
.mk-dark .help-search { border-color: rgba(255, 255, 255, 0.1); }
/* "absolute left-4 top-1/2 -translate-y-1/2 text-slate-500" */
.help-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}
/* "w-full bg-transparent pl-11 pr-4 py-4 text-sm text-slate-900
    dark:text-white placeholder:text-[#444444] dark:placeholder:text-slate-600
    outline-none" */
.help-search__input {
  width: 100%;
  background-color: transparent;
  padding: 1rem 1rem 1rem 2.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
  outline: 2px solid transparent;
  outline-offset: 2px;
  border: none;
}
.mk-dark .help-search__input { color: #fff; }
.help-search__input::placeholder { color: #444; opacity: 1; }
.mk-dark .help-search__input::placeholder { color: #475569; }

/* ═══ Body ═════════════════════════════════════════════════════════════════ */

/* "max-w-4xl mx-auto px-6 pb-28" */
.help {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 7rem;
}

/* "flex flex-wrap justify-center gap-2 mb-12" */
.help__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
/* "px-[18px] py-2 rounded-full text-sm font-medium transition-all border"
   + inactive "text-[#444444] dark:text-slate-300 border-slate-300
   dark:border-white/15", background var(--mk-tile), shadow var(--mk-shadow-sm) */
.help__chip {
  padding: 0.5rem 18px;
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #cbd5e1;
  color: #444;
  background: var(--mk-tile);
  box-shadow: var(--mk-shadow-sm);
  font-family: inherit;
}
.mk-dark .help__chip { color: #cbd5e1; border-color: rgba(255, 255, 255, 0.15); }
/* active "text-white border-transparent" + gradient and glow */
.help__chip.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}
.mk-dark .help__chip.is-active { color: #fff; border-color: transparent; }

/* "text-center py-16" — shown only when nothing matches. */
.help__empty { text-align: center; padding-top: 4rem; padding-bottom: 4rem; }
/* "text-lg font-semibold text-[#000000] dark:text-slate-400 mb-2" */
.help__empty-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}
.mk-dark .help__empty-title { color: #94a3b8; }
/* "text-sm text-slate-500 dark:text-slate-600 mb-4" */
.help__empty-sub { font-size: 0.875rem; line-height: 1.25rem; color: #64748b; margin-bottom: 1rem; }
.mk-dark .help__empty-sub { color: #475569; }
/* "text-sm text-indigo-600 dark:text-indigo-400 hover:text-indigo-600
    dark:hover:text-indigo-400 font-semibold" — hover equals resting. */
.help__empty-mail { font-size: 0.875rem; line-height: 1.25rem; color: #4f46e5; font-weight: 600; }
.mk-dark .help__empty-mail { color: #818cf8; }

/* "flex flex-col gap-10" */
.help__groups { display: flex; flex-direction: column; gap: 2.5rem; }
/* "text-xs font-semibold text-slate-500 uppercase tracking-[0.16em] mb-4" */
.help__group-title {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}
/* "flex flex-col gap-2.5" */
.help__list { display: flex; flex-direction: column; gap: 0.625rem; }

/* ═══ Still stuck panel ════════════════════════════════════════════════════ */

/* "mt-16" wrapper, then "mk-conic-subtle rounded-2xl p-px" */
.help__cta { margin-top: 4rem; }
.help__cta-frame { border-radius: 1rem; padding: 1px; }
/* Always-dark panel (same as About's contact card): everything inside uses
   fixed light-on-dark colours in both themes.
   "rounded-2xl px-8 py-10 text-center" + the radial panel */
.help__cta-card {
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #10162e 0%, #05070f 60%);
}
/* "text-2xl font-black text-white mb-3" + letterSpacing -0.02em */
.help__cta-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
/* "text-sm text-slate-400 mb-6 max-w-sm mx-auto leading-relaxed" */
.help__cta-lede {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}
/* "flex flex-col sm:flex-row items-center justify-center gap-3" */
.help__cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .help__cta-actions { flex-direction: row; } }
/* "inline-flex items-center gap-2 px-6 py-3 rounded-xl font-bold text-sm
    text-white transition-transform hover:scale-[1.03]" + gradient and glow */
.help__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #fff;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.4);
}
.help__cta-primary:hover { transform: scale(1.03); }
/* "inline-flex items-center gap-2 px-6 py-3 rounded-xl border border-white/10
    text-slate-300 hover:border-white/25 hover:text-white transition-all
    font-semibold text-sm" */
.help__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.help__cta-secondary:hover { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
