/* SEOMOLOT — лид-магнит «Чек-лист самопроверки сайта» (inc/lead-magnet.php):
   .smlt-cl  — блок с формой «Получить чек-лист» (светлый, «песочный»);
              вставляется шорткодом [smlt_checklist] в любую страницу или запись;
   .smlt-clg — блок со ссылкой на файл на странице «Спасибо» (после </main>).
   Переменные и .btn — из site.css, подключается только там, где блок выводится.
   Светлая заливка выбрана намеренно: в статье блока два, и стоящий рядом
   .smlt-bcta (форма аудита) тёмный — так они не сливаются в одну простыню.
   Все правила ограничены своими префиксами; два класса в селекторе — этого
   веса хватает, чтобы перебить типографику .article__body и .legal. */

/* ============================================================
   БЛОК С ФОРМОЙ
   ============================================================ */
.smlt-cl{scroll-margin-top:84px;margin:38px 0;padding:clamp(22px,3vw,32px);
  background:var(--sand);border:1px solid var(--line);border-radius:14px;
  border-top:3px solid var(--forge)}
.smlt-cl .smlt-cl__in{display:grid;gap:26px;align-items:start}

/* левая колонка — что внутри файла */
.smlt-cl .smlt-cl__kick{display:inline-flex;align-items:center;gap:9px;margin-bottom:10px;
  font-weight:700;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--forge)}
.smlt-cl .smlt-cl__kick::before{content:"";width:22px;height:2px;background:var(--forge);border-radius:2px}
.smlt-cl .smlt-cl__ttl{margin:0 0 12px;padding:0;
  font-family:var(--font-display);font-weight:600;font-size:clamp(1.4rem,3vw,1.85rem);
  line-height:1.12;letter-spacing:-.015em;color:var(--text)}
.smlt-cl .smlt-cl__ttl::before{content:none;display:none}
.smlt-cl .smlt-cl__p{margin:0 0 18px;color:var(--muted);font-size:.99rem;line-height:1.6}

.smlt-cl .smlt-cl__what{list-style:none;display:grid;gap:0;margin:0;padding:0;
  background:var(--paper);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.smlt-cl .smlt-cl__wi{display:flex;align-items:center;gap:11px;margin:0;padding:9px 14px;
  border-top:1px solid var(--line);font-size:.93rem;line-height:1.4}
.smlt-cl .smlt-cl__wi:first-child{border-top:0}
.smlt-cl .smlt-cl__wn{flex:none;font-family:var(--font-display);font-weight:600;font-size:.82rem;
  letter-spacing:.02em;color:var(--forge)}
.smlt-cl .smlt-cl__wt{flex:1 1 auto;color:var(--text)}
.smlt-cl .smlt-cl__wc{flex:none;min-width:26px;padding:2px 7px;border-radius:20px;
  background:var(--sand-2);color:var(--muted);font-size:.78rem;font-weight:600;text-align:center}
.smlt-cl .smlt-cl__note{margin:14px 0 0;color:var(--muted);font-size:.85rem;line-height:1.5}

/* правая колонка — форма */
.smlt-cl .smlt-cl__form{display:grid;gap:12px;padding:22px;border-radius:12px;
  background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.smlt-cl .smlt-cl__ftt{font-family:var(--font-display);font-weight:500;font-size:1.02rem;
  line-height:1.3;color:var(--text)}
.smlt-cl .smlt-cl__input{width:100%;min-height:48px;padding:13px 15px;border-radius:8px;
  border:1px solid var(--line);background:var(--paper);
  color:var(--text);font-family:var(--font-body);font-size:1rem;line-height:1.4;
  transition:border-color .15s}
.smlt-cl .smlt-cl__input::placeholder{color:#9c9082}
.smlt-cl .smlt-cl__input:focus{outline:2px solid var(--forge);outline-offset:1px;border-color:transparent}
.smlt-cl .smlt-cl__consent{display:flex;align-items:flex-start;gap:10px;cursor:pointer;
  font-size:.82rem;line-height:1.5;color:var(--muted)}
.smlt-cl .smlt-cl__box{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--forge)}
.smlt-cl .smlt-cl__law{color:var(--forge);font-weight:600;
  text-decoration:underline;text-underline-offset:2px}
.smlt-cl .smlt-cl__law:hover{color:var(--ember);text-decoration:underline}
.smlt-cl .smlt-cl__btn{width:100%;min-height:50px;justify-content:center;margin-top:2px}
.smlt-cl .smlt-cl__hint{margin:0;font-size:.8rem;line-height:1.45;color:var(--muted);text-align:center}

/* ============================================================
   БЛОК СО ССЫЛКОЙ НА ФАЙЛ (страница «Спасибо»)
   Стоит между тёмным экраном благодарности и тёмным подвалом —
   светлая полоса разделяет их и притягивает взгляд к кнопке.
   ============================================================ */
.smlt-clg{position:relative;background:var(--sand);
  padding:clamp(30px,4.6vw,48px) 0;border-top:3px solid var(--forge)}
.smlt-clg .smlt-clg__in{display:grid;gap:18px 22px;align-items:center;
  grid-template-columns:auto 1fr}
.smlt-clg .smlt-clg__ico{grid-row:span 2;width:58px;height:58px;border-radius:12px;
  display:grid;place-items:center;color:#fff;background:var(--forge);box-shadow:var(--shadow-forge)}
.smlt-clg .smlt-clg__ico svg{width:28px;height:28px}
.smlt-clg .smlt-clg__kick{display:block;margin-bottom:6px;font-weight:700;font-size:.76rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--forge)}
.smlt-clg .smlt-clg__ttl{margin:0 0 10px;padding:0;
  font-family:var(--font-display);font-weight:600;font-size:clamp(1.35rem,2.8vw,1.75rem);
  line-height:1.12;letter-spacing:-.015em;color:var(--text)}
.smlt-clg .smlt-clg__ttl::before{content:none;display:none}
.smlt-clg .smlt-clg__p{margin:0 0 8px;color:var(--muted);font-size:1rem;line-height:1.6;max-width:70ch}
.smlt-clg .smlt-clg__hint{margin:0;color:var(--muted);font-size:.85rem;line-height:1.5;
  max-width:70ch;opacity:.9}
.smlt-clg .smlt-clg__act{grid-column:2}
.smlt-clg .smlt-clg__btn{min-height:52px}

/* ============================================================
   АДАПТИВ
   ============================================================ */
/* две колонки — только когда колонка контента достаточно широкая */
@media(min-width:860px){
  .smlt-cl .smlt-cl__in{grid-template-columns:1.05fr .95fr;gap:32px}
}
@media(min-width:900px){
  .smlt-clg .smlt-clg__in{grid-template-columns:auto 1fr auto;gap:22px 26px}
  .smlt-clg .smlt-clg__ico{grid-row:auto}
  .smlt-clg .smlt-clg__act{grid-column:auto;justify-self:end}
}
@media(max-width:640px){
  .smlt-cl{margin:30px 0;border-radius:12px}
  .smlt-cl .smlt-cl__form{padding:18px}
  .smlt-cl .smlt-cl__wi{padding:8px 12px;font-size:.9rem}
  .smlt-clg .smlt-clg__in{grid-template-columns:1fr}
  .smlt-clg .smlt-clg__ico{grid-row:auto;width:50px;height:50px}
  .smlt-clg .smlt-clg__act{grid-column:auto}
  .smlt-clg .smlt-clg__btn{width:100%;justify-content:center}
}
