:root {
  --bg: #ffffff;
  --alt: #f5f7fb;
  --text: #16181d;
  --muted: #5f6672;
  --accent: #2f5fff;
  --accent-dark: #1b3fd1;
  --border: #e3e6ec;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---- Навигация ---- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { font-weight: 700; font-size: 22px; color: var(--accent); letter-spacing: -0.3px; }
.nav nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav nav a:hover { color: var(--accent); }

/* ---- Первый экран ---- */
.hero {
  padding: 84px 0 72px;
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 44px; line-height: 1.18; margin: 0 0 22px;
  letter-spacing: -0.8px; font-weight: 700;
}
.lead { font-size: 19px; color: var(--muted); max-width: 760px; margin: 0 0 40px; }

.hero-metrics { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-metrics div { display: flex; flex-direction: column; }
.hero-metrics b { font-size: 26px; color: var(--accent); }
.hero-metrics span { font-size: 14px; color: var(--muted); max-width: 220px; }

/* ---- Секции ---- */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 30px; margin: 0 0 24px; letter-spacing: -0.4px; }
.section p { max-width: 820px; }
.section-lead { color: var(--muted); font-size: 17px; margin-bottom: 36px; }

/* ---- Карточки возможностей ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Путь пользователя ---- */
.journey { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.journey li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 62px;
  border-left: 2px solid var(--border);
  margin-left: 18px;
}
.journey li:last-child { border-left-color: transparent; padding-bottom: 0; }
.journey li::before {
  content: counter(step);
  position: absolute; left: -19px; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.journey h3 { margin: 4px 0 8px; font-size: 18px; }
.journey p { margin: 0; color: var(--muted); }

/* ---- Скриншоты ---- */
figure { margin: 0 0 44px; }
figure img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 6px 28px rgba(20,30,60,0.09);
  background: #fff;
}
figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---- Стоимость ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.price-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 26px;
  display: flex; flex-direction: column;
}
.price-label { font-size: 14px; color: var(--muted); }
.price-value { font-size: 30px; font-weight: 700; color: var(--accent); margin: 8px 0 2px; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.price-card p { margin: 0; font-size: 15px; color: var(--muted); }
.price-footnote { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---- Компания ---- */
.company dl { display: grid; grid-template-columns: 260px 1fr; gap: 0; margin: 0; max-width: 860px; }
.company dt {
  font-size: 14px; color: var(--muted);
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.company dd {
  margin: 0; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px;
}
.company a { color: var(--accent); }
.todo { color: #b26a00; background: #fff6e5; padding-left: 8px !important; border-radius: 4px; }

/* ---- Подвал ---- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); background: #fff; }
.footer p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.footer-note { font-size: 13px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 31px; }
  .lead { font-size: 17px; }
  .section h2 { font-size: 25px; }
  .company dl { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; border-bottom: none; }
  .nav nav { display: none; }
}
