/* Общие стили сайта (лендинг + личный кабинет, оферта, политика). Цвета — те же, что в
   приложении: чернильный фон, ржавый акцент,
   "сторожевой" зелёный для статуса. Шрифт Onest — тоже как в приложении. */
:root {
  --bg: #0E0E12;
  --bg-2: #121217;
  --panel: #17171D;
  --panel-2: #1E1E26;
  --border: #2A2A32;
  --border-hover: #3A3A45;
  --text: #F3F2EF;
  --muted: #9A99A3;
  --faint: #6D6C76;
  --accent: #C2410C;
  --accent-hover: #DB5017;
  --accent-soft: rgba(194, 65, 12, 0.14);
  --ok: #2FD08A;
  --ok-soft: rgba(47, 208, 138, 0.14);
  --err: #E0503A;
  --err-soft: rgba(224, 80, 58, 0.14);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Без этого клик по меню прокручивает секцию под прилипающую шапку — заголовок прячется. */
section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- шапка ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 14, 18, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 22px; height: 36px; }
.brand em { color: var(--accent); font-style: normal; }
nav.site { display: flex; gap: 26px; align-items: center; }
nav.site a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
nav.site a:hover { color: var(--text); }
nav.site .account {
  color: var(--text); background: var(--panel-2); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 10px; font-weight: 600; font-size: 13px; cursor: pointer;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
nav.site .account:hover { border-color: var(--border-hover); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; font-family: inherit; text-decoration: none; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, transform .1s ease, opacity .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(194, 65, 12, 0.32); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--panel-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); background: #24242d; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.block { width: 100%; }
.btn.small { padding: 9px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- секции ---------- */
/* section.wrap, не голый section: .wrap задаёт боковые отступы, и как класс он специфичнее
   тега — "section { padding: … }" молча проигрывал и обнулял вертикальные отступы. */
section.wrap { padding-top: 96px; padding-bottom: 96px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; text-align: center; margin-bottom: 10px; }
h2.section-title { font-size: 32px; font-weight: 800; text-align: center; margin: 0 0 14px; letter-spacing: -0.6px; line-height: 1.2; }
.section-lead { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 44px; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.20) 0%, rgba(194, 65, 12, 0) 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { font-size: 48px; font-weight: 800; margin: 0 0 18px; letter-spacing: -1.2px; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 500px; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--faint); }
.hero .note b { color: var(--ok); font-weight: 600; }

/* Знак: собака в "радаре" — как кольцо подключения на главном экране приложения. */
.mark { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.mark .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border); }
.mark .ring.r2 { inset: 34px; border-color: #24242c; }
.mark .ring.r3 { inset: 68px; background: radial-gradient(circle, rgba(47, 208, 138, 0.10), rgba(47, 208, 138, 0) 70%); border-color: rgba(47, 208, 138, 0.35); }
.mark .beam {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(194, 65, 12, 0) 0deg, rgba(194, 65, 12, 0.28) 50deg, rgba(194, 65, 12, 0) 60deg);
  animation: sweep 6s linear infinite;
}
.mark img { position: absolute; left: 50%; top: 50%; width: 92px; height: 150px; transform: translate(-50%, -50%); }
.mark .status {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--ok); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.mark .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
@keyframes sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mark .beam { animation: none; } html { scroll-behavior: auto; } }

/* ---------- карточки ---------- */
/* Явные колонки вместо auto-fit: auto-fit на части ширин переносит 4 карточки как 3+1. */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--border-hover); }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card .icon svg { width: 20px; height: 20px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 24px 26px; text-align: center; position: relative; display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
}
.plan:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: .2px;
}
.plan .title { color: var(--muted); font-size: 14px; margin-bottom: 10px; font-weight: 500; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.plan .per { color: var(--faint); font-size: 13px; margin: 6px 0 4px; min-height: 20px; }
.plan .save { color: var(--ok); font-size: 13px; font-weight: 600; min-height: 20px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; font-size: 14px; color: var(--muted); flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 9px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .warn { color: var(--err); font-size: 12px; line-height: 1.4; margin: -10px 0 16px; }
/* переключатель «Личный / Семейный» над тарифами */
.tiers { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 5px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; }
.tiers button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.tiers button:hover { color: var(--text); }
.tiers button.on { background: var(--accent); color: #fff; }
.tiers button small { font-weight: 500; opacity: .8; }
.tiers button small::before { content: " · "; }
@media (max-width: 480px) {
  .tiers { flex-wrap: nowrap; width: 100%; border-radius: 16px; }
  .tiers button { flex: 1; padding: 8px 10px; line-height: 1.3; border-radius: 12px; }
  .tiers button small { display: block; font-size: 12px; }
  .tiers button small::before { content: none; }
}
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 18px auto 0; max-width: 620px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; transition: border-color .15s ease; }
.faq details[open] { border-color: var(--border-hover); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- личный кабинет ---------- */
#cabinet { display: none; }
.status-card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 6px 24px; margin-bottom: 20px; }
.status-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.status-row:last-child { border-bottom: none; }
.status-row .label { color: var(--muted); font-size: 14px; }
.status-row .value { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.on { background: var(--ok-soft); color: var(--ok); }
.pill.off { background: var(--err-soft); color: var(--err); }
.cabinet-block { margin-bottom: 20px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.review { display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: var(--accent-hover); letter-spacing: 2px; font-size: 16px; }
.review p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; flex: 1; }
.review .who { color: var(--faint); font-size: 13px; }
.stars-input { display: flex; gap: 4px; margin: 12px 0 14px; }
.stars-input button { background: none; border: none; padding: 2px; font-size: 30px; line-height: 1; color: var(--border-hover); cursor: pointer; transition: color .12s ease, transform .12s ease; }
.stars-input button.on { color: var(--accent-hover); }
.stars-input button:hover { transform: scale(1.1); }
.field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); font-size: 15px; font-family: inherit; resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--accent); }
#reviewBox .field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); font-size: 15px; font-family: inherit;
}
.autorenew { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.autorenew input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.cabinet-block h3 { margin: 0 0 6px; font-size: 17px; }
.cabinet-block p { margin: 0; color: var(--muted); font-size: 14px; }
.copy-row { display: flex; gap: 8px; margin-top: 14px; }
.copy-row input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); font-size: 13px; font-family: inherit;
}
.device-list { list-style: none; padding: 0; margin: 14px 0 0; }
.device-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.device-list .name { font-weight: 600; font-size: 14px; }
.device-list .seen { color: var(--faint); font-size: 12px; }
#payResult { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); font-size: 14px; line-height: 1.7; }
#payResult code { background: #000; padding: 5px 12px; border-radius: 8px; display: inline-block; margin: 6px 0; font-size: 17px; font-weight: 600; letter-spacing: 0.5px; }
.cabinet-title { margin: 32px 0 18px; font-size: 19px; }
.link-muted { color: var(--muted); font-size: 13px; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link-muted:hover { color: var(--text); }

/* ---------- окно входа ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.66); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px; width: 100%; max-width: 380px; position: relative; box-shadow: var(--shadow);
}
.modal h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.modal .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--accent); }
.msg { font-size: 13px; margin: 10px 0; min-height: 18px; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }
.modal .switch { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.modal .switch a { color: var(--accent); text-decoration: none; cursor: pointer; font-weight: 600; }
.modal .close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; padding: 4px; }
.modal .close:hover { color: var(--text); }
.modal .fine { font-size: 12px; color: var(--faint); margin-top: 14px; text-align: center; }
.modal .fine a { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- документы (оферта, политика) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 34px; letter-spacing: -0.6px; line-height: 1.2; margin: 0 0 8px; }
.doc .edition { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 20px; margin: 36px 0 12px; }
.doc p, .doc li { color: #CFCED6; font-size: 15px; }
.doc ul { padding-left: 22px; }
.doc .requisites { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.doc .requisites p { margin: 4px 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 28px; }
.back:hover { color: var(--text); }

/* ---------- страница подключения iPhone (/connect) ---------- */
.connect { max-width: 560px; margin: 0 auto; padding: 44px 20px 72px; }
.connect h1 { font-size: 30px; letter-spacing: -0.6px; line-height: 1.2; margin: 0 0 6px; }
.connect .lead { color: var(--muted); margin: 0 0 26px; }
.connect .lead a { color: var(--text); }
.connect-steps { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: cstep; }
.connect-steps li {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 20px 20px 62px; margin-bottom: 12px;
}
.connect-steps li::before {
  counter-increment: cstep; content: counter(cstep);
  position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.connect-steps .step-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.connect-steps p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.connect-steps li p:last-child { margin-bottom: 0; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.connect-more { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 18px; }
.connect-more summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 14px; list-style: none; }
.connect-more summary::-webkit-details-marker { display: none; }
.connect-more .answer { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }
.connect-more .answer p { margin: 0 0 10px; }
.fine { color: var(--faint); font-size: 12px; margin: 12px 0 0; }
.fine a { color: var(--muted); }

/* ---------- подвал ---------- */
/* Одна строка: знак слева, ссылки справа; под ней тонкая линия с копирайтом и реквизитами. */
footer.site { border-top: 1px solid var(--border); padding: 32px 0 28px; font-size: 14px; }
footer.site .foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site .brand { font-size: 17px; }
footer.site .brand img { width: 18px; height: 30px; }
footer.site .foot-links { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site .foot-links a {
  color: var(--muted); text-decoration: none; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); transition: color .15s ease, border-color .15s ease;
}
footer.site .foot-links a:hover { color: var(--text); border-color: var(--border-hover); }
footer.site .foot-bottom {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap;
  color: var(--faint); font-size: 12px;
}

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .mark { width: 240px; height: 240px; }
  .mark .ring.r2 { inset: 28px; }
  .mark .ring.r3 { inset: 56px; }
  .mark img { width: 74px; height: 120px; }
}
@media (max-width: 760px) {
  .plans, .grid-3, .reviews { grid-template-columns: 1fr; }
  .plans { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  h2.section-title { font-size: 26px; }
  section.wrap { padding-top: 64px; padding-bottom: 64px; }
  .grid-2 { grid-template-columns: 1fr; }
  .doc h1 { font-size: 28px; }
}
/* Четыре пункта меню + кнопка аккаунта (с длинным email) не влезают уже на ~860px —
   шапка вылезала за экран и давала горизонтальную прокрутку. Ниже этой ширины оставляем
   только кнопку аккаунта: разделы и так идут подряд при прокрутке. */
@media (max-width: 860px) {
  nav.site a:not(.account) { display: none; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  nav.site .account { max-width: 170px; }
}

/* ---------- витрина 26.10.2026: короче и спокойнее ---------- */
section.wrap { padding-top: 80px; padding-bottom: 80px; }
section.wrap.compact { padding-top: 24px; padding-bottom: 24px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--muted); background: var(--panel); border: 1px solid var(--border);
}
/* «Галочки доверия» под кнопками: коротко, в одну-две строки. */
.trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.trust li { position: relative; padding-left: 22px; }
.trust li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}
.trust b { color: var(--ok); font-weight: 600; }
/* Возможности — без тяжёлых карточек: иконка, заголовок, одна строка. */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 28px 8px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature .icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.feature .icon svg { width: 19px; height: 19px; }
.feature h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
/* Кнопки внутри шагов «Как начать» прижаты к низу карточки — ряды выровнены. */
.steps .step { display: flex; flex-direction: column; }
.steps .step p { flex: 1; }
.step-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
/* Приглашение — одна полоса вместо целой секции. */
.invite-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 22px 26px; border-radius: 18px; border: 1px solid rgba(194, 65, 12, 0.35);
  background: linear-gradient(120deg, rgba(194, 65, 12, 0.16), rgba(194, 65, 12, 0.04) 60%), var(--panel);
}
.invite-gift { font-size: 34px; line-height: 1; }
.invite-banner h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.invite-banner p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .trust { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section.wrap { padding-top: 56px; padding-bottom: 56px; }
  section.wrap.compact { padding-top: 12px; padding-bottom: 12px; }
  .features { gap: 22px 16px; padding: 22px 0; }
  .invite-banner { grid-template-columns: 1fr; text-align: center; padding: 22px 20px; }
  .invite-gift { margin: 0 auto; }
  .trust { font-size: 13px; }
}
@media (max-width: 640px) {
  .mark { width: 200px; height: 200px; }
  .mark .ring.r2 { inset: 24px; }
  .mark .ring.r3 { inset: 48px; }
  .mark img { width: 62px; height: 100px; }
  .plan { padding: 26px 20px 22px; }
  .plan ul { margin-bottom: 18px; }
}
