/* Лендинг «CRM для Макса»: только то, чего нет в общем site.css. Цвета, шрифты и отступы берутся оттуда. */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Первый экран: пример карточки контакта вместо спирали сообщений */
.demo { display: grid; gap: 0.9rem; width: min(100%, 25rem); padding: 1.2rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 30px 60px -40px var(--shadow); font-size: 0.94rem; line-height: 1.4; }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1rem; }
.demo-head b { font-size: 1.1rem; font-weight: 700; }
.demo-head span, .demo-row span { color: var(--muted); font-size: 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0.7rem 0.2rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 0.84rem; font-weight: 500; }
.chip::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--c); }
.demo-note { padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.demo-row { display: grid; gap: 0.1rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.demo-row b { font-weight: 600; }

/* Скриншоты */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.2rem; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 30px 60px -40px var(--shadow); }
.shot figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 52rem) { .shots { grid-template-columns: 1fr; } }

/* Карточки функций */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin-top: 2.4rem; }
.feat { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: 20px; background: var(--surface); }
.feat p:last-child { margin-top: auto; padding-top: 0.3rem; }

/* Таблица Free и Pro */
.compare { width: 100%; max-width: 46rem; margin-top: 2.2rem; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; table-layout: fixed; }
.compare th, .compare td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--bg); font-size: 0.86rem; font-weight: 650; }
.compare tbody th { font-weight: 500; }
.compare tr:last-child > * { border-bottom: 0; }
.compare th:first-child { width: 38%; }
@media (max-width: 34rem) { .compare th, .compare td { padding: 0.6rem 0.6rem; font-size: 0.92rem; } }

/* Состояние «в разработке» на месте кнопок установки и оплаты (site-build.mjs, пустые ссылки в config.json).
   Не кнопка: ничего не нажимается, поэтому без тени и подъёма, а янтарная точка говорит «идёт работа». */
.soon { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.2rem; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.soon::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 var(--amber); animation: soon-pulse 2.4s ease-out infinite; }
@keyframes soon-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 0.55rem transparent; } }
@media (prefers-reduced-motion: reduce) { .soon::before { animation: none; } }
.plan > .soon { margin-top: auto; align-self: flex-start; font-size: 0.92rem; }

/* «Кому пригодится»: три аудитории из запросов Wordstat; без карточек, чтобы не повторять блок функций. */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2.4rem; margin-top: 2rem; }
.who > div { padding-top: 1rem; border-top: 2px solid var(--ink); }
.who h3 { margin-bottom: 0.5rem; }
@media (max-width: 52rem) { .who { grid-template-columns: 1fr; } }
.plan.best > .soon { color: #0e2a30; border-color: rgb(14 42 48 / 0.45); }
.plan.best > .soon::before { background: #0e2a30; animation: none; }
