:root {
  /* Blue system: one ink, one accent, soft tints, neutral bg, hairline border */
  --bg: #F8FAFC;
  --bg-tint: #F1F5FB;
  --ink: #0E1525;
  --ink-soft: #3F4656;
  --muted: #586577;
  --muted-light: #6B7A92;
  --accent: #1B6FF5;
  --accent-deep: #0F58D6;
  --accent-soft: #EAF1FE;
  --accent-mid: #D2E2FF;
  --navy: #0B1220;
  --navy-2: #0E1730;
  --sky: #6BA0F5;
  --card: #FFFFFF;
  --gray-card: #EEF1F6;
  --border: #E2E8F2;
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(14, 21, 37, .04), 0 18px 40px -24px rgba(14, 21, 37, .18);
  --shadow-card-h: 0 2px 4px rgba(14, 21, 37, .06), 0 28px 56px -28px rgba(14, 21, 37, .28);
  --shadow-cta: 0 2px 0 var(--accent-deep), 0 18px 34px -16px rgba(27, 111, 245, .55);
  --maxw: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
  font-weight: 800;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 1.6em; }
h3 { font-size: clamp(19px, 2.1vw, 24px); }

p { margin: 0 0 1.1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 0.1em 0.4em;
  border-radius: 8px;
}

/* ---------- Layout ---------- */

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

main {
  padding: 56px 0 72px;
}

main.container {
  padding-top: 56px;
  padding-bottom: 72px;
}

main .lead {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; color: var(--ink); }
.wordmark::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1B6FF5 url("/logo.jpg") center / cover;
  box-shadow: 0 0 0 3px rgba(27, 111, 245, .14);
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Buttons / CTA ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 0.95em 1.5em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 0 var(--accent-deep), 0 22px 40px -16px rgba(27, 111, 245, .6);
}
.cta::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--sky);
  border-right: 2px solid var(--sky);
  transform: rotate(45deg);
}

.cta-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 0 var(--accent-deep), 0 18px 34px -16px rgba(27, 111, 245, .5);
}
.cta-accent::after { border-color: #fff; }

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 30px 0;
}

.cta-note {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 340px;
}

/* ---------- Generic cards / text ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  margin: 16px 0;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 1.2em;
}

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

.list-plain {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.list-plain li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px dashed var(--border);
}
.list-plain li:last-child { border-bottom: 0; }
.list-plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 11px;
  height: 7px;
  border-left: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: rotate(-45deg);
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0;
}
.tags li {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-weight: 600;
  font-size: 14.5px;
}

/* ---------- Legal document pages ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
}
.doc h1 { margin-top: 0.2em; }
.doc h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 1.8em; }
.doc ul { padding-left: 22px; }
.doc li { margin: 0.4em 0; }

.doc-meta {
  color: var(--muted);
  font-size: 15px;
  margin-top: -0.4em;
}

.doc-draft,
.draft-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 28px;
}
.doc-draft strong,
.draft-banner strong { color: var(--accent-deep); }

.placeholder-note {
  color: var(--muted);
  font-size: 14.5px;
  font-style: italic;
  background: var(--bg-tint);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 18px 0;
}

.requisites {
  background: var(--gray-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.7;
}
.requisites dt {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 12px;
}
.requisites dt:first-child { margin-top: 0; }
.requisites dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #C7D2E6;
  margin-top: 80px;
  padding: 52px 0 44px;
}
.site-footer .container { }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-nav a {
  color: #D7E0F0;
  font-size: 15px;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--sky); text-decoration: none; }

.footer-legal {
  color: #8FA0BF;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.footer-legal a { color: var(--sky); }
.footer-legal a:hover { color: #fff; }

/* ===================================================================
   Landing-only building blocks (band rhythm, hero, steps, pricing)
   =================================================================== */

.band { padding: 110px 0; }
.band-tight { padding: 56px 0 72px; }
.band-tint { background: var(--bg-tint); }
.band-gray { background: var(--gray-card); }
.band-dark {
  background: var(--navy);
  color: #C4D0E6;
}
.band-dark h2, .band-dark h3 { color: #fff; }

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 14px;
}
.band-dark .kicker { color: var(--sky); }

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-head .lead { margin-bottom: 0; }

/* highlight: clean tamed marker behind one word */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.22em;
  background: var(--accent-mid);
  border-radius: 3px;
  z-index: -1;
  transform: rotate(-0.4deg);
}
.band-dark .hl::after { background: rgba(125, 168, 245, .32); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0 88px;
}
.hero-text h1 { margin-bottom: 0.4em; }
.hero-sub {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
.emph {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 0.05em 0.35em;
  border-radius: 8px;
  font-weight: 700;
}
.hero-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
}

.proof-inline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-card);
  margin: 22px 0 30px;
}
.avatars { display: flex; }
.avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--card);
  margin-left: -10px;
  background: var(--accent);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--accent-deep); }
.avatars span:nth-child(3) { background: var(--sky); }
.proof-stat { font-size: 14px; color: var(--muted); }
.proof-stat strong { color: var(--ink); }

/* Hero example card */
.hero-visual { position: relative; }
.blob {
  position: absolute;
  inset: -8% -6% -8% -6%;
  background: radial-gradient(ellipse at 60% 40%, rgba(27, 111, 245, .16), rgba(27, 111, 245, 0) 70%);
  border-radius: 48% 52% 55% 45% / 50% 48% 52% 50%;
  z-index: 0;
}
.example-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card-h);
  transform: rotate(-1deg);
}
.example-card .tag {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 10px;
  transform: rotate(-2deg);
}
.example-card .pill {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.logo-tile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.logo-tile::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--navy);
  background-image: radial-gradient(circle at 70% 30%, var(--accent) 0 2.6px, transparent 2.7px);
}
.speaker-line {
  font-size: 14.5px;
  line-height: 1.5;
  padding: 8px 0;
  border-top: 1px dashed var(--border);
}
.speaker-line:first-of-type { border-top: 0; }
.speaker-line b { color: var(--accent-deep); }
.stat-cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 14px;
  margin-top: 16px;
}
.stat-cells div span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-cells div b {
  font-size: 26px;
  color: var(--ink);
  font-weight: 800;
}
.big-figure {
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-top: 14px;
  line-height: 1;
}
.big-figure span { font-size: 0.4em; color: var(--muted); font-weight: 600; }

/* How it works: 3 steps */
.steps {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
}
.step {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.band-dark .step p { color: #B6C2DA; }
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-arrow {
  align-self: center;
  justify-self: center;
  color: var(--sky);
  font-size: 22px;
  line-height: 1;
}

/* Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .12s ease, box-shadow .12s ease;
}
.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-h);
}
.platform-card h3 { margin: 0 0 6px; }
.platform-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.price-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #C4D0E6;
}
.price-card.featured h3 { color: #fff; }
.price-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 16px;
}
.price-card.featured .price-badge {
  background: var(--accent);
  color: #fff;
}
.price-amount {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 10px 0 6px;
}
.price-card.featured .price-amount { color: #fff; }
.price-amount span {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}
.price-card.featured .price-amount span { color: var(--sky); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.price-card li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15.5px;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 11px;
  height: 7px;
  border-left: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card.featured li::before { border-color: var(--sky); }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta h2 {
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: -0.035em;
  margin-bottom: 0.5em;
}
.final-cta .cta { font-size: 18px; padding: 1.1em 1.8em; }
.final-note { color: var(--muted-light); margin-top: 18px; font-size: 15px; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 64px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
  .platform-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .band { padding: 80px 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
}

@media (max-width: 560px) {
  .site-header .container { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .site-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .stat-cells { grid-template-columns: 1fr; }
}

/* review fixes (2026-06-19): a11y contrast/focus, overflow guard, nav wrap, requisites */
body { overflow-x: hidden; }
.site-nav { flex-wrap: wrap; }
ul.requisites { padding-left: 0; list-style: none; }
.requisites li { list-style: none; }
a:focus-visible, .cta:focus-visible, button:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
