:root {
  --bg: #f7f9fb;
  --bg-soft: #eef3f7;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #2b3440;
  --text-soft: #5a6675;
  --text-muted: #8a96a5;
  --accent: #5b8def;
  --accent-soft: #e8f0fd;
  --accent-strong: #3f73d4;
  --success: #5bb98c;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(43, 52, 64, 0.04), 0 8px 24px rgba(43, 52, 64, 0.05);
  --shadow-sm: 0 1px 2px rgba(43, 52, 64, 0.05);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.2px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
}
.lang-switch a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.lang-switch a.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.lang-switch a:not(.active):hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); }

.nav .btn { padding: 9px 18px; font-size: 14px; }

/* Hero */
.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 400px at 80% -10%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 20px;
  color: var(--text-soft);
  margin-bottom: 34px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 800;
  margin-bottom: 14px;
}
.section-head p { font-size: 18px; color: var(--text-soft); }
.section-soft { background: var(--bg-soft); }

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.card p { color: var(--text-soft); font-size: 15px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 18px;
}
.step .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-strong);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* Audience list */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.aud-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.aud-item .check {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(91, 185, 140, 0.14);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.aud-item .check svg { width: 14px; height: 14px; }
.aud-item span.t { font-size: 15px; color: var(--text); }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 14px; }
.contact-info > p { color: var(--text-soft); font-size: 17px; margin-bottom: 30px; }

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.field textarea { resize: vertical; min-height: 110px; }
form .btn-primary { width: 100%; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  position: relative;
  background: rgba(91, 185, 140, 0.1);
  border: 1px solid rgba(91, 185, 140, 0.3);
  color: #3f8b66;
  border-radius: 10px;
  padding: 14px 40px 14px 16px;
  font-size: 15px;
  margin-bottom: 18px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  position: relative;
  background: rgba(192, 86, 86, 0.1);
  border: 1px solid rgba(192, 86, 86, 0.3);
  color: #b55050;
  border-radius: 10px;
  padding: 14px 40px 14px 16px;
  font-size: 15px;
  margin-bottom: 18px;
}
.form-error.show { display: block; }
.msg-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
}
.msg-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.05); }
.msg-close:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; opacity: 1; }

/* Honeypot: скрытое поле-ловушка для ботов. Людям не видно. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-company { max-width: 460px; }
.footer-company .logo { margin-bottom: 14px; }
.footer-company p { font-size: 14px; color: var(--text-soft); }
.footer-contacts { font-size: 14px; color: var(--text-soft); line-height: 1.9; }
.footer-contacts a { color: var(--accent-strong); }
.footer-contacts a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .grid, .audience { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 18px; }
  section { padding: 56px 0; }
}
