/* Lidmagnit screen A — same language as neuro.aispiritdigital.ru tour. */
:root {
  --bg: #ffffff;
  --ink: #16140f;
  --ink-2: #56514a;
  --ink-3: #8c867c;
  --line: #e9e5dd;
  --line-2: #f1eee8;
  --accent: #ff5a1f;
  --accent-700: #e6470f;
  --maxw: 1400px;
  --pad: clamp(20px, 5vw, 64px);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand__logo {
  height: 40px;
  width: auto;
  flex: none;
}

.brand__tag {
  max-width: 220px;
  border-left: 1px solid #d7d9d4;
  padding-left: 12px;
  font-size: 14px;
  line-height: 1.2;
  color: #101216;
}

.hero {
  padding-block: clamp(48px, 10vw, 120px);
}

.hero__inner { max-width: 760px; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

.hero__lead,
.lead {
  color: var(--ink-2);
  font-size: clamp(17px, 1.7vw, 20px);
  margin: 22px 0 0;
  max-width: 520px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__note,
.note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .03em;
}

.note a { color: var(--accent); font-weight: 500; }
.lm-back { margin: 0 0 16px; }
.lm-back a { color: var(--ink-2); font-size: 14px; }
.lm-back a:hover { color: var(--accent); }

.header__tour {
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.header__tour:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-700); box-shadow: 0 12px 24px -10px rgba(255, 90, 31, .6); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 17px; }

.lm-block {
  padding-block: 8px 72px;
}
.lm-block--alt { background: #faf9f6; padding-block: 48px 72px; }
.lm-block__inner { max-width: 760px; }
.lm-block h2 {
  margin: 0 0 22px;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
}
.lm-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: lm-step;
}
.lm-steps li {
  counter-increment: lm-step;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.lm-steps li::before {
  content: counter(lm-step);
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff4ef;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lm-steps b { font-weight: 600; }
.lm-steps span { color: var(--ink-2); font-size: 15px; grid-column: 2; }
.lm-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.lm-checks li {
  padding: 12px 16px 12px 18px;
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 12px 12px 0;
}
.lm-block__note {
  margin: 22px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}

.lm-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}
.lm-price--compact { margin: 18px 0 6px; }
.lm-price__was {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-weight: 500;
}
.lm-price.is-off .lm-price__was,
.lm-price__was.is-off { display: none; }
.lm-price__now {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.lm-price__note {
  margin: 0 0 8px;
  color: var(--accent-700);
  font-weight: 600;
  font-size: 15px;
  max-width: 520px;
}
.lm-ok {
  margin: 0 0 10px;
  color: #1f7a4d;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}
.lm-pay h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  margin: 0 0 12px;
  line-height: 1.12;
}
.lm-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.lm-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.lm-form input[type="text"],
.lm-form input[type="email"],
.lm-form input[type="tel"],
.lm-form input[type="number"] {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.lm-form input:focus {
  outline: 2px solid rgba(255, 90, 31, .35);
  border-color: var(--accent);
}
.lm-form label.lm-check {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 14px;
}
.lm-check input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.lm-check a { color: var(--accent); }
.lm-form .btn { margin-top: 6px; justify-self: start; }
.lm-error { color: #9b1c1c; font-size: 15px; }
.legal {
  padding: 28px 0 72px;
  max-width: 760px;
}
.legal h1 { font-size: 28px; margin: 0 0 12px; }
.legal h2 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal .req {
  background: #faf9f6;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .lm-form .btn { width: 100%; justify-self: stretch; }
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav a:hover { color: var(--ink); }
.header__cta { padding: 10px 16px; font-size: 14px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero--platform { padding-block: clamp(56px, 11vw, 132px); }
.hero--platform .hero__inner { max-width: 820px; }
.lm-block__h {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 10px;
  font-weight: 600;
  max-width: 720px;
}
.lm-block__lead {
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 28px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.plan:hover { border-color: #d8d2c8; box-shadow: 0 16px 40px -24px rgba(20,18,12,.28); }
.plan.is-pop { border-color: var(--accent); box-shadow: 0 18px 44px -22px rgba(255,90,31,.45); }
.plan--prove { background: #16140f; color: #f6f1ea; border-color: #16140f; }
.plan--prove .plan__who, .plan--prove li { color: #cfc8bc; }
.plan--prove .plan__mark { color: #ffb089; }
.plan__mark {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan h3 { margin: 0; font-size: 22px; }
.plan__who { color: var(--ink-2); font-size: 15px; margin: 8px 0 14px; min-height: 44px; }
.plan__price { margin: 0 0 14px; font-size: 28px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.plan__price s { color: var(--ink-3); font-size: 16px; font-weight: 500; }
.plan__price span { font-size: 14px; font-weight: 500; color: #cfc8bc; }
.plan ul { margin: 0 0 22px; padding: 0; list-style: none; flex: 1; }
.plan li {
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
  font-size: 14.5px;
  color: var(--ink-2);
}
.plan--prove li { border-top-color: #2c2924; }
.plan .btn { width: 100%; }
.prove-band {
  background: #16140f;
  color: #f6f1ea;
  padding: 64px 0 80px;
}
.prove-band__inner { max-width: 720px; }
.prove-band h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.prove-band p { color: #cfc8bc; max-width: 640px; }
.prove-band__rule { color: #ffb089 !important; font-weight: 600; }
.prove-band .btn { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
}

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; }
  .nav, .header__cta { display: none; }
}

@media (max-width: 640px) {
  .brand__tag, .header__tour { display: none; }
  .hero__actions { width: 100%; }
  .btn--lg { width: 100%; }
  .lm-steps li { grid-template-columns: 32px 1fr; }
}
