/* argusmp.ru — общий вид всех страниц. Без внешних шрифтов и счётчиков:
   ни один запрос не уходит со страницы на чужие серверы. */
:root {
  color-scheme: light;
  --page: #F6F6F2;
  --surface: #FFFFFF;
  --ink: #101414;
  --ink-2: #465053;
  --muted: #737C7F;
  --line: rgba(16, 20, 20, .10);
  --line-2: rgba(16, 20, 20, .18);
  --accent: #10695C;
  --accent-2: #0C5248;
  --accent-soft: #E4EFEB;
  --warn: #8A5200;
  --warn-soft: #FBEBD0;
  --bad: #B42318;
  --todo: #FFE27A;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: var(--accent-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; margin: 0; }

/* Черновик: пустые реквизиты видны сразу */
.draftbar { background: var(--todo); color: #3A2E00; font-size: 14px; padding: 8px 20px; text-align: center; }
mark.todo { background: var(--todo); color: #3A2E00; padding: 0 .35em; border-radius: 4px; font-weight: 600; }

/* ── Шапка ─────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line);
  background: rgba(246, 246, 242, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
}
.top .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; min-height: 64px; }
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 18px; letter-spacing: -.01em; line-height: 1.1;
}
.logo svg { width: 30px; height: 30px; flex: none; }
.logo small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }
.menu { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.menu a { color: var(--ink-2); text-decoration: none; }
.menu a:hover, .menu a[aria-current] { color: var(--ink); }
@media (max-width: 920px) {
  .top .wrap { gap: 8px 16px; padding-top: 10px; }
  .top .wrap > .btn { margin-left: auto; }
  .menu {
    order: 3; width: calc(100% + 40px); margin: 0 -20px; padding: 2px 20px 10px;
    overflow-x: auto; white-space: nowrap; gap: 18px; font-size: 14px; scrollbar-width: none;
  }
  .menu::-webkit-scrollbar { display: none; }
}

/* ── Кнопки ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #2A3131; border-color: #2A3131; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface); }
.btn.sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ── Первый экран ─────────────────────────────────────── */
.hero { padding: 64px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 20px;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 720; margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

/* Схематичный экран сервиса. Цифры условные — это подписано. */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 13.5px;
  box-shadow: 0 1px 2px rgba(16, 20, 20, .04), 0 18px 48px rgba(16, 20, 20, .08);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FAFAF8; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #DCDDD8; }
.mock-bar em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 10px; }
.mock-tabs { display: flex; gap: 6px; padding: 12px 14px 0; flex-wrap: wrap; }
.mock-tabs b, .mock-tabs i { font-style: normal; font-weight: 600; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; }
.mock-tabs b { background: var(--ink); color: #fff; }
.mock-tabs i { color: var(--ink-2); background: #F1F1EC; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.mock-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-kpis small { display: block; color: var(--muted); font-size: 11.5px; }
.mock-kpis strong { display: block; font-size: 19px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock-kpis em { font-style: normal; font-size: 12px; }
.up { color: var(--accent); }
.down, .neg { color: var(--bad); }
.mock table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mock th { font-weight: 500; color: var(--muted); font-size: 11.5px; text-align: right; padding: 6px 14px; border-bottom: 1px solid var(--line); }
.mock td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.mock th:first-child, .mock td:first-child { text-align: left; white-space: normal; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: #F1F1EC; color: var(--ink-2); }
.pill.ok { background: var(--accent-soft); color: var(--accent-2); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.mock-note { margin: 0; padding: 8px 14px; color: var(--muted); font-size: 11.5px; }
@media (max-width: 520px) {
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis div:last-child { display: none; }
  .mock th:nth-child(3), .mock td:nth-child(3) { display: none; }
}

/* ── Разделы главной ──────────────────────────────────── */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.65rem, 3.1vw, 2.3rem); font-weight: 700; margin-bottom: 12px; }
.section .lead { color: var(--ink-2); max-width: 44em; font-size: 1.06rem; margin-bottom: 36px; }
.grid { display: grid; gap: 16px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid.c4, .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c4, .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card p + p { margin-top: .7em; }
.card .more { display: inline-block; margin-top: 12px; font-size: 15px; }
.icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.below { margin-top: 24px; }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.plan.hl { border: 2px solid var(--accent); padding: 21px; }
.plan .badge {
  position: absolute; top: -12px; left: 20px; white-space: nowrap;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan .idea { color: var(--muted); font-size: 14px; margin: 4px 0 16px; }
/* В ряд из четырёх карточек цены стоят на одной высоте, даже если
   подзаголовок одной из них переносится на вторую строку. */
@media (min-width: 1081px) { .plan .idea { min-height: 3.2em; } }
.plan .price { margin: 0; min-height: 5.1em; }
.plan .per { display: none; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.plan .per strong { font-size: 2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan .per span { color: var(--muted); font-size: 14px; }
.plan .per small { flex-basis: 100%; color: var(--accent-2); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Срок оплаты: радиокнопки стоят перед .seg и .plans, выбранная показывает
   свои цены. Без скриптов — сроки те же, что billing.PREPAY_DISCOUNT. */
.seg {
  display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.seg label {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; user-select: none;
}
.seg label:hover { background: #F1F1EC; color: var(--ink); }
.seg em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent-2); background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
#per1:checked ~ .seg label[for="per1"], #per3:checked ~ .seg label[for="per3"],
#per6:checked ~ .seg label[for="per6"], #per12:checked ~ .seg label[for="per12"] { background: var(--ink); color: #fff; }
#per1:checked ~ .seg label[for="per1"] em, #per3:checked ~ .seg label[for="per3"] em,
#per6:checked ~ .seg label[for="per6"] em, #per12:checked ~ .seg label[for="per12"] em { background: rgba(255, 255, 255, .16); color: #fff; }
#per1:focus-visible ~ .seg label[for="per1"], #per3:focus-visible ~ .seg label[for="per3"],
#per6:focus-visible ~ .seg label[for="per6"], #per12:focus-visible ~ .seg label[for="per12"] { outline: 2px solid var(--accent); outline-offset: 2px; }
#per1:checked ~ .plans .per1, #per3:checked ~ .plans .per3,
#per6:checked ~ .plans .per6, #per12:checked ~ .plans .per12 { display: flex; }
@media (max-width: 560px) {
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg label { justify-content: center; padding: 9px 8px; }
}
.plan .founder { font-size: 13px; color: var(--accent-2); background: var(--accent-soft); border-radius: 8px; padding: 6px 10px; margin: 12px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14.5px; }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); }
.plan .limits li:first-child { border-top: 0; padding-top: 0; }
.plan .limits li { font-weight: 550; }
.plan .incl { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.plan .incl + .feats { margin-top: 6px; }
.plan .feats b { display: block; font-weight: 600; font-size: 14px; }
.plan .feats span { display: block; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.plan .grow { flex: 1; min-height: 20px; }
.terms { margin-top: 18px; }
.terms .card { padding: 18px 20px; }
.terms h3 { font-size: 1rem; }
.terms p { font-size: 14.5px; }

/* Шаги подключения */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.steps b { display: block; margin-bottom: 6px; }
.steps span { display: block; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.contact-box {
  margin-top: 18px; background: var(--ink); color: #fff; border-radius: 16px; padding: 26px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
}
.contact-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-box p { margin: 0; color: #C2C9C9; }
.contact-box .lines { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 10px; font-size: 1.05rem; }
.contact-box .lines a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-box .lines a:hover { text-decoration: underline; }
.contact-box .btn { background: #fff; color: var(--ink); border-color: #fff; }
.contact-box .btn:hover { background: #E9ECEC; }

/* Безопасность */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230C5248' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* Вопросы */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin: 10px 0 0; }

/* ── Документы ────────────────────────────────────────── */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 840px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.doc h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.doc .meta { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.doc h2 { font-size: 1.24rem; margin: 40px 0 14px; letter-spacing: -.01em; }
.doc h3 { font-size: 1.05rem; margin: 24px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: #283032; }
.doc ol, .doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin: 0 0 .45em; }
.doc .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin: 0 0 8px; font-size: 15px; }
.doc .toc b { display: block; margin-bottom: 6px; }
.doc .toc ol { margin: 0; columns: 2; column-gap: 32px; }
.doc .toc li { break-inside: avoid; margin: 0 0 .3em; }
@media (max-width: 640px) { .doc .toc ol { columns: 1; } }
.note { background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; color: var(--accent-2); margin: 0 0 1em; }
.note p:last-child { margin: 0; }
.kv { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 1em; }
.kv th { width: 38%; text-align: left; font-weight: 500; color: var(--ink-2); padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td { padding: 11px 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .kv th, .kv td { display: block; width: auto; }
  .kv th { padding-bottom: 0; border: 0; font-size: 13.5px; }
}
.paylist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; }
.paylist span { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 4px 12px; font-weight: 700; font-size: 13.5px; }

/* Страница тарифов: заголовок как у документов, но без их типографики —
   иначе стили .doc ul/li/h3 разъезжаются внутри карточек тарифов. */
.page { padding: 48px 0 80px; }
.page .crumbs { margin-bottom: 14px; }
.page h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.page .meta { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.page > .wrap > h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 56px 0 16px; }
.page .terms { margin-top: 0; }
.page .lead-sm { color: var(--ink-2); max-width: 52em; }

/* Сравнение тарифов */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.compare th, .compare td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { font-size: 15px; font-weight: 650; padding: 14px; }
.compare tbody th { text-align: left; font-weight: 450; background: var(--surface); position: sticky; left: 0; }
.compare tr.group th { background: #F3F3EE; font-weight: 650; font-size: 14px; color: var(--ink); padding-top: 12px; }
.compare td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare td small { display: block; color: var(--muted); font-size: 12.5px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent); font-weight: 700; }
.no { color: #B6BCBC; }

/* ── Подвал ───────────────────────────────────────────── */
.foot { background: #101414; color: #C2C9C9; padding: 56px 0 28px; font-size: 14px; }
.foot a { color: #EEF1F1; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 9px; }
.foot .logo { color: #fff; margin-bottom: 14px; }
.foot .logo small { color: #8C9597; }
.foot .req { color: #9AA3A4; line-height: 1.6; margin: 0; }
.foot .bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; color: #8C9597; font-size: 13px;
}
.foot .bottom p { margin: 0; max-width: 62em; }
.paylogos { display: flex; gap: 8px; flex-wrap: wrap; }
.paylogos span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 3px 9px; font-weight: 700; font-size: 12px; color: #fff; letter-spacing: .02em; }
@media (max-width: 820px) { .foot .cols { grid-template-columns: 1fr; gap: 28px; } }
