/* BotsApps — стили сайта. Дизайн-система: ../../design-brief.md, макеты: ../../design/ */

@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F5F4EF; --white: #FFFFFF; --line: #E3E1D9;
  --ink: #15181D; --muted: #5E6570;
  --cobalt: #2B50E8; --cobalt-dark: #2140C4; --cobalt-soft: #E4E9FD;
  --lime: #C9F24B;
  --night: #10141A; --night-2: #181D25; --night-line: #262C36; --on-night: #F5F4EF; --on-night-muted: #9AA3AE;
  --ok: #1F9D55; --warn: #E3A008; --bad: #D93A2E;
  --ok-bg: #E3F4EA; --warn-bg: #FDF3D8; --bad-bg: #FBE5E3;
  --r-btn: 14px; --r-input: 12px; --r-card: 20px; --r-block: 28px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gap-section: 120px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 27px; }
img { display: block; max-width: 100%; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--gap-section) 0 0; scroll-margin-top: 90px; }
.section:last-of-type { padding-bottom: var(--gap-section); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Текстовые стили */
.label { font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h1 { font-weight: 700; font-size: 64px; line-height: 68px; letter-spacing: -.02em; }
.h2 { font-weight: 700; font-size: 44px; line-height: 50px; letter-spacing: -.015em; }
.h3 { font-weight: 600; font-size: 22px; line-height: 28px; }
.lead { font-size: 20px; line-height: 30px; color: var(--muted); }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }
.head { text-align: center; max-width: 820px; margin: 0 auto 48px; display: grid; gap: 14px; }
.head--left { text-align: left; margin-left: 0; }
.marker { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 2px; }
.pix { display: inline-block; width: .22em; height: .22em; background: var(--lime); margin-left: .06em; vertical-align: baseline; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; text-align: center; padding: 0 26px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 17px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--main { background: var(--cobalt); color: #fff; }
.btn--main:hover { background: var(--cobalt-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #b9e33a; }
.btn--sm { min-height: 44px; white-space: nowrap; padding: 0 18px; font-size: 15px; border-width: 1.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn--off { background: #ECEBE6; color: #9AA0A8; border-color: transparent; cursor: not-allowed; }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " →"; }

/* Индикатор статуса */
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.st i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.st--warn i { background: var(--warn); } .st--bad i { background: var(--bad); } .st--none i { background: #B7BCC4; }
a.st:hover { color: var(--ink); text-decoration: none; }
a.st { min-height: 44px; min-width: 44px; justify-content: center; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; padding: 14px 0; background: rgba(245, 244, 239, .92); backdrop-filter: saturate(1.2) blur(6px); }
.top__bar { display: flex; align-items: center; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 10px 12px 10px 24px; }
.logo { line-height: 44px; font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--ink); text-decoration: none !important; display: inline-flex; align-items: baseline; }
.logo .pix { width: 7px; height: 7px; margin-left: 3px; }
.nav { display: flex; gap: 22px; margin-right: auto; padding-left: 20px; border-left: 1px solid var(--line); }
.nav a { color: var(--ink); font-size: 15px; white-space: nowrap; }
.st span { white-space: nowrap; }
.top__side { display: flex; align-items: center; gap: 12px; }
.top__side .st { margin-right: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span, .burger::before, .burger::after { content: ""; display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; }

.menu { position: fixed; inset: 0; z-index: 50; background: var(--paper); padding: 20px; display: none; flex-direction: column; }
.menu.is-open { display: flex; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__close { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; }
.menu nav { display: grid; gap: 6px; margin: 36px 0 auto; }
.menu nav a { color: var(--ink); font-size: 28px; line-height: 44px; font-weight: 600; }
.menu__bottom { display: grid; gap: 14px; }
.menu__bottom .row { display: flex; justify-content: space-between; align-items: center; }

/* Закреплённая мобильная плашка */
.dock { display: none; }

/* 1. Первый экран */
.hero { padding: 48px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 14px; line-height: 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.hero .h1 { margin: 22px 0 22px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero__visual { position: relative; display: flex; justify-content: center; }
.note { position: absolute; right: -28px; top: 64%; width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(21, 24, 29, .08); display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; font-size: 14px; line-height: 19px; }
.note__ico { grid-row: span 3; width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt-soft); display: grid; place-items: center; color: var(--cobalt); }
.note b { font-weight: 600; } .note span { color: var(--muted); font-size: 13px; }
.tag-demo { position: absolute; top: 0; right: 10px; font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.tag-demo::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 6px; }

/* Телефон-рамка и экраны мини-аппов */
/* Телефон в пропорциях iPhone 17 / 18 (экран 402×874 pt, 6,3″): Dynamic Island, строка статуса,
   скругление углов по форме экрана, полоска «домой». Размер — через --w (ширина экрана). */
.phone { --w: 272px; --bz: calc(var(--w) * .03); position: relative; box-sizing: content-box; width: var(--w); aspect-ratio: 402 / 874;
  border: var(--bz) solid #1B1F26; border-radius: calc(var(--w) * .137 + var(--bz)); background: var(--white);
  display: flex; flex-direction: column; padding-top: calc(var(--w) * .13);
  box-shadow: 0 0 0 1.5px #3A404B, 0 24px 60px rgba(21, 24, 29, .16); font-size: calc(var(--w) * .05); line-height: 1.35; }
.phone::before { content: ""; position: absolute; top: calc(var(--w) * .027); left: 50%; transform: translateX(-50%);
  width: calc(var(--w) * .31); height: calc(var(--w) * .092); border-radius: 99px; background: #0B0D10; z-index: 2; }
.phone::after { content: "9:41"; position: absolute; top: calc(var(--w) * .045); left: calc(var(--w) * .1);
  font-weight: 600; font-size: calc(var(--w) * .042); line-height: 1; color: var(--ink); }
.phone__sig { position: absolute; top: calc(var(--w) * .05); right: calc(var(--w) * .085); display: flex; gap: 4px; align-items: center; }
.phone--sm { --w: 240px; }
/* Боковые кнопки: слева — кнопка действия и громкость, справа — питание */
.phone__btns { position: absolute; left: calc(var(--bz) * -1 - 3px); top: calc(var(--w) * .42); width: 3px; height: calc(var(--w) * .07);
  border-radius: 2px 0 0 2px; background: #2A2F38;
  box-shadow: 0 calc(var(--w) * .16) 0 #2A2F38, 0 calc(var(--w) * .32) 0 #2A2F38; }
.phone__btns::after { content: ""; position: absolute; top: calc(var(--w) * .16); left: calc(var(--w) + var(--bz) * 2 + 3px);
  width: 3px; height: calc(var(--w) * .22); border-radius: 0 2px 2px 0; background: #2A2F38; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 6px 14px 10px; background: var(--white); border-bottom: 1px solid #E6E9F0; }
.phone__ava { width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.phone__bar b { display: block; font-weight: 600; } .phone__bar small { display: block; color: var(--muted); font-size: 12px; }
.phone__body { position: relative; flex: 1; background: #EEF1F8; border-radius: 0 0 calc(var(--w) * .137) calc(var(--w) * .137); padding: 12px 12px calc(var(--w) * .07); display: grid; gap: 8px; align-content: start; overflow: hidden; }
.phone__body::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--w) * .022); z-index: 1; transform: translateX(-50%);
  width: calc(var(--w) * .34); height: 5px; border-radius: 3px; background: #15181D; }
.ui-card { background: var(--white); border-radius: 12px; padding: 10px 12px; }
.ui-prog { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ui-prog i { flex: 1; height: 6px; border-radius: 3px; background: #E3E7F2; position: relative; overflow: hidden; }
.ui-prog i::after { content: ""; position: absolute; inset: 0; width: var(--p, 37%); background: var(--cobalt); border-radius: 3px; }
.ui-q { font-weight: 600; font-size: 15px; line-height: 20px; }
.ui-opt { background: var(--white); border: 1.5px solid #E3E7F2; border-radius: 10px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.ui-opt.is-on { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.ui-opt.is-on::after { content: "✓"; font-weight: 700; }
.ui-btn { background: var(--cobalt); color: #fff; border-radius: 10px; text-align: center; padding: 11px; font-weight: 600; margin-top: 4px; }
.ui-bars { display: grid; gap: 7px; }
.ui-bars div { display: grid; grid-template-columns: 1fr 34px; gap: 6px; font-size: 11px; color: var(--muted); }
.ui-bars div i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #E3E7F2; position: relative; }
.ui-bars div i::after { content: ""; position: absolute; inset: 0; width: var(--p); background: var(--cobalt); border-radius: 3px; }
.ui-lime { background: var(--lime); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.ui-lime small { display: block; font-weight: 400; font-size: 11px; color: #3D4410; }
.ui-check { display: flex; gap: 8px; align-items: center; font-size: 12px; padding: 5px 0; border-bottom: 1px solid #EEF0F4; }
.ui-check::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #B9C0CC; flex: none; }
.ui-check.is-on::before { background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--cobalt); }
.ui-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 10px; color: var(--muted); }
.ui-days b { display: block; font-size: 12px; color: var(--ink); font-weight: 500; padding: 5px 0; border-radius: 7px; }
.ui-days .is-on b { background: var(--cobalt); color: #fff; }
.ui-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ui-times span { text-align: center; border: 1px solid #E3E7F2; border-radius: 8px; padding: 6px 0; font-size: 12px; background: var(--white); }
.ui-times .is-on { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.ui-photo { height: 110px; border-radius: 10px; background: #D9DDE5; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: #6B7280; }
.ui-msg { background: var(--white); border-radius: 12px 12px 12px 4px; padding: 10px 12px; display: grid; gap: 8px; }
.ui-stat { background: var(--white); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.ui-stat small { color: var(--muted); font-size: 11px; display: block; } .ui-stat b { font-size: 18px; }
.ui-tabs { display: flex; gap: 12px; font-size: 11px; color: var(--muted); border-bottom: 1px solid #E3E7F2; padding-bottom: 6px; }
.ui-tabs b { color: var(--cobalt); font-weight: 600; }

/* Карточки */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* 2. Что делаем */
.svc { display: grid; gap: 14px; align-content: start; }
.svc img { width: 88px; height: 88px; border-radius: 18px; }
.svc p { color: var(--muted); }
.bar-link { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 28px; font-size: 16px; }

/* 3. Как это выглядит */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.looks figure { margin: 0; display: grid; justify-items: center; gap: 18px; text-align: center; font-size: 17px; }

/* 4. Почему мы */
.why { display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; }
.why .num { grid-row: span 2; font-family: var(--mono); font-size: 30px; line-height: 34px; color: #9AA0A8; border-right: 1px solid var(--line); }
.why p { color: var(--muted); }
.hl { background: var(--lime); color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* 5. Как работаем */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-top: 34px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt); }
.steps li::after { content: ""; position: absolute; top: 9px; left: 26px; right: -26px; height: 2px; background: var(--cobalt); opacity: .9; }
.steps li:nth-child(3n)::after { right: 0; }
.steps li.is-key::before { background: var(--lime); }
.steps .n { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.steps p { color: var(--muted); }

/* 6. Цены */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 6px; }
.price--hot { background: var(--lime); border-color: var(--lime); }
.badge { align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--white); color: var(--cobalt); padding: 4px 10px; border-radius: 999px; }
.price .h3 { font-size: 20px; line-height: 26px; }
.price .sum { font-weight: 700; font-size: 38px; line-height: 44px; letter-spacing: -.02em; margin-top: 8px; white-space: nowrap; }
.price .sum small { font-size: 22px; font-weight: 600; }
.price .term { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price--hot .term { color: #414a14; }
.price ul { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.price--hot ul { border-color: rgba(21, 24, 29, .15); }
.price li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 21px; }
.price--hot li { border-color: rgba(21, 24, 29, .15); }
.msgr { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--cobalt-soft); border-radius: var(--r-card); padding: 22px 28px; }
.msgr__logos { display: flex; gap: 22px; padding-right: 28px; border-right: 1px solid rgba(43, 80, 232, .2); }
.msgr__logos figure { margin: 0; display: grid; justify-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.msgr__logos img { width: 40px; height: 40px; }
.msgr b { font-weight: 600; font-size: 17px; }
.msgr p { color: var(--muted); font-size: 15px; line-height: 22px; margin-top: 6px; }
.msgr a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-weight: 600; font-size: 15px; }
.fine { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }

/* 7. Примеры */
.ex { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; overflow: hidden; }
.ex .phone { justify-self: center; }
.ex__text { display: grid; gap: 12px; align-content: start; }
.ex__text p { color: var(--muted); font-size: 15px; line-height: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); }
.tags span:nth-child(2) { background: var(--cobalt-soft); border-color: var(--cobalt-soft); color: var(--cobalt); }
.demo { align-self: flex-start; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--paper); }
.demo::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--lime); margin-right: 7px; }
.ex .phone { --w: 224px; }
.soon-card { margin-top: 24px; border: 1.5px dashed #C9C6BB; border-radius: var(--r-card); padding: 40px; text-align: center; font-weight: 600; font-size: 20px; }
.soon-card::before { content: ""; display: inline-block; width: 12px; height: 12px; background: var(--lime); margin-right: 12px; }

/* 8. Надёжность */
.dark { background: var(--night); color: var(--on-night); margin-top: var(--gap-section); padding: 96px 0; }
.dark .label, .dark .small { color: var(--on-night-muted); }
.rel { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.rel__items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.rel__item { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-card); padding: 24px; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; }
.rel__item svg { grid-row: span 2; width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: #1E2530; color: #6E8BFF; }
.rel__item b { font-weight: 600; font-size: 18px; line-height: 24px; }
.rel__item p { color: var(--on-night-muted); font-size: 15px; line-height: 22px; }
.widget { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-block); padding: 28px; margin-top: 110px; }
.widget__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.widget__head b { font-size: 24px; font-weight: 600; }
.widget .st, .wrow .st { color: var(--on-night); }
.wrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #1B212B; border: 1px solid var(--night-line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.wrow span { font-weight: 500; }
.widget__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--on-night-muted); }
.widget__foot { align-items: center; }
.widget__foot a { color: #7C97FF; display: inline-flex; align-items: center; min-height: 44px; }
.rel__note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 14px; color: var(--on-night-muted); }
.rel__note::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--lime); margin-right: 10px; }

/* 9. Вопросы */
.faq { display: grid; grid-template-columns: 330px 1fr; gap: 48px; }
.faq__side { display: grid; gap: 16px; align-content: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 24px; gap: 12px; align-items: center; padding: 18px 22px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-weight: 500; color: #9AA0A8; font-size: 15px; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--cobalt); text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px 78px; color: var(--muted); font-size: 16px; line-height: 25px; }

/* 10. Финальный призыв */
.cta { background: var(--cobalt); color: #fff; border-radius: var(--r-block); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta .logo { color: #fff; font-size: 30px; margin-bottom: 40px; }
.cta .h2 { color: #fff; margin-bottom: 20px; }
.cta p { color: #DCE3FF; }
.cta .btn--lime { margin-top: 32px; height: 60px; font-size: 18px; }
.cta__nick { margin-top: 12px; color: #DCE3FF; font-size: 15px; }
.form { background: var(--white); color: var(--ink); border-radius: 22px; padding: 32px; }
[data-form-body] { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font-size: 16px; font-weight: 400; border: 1px solid #D9D7CE; border-radius: var(--r-input); padding: 13px 14px; background: #FCFCFA; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background: #FCFCFA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
.field.is-err input { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 14px; font-weight: 400; display: none; }
.field.is-err .err { display: block; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--cobalt); flex: none; }
.agree.is-err { color: var(--bad); }
.agree a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.hp { position: absolute; left: -9999px; }
.form__done { text-align: center; padding: 40px 10px; display: grid; gap: 12px; justify-items: center; }
.form__done .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 34px; font-weight: 700; }
.form__msg { font-size: 14px; color: var(--bad); }

/* 11. Футер */
.foot { background: var(--night); color: var(--on-night); padding: 72px 0 36px; }
.page { padding-bottom: var(--gap-section); }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot .logo { color: #fff; font-size: 44px; }
.foot .logo .pix { width: 11px; height: 11px; }
.foot__tag { color: var(--on-night-muted); margin-top: 10px; font-size: 18px; line-height: 26px; }
.foot h3 { font-size: 22px; margin-bottom: 18px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--on-night-muted); }
.foot__list b { color: var(--on-night); font-weight: 500; }
.foot__list a { color: var(--on-night); }
.foot__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--on-night-muted); }
.foot .st { color: var(--on-night); font-family: var(--font); }

/* Страница «Статус» */
.page { padding-top: 40px; }
.page .h1 { margin-bottom: 28px; }
.sbanner { display: flex; align-items: center; gap: 16px; border-radius: var(--r-card); padding: 22px 26px; background: var(--ok-bg); border: 1px solid #C9E8D5; }
.sbanner__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; flex: none; }
.sbanner b { font-size: 28px; line-height: 34px; font-weight: 700; flex: 1; }
.sbanner small { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.sbanner--warn { background: var(--warn-bg); border-color: #F2DE9F; } .sbanner--warn .sbanner__ico { background: var(--warn); }
.sbanner--bad { background: var(--bad-bg); border-color: #F3C3BE; } .sbanner--bad .sbanner__ico { background: var(--bad); }
.sbanner--none { background: var(--white); border-color: var(--line); } .sbanner--none .sbanner__ico { background: #B7BCC4; }
.srow { margin-top: 12px; display: grid; grid-template-columns: 260px 1fr 90px 150px; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 24px; }
.srow b { display: block; font-weight: 600; font-size: 18px; } .srow small { color: var(--muted); font-size: 14px; }
.uptime { display: grid; gap: 6px; }
.uptime__bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 30px; }
.uptime__bars i { border-radius: 2px; background: var(--ok); }
.uptime__bars i.w { background: var(--warn); } .uptime__bars i.b { background: var(--bad); } .uptime__bars i.n { background: #E3E1D9; }
.uptime__legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.srow .pct { font-family: var(--mono); font-weight: 600; font-size: 16px; text-align: right; }
.events { margin-top: 24px; }
.events ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.events li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.events li i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; transform: translateY(1px); }
.events li i.w { background: var(--warn); } .events li i.b { background: var(--bad); }
.snote { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.snote p { color: var(--muted); font-size: 15px; }

/* «Кабинет скоро» и политика */
.soon { max-width: 640px; margin: 40px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 40px; }
.soon .btn { white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
.soon .h1 { font-size: 48px; line-height: 54px; }
.soon p { color: var(--muted); }
.policy { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.toc { position: sticky; top: 110px; }
.toc ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.policy__text { max-width: 760px; display: grid; gap: 18px; }
.policy__text h2 { font-size: 24px; line-height: 30px; margin-top: 18px; scroll-margin-top: 100px; }
.policy__text p, .policy__text li { color: #353A42; font-size: 16px; line-height: 26px; }
.policy__text ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* Адаптив */
@media (max-width: 1260px) { .note { right: 0; } }
@media (max-width: 1300px) { .top__side .st span { display: none; } .nav { gap: 18px; } }
@media (min-width: 861px) and (max-width: 1100px) { #examples .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .top__side .st span { display: none; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .rel { grid-template-columns: 1fr; } .widget { margin-top: 0; }
}
@media (max-width: 860px) {
  :root { --gap-section: 72px; }
  body { font-size: 16px; line-height: 25px; }
  .wrap { padding: 0 20px; }
  .h1 { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 28px; line-height: 34px; }
  .h3 { font-size: 19px; line-height: 25px; }
  .lead { font-size: 17px; line-height: 26px; }
  .small { font-size: 13px; line-height: 18px; }
  .label { font-size: 12px; line-height: 16px; }
  .head { text-align: left; margin-bottom: 28px; }
  .btn { min-height: 52px; }
  .top { padding: 10px 0; }
  .top__bar { padding: 8px 8px 8px 16px; gap: 10px; border-radius: 16px; }
  .logo { font-size: 22px; }
  .top__side { gap: 6px; margin-left: auto; }
  .top__side .st { margin-right: 4px; }
  .top__side .btn--main { display: none; }
  .burger { display: block; }
  .hero { padding-top: 20px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__actions .btn { width: 100%; }
  .facts { display: grid; gap: 8px; }
  .facts li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
  .note { position: static; width: 100%; margin-top: -24px; }
  .hero__visual { flex-direction: column; align-items: center; }
  .grid3, .grid4, .looks, .steps, .rel__items { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
  .svc { grid-template-columns: 72px 1fr; gap: 6px 16px; }
  .svc img { grid-row: span 2; width: 72px; height: 72px; border-radius: 14px; }
  .bar-link { padding: 16px 20px; }
  .looks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
  .looks figure { flex: 0 0 82%; scroll-snap-align: center; }
  .steps { gap: 28px; padding-left: 34px; border-left: 2px solid #C9D3F8; margin-left: 9px; }
  .steps li { padding-top: 0; }
  .steps li::before { left: -45px; top: 2px; }
  .steps li::after { display: none; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .msgr { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .msgr__logos { border-right: 0; padding-right: 0; }
  .dark { padding: 72px 0; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq summary { grid-template-columns: 34px 1fr 20px; padding: 16px; font-size: 16px; }
  .faq details p { padding: 0 16px 18px 62px; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; gap: 28px; }
  .cta .logo { display: none; }
  .cta .btn--lime { width: 100%; }
  .form { padding: 22px; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot .logo { font-size: 36px; }
  .srow { grid-template-columns: 1fr auto; gap: 12px; }
  .srow .uptime { grid-column: 1 / -1; order: 3; }
  .srow .pct { order: 2; }
  .srow .st { order: 1; }
  .sbanner b { font-size: 20px; line-height: 26px; }
  .sbanner { flex-wrap: wrap; }
  .snote { flex-direction: column; align-items: stretch; }
  .policy { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .soon { padding: 24px; }
  .soon .h1 { font-size: 32px; line-height: 38px; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 244, 239, .95); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .2s; }
  .dock.is-on { transform: none; }
  .dock .btn { width: 100%; }
  body.has-dock { padding-bottom: 80px; }
}
@media (max-width: 370px) {
  .top__bar { padding-left: 12px; gap: 6px; }
  .logo { font-size: 20px; }
  .top__side { gap: 2px; }
  .top__side .btn--sm { padding: 0 12px; }
  .top__side .st { margin-right: 0; }
  .btn:not(.btn--sm) { padding: 0 14px; font-size: 16px; gap: 8px; }
  .cta .btn--lime { font-size: 16px; }
  .chip { letter-spacing: .03em; font-size: 11px; padding: 6px 12px; }
}
@media (max-width: 420px) {
  .why { grid-template-columns: minmax(0, 1fr); }
  .why .num { grid-row: auto; border-right: 0; font-size: 22px; line-height: 26px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc img { grid-row: auto; }
  .cta .h2 { font-size: 26px; line-height: 32px; }
}
/* Планшет: между телефоном и ноутбуком — не растягивать мобильную раскладку */
@media (min-width: 600px) and (max-width: 860px) {
  .hero__actions .btn { width: auto; }
  .facts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .facts li { background: none; border: 0; padding: 0; }
  .grid3, .rel__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta .btn--lime { width: auto; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .note { position: absolute; width: 250px; margin-top: 0; right: 0; }
  .hero__visual { align-items: center; }
  .looks figure { flex-basis: 46%; }
}
@media (max-width: 330px) {
  .top__bar { padding-left: 10px; }
  .logo { font-size: 18px; }
  .top__side .btn--sm { padding: 0 10px; }
  .burger { width: 40px; padding: 8px; }
  .top__side { gap: 0; }
  .top__side a.st { display: none; }  /* статус — в меню и футере */
}
