/* ==========================================================================
   Стили служебных страниц (success/fail, политика, оферта) для дизайн-системы
   Варианта C. Перенесены из исходного engpulse.css; используют те же токены
   (--navy, --coral, --r-xl …), что и engpulse-b.css. Подключать вместе с
   engpulse-b.css (база/токены/кнопки) + engpulse-c.css (cookie/ошибка).
   ========================================================================== */

/* --- Страница статуса оплаты (success / fail) --- */
.status-head { padding: 16px 0; border-bottom: 1px solid var(--line-soft); background: rgba(247,243,236,.92); position: sticky; top: 0; z-index: 10; }
.status-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status-head__inner > a:first-child { display: inline-flex; align-items: center; gap: 10px; }
.status-head__inner img { height: 32px; width: auto; }
.status-support { font-size: 14px; font-weight: 600; color: var(--ink-70); }
.status-support:hover { color: var(--navy); }

.status-wrap { display: flex; align-items: center; justify-content: center; padding: clamp(32px,6vw,72px) 0; }
.status-card {
  width: 100%; max-width: 620px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(26px,4vw,46px); text-align: center;
}
.status-ico { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 24px; background: var(--coral-soft); display: grid; place-items: center; }
.status-ico img { width: 48px; height: 48px; }
.status-ico--ok { background: #E4F6EC; }
.status-ico--fail { background: var(--coral-soft); }
.status-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-600); }
.status-title { margin-top: 10px; font-size: clamp(24px,3.4vw,32px); }
.status-sub { margin: 14px auto 0; max-width: 470px; color: var(--ink-70); }

.status-order { margin-top: 28px; text-align: left; border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; }
.status-order__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.status-order__row:last-child { border-bottom: none; }
.status-order__name { color: var(--navy); font-weight: 600; }
.status-order__sub { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-50); margin-top: 3px; text-transform: uppercase; letter-spacing: .04em; }
.status-order__price { color: var(--navy); font-weight: 800; white-space: nowrap; }
.status-order__total { background: var(--cream-2); }
.status-order__total .status-order__name, .status-order__total .status-order__price { font-weight: 800; }

.status-meta { margin-top: 20px; text-align: left; background: var(--sky-soft); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 12px; }
.status-meta__item { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: 14px; color: var(--ink-70); line-height: 1.45; align-items: start; }
.status-meta__item b { color: var(--navy); }
.status-meta__item a { color: var(--coral-600); font-weight: 600; }
.status-meta__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--coral); margin-top: 7px; }
.status-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 460px) { .status-cta .btn { width: 100%; } }
.status-note { margin-top: 18px; font-size: 12px; color: var(--ink-50); font-family: var(--mono); }

/* --- Юридические / текстовые страницы (политика, оферта) --- */
.legal { padding: clamp(32px,5vw,64px) 0 clamp(48px,6vw,80px); }
.legal__inner { max-width: 780px; margin: 0 auto; }
.legal__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-600); }
.legal h1 { margin: 12px 0 0; font-size: clamp(28px,4vw,40px); }
.legal__meta { margin-top: 14px; font-size: 14px; color: var(--ink-50); }
.legal__note { margin: 24px 0 8px; padding: 14px 18px; background: var(--coral-soft); border-radius: var(--r-md); font-size: 13.5px; color: var(--coral-600); font-weight: 600; }
.legal h2 { font-size: clamp(19px,2.2vw,23px); margin: 38px 0 0; }
.legal h2 .legal__num { font-family: var(--mono); color: var(--coral-600); font-size: 0.7em; margin-right: 10px; font-weight: 700; }
.legal p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-70); }
.legal ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; color: var(--ink-70); }
.legal li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); }
.legal a { color: var(--coral-600); font-weight: 600; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 700; color: var(--navy); }
.legal__back::before { content: "←"; color: var(--coral); }
.legal__ph { color: var(--coral-600); font-weight: 700; background: var(--coral-soft); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 0.92em; }
