/* Помощь (support.html), документы, статусы оплаты. */

/* ── Помощь ── */
.help { display: grid; gap: 24px; padding-top: clamp(12px, 2vw, 24px); }
.help__hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.help__hero h1 { margin-bottom: 14px; }
.help__contact { display: grid; justify-items: start; gap: 8px; padding: 26px; }
.help__contact img { width: 64px; height: 64px; margin-bottom: 6px; }
.help__contact h2 { font-size: var(--fs-xl); }
.help__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.help__search { width: 100%; height: 56px; }
.faq { display: grid; gap: 28px; }
.faq__group { display: grid; gap: 8px; }
.faq__topic { font-size: var(--fs-lg); color: var(--muted); margin-bottom: 4px; }
.faq__item { border-radius: var(--r-md); background: var(--surface); transition: background var(--t-fast); }
.faq__item[open] { background: var(--surface-2); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-3); transition: transform var(--t) var(--ease-out); }
.faq__toggle svg { width: 16px; height: 16px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); }
.faq__item p { padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }
@media (max-width: 860px) { .help__hero { grid-template-columns: 1fr; } }

/* ── Документы ── */
.legal { display: grid; gap: 10px; max-width: 860px; padding-top: clamp(12px, 2vw, 24px); }
.legal h1 { font-size: var(--fs-2xl); margin-bottom: 12px; }
.legal > p { color: var(--muted); }
.legal__section { border-radius: var(--r-md); background: var(--surface); }
.legal__section summary { padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.legal__section summary::-webkit-details-marker { display: none; }
.legal__section summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
.legal__section[open] summary::after { content: "−"; }
.legal__section > div { padding: 0 20px 18px; color: var(--muted); display: grid; gap: 10px; }
.legal__section ul, .legal__section ol { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.legal__section a { color: var(--accent); }

/* ── Статус оплаты ── */
.status-page { display: grid; place-items: center; min-height: 60svh; padding-block: 24px; }
.status-card { width: min(520px, 100%); display: grid; justify-items: center; gap: 12px; padding: clamp(28px, 5vw, 44px); text-align: center; }
.status-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--surface-2); color: var(--muted); margin-bottom: 6px; }
.status-card__icon svg { width: 28px; height: 28px; }
.status-card--done .status-card__icon { background: var(--accent); color: var(--accent-ink); }
.status-card--error .status-card__icon { background: rgba(255, 107, 122, 0.14); color: var(--bad); }
.status-card--pending .status-card__icon svg { animation: spin 2.4s linear infinite; }
.status-card h1 { font-size: var(--fs-2xl); }
.status-card p { color: var(--muted); }
.status-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.help-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--surface-2); color: var(--accent); }
.help-mark svg { width: 40px; height: 40px; }
