/* Макет «Инструкция»: что понадобится → шаги → если не заработало → готово.

   Страница служебная по духу: человек пришёл настраивать, а не читать
   про нас. Поэтому крупные шаги, много воздуха между ними и никаких
   отвлекающих блоков — продажа тут уже случилась.

   Палитру задают темы через общие переменные, как во всех макетах. */

:root{
  --bg:#0a0f1e;
  --bg-soft:#0d1425;
  --card:rgba(255,255,255,.045);
  --line:rgba(130,160,255,.14);
  --text:#eef2fb;
  --muted:#9aa6c4;
  --accent:#3b82f6;
  --accent2:#8ab4ff;
  --accent-hover:#2f6fe0;
  --green:#34d399;
  --amber:#fbbf24;
  --radius:18px;
}

*{ box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }
html{ scroll-behavior:smooth; background:var(--bg); }
body{
  background:transparent;
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
/* Уже: инструкцию читают глазами по строчкам, длинные строки тут мешают */
.wrap{ width:100%; max-width:820px; margin:0 auto; padding:0 20px;
       position:relative; z-index:1; }
h1,h2,h3{ line-height:1.2; font-weight:850; letter-spacing:-.02em; }
h1{ font-size:clamp(28px,4.4vw,44px); }
h2{ font-size:clamp(22px,3vw,30px); margin-bottom:12px; }
h3{ font-size:17px; margin-bottom:6px; }
.lead{ color:var(--muted); font-size:clamp(15px,1.8vw,17.5px); }
.muted{ color:var(--muted); }

/* Размытия под шапкой нет: на липком элементе оно пересчитывается каждый
   кадр прокрутки и роняет плавность на Mac. */
header{ position:sticky; top:0; z-index:50; background:#0a0f1e;
        border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; height:64px; gap:16px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:850; font-size:17px; }
.brand-mark{ width:30px; height:30px; flex-shrink:0; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
      border:0; border-radius:13px; padding:12px 22px; font-size:15px; font-weight:700;
      cursor:pointer; font-family:inherit; transition:background .15s, transform .1s; }
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-hover); }
.btn-ghost{ background:rgba(255,255,255,.06); border:1px solid var(--line); color:var(--text); }
.btn-ghost:hover{ background:rgba(255,255,255,.11); }
.btn-lg{ padding:15px 30px; font-size:16px; }

.hero{ padding:70px 0 46px; }
.eyebrow{ display:inline-block; font-size:13px; font-weight:700; color:var(--accent2);
          background:rgba(59,130,246,.12); border:1px solid rgba(59,130,246,.28);
          border-radius:999px; padding:6px 14px; margin-bottom:16px; }
.hero .lead{ margin-top:14px; }
/* Сколько времени займёт и что нужно — самое важное обещание инструкции */
.meta{ margin-top:12px; color:var(--muted); font-size:13.5px; }
.hero-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:24px; }
.cta-second{ color:var(--muted); font-size:14.5px; border-bottom:1px solid var(--line);
             padding-bottom:2px; }
.cta-second:hover{ color:var(--text); }

.section{ padding:52px 0; }
.band{ background:rgba(255,255,255,.02); border-top:1px solid var(--line);
       border-bottom:1px solid var(--line); }

/* что понадобится */
.needs{ list-style:none; margin-top:20px; display:grid; gap:10px; }
.needs li{ display:flex; gap:10px; align-items:flex-start; color:var(--muted);
           font-size:15px; }
.needs li::before{ content:'—'; color:var(--accent2); flex-shrink:0; }

/* шаги: крупные, по одному на строку. Человек читает их с телефона в руке,
   параллельно нажимая кнопки в другом приложении */
.steps{ list-style:none; counter-reset:step; margin-top:26px; display:grid; gap:16px; }
.step{ counter-increment:step; display:flex; gap:16px; align-items:flex-start;
       background:var(--card); border:1px solid var(--line);
       border-radius:var(--radius); padding:20px 22px; }
.step::before{
  content:counter(step);
  width:34px; height:34px; flex-shrink:0; border-radius:11px; display:grid;
  place-items:center; background:rgba(59,130,246,.16); color:var(--accent2);
  font-weight:850; font-size:15px;
}
.step p{ color:var(--muted); font-size:15px; }
/* Подсказка внутри шага: что нажать дословно */
.step code{ background:rgba(0,0,0,.35); border-radius:6px; padding:2px 7px;
            font-size:13.5px; }

/* если не заработало */
.trouble{ display:grid; gap:12px; margin-top:24px; }
.fix{ background:var(--card); border:1px solid var(--line); border-radius:16px;
      padding:18px 20px; }
.fix .q{ font-weight:800; font-size:15.5px; display:flex; gap:10px; align-items:flex-start; }
.fix .q::before{ content:'?'; color:var(--amber); font-weight:850; flex-shrink:0; }
.fix .a{ color:var(--muted); font-size:14.5px; margin-top:8px; padding-left:20px; }

/* готово */
.done{ background:linear-gradient(135deg,rgba(52,211,153,.16),rgba(59,130,246,.12));
       border:1px solid var(--line); border-radius:26px; padding:42px 26px;
       text-align:center; }
.done-label{ display:inline-block; font-size:12.5px; font-weight:800;
             letter-spacing:.06em; text-transform:uppercase; color:var(--green);
             margin-bottom:12px; }
.done p{ color:var(--muted); max-width:560px; margin:10px auto 22px; font-size:15px; }
.done .fallback{ margin-top:16px; margin-bottom:0; font-size:13px; }

/* инструкции для других устройств */
.others{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.others a{ background:var(--card); border:1px solid var(--line); border-radius:999px;
           padding:8px 16px; font-size:14px; color:var(--muted); }
.others a:hover{ color:var(--text); border-color:var(--accent); }

footer{ border-top:1px solid var(--line); padding:28px 0; font-size:13.5px; }

/* Экономный режим — как в остальных макетах. Признак ставит landing.js. */
html[data-lite] *,
html[data-lite] *::before,
html[data-lite] *::after{
  animation:none !important;
  transition:none !important;
}
html[data-lite] *{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
html[data-lite]{ --rk-cursor:0; }
