:root {
  --ink: #16181f;
  --muted: #5b6070;
  --accent: #0B347C;
  --accent-dark: #082558;
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --line: #e6e8f0;
  --radius: 14px;
  --tg: #2aabee;
  --wa: #25d366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

h2 { font-size: 34px; margin-bottom: 36px; letter-spacing: -0.01em; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.logo-ic { width: 26px; height: 26px; display: block; margin-right: 8px; }

.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav a:hover, .nav a:focus-visible { color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover, .btn:focus-visible { background: var(--accent-dark); }

.btn-small { padding: 10px 18px; font-size: 14px; border-radius: 8px; }

.btn-light { background: #fff; color: var(--accent); }

.btn-light:hover, .btn-light:focus-visible { background: #eef3fb; }

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }

/* Одноэкранная главная: hero занимает вьюпорт, подвал прижат к низу без зазора */
body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.home .footer { margin-top: auto; }

.hero-full {
  min-height: calc(100vh - 62px - 80px);
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px 0 30px;
}

.hero-full .hero-in { width: 100%; }

.hero-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 46px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 46ch;
}

.hero-cta { margin-bottom: 28px; }

.hero-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink);
}

.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone {
  width: 290px;
  border-radius: 36px;
  background: #111;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(30, 30, 80, 0.25);
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  padding: 26px 20px 18px;
  text-align: center;
}

/* Демо-карточка внутри телефона */
.pc-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 3px #eef3fb;
}

.pc-initials {
  background: linear-gradient(135deg, var(--accent), #2a5cb8);
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-name { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }

.pc-role { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.pc-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pca {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pca svg { width: 18px; height: 18px; fill: var(--accent); }

.pc-quote {
  font-size: 12px;
  line-height: 1.5;
  color: #3c4152;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  text-align: left;
}

.pc-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  padding: 11px;
}

.pc-list { text-align: left; margin-bottom: 8px; }

.pcl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 2px;
  border-bottom: 1px solid #eef0f5;
}

.pcl span { color: var(--muted); font-size: 16px; line-height: 1; }

.pc-url { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }

.card-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #2a5cb8);
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  object-fit: cover;
}

.card-name { font-weight: 700; font-size: 19px; }

.card-role { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.card-actions {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.ca {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.ca-call { background: var(--accent); }
.ca-tg { background: var(--tg); }
.ca-wa { background: var(--wa); }

.card-links { display: grid; gap: 8px; margin-bottom: 16px; }

.cl {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cl i {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.card-url {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.qr-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  max-width: 320px;
}

.qr-chip svg { width: 44px; height: 44px; color: var(--ink); flex-shrink: 0; }

.qr-chip span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }

.section.alt { background: var(--bg-alt); }

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.section:not(.alt) .feat { background: var(--bg-alt); border-color: transparent; }

.feat-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.ic-a { background: var(--accent); }
.ic-b { background: #0ea5a4; }
.ic-c { background: #e0672f; }

.feat h3 { font-size: 18px; margin-bottom: 8px; }

.feat p { font-size: 15px; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step h3 { font-size: 18px; margin-bottom: 8px; }

.step p { font-size: 15px; color: var(--muted); }

/* Features grid */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fitem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  gap: 4px;
}

.fitem b { font-size: 16px; }

.fitem span { font-size: 14px; color: var(--muted); }

/* Examples */
.ex {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.ex-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ex-head b { display: block; font-size: 16px; }

.ex-head span { font-size: 13px; color: var(--muted); }

.ex-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ex-1 { background: #b4589b; }
.ex-2 { background: #3a7bd5; }
.ex-3 { background: #0ea5a4; }

.ex p { font-size: 15px; color: var(--muted); }

/* Pricing */
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.price-hot { border-color: var(--accent); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12); }

.price-name { font-weight: 700; font-size: 17px; margin-bottom: 6px; }

.price-sum { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }

.price-sum span { font-size: 14px; font-weight: 500; color: var(--muted); }

.price-card ul { list-style: none; display: grid; gap: 8px; }

.price-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--muted);
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Final CTA */
.final {
  background: linear-gradient(135deg, var(--accent) 0%, #1d55b8 100%);
  color: #fff;
  padding: 72px 0;
}

.final-in {
  max-width: 640px;
  text-align: center;
}

.final h2 { margin-bottom: 14px; }

.final p { font-size: 17px; opacity: 0.92; margin-bottom: 28px; }

.final-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.8;
}

/* Footer */
/* Для кого */
.who-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.wt {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.soon {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: #eef3fb;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Страницы документов */
.doc-page { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }

.doc-page h1 { font-size: 30px; margin-bottom: 6px; }

.doc-page .doc-date { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.doc-page h2 { font-size: 20px; margin: 24px 0 10px; }

.doc-page p { font-size: 15px; color: #3c4152; margin-bottom: 12px; }

.footer { padding: 22px 0; background: var(--accent); }

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-decoration: none;
  margin-left: 18px;
}

.footer-links a:hover { color: #fff; }

.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-f { font-size: 17px; color: #fff; }

.footer .logo span { color: #a9c1ec; }

.footer .footer-note { font-size: 13px; color: rgba(255, 255, 255, 0.78); }

/* Mobile */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  h2 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .section { padding: 56px 0; }
}

@media (max-width: 380px) {
  .phone { width: 100%; max-width: 270px; }
  .ca { font-size: 10px; padding: 6px 8px; }
}
