/* ══════════════════════════════════════════════════════════════════════════
   Lanly — «Стикерная тетрадь»
   Фирменный зелёный из логотипа на тёплой бумаге. Карточки — наклейки
   с толстым контуром и жёсткой тенью; при нажатии они «вдавливаются».
   Заголовки — широкий округлый Unbounded, в родстве с буквами логотипа.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --green: #2da52d;
  --green-deep: #1d7a1f;
  --green-soft: #d9f2c9;
  --ink: #11240f;
  --ink-2: #1c3519;
  --paper: #fbf6ea;
  --paper-2: #f3ebd6;
  --sun: #ffd43b;
  --coral: #ff6a4d;
  --sky: #bfe4ff;
  --muted: #56664f;
  --display: "Druk Wide Cyr", "Druk Wide", "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", "Segoe UI", sans-serif;
  --stroke: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 26px;
  --ease: cubic-bezier(.2, .9, .25, 1.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Повёрнутая лента и пятна не должны расширять страницу: справа на телефоне оставалась полоса с фоном. */
html, body { overflow-x: clip; max-width: 100%; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Бумага: едва заметная клетка тетради */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 36, 15, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 36, 15, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Логотип-надпись. Белый PNG используется как маска, поэтому его можно
   перекрасить в любой цвет одной строкой CSS. */
.wordmark {
  display: block;
  aspect-ratio: 1400 / 370;
  background: currentColor;
  -webkit-mask: url("/brand/lanly-wordmark.png") center / contain no-repeat;
  mask: url("/brand/lanly-wordmark.png") center / contain no-repeat;
}

/* ── Кнопки-наклейки ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  padding: 16px 26px; border-radius: 999px;
  border: var(--stroke); box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── Шапка ────────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 40;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 64px; padding: 0 10px 0 22px;
  background: rgba(251, 246, 234, .92); backdrop-filter: blur(12px);
  border: var(--stroke); border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.nav .wordmark { width: 104px; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav-links a:not(.btn):hover { background: var(--green-soft); }
.nav-links .btn { padding: 11px 20px; font-size: 13.5px; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: var(--stroke); background: var(--sun); cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--ink);
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 18px; right: 18px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: var(--paper); border: var(--stroke); border-radius: 24px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 16px; }
  .nav-links .btn { justify-content: center; }
}

/* ── Первый экран ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--green); color: #fff;
  padding: 150px 0 120px;
  border-bottom: var(--stroke);
}
/* Крупные «пятна» того же характера, что и буквы логотипа */
.hero .blob {
  position: absolute; border-radius: 48% 52% 38% 62% / 55% 38% 62% 45%;
  background: rgba(255, 255, 255, .08); pointer-events: none;
  animation: morph 16s ease-in-out infinite alternate;
}
.hero .blob.b1 { width: 540px; height: 460px; top: -160px; right: -120px; }
.hero .blob.b2 { width: 380px; height: 340px; bottom: -150px; left: -90px; animation-delay: -6s; background: rgba(17, 36, 15, .1); }
@keyframes morph {
  0% { border-radius: 48% 52% 38% 62% / 55% 38% 62% 45%; transform: rotate(0deg); }
  100% { border-radius: 62% 38% 55% 45% / 40% 60% 40% 60%; transform: rotate(14deg); }
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  border: var(--stroke); border-radius: 999px; padding: 8px 14px 8px 10px;
  box-shadow: var(--shadow-sm); transform: rotate(-2deg);
}
.tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(255, 106, 77, .25); }

.hero .wordmark {
  color: #fff; width: min(620px, 100%); margin: 28px 0 10px;
  filter: drop-shadow(6px 6px 0 rgba(17, 36, 15, .9));
}
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em;
  max-width: 17ch; margin-bottom: 20px;
}
.hero h1 mark {
  background: var(--sun); color: var(--ink); padding: 0 .18em; border-radius: .25em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 46ch; color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.colophon {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
  font-size: 13px; font-weight: 600;
}
.colophon span {
  background: rgba(17, 36, 15, .22); border-radius: 999px; padding: 6px 12px;
}
.colophon b { font-weight: 800; }

/* Сцена справа: Пеплан и слова-наклейки вокруг */
.stage { position: relative; min-height: 440px; }
@media (max-width: 920px) { .stage { min-height: 380px; margin-top: 10px; } }
/* Пеплан зелёный — на зелёном фоне ему нужна своя кремовая «наклейка» */
.plate {
  /* Центр через inset + margin, а не translate: свойство translate
     занимает параллакс, и оно сбивало бы центровку. */
  position: absolute; inset: 0; margin: auto; width: 300px; height: 280px;
  background: var(--paper); border: var(--stroke); box-shadow: 8px 8px 0 var(--ink);
  border-radius: 58% 42% 50% 50% / 48% 56% 44% 52%;
  animation: morph 12s ease-in-out infinite alternate;
}
@media (max-width: 520px) { .plate { width: 240px; height: 224px; } }
.frog {
  position: absolute; left: 50%; top: 50%; width: 250px; z-index: 1;
  transform: translate(-50%, -46%);
  filter: drop-shadow(4px 6px 0 rgba(17, 36, 15, .35));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, -46%) rotate(-3deg); } 50% { transform: translate(-50%, -52%) rotate(3deg); } }
.word {
  position: absolute; background: var(--paper); color: var(--ink);
  border: var(--stroke); border-radius: 18px; box-shadow: var(--shadow-sm);
  padding: 10px 14px; line-height: 1.15; white-space: nowrap; z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.word b { display: block; font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.word span { font-size: 13px; color: var(--muted); }
.word.w1 { top: 6%; left: 2%; --r: -8deg; }
.word.w2 { top: 2%; right: 4%; --r: 6deg; background: var(--sun); animation-delay: -2s; }
.word.w3 { bottom: 16%; left: -2%; --r: 5deg; background: var(--sky); animation-delay: -4s; }
.word.w4 { bottom: 4%; right: 0; --r: -5deg; animation-delay: -1s; }
.word.w5 { top: 44%; right: -4%; --r: 9deg; background: var(--coral); color: #fff; animation-delay: -5s; }
.word.w5 span { color: rgba(255, 255, 255, .85); }
@keyframes float {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(calc(var(--r) * -.4)) translateY(-10px); }
}
@media (max-width: 520px) { .word.w5, .word.w1 { display: none; } .frog { width: 200px; } }

/* ── Лента слов ───────────────────────────────────────────────────────── */
.ticker {
  background: var(--ink); color: var(--paper);
  border-bottom: var(--stroke);
  padding: 18px 0; overflow: hidden;
  transform: rotate(-1.4deg) scale(1.04); margin: -14px 0 0;
  position: relative; z-index: 2;
}
.ticker-track { display: flex; gap: 38px; width: max-content; animation: slide 50s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 20px; }
.ticker-item span { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--sun); }
.ticker-item::after { content: "✦"; color: var(--green); margin-left: 28px; font-size: 16px; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ── Секции ───────────────────────────────────────────────────────────── */
section { padding: 110px 0 40px; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.kicker {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--green-soft); border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 12px; margin-bottom: 18px;
}
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.045em;
  margin-bottom: 16px;
}
h2 em { font-style: normal; color: var(--green); }
.sec-head p { font-size: 18px; color: var(--muted); max-width: 56ch; }

/* ── Бенто возможностей ───────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card {
  position: relative; background: #fff; border: var(--stroke); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--ink); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -.03em; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .ico {
  width: 54px; height: 54px; border-radius: 16px; border: var(--stroke);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: var(--green-soft);
}
.c-coach { grid-column: span 4; grid-row: span 2; background: var(--green); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.c-coach p { color: rgba(255, 255, 255, .9); }
.c-coach .ico { background: var(--sun); }
.c-book { grid-column: span 2; }
.c-words { grid-column: span 2; background: var(--sun); }
.c-words p { color: var(--ink-2); }
.c-write { grid-column: span 3; }
.c-listen { grid-column: span 3; background: var(--sky); }
.c-listen p { color: var(--ink-2); }
.c-test { grid-column: span 6; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-coach, .c-test { grid-column: span 2; grid-row: auto; }
  .c-book, .c-words, .c-write, .c-listen { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .c-coach, .c-test, .c-book, .c-words, .c-write, .c-listen { grid-column: auto; }
  .c-coach { grid-template-columns: 1fr; }
}

/* Макет карточки наставника — как в приложении */
.phone {
  background: var(--paper); color: var(--ink); border: var(--stroke); border-radius: 26px;
  box-shadow: 6px 6px 0 var(--ink); padding: 16px; transform: rotate(2.5deg);
}
.phone-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.phone-head img { width: 42px; }
.phone-head b { font-family: var(--display); font-size: 15px; display: block; letter-spacing: -.02em; }
.phone-head small { font-size: 11.5px; color: var(--muted); }
.phone p.msg { font-size: 13.5px; color: var(--ink) !important; margin-bottom: 10px; }
.tip { background: var(--sun); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 10px; font-size: 12.5px; margin-bottom: 10px; }
.task {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 2px solid var(--ink); border-radius: 14px; padding: 8px 10px; margin-top: 7px; font-size: 13px; font-weight: 600;
}
.task i { font-style: normal; font-size: 16px; }
.task.done { background: var(--green-soft); text-decoration: line-through; opacity: .75; }

/* Оценка письма: полоски критериев */
.bars { margin-top: 16px; display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 96px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.bar .track { height: 12px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.bar .fill { height: 100%; background: var(--green); border-right: 2px solid var(--ink); transform-origin: left; }
.in .bar .fill { animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

/* Звуковая волна в карточке аудирования */
.wave { display: flex; align-items: center; gap: 5px; height: 64px; margin-top: 18px; }
.wave i {
  flex: 1; max-width: 12px; height: 30%; border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  animation: wave 1.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s);
}
@keyframes wave { from { height: 18%; } to { height: 100%; } }

/* Шкала уровней */
.scale { display: flex; flex-wrap: wrap; gap: 8px; }
.lvl {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  border: 2px solid var(--ink); border-radius: 12px; padding: 9px 13px; background: var(--paper);
}
.lvl.on { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); transform: translateY(-3px) rotate(-3deg); }

/* ── Учителю ──────────────────────────────────────────────────────────── */
.teach { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .teach { grid-template-columns: 1fr; } }
.teach h2 { font-size: clamp(30px, 3.8vw, 46px); }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 16.5px; }
.checks li::before {
  content: "✓"; width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--ink);
  background: var(--sun); display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.checks b { font-weight: 700; }
.insight {
  background: #fff; border: var(--stroke); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink);
  padding: 22px; transform: rotate(-1.5deg);
}
.insight-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.insight-head b { font-family: var(--display); font-size: 19px; letter-spacing: -.03em; }
.pill { font-family: var(--display); font-weight: 700; font-size: 12px; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; background: var(--sun); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.metric { border: 2px solid var(--ink); border-radius: 16px; padding: 10px 12px; background: var(--paper); }
.metric small { font-size: 11.5px; color: var(--muted); display: block; }
.metric b { font-family: var(--display); font-size: 22px; letter-spacing: -.04em; }
.ai-note { border: 2px dashed var(--ink); border-radius: 16px; padding: 12px 14px; font-size: 14px; background: var(--green-soft); }
.ai-note b { color: var(--green-deep); }

/* ── Цифры ────────────────────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--stroke); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.num { padding: 30px 24px; border-right: var(--stroke); }
.num:last-child { border-right: 0; }
.num b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.06em; color: var(--green); }
.num span { font-size: 15px; color: var(--muted); font-weight: 500; }
@media (max-width: 760px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(-n+2) { border-bottom: var(--stroke); }
}

/* ── Скачать ──────────────────────────────────────────────────────────── */
.get {
  position: relative; overflow: hidden; text-align: center;
  background: var(--green); color: #fff; border: var(--stroke); border-radius: 40px;
  box-shadow: 8px 8px 0 var(--ink); padding: 70px 28px 64px; margin-bottom: 90px;
}
.get .wordmark { color: #fff; width: min(340px, 70%); margin: 0 auto 22px; }
.get h2 { color: #fff; }
.get p { max-width: 50ch; margin: 0 auto 30px; color: rgba(255, 255, 255, .92); font-size: 17px; }
.get .actions { justify-content: center; }
.get .colophon { justify-content: center; }
.get .blob { position: absolute; border-radius: 50% 40% 60% 45%; background: rgba(255, 255, 255, .08); }
.get .blob.b1 { width: 260px; height: 220px; top: -90px; left: -60px; }
.get .blob.b2 { width: 320px; height: 260px; bottom: -140px; right: -80px; background: rgba(17, 36, 15, .12); }

/* ── Подвал ───────────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--paper); padding: 64px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
footer .wordmark { color: var(--green); width: 150px; margin-bottom: 14px; }
footer h4 { font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
footer a { display: block; color: rgba(251, 246, 234, .75); padding: 5px 0; transition: color .2s; }
footer a:hover { color: #fff; }
footer .about { color: rgba(251, 246, 234, .7); max-width: 36ch; }
.fine { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(251, 246, 234, .15); font-size: 13px; color: rgba(251, 246, 234, .55); line-height: 1.7; }
.fine a { display: inline; color: var(--sun); padding: 0; }

/* ── Появление ────────────────────────────────────────────────────────── */
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.enter { animation: pop .8s var(--ease) both; }
/* Отдельное свойство translate, а не transform: у карточек свои повороты
   и эффект при наведении, появление не должно их перебивать. */
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity .7s ease, translate .8s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s; }
.js .reveal.in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════ Движение (по мотивам mqttGrid) ═══════════ */

/* Кольца от кликов и от появляющихся карточек */

/* Полоса прочтения страницы */
.progress-line {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 50;
  background: var(--sun); border-bottom: 1.5px solid var(--ink);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* Слова «вылетают» снизу из масок с лёгким поворотом */
.split .mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .16em; margin: -.06em -.04em -.16em; }
.split .mask > span {
  display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1.1s var(--ease) var(--d, 0ms), opacity .8s ease var(--d, 0ms);
}
.split.in .mask > span, html:not(.js) .split .mask > span { transform: none; opacity: 1; }

/* Лёгкий наклон карточек за курсором */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ═══════════ Сравнение ═══════════ */
.compare {
  background: #fff; border: var(--stroke); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .9fr); align-items: center; }
.cmp-head { background: var(--paper-2); border-bottom: var(--stroke); }
.cmp-head > span { padding: 16px 18px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -.01em; }
.cmp-head small { font-family: var(--body); font-weight: 500; color: var(--muted); }
.cmp-us { background: var(--green); border-left: var(--stroke); border-right: var(--stroke); display: flex; align-items: center; justify-content: center; }
.cmp-us .wordmark { width: 76px; color: #fff; }
.cmp-row { border-bottom: 1.5px dashed rgba(17, 36, 15, .18); transition: background .2s; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row:hover { background: #fdfaf1; }
.cmp-row > span { padding: 15px 18px; font-size: 15.5px; }
.cmp-row b { padding: 15px 14px; font-size: 14px; text-align: center; height: 100%; display: flex; align-items: center; justify-content: center; }
.cmp-row b.yes { background: rgba(45, 165, 45, .1); border-left: var(--stroke); border-right: var(--stroke); font-family: var(--display); color: var(--green-deep); }
.cmp-row b.yes::before { content: "✓"; margin-right: 6px; }
.cmp-row b.no { color: var(--muted); font-weight: 500; }
@media (max-width: 720px) {
  .cmp-head > span:first-child { display: none; }
  .cmp-head { grid-template-columns: 1fr 1fr; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row > span { grid-column: 1 / -1; padding-bottom: 6px; font-weight: 600; }
  .cmp-row b { padding: 8px 10px 14px; border: 0 !important; background: none !important; }
  .cmp-us { border-left: 0; }
}

.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
@media (max-width: 900px) { .why-cards { grid-template-columns: 1fr; } }
.why { background: var(--paper); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.why b {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 18px; background: var(--sun); border: var(--stroke); border-radius: 13px; transform: rotate(-5deg);
}
.why h3 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.03em; margin: 14px 0 8px; }
.why p { color: var(--muted); font-size: 15px; }

/* ═══════════ Исследование ═══════════ */
.research {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center;
  background: var(--ink); color: var(--paper); border: var(--stroke); border-radius: 34px; box-shadow: 8px 8px 0 var(--green);
  padding: clamp(26px, 4vw, 48px);
}
@media (max-width: 860px) { .research { grid-template-columns: minmax(0, 1fr); } }
.research > * { min-width: 0; }
.research .kicker { background: var(--sun); }
.research h2 { color: var(--paper); font-size: clamp(26px, 3.4vw, 40px); }
.research p { color: rgba(251, 246, 234, .78); font-size: 16.5px; }
.research a { color: var(--sun); text-underline-offset: 3px; }
.research-graph { position: relative; height: 180px; border-left: 2px solid rgba(251, 246, 234, .3); border-bottom: 2px solid rgba(251, 246, 234, .3); }
.research-graph svg { width: 100%; height: 100%; display: block; }
.rg-line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.rg-area { fill: rgba(45, 165, 45, .18); opacity: 0; }
.in .rg-line { animation: draw 2.2s var(--ease) .2s forwards; }
.in .rg-area { animation: fade 1.2s ease 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.rg-l, .rg-r { position: absolute; bottom: -24px; font-size: 12px; color: rgba(251, 246, 234, .55); }
.rg-l { left: 0; } .rg-r { right: 0; }

/* ═══════════ Вопросы ═══════════ */
.faq { display: grid; gap: 14px; max-width: 880px; }
.faq details {
  background: #fff; border: var(--stroke); border-radius: 22px; box-shadow: var(--shadow-sm);
  padding: 0 22px; transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 16.5px; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--sun); transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; animation: pop .45s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .split .mask > span { transform: none; opacity: 1; }
  .rg-line { stroke-dashoffset: 0; } .rg-area { opacity: 1; }
}
