/* Сайт svodkalive.ru — в тон кабинету: ночь, янтарь, Onest. Без внешних шрифтов, скриптов и трекеров. */
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap;
  src: url("/fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap;
  src: url("/fonts/onest-latin-400-normal.woff2") format("woff2"); 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+2122, U+2191-2193, U+2212, U+2215, U+25B2, U+25BC, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap;
  src: url("/fonts/onest-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap;
  src: url("/fonts/onest-latin-700-normal.woff2") format("woff2"); 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+2122, U+2191-2193, U+2212, U+2215, U+25B2, U+25BC, U+FEFF, U+FFFD; }

:root {
  --night: #0E1A3A;        /* как лист кабинета */
  --night-2: #16244D;      /* поднятые поверхности на ночи */
  --line-night: #2A3A6B;
  --on-night: #EEF1F8;
  --on-night-dim: #A3AECC;
  --paper: #F3F5FA;        /* холодный светлый фон разделов */
  --paper-2: #E6EAF3;
  --ink: #141C35;
  --ink-dim: #5D6584;
  --amber: #FF8C1A;        /* единственный акцент */
  --amber-ink: #2B1600;
  --vine: #3E8E5A;
  --gutter: 20px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 "Onest", system-ui, sans-serif;
  font-feature-settings: "tnum" 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--amber); color: var(--amber-ink); padding: 8px 12px; }

h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 9.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 5.2vw, 44px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 2.3vw, 21px); line-height: 1.5; max-width: 34em; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: #FF9B36; }
.btn-ghost { border: 1.5px solid currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* шапка */
.top { background: var(--night); color: var(--on-night); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; text-decoration: none; }
.logo svg { width: 40px; height: 20px; }
.nav { display: none; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-night-dim); }
.nav a:hover, .nav a[aria-current] { color: var(--on-night); }
.mobile-nav { padding: 0 var(--gutter) 10px; background: transparent; border: 0; border-radius: 0; }
.mobile-nav summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 700; }
.mobile-nav nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding-bottom: 8px; }
.mobile-nav nav a { min-height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; text-decoration: none; overflow-wrap: anywhere; }
.analytics-settings { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
.cookie p { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cookie .cookie-actions button { margin: 0; min-height: 44px; }
.cookie button[data-choice=no] { background: transparent; color: var(--on-night); border: 1px solid var(--on-night-dim); }
@media (min-width: 980px) { .mobile-nav { display: none; } }
.bar-actions { display: flex; gap: 8px; margin-left: auto; }
.bar-actions .btn { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 11px; }
@media (max-width: 360px) { .bar { gap: 8px; } }
@media (min-width: 980px) { .nav { display: flex; } .bar-actions { margin-left: 8px; } }

/* первый экран */
.hero { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-top: 28px; position: relative; z-index: 1; }
.hero h1 { max-width: 11em; }
.hero .lead { color: var(--on-night-dim); margin: 22px 0 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--on-night-dim); }
.pulse-bg { position: absolute; left: 0; right: 0; top: 52%; width: 100%; height: 220px; z-index: 0; pointer-events: none; }
.pulse-bg path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .3s cubic-bezier(.6, .1, .3, 1) forwards; opacity: .9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.phone { width: min(300px, 78vw); margin: 0 auto; border-radius: 38px; padding: 9px; background: #060C1E;
  box-shadow: 0 0 0 1.5px var(--line-night), 0 40px 80px -30px rgba(0, 0, 0, .7); position: relative; }
.phone img { border-radius: 30px; aspect-ratio: 780 / 1560; object-fit: cover; object-position: top; width: 100%; height: auto; }
.hero .phone { margin-bottom: -120px; }
.hero-after { height: 120px; background: var(--paper); }
.hero-after + .sec { padding-top: 40px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 56px; }
  .hero .phone { margin: 0 0 -150px auto; width: 320px; }
  .hero-text { padding-bottom: 130px; }
  .pulse-bg { top: auto; bottom: 0; height: 120px; }
}

/* разделы */
.sec { padding: 72px 0; }
.sec-head { max-width: 40em; margin-bottom: 36px; }
.sec-head p { color: var(--ink-dim); margin-top: 14px; font-size: 18px; }
.dark { background: var(--night); color: var(--on-night); }
.dark .sec-head p { color: var(--on-night-dim); }

/* боль: вопросы владельца в течение дня */
.day { display: grid; gap: 40px; }
.asks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.asks li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; }
.asks time { font-size: 14px; color: var(--ink-dim); padding-top: 12px; font-variant-numeric: tabular-nums; }
.asks q { quotes: none; display: inline-block; background: #fff; border: 1px solid var(--paper-2); padding: 10px 14px;
  border-radius: 16px 16px 16px 4px; font-size: 17px; justify-self: start; }
.asks .wait q { background: transparent; border-style: dashed; color: var(--ink-dim); }
.answer { border-left: 3px solid var(--amber); padding: 4px 0 4px 20px; }
.answer h3 { font-size: 24px; }
.answer p { margin-top: 12px; color: var(--ink-dim); }
@media (min-width: 900px) { .day { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }

/* как работает: три шага */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 19px; background: var(--amber); color: var(--amber-ink); }
.steps p { color: var(--on-night-dim); margin-top: 8px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps li { padding: 64px 0 0; }
  .steps li::before { top: 0; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 14px); }
}
.more { margin-top: 32px; font-weight: 700; }

/* возможности: экран + объяснение */
.feature { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--paper-2); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature .phone { width: min(260px, 70vw); margin: 0; }
.feature .phone img { aspect-ratio: 780 / 1200; }
.feature h3 { font-size: clamp(24px, 3.4vw, 30px); letter-spacing: -0.02em; }
.feature p { margin-top: 14px; color: var(--ink-dim); max-width: 32em; }
.feature .tag { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--ink-dim); }
.feature .tag b { color: var(--ink); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 300px 1fr; gap: 72px; align-items: center; padding: 56px 0; }
  .feature:nth-of-type(even) { grid-template-columns: 1fr 300px; }
  .feature:nth-of-type(even) .phone { order: 2; }
}

/* безопасность коротко */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.facts li { padding: 18px 0; border-top: 1px solid var(--line-night); display: grid; gap: 4px; }
.facts b { font-size: 19px; }
.facts span { color: var(--on-night-dim); }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* финальный призыв */
.cta { text-align: left; }
.cta h2 { max-width: 14em; }
.cta p { margin: 16px 0 28px; color: var(--ink-dim); max-width: 34em; }

/* подвал */
.foot { background: var(--night); color: var(--on-night-dim); font-size: 15px; padding: 40px 0 48px; }
.foot-grid { display: grid; gap: 28px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-night); text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .logo { color: var(--on-night); margin-bottom: 8px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-bg path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- внутренние страницы ---------- */
.page-hero { background: var(--night); color: var(--on-night); padding: 40px 0 48px; }
.page-hero h1 { font-size: clamp(34px, 6.4vw, 56px); max-width: 16em; }
.page-hero .lead { color: var(--on-night-dim); margin-top: 16px; }
.crumbs { font-size: 15px; color: var(--on-night-dim); margin-bottom: 14px; }
.crumbs a { color: var(--on-night-dim); }
.doc { max-width: 760px; }
.doc h2 { margin: 52px 0 14px; font-size: clamp(26px, 4vw, 34px); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol, .doc table, .doc figure, .doc details { margin-top: 12px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc code { background: var(--paper-2); padding: 1px 6px; border-radius: 5px; font-size: 15px; overflow-wrap: anywhere; }
.doc figure { margin-left: 0; margin-right: 0; }
.doc figure svg { width: 100%; height: auto; border: 1px solid var(--paper-2); border-radius: 12px; background: #fff; }
.doc figcaption { color: var(--ink-dim); font-size: 14px; margin-top: 6px; }
.note { background: #FFF1E2; border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; padding: 12px 16px; }
.step { border-left: 3px solid var(--amber); padding: 2px 0 2px 18px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { border-bottom: 1px solid var(--paper-2); padding: 10px 8px; text-align: left; vertical-align: top; }
.doc th { font-weight: 700; }
details { border: 1px solid var(--paper-2); border-radius: 12px; padding: 12px 16px; background: #fff; }
details + details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
.objs { columns: 2; column-gap: 28px; font-size: 15px; }
@media (max-width: 600px) { .objs { columns: 1; } }
.objs { list-style: none; padding-left: 0; }
.objs-sec { break-inside: avoid; font-weight: 700; margin-bottom: 10px; }
.objs-sec ul { font-weight: 400; padding-left: 18px; margin: 4px 0 0; }
button.copy { margin-top: 10px; font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--paper-2); background: #fff; }
button.copy:hover { border-color: var(--amber); }

/* путь клиента: шаги со сроком */
.path { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.path > li { counter-increment: step; position: relative; padding: 0 0 36px 64px; }
.path > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; background: var(--amber); color: var(--amber-ink); }
.path > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--amber) 0 8px, transparent 8px 14px); }
.path .time { display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--paper-2);
  border-radius: 8px; padding: 2px 10px; }
.path p, .path ul { margin-top: 10px; color: var(--ink-dim); }
.path ul { padding-left: 20px; }

/* разделы кабинета (возможности) */
.areas { display: grid; gap: 0; }
.area { display: grid; gap: 24px; padding: 40px 0; border-top: 1px solid var(--paper-2); }
.area:first-child { border-top: 0; padding-top: 0; }
.area .phone { width: min(240px, 66vw); margin: 0; }
.area .phone img { aspect-ratio: 780 / 1300; }
.area ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-dim); }
.area li + li { margin-top: 6px; }
.area li b { color: var(--ink); }
@media (min-width: 900px) { .area { grid-template-columns: 260px 1fr; gap: 64px; align-items: start; } }
.levels-grid { display: grid; gap: 16px; margin-top: 24px; }
.level { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--paper-2); }
.level h3 { display: flex; align-items: center; gap: 10px; }
.level h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--dot, var(--vine)); flex: none; }
.level p { margin-top: 8px; color: var(--ink-dim); }
.level.l2 { --dot: #E3B23C; } .level.l3 { --dot: #4C7BD9; } .level.l4 { --dot: #8E5BD0; }
@media (min-width: 900px) { .levels-grid { grid-template-columns: repeat(3, 1fr); } .levels-grid.four { grid-template-columns: repeat(2, 1fr); } }

/* цены */
.plans { display: grid; gap: 16px; }
.plan { background: #fff; border: 1px solid var(--paper-2); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price-before { color: var(--ink-dim); font-size: 19px; font-weight: 400; text-decoration-thickness: 1.5px; }
.launch-prices { margin-bottom: 20px; font-weight: 600; }
.plan .per { color: var(--ink-dim); font-size: 15px; }
.plan ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-dim); }
.plan.main { border: 2px solid var(--amber); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.price-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.price-table td { padding: 14px 8px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.price-table small { display: block; color: var(--ink-dim); font-size: 14px; margin-top: 2px; }

/* скачать */
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--paper-2);
  border-radius: 18px; padding: 20px 24px; }
.download .meta { color: var(--ink-dim); font-size: 15px; }
.download .btn { min-width: 0; max-width: 100%; white-space: normal; text-align: center; padding-top: 12px; padding-bottom: 12px; }
.shots { display: grid; gap: 20px; }
.shot img, .shot svg { border-radius: 12px; border: 1px solid var(--paper-2); background: #fff; width: 100%; height: auto; }
.shot figcaption { margin-top: 8px; color: var(--ink-dim); font-size: 15px; }
@media (min-width: 900px) { .shots { grid-template-columns: 1fr 1fr; } }

/* вопросы */
.faq details { padding: 16px 20px; }
.faq summary { font-size: 18px; }
.faq details p { color: var(--ink-dim); }

/* заявка */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.lead-grid > *, form.lead > * { min-width: 0; }
@media (min-width: 900px) { .lead-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
form.lead { display: grid; gap: 16px; background: #fff; border: 1px solid var(--paper-2); border-radius: 18px; padding: 24px; }
form.lead label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
form.lead label span { font-weight: 400; color: var(--ink-dim); }
form.lead input:not([type=checkbox]), form.lead select, form.lead textarea { font: inherit; font-size: 17px; color: var(--ink);
  min-height: 50px; min-width: 0; padding: 10px 14px; border: 1.5px solid #C9CFDF; border-radius: 12px; background: #fff; width: 100%; }
form.lead textarea { min-height: 96px; resize: vertical; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { border-color: var(--amber); outline: none;
  box-shadow: 0 0 0 3px rgba(255, 140, 26, .25); }
form.lead .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink-dim); }
form.lead .consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--amber); flex: none; }
form.lead .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.lead .btn { justify-self: start; max-width: 100%; white-space: normal; text-align: center; padding-top: 12px; padding-bottom: 12px; border: 0; cursor: pointer; font-family: inherit; }
.form-error { background: #FBE9EC; color: #8A1C30; border-radius: 12px; padding: 12px 14px; }
.contacts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.contacts b { display: block; font-size: 15px; color: var(--ink-dim); font-weight: 400; }
.contacts a, .contacts span { font-size: 20px; font-weight: 700; text-decoration: none; }
.placeholder { border: 2px dashed #C9CFDF; border-radius: 16px; padding: 24px; color: var(--ink-dim); text-align: center; }
.placeholder.photo { aspect-ratio: 4 / 3; display: grid; place-items: center; max-width: 420px; }
.doc-actions { margin-top: 36px; }

/* служебная карточка для превью в мессенджерах (og.jpg снимается с /og-card/ при ширине 1200×630) */
.og { position: fixed; inset: 0; z-index: 50; background: var(--night); color: var(--on-night); display: grid;
  grid-template-columns: 1fr 360px; align-items: center; gap: 48px; padding: 0 80px; overflow: hidden; }
.og .logo { font-size: 30px; gap: 14px; margin-bottom: 40px; } .og .logo svg { width: 60px; height: 30px; }
.og h1 { font-size: 76px; } .og p { margin-top: 24px; font-size: 26px; color: var(--on-night-dim); max-width: 18em; }
.og .phone { width: 340px; margin: 0; align-self: start; margin-top: 60px; }

/* уведомление о cookie и Метрике (site.js) */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 600px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-radius: 14px;
  background: var(--night); color: var(--on-night); font-size: 14px; line-height: 1.4;
  box-shadow: 0 8px 24px rgba(14, 26, 58, .25); }
.cookie a { color: var(--amber); }
.cookie button { margin-left: auto; padding: 6px 16px; border: 0; border-radius: 8px; background: var(--amber);
  color: var(--night); font: inherit; font-weight: 600; cursor: pointer; }
