/* Лендинг на «/». Цвета состояний те же, что в уведомлениях: зелёный работает, красный упал, янтарный предупреждение. */
:root {
  --paper: #eef1ec; --ink: #18221f; --soft: #56635e; --rule: #cfd6d0;
  --teal: #0f6e5c; --teal-ink: #ffffff; --chat: #dfe7e2; --bubble: #ffffff;
  --ok: #1d7a4a; --bad: #c03a28; --warn: #b77a0c; --free: #2c5fb8;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #141b19; --ink: #e7ece9; --soft: #9aa8a2; --rule: #2b3632;
          --teal: #3fb393; --teal-ink: #0c1412; --chat: #1c2623; --bubble: #26322e;
          --ok: #4cc283; --bad: #f0715f; --warn: #e2ae45; --free: #7fa6f0; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--teal); }
a:focus-visible, .cta:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.bar, main, .foot { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.bar { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.logo { font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok);
  animation: beat 2.4s ease-out infinite; }
.staff { font-size: 14px; color: var(--soft); text-decoration: none; }
.staff:hover { color: var(--ink); text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 40px 0 72px; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 0 0 22px; max-width: 16ch; }
.lead { font-size: 19px; color: var(--soft); max-width: 34em; margin: 0 0 30px; }
.cta { display: inline-block; background: var(--teal); color: var(--teal-ink); font-weight: 600; text-decoration: none;
  padding: 15px 26px; border-radius: 12px; font-size: 17px; }
.cta:hover { filter: brightness(1.08); }
.fine { font-size: 14px; color: var(--soft); margin: 14px 0 0; }

/* Главный образ: так выглядит работа сервиса для пользователя - ленточка сообщений бота. */
.chat { background: var(--chat); border-radius: 22px; padding: 14px 14px 18px; border: 1px solid var(--rule); }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 4px 6px 14px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.chat-head small { display: block; color: var(--soft); font-size: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--teal-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.msg { background: var(--bubble); border-radius: 4px 16px 16px 16px; padding: 10px 14px 8px; max-width: 92%;
  border-left: 4px solid var(--c); font-size: 15px; line-height: 1.45;
  opacity: 0; transform: translateY(8px); animation: arrive .45s ease-out forwards; }
.msg p { margin: 0; } .msg time { display: block; text-align: right; color: var(--soft); font-size: 12px; margin-top: 2px; }
.msg.warn { --c: var(--warn); } .msg.bad { --c: var(--bad); } .msg.ok { --c: var(--ok); } .msg.free { --c: var(--free); }
.msg:nth-child(1) { animation-delay: .2s; } .msg:nth-child(2) { animation-delay: .9s; }
.msg:nth-child(3) { animation-delay: 1.6s; } .msg:nth-child(4) { animation-delay: 2.3s; }

.what { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--rule); }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 18px; letter-spacing: -.01em; }
.what ul { margin: 0; padding: 0; list-style: none; }
.what li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); position: relative; max-width: 38em; }
.what li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.start { padding: 56px 0 80px; border-top: 1px solid var(--rule); }
.steps { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; color: var(--soft); }
.steps li::before { content: counter(s); display: block; font-size: 44px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.steps b { color: var(--ink); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--chat);
  padding: 1px 6px; border-radius: 6px; color: var(--ink); white-space: nowrap; }

.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 40px;
  border-top: 1px solid var(--rule); color: var(--soft); font-size: 14px; }

@keyframes arrive { to { opacity: 1; transform: none; } }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; opacity: 1; transform: none; } .pulse { animation: none; }
}
@media (max-width: 860px) {
  .hero, .what { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 16px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .bar, main, .foot { padding-left: 16px; padding-right: 16px; }
  .staff { font-size: 13px; }
  code { white-space: normal; word-break: break-all; }
}

.plans { padding: 56px 0; border-top: 1px solid var(--rule); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 18px; }
.plan { border: 1px solid var(--rule); border-radius: 16px; padding: 20px 22px; background: color-mix(in srgb, var(--paper) 70%, var(--bubble)); }
.plan.base { border-color: var(--teal); }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan p { margin: 0 0 8px; color: var(--soft); }
.plan .price { color: var(--ink); font-weight: 600; font-size: 18px; }
.plan .term { font-size: 14px; margin: 0; }
