/* Help Centre */
.help-hero .sp-art { aspect-ratio: 240 / 160; background: radial-gradient(circle at 50% 30%, #ffffff, #e0ecff 70%, #ede9fe); }
.help-search { position: relative; margin-top: 26px; max-width: 520px; }
.help-search svg { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: #64748b; }
.help-search input {
  width: 100%; padding: 16px 20px 16px 50px; border-radius: 16px; border: 1px solid #cbd5e1; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); box-shadow: 0 12px 30px -14px rgba(37, 99, 235, 0.35);
}
html[dir="rtl"] .help-search input { padding: 16px 50px 16px 20px; }
.help-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }

/* step 1: choose a product */
.help-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.help-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(15, 40, 120, 0.3); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.help-card:hover, .help-card:focus-visible { transform: translateY(-6px); border-color: #93b4fb; box-shadow: 0 24px 50px -20px rgba(37, 99, 235, 0.45); }
.help-card-art { display: block; height: 150px; padding: 10px 16px; }
.help-card-art > svg, .help-card-art > img { width: 100%; height: 100%; display: block; }
.help-card-art > img { object-fit: cover; border-radius: 10px; }
.help-card-art.art-storixx, .help-card-art.art-storixx-ai { background: radial-gradient(120% 120% at 20% 20%, #123a8a 0%, #071a45 45%, #020818 100%); }
.help-card-art.art-help { background: radial-gradient(circle at 50% 30%, #ffffff, #e0ecff 75%); }
.help-card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
.help-card-body strong { font: 800 1.15rem 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--ink); }
.help-card-body span { font-size: 0.92rem; color: var(--text); }
.help-card-body em { margin-top: 6px; font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--blue); }

/* with scripts: show one product at a time */
.js .help-topic { display: none; }
.js .help-topic.open { display: block; }
.help-topic { margin-top: 40px; max-width: 860px; margin-inline: auto; }
.js .help-topic { margin-top: 0; }
.help-topic-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 6px; }
.help-topic-head p { margin: 0 0 14px; }
.help-tools { display: flex; gap: 12px; margin: 22px 0 14px; flex-wrap: wrap; }
.help-topic-search { flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.help-topic-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.help-expand { border: 1px solid #cbd5e1; background: #fff; border-radius: 12px; padding: 0 18px; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; }
.help-expand:hover { background: #eff6ff; }

/* questions and answers */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow 0.2s, border-color 0.2s; }
.faq[hidden] { display: none; }
.faq[open] { border-color: #93b4fb; box-shadow: 0 14px 34px -20px rgba(37, 99, 235, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
html[dir="rtl"] .faq summary { padding: 18px 22px 18px 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #eef2ff; color: var(--blue); font-size: 1.3rem; line-height: 1; transition: transform 0.25s, background 0.2s;
}
.faq[open] summary::after { content: "–"; background: var(--blue); color: #fff; transform: translateY(-50%) rotate(180deg); }
.faq summary:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; border-radius: 16px; }
.faq-a { padding: 0 22px 20px; animation: faq-in 0.3s ease; }
.faq-a p, .faq-a li { font-size: 1rem; line-height: 1.7; }
.faq-a p { margin: 0 0 0.8em; }
.faq-a ul, .faq-a ol { padding-inline-start: 1.3em; margin: 0 0 0.8em; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.help-none { text-align: center; padding: 24px 0; }

/* search results across all products */
.help-result-list { display: grid; gap: 12px; margin-top: 16px; max-width: 860px; }
.help-result { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.help-result:hover { border-color: #93b4fb; transform: translateX(4px); }
html[dir="rtl"] .help-result:hover { transform: translateX(-4px); }
.help-result-tag { justify-self: start; background: #eef2ff; color: var(--blue); font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.help-result strong { color: var(--ink); }
.help-result-a { color: var(--muted); font-size: 0.92rem; }

html[dir="rtl"] .faq summary, html[dir="rtl"] .faq-a { line-height: 2; }
html[dir="rtl"] .help-card-body strong { font-family: 'Plus Jakarta Sans', 'Noto Nastaliq Urdu', sans-serif; line-height: 1.9; }
@media (prefers-reduced-motion: reduce) { .faq-a { animation: none; } }
.help-topic { scroll-margin-top: 96px; }
