/* Пульс Звонки — светлая система в фирменных цветах «Пульса». */
:root {
  --bg: #F4F6F3;
  --surface: #FFFFFF;
  --surface-soft: #F8FAF8;
  --ink: #18221E;
  --muted: #77817C;
  --dim: #9AA49E;
  --line: #E5EAE6;
  --sidebar: #14231F;
  --sidebar-soft: #21332D;
  --accent: #B8EF68;
  --accent-dark: #4D7927;
  --green: #27775B;
  --red: #CE5A5A;
  --orange: #C68035;
  --shadow: 0 12px 40px rgba(25, 44, 35, .07);
  --radius: 16px;
  --radius-lg: 26px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(136, 191, 79, .28); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 .55em; font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { color: var(--muted); font-size: 13px; }
.lime { color: var(--accent); }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1080px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: var(--sidebar); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1180px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand:hover { color: #fff; text-decoration: none; }
.brand .mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 28px; height: 29px; }
.brand .mark i { display: block; width: 6px; border-radius: 4px; background: var(--accent); }
.brand .mark i:nth-child(1) { height: 17px; }
.brand .mark i:nth-child(2) { height: 28px; }
.brand .mark i:nth-child(3) { height: 22px; }
.brand-name { font-size: 22px; }
.brand-sub { margin: 4px 0 0 2px; color: #7E958A; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.nav a { color: #AFC0B6; text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .who { color: #748A80; font-size: 12px; }
.nav .btn { min-height: 38px; padding: 0 14px; background: var(--accent); color: var(--sidebar); box-shadow: none; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border: 1px solid rgba(184,239,104,.28); border-radius: 999px; background: rgba(184,239,104,.10); color: var(--accent); font-size: 12px; font-weight: 800; }
.pill--zero { border-color: rgba(206,90,90,.35); background: rgba(206,90,90,.12); color: #FF9B9B; }
main { padding: 34px 0 72px; }
footer { padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Кнопки и формы */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; background: var(--sidebar); color: #fff; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: #25453A; color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn--big { min-height: 54px; padding: 0 26px; background: var(--accent); color: var(--sidebar); box-shadow: 0 8px 24px rgba(77, 121, 39, .18); }
.btn--big:hover { background: #C9F583; color: var(--sidebar); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--secondary:hover { background: var(--surface-soft); color: var(--ink); border-color: #C8D2CA; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--small { min-height: 36px; padding: 0 13px; border-radius: 9px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; color: #47534D; font-size: 13px; font-weight: 800; }
.field label .hint { color: var(--muted); font-weight: 500; }
.field .help { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border: 1px solid #DDE4DF; border-radius: 10px;
  background: #fff; color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #A3ACA6; }
input:focus, textarea:focus { border-color: #88BF4F; outline: 3px solid rgba(136,191,79,.18); }
textarea { min-height: 92px; resize: vertical; }
input[type="file"] { width: 100%; color: var(--muted); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--ink); font-weight: 700; cursor: pointer; }
.mono { font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; }
.code-input { font-size: 27px; letter-spacing: .30em; text-align: center; }

/* Карточки, статусы, таблицы */
.card { margin-bottom: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card--tight { padding: 20px 22px; }
.note { margin: 0 0 18px; padding: 14px 17px; border: 1px solid; border-radius: 12px; font-size: 14px; }
.note--soft { border-color: #DCECC5; background: #F2F8E7; color: #40512F; }
.note--warn { border-color: #F0DFB8; background: #FFF8E8; color: #76551D; }
.note--err { border-color: #EFD0D0; background: #FFF1F1; color: #A04444; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.stat { color: var(--green); font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.stat--zero { color: var(--red); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FAFBFA; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
td { padding: 13px 14px; border-bottom: 1px solid #EDF0ED; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.table-card { padding: 0; overflow-x: auto; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.progress { height: 9px; overflow: hidden; border-radius: 999px; background: #E8EEE6; }
.progress > div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7FAF45, var(--accent)); transition: width .35s; }

/* Главная: тёмный hero + светлые секции */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 48px; align-items: center; margin-top: 4px; padding: 52px; overflow: hidden; border-radius: 30px; background: var(--sidebar); color: #fff; }
.hero::after { position: absolute; right: -220px; bottom: -220px; width: 560px; height: 560px; border: 1px solid rgba(184,239,104,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(184,239,104,.025), 0 0 0 180px rgba(184,239,104,.015); content: ""; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { margin-bottom: 22px; font-size: 54px; font-weight: 800; line-height: 1.05; letter-spacing: -.055em; }
.hero .lead { max-width: 530px; margin-bottom: 28px; color: #B4C2BB; font-size: 17px; line-height: 1.7; }
.hero .tiny { margin-top: 12px; color: #7F968A; }
.preview { border: 1px solid #2B3D36; border-radius: 20px; padding: 22px; background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.preview .ph { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; color: #8FA39A; font-size: 12px; }
.preview .ph b { color: #fff; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; background: rgba(20,35,31,.72); }
.kpi .v { color: var(--accent); font-size: 23px; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.kpi .l { margin-top: 5px; color: #8FA39A; font-size: 11px; line-height: 1.35; }
.bars { display: grid; gap: 8px; margin-bottom: 14px; }
.bar { display: grid; grid-template-columns: 150px 1fr 38px; gap: 10px; align-items: center; font-size: 12px; }
.bar .t { overflow: hidden; color: #9FB1A7; text-overflow: ellipsis; white-space: nowrap; }
.bar .b { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.bar .b > i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.bar .n { color: #DDE7E0; font-weight: 800; text-align: right; }
.quote { padding: 9px 14px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: rgba(184,239,104,.06); color: #DCE6DF; font-size: 13px; }
.quote .q { margin-bottom: 5px; color: #9FB1A7; }
.quote .how { color: var(--accent); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 0; }
.strip > div { padding: 21px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.strip .v { font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.strip .v span { color: var(--green); }
.strip .l { margin-top: 6px; color: var(--muted); font-size: 13px; }
.section { margin-top: 74px; }
.section > h2 { margin-top: 0; }
.section .lead { max-width: 680px; color: var(--muted); font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, transform .15s; }
.step:hover { border-color: #BCD1A9; transform: translateY(-2px); }
.step .n { margin-bottom: 12px; color: var(--accent-dark); font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.step h3 { margin-bottom: 7px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature .ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #DCECC5; border-radius: 12px; background: #F1F8E5; color: #6D963F; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 2px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 24px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; }
.checks li::before { position: absolute; top: 13px; left: 14px; width: 17px; height: 17px; border-radius: 6px; background: var(--accent); content: ""; }
.checks li::after { position: absolute; top: 17px; left: 20px; width: 5px; height: 9px; border: solid var(--sidebar); border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.sample { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; }
.sample .tag { display: inline-block; margin: 0 6px 6px 0; padding: 3px 8px; border: 1px solid #DCECC5; border-radius: 7px; background: #F2F8E7; color: #617D34; font-size: 11px; font-weight: 800; }
.sample .line { padding: 13px 0; border-top: 1px solid var(--line); }
.sample .line:first-of-type { padding-top: 0; border-top: 0; }
.sample .code { color: var(--accent-dark); font-weight: 800; }
.sample .was { color: var(--muted); }
.sample .was::before { color: var(--dim); content: "Как было: "; }
.sample .need::before { color: var(--dim); content: "Как надо: "; }
.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.price { position: relative; padding: 23px 15px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; transition: border-color .15s, transform .15s; }
.price:hover { border-color: #AFC893; transform: translateY(-2px); }
.price .calls { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.price .calls small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 500; }
.price .sum { margin-top: 14px; color: var(--green); font-size: 17px; font-weight: 800; }
.price .per { margin-top: 4px; color: var(--muted); font-size: 12px; }
.price--free { border-color: var(--sidebar); background: var(--sidebar); color: #fff; }
.price--free .calls small, .price--free .per { color: #8FA39A; }
.price--free .sum { color: var(--accent); }
.price .tag { position: absolute; top: -11px; left: 50%; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--sidebar); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: translateX(-50%); }
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.limits li { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 14px; }
.limits li b { color: var(--ink); }
.faq details { padding: 16px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--accent-dark); font-size: 21px; line-height: 1; content: "+"; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 74px; padding: 38px 42px; border-radius: 26px; background: var(--sidebar); color: #fff; }
.cta h2 { margin: 0 0 7px; }
.cta p { margin: 0; color: #9FB1A7; }

/* Отчёт и документы */
.report { padding: 44px 52px; border: 1px solid var(--line); border-radius: 18px; background: #FFFEFC; box-shadow: var(--shadow); color: var(--ink); }
.report h1 { font-size: 30px; }
.report h2 { margin-top: 1.7em; padding-top: .7em; border-top: 1px solid var(--line); font-size: 21px; }
.report h3 { margin-top: 1.3em; font-size: 17px; }
.report p, .report li { font-size: 15px; }
.report table { margin: .9em 0; font-size: 14px; }
.report th { background: #F3F6F1; }
.report blockquote { margin: .7em 0; padding-left: .9em; border-left: 3px solid #C7DC9A; color: var(--muted); }
.doc h2 { font-size: 20px; }
.doc p, .doc li { font-size: 15px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 36px 28px; }
  .hero h1 { font-size: 40px; }
  .strip, .steps, .features, .checks, .limits { grid-template-columns: 1fr; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 30px 26px; }
  .section { margin-top: 56px; }
}

@media (max-width: 620px) {
  html, body { overflow-x: hidden; }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .top { position: static; }
  .top .wrap { height: 62px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .nav { gap: 12px; flex-wrap: nowrap; }
  .nav a[href^="/#"], .nav a[href="/company"], .nav a[href="/upload"] { display: none; }
  .nav .who:not(a) { display: none; }
  .pill { padding: 3px 9px; font-size: 11px; }
  main { padding-top: 24px; }
  .hero { margin-right: -4px; margin-left: -4px; padding: 30px 20px; border-radius: 22px; }
  .hero h1 { font-size: 33px; }
  .hero .lead { font-size: 16px; }
  .btn { min-height: 46px; padding: 10px 16px; white-space: normal; text-align: center; }
  .btn--big { min-height: 52px; font-size: 15px; }
  .btn--small { min-height: 36px; padding: 8px 13px; }
  .card { padding: 20px; }
  .kpis { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 112px 1fr 34px; }
  .prices { grid-template-columns: 1fr; }
  .report { padding: 24px 20px; }
}
