/* Линза — лендинги Ивана Усова */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* ПРАВИЛО ДОМЕНА: контент всегда копируется. Никаких блоков выделения.
   Ctrl/Cmd+A берёт весь контент. См. .constitutions/доступность.md */
* { -webkit-user-select: text !important; user-select: text !important; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(to bottom, #f6f6f3 0%, #fafaf7 320px);
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }

/* Шапка-метка */
.brand {
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9a9a;
  font-weight: 600;
}
.brand span { color: #6b21a8; }

/* HERO */
.hero { padding: 56px 0 64px; }
.hero h1 {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 22px;
  color: #0a0a0a;
}
.hero p.lead {
  font-size: 19px;
  line-height: 1.5;
  color: #444;
  margin: 0 0 16px;
  max-width: 580px;
}
.hero p.kicker {
  font-size: 16px;
  color: #6b21a8;
  font-weight: 600;
  margin: 24px 0 32px;
  padding: 14px 18px;
  background: #f3e8ff;
  border-radius: 12px;
  border-left: 3px solid #8b5cf6;
  display: inline-block;
}

/* CTA-кнопка */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7c3aed, #0a0a0a);
  background-size: 200% 200%;
  background-position: 100% 100%;
  color: #fff;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-position 0.4s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cta:hover { background-position: 0% 0%; transform: translateY(-1px); }
.cta::after { content: "→"; font-size: 18px; font-weight: 400; }
.cta-row { margin: 12px 0 6px; }

/* Секции */
section { padding: 56px 0; border-top: 1px solid #ececec; }
section h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 28px;
  color: #0a0a0a;
}
section h3 {
  font-size: 18px;
  margin: 28px 0 14px;
  font-weight: 700;
  color: #0a0a0a;
}

/* Цитаты-боли */
.pain { list-style: none; padding: 0; margin: 0 0 28px; }
.pain li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  border: 1px solid #ececec;
}
.pain li::before {
  content: "💬";
  font-size: 18px;
  flex-shrink: 0;
}
.insight {
  margin: 28px 0 0;
  padding: 18px 22px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  font-size: 17px;
  line-height: 1.5;
}
.insight strong { color: #c084fc; }

/* Что получаешь / результаты */
.results { display: grid; gap: 12px; margin: 24px 0 0; }
.results .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
}
.results .row .what { font-weight: 700; color: #0a0a0a; }
.results .row .desc { color: #555; }

/* Как работает */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
}
.step .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #6b21a8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}
.step .action { font-size: 16px; color: #1a1a1a; font-weight: 600; }
.step .time { font-size: 13px; color: #888; white-space: nowrap; }

/* Подпись под шагами */
.note { margin-top: 20px; font-size: 14px; color: #777; }

/* Об Иване */
.bio { display: flex; gap: 22px; align-items: flex-start; margin-top: 8px; }
.bio .ava {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3e8ff 0%, #c084fc 100%);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
}
.bio .text { font-size: 16px; color: #444; line-height: 1.55; }
.bio .text strong { color: #0a0a0a; }

/* Финальный CTA */
.final {
  background: linear-gradient(135deg, #1a1a1a 0%, #4c1d95 100%);
  color: #fff;
  border-radius: 22px;
  padding: 44px 32px;
  margin-bottom: 56px;
  text-align: center;
}
.final h2 { color: #fff; margin: 0 0 16px; font-size: 26px; }
.final p { color: #d6bcfa; margin: 0 0 24px; font-size: 16px; }
.final .cta { background: #fff; color: #0a0a0a; }
.final .cta:hover { background: #f3e8ff; color: #4c1d95; }
.final .handle {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: #d6bcfa;
}
.final .handle code {
  background: rgba(255,255,255,.12);
  padding: 3px 9px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #fff;
}

/* Footer */
footer {
  padding: 28px 0 40px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 17px; }
  .hero p.kicker { font-size: 15px; padding: 12px 14px; }
  section { padding: 40px 0; }
  section h2 { font-size: 23px; margin-bottom: 22px; }
  .results .row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .step { grid-template-columns: 42px 1fr; padding: 14px 16px; }
  .step .num { width: 32px; height: 32px; font-size: 14px; }
  .step .time { grid-column: 2; font-size: 12px; margin-top: 2px; }
  .pain li { font-size: 15px; padding: 14px 16px; }
  .insight { padding: 16px 18px; font-size: 15px; }
  .bio { gap: 16px; }
  .bio .ava { width: 64px; height: 64px; font-size: 26px; }
  .final { padding: 36px 22px; border-radius: 18px; }
  .final h2 { font-size: 22px; }
  .cta { padding: 16px 22px; font-size: 15px; }
}
