/* Mira Landing — «Глянцевая обложка» (Mira × Agence Foudre)
   Помадный розовый кричит, кремовый шепчет, тёмно-зелёный держит.
   Плоско: без теней, без градиентов на UI. Тип — и есть вёрстка.
   Шрифты: Unbounded 900 (дисплей, кириллица), Onest (текст, кириллица). */

:root{
  /* тёплый холст + помадная лестница (токены Mira: accent/petal/cream) */
  --chalk:#FFF8F6;
  --blush:#FCEAE4;
  --cream:#F6CFCA;
  --petal:#EABFB9;
  --rose:#B86B77;
  --rose-deep:#9A5563;
  /* фирменный ход стиля: глубокий зелёный текст на тёплом холсте */
  --ink:#0F4A2C;
  --ink-soft:rgba(15,74,44,.74);
  --ink-dim:rgba(15,74,44,.48);
  --hair:rgba(15,74,44,.16);
  --gold:#C9A96E;
  /* тёмные токены приложения — для мокапа телефона */
  --app-bg:#171726;
  --app-surface:#16213e;
  --app-card:#1e2a47;
  --app-text:#e8e6f0;
  --app-soft:#9b97b0;
  --app-border:rgba(255,255,255,.08);

  --r-pill:999px;
  --r-card:20px;
  --r-slab:16px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:'Onest',Inter,-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--chalk);
  color:var(--ink);
  line-height:1.5;
  min-height:100vh;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul,ol{list-style:none}

.display{font-family:'Unbounded',sans-serif;font-weight:900}

:focus-visible{outline:2px solid var(--rose);outline-offset:3px;border-radius:4px}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}
}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes bubbleIn{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}

.wrap{max-width:660px;margin:0 auto;padding:0 22px}
.wrap-wide{max-width:1100px;margin:0 auto;padding:0 22px}

/* ── Header ── */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 0 18px;
}
.site-header .logo{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:21px;color:var(--rose);letter-spacing:-.02em;
}
.header-cta{
  display:inline-flex;align-items:center;
  padding:10px 20px;border-radius:var(--r-pill);
  border:1.5px solid var(--ink);color:var(--ink);
  font-size:13px;font-weight:700;letter-spacing:.01em;
  transition:background .15s ease,color .15s ease;
}
.header-cta:hover{background:var(--ink);color:var(--chalk)}

/* ── Hero ── */
.hero{padding:36px 0 12px;animation:fadeIn .5s ease both}
.hero-grid{display:grid;gap:52px;align-items:center}
@media (min-width:920px){
  .hero-grid{grid-template-columns:1.15fr .85fr;gap:36px}
}
.eyebrow{
  display:inline-block;padding:8px 16px;border-radius:var(--r-pill);
  background:var(--blush);color:var(--ink);
  font-size:12px;font-weight:600;letter-spacing:.02em;
  margin-bottom:26px;
}
.hero h1{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(33px,7.2vw,58px);
  line-height:1.02;letter-spacing:-.025em;
  color:var(--rose);
  max-width:11ch;
}
.hero .lede{
  margin-top:26px;font-size:17px;line-height:1.5;color:var(--ink);
  max-width:46ch;
}
.cta-row{margin-top:32px;display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:18px 36px;border-radius:var(--r-pill);
  font-size:16px;font-weight:700;font-family:inherit;letter-spacing:.01em;
  border:none;cursor:pointer;
  transition:transform .15s cubic-bezier(.34,1.56,.64,1),background .15s ease;
}
.btn:active{transform:scale(.97)}
.btn-primary{background:var(--rose-deep);color:var(--chalk)}
.btn-primary:hover{background:#7E4450}
.btn-ghost{
  background:transparent;color:var(--ink);
  border:1.5px solid var(--hair);
  font-size:14px;font-weight:600;padding:14px 24px;
}
.btn-ghost:hover{border-color:var(--ink)}
.hint-line{margin-top:16px;font-size:13px;color:var(--ink-dim)}

/* ── Мокап телефона: реальный экран кабинета мастера ── */
.phone-scene{position:relative;justify-self:center;padding:26px 8px 8px;animation:slideUp .6s ease both .15s}
.phone-blob{
  position:absolute;inset:6% -4% 4% -6%;
  background:var(--blush);border-radius:46px;
  transform:rotate(-3deg);z-index:0;
}
.phone{
  position:relative;z-index:1;
  width:min(304px,78vw);
  background:var(--app-bg);
  border-radius:42px;
  padding:14px 14px 12px;
  border:1px solid rgba(15,74,44,.10);
}
.phone-notch{
  width:110px;height:26px;border-radius:var(--r-pill);
  background:#000;margin:2px auto 14px;
}
.app-head{
  display:flex;align-items:baseline;justify-content:space-between;
  color:var(--app-text);font-weight:800;font-size:19px;
  padding:2px 6px 12px;
}
.app-head span{font-size:11px;font-weight:500;color:var(--app-soft)}
.app-stats{display:flex;gap:8px;padding:0 2px}
.app-stat{
  flex:1;background:var(--app-card);border:1px solid var(--app-border);
  border-radius:14px;padding:10px 12px;
}
.app-stat b{display:block;color:var(--app-text);font-size:16px;font-weight:800}
.app-stat i{font-style:normal;color:var(--app-soft);font-size:10px}
.app-list{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding:0 2px}
.app-book{
  display:flex;align-items:center;gap:10px;
  background:var(--app-card);border:1px solid var(--app-border);
  border-radius:14px;padding:11px 12px;
}
.app-book .t{
  flex:none;font-size:12px;font-weight:800;color:var(--chalk);
  background:var(--rose);border-radius:9px;padding:6px 8px;
}
.app-book div{min-width:0}
.app-book b{display:block;color:var(--app-text);font-size:13px;font-weight:700}
.app-book i{font-style:normal;color:var(--app-soft);font-size:11px}
.app-book .ok{
  margin-left:auto;flex:none;width:8px;height:8px;border-radius:50%;
  background:#00b894;
}
.app-book.dim{opacity:.6}
.app-book.dim .t{background:var(--app-surface);color:var(--app-soft)}
.app-nav{
  display:flex;justify-content:space-between;gap:2px;
  margin-top:12px;padding:10px 8px 6px;
  border-top:1px solid var(--app-border);
  font-size:8.5px;color:var(--app-soft);
}
.app-nav .on{color:var(--rose);font-weight:700}
/* Пуш поверх телефона — момент «готовая запись пришла» */
.push{
  position:absolute;z-index:2;top:0;left:-6%;
  max-width:290px;width:92%;
  display:flex;gap:10px;align-items:flex-start;
  background:var(--chalk);border:1.5px solid var(--rose);
  border-radius:var(--r-slab);padding:12px 14px;
  animation:bubbleIn .5s cubic-bezier(.34,1.56,.64,1) both .7s;
}
.push .dot{
  flex:none;width:34px;height:34px;border-radius:50%;
  background:var(--rose);color:var(--chalk);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;
}
.push b{display:block;font-size:13px;color:var(--ink);font-weight:800}
.push i{font-style:normal;font-size:12px;color:var(--ink-soft)}

/* ── Бегущая строка категорий (статичная, шёпотом) ── */
.ticker{
  margin:56px -22px 0;
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(34px,6vw,58px);letter-spacing:-.02em;
  color:var(--cream);
  white-space:nowrap;overflow:hidden;
  user-select:none;
}

/* ── Секции ── */
.section{padding:56px 0;border-top:1px solid var(--hair)}
main > .section:first-of-type,section.section#how{border-top:none}
.section-eyebrow{
  font-size:12px;font-weight:700;color:var(--ink-dim);
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px;
}
.section h2{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(21px,4vw,27px);line-height:1.18;letter-spacing:-.02em;
  color:var(--ink);
}
.section h2 em{color:var(--rose);font-style:normal}
.section .section-lede{margin-top:14px;font-size:16px;color:var(--ink-soft);line-height:1.55;max-width:56ch}
.section .section-lede a{color:var(--rose);font-weight:700}
.section .section-lede a:hover{text-decoration:underline}

/* Три шага (реальная последовательность → честные номера) */
.beats{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:38px}
.beat{flex:1;display:flex;flex-direction:column;gap:12px}
.beat div{display:flex;flex-direction:column;gap:5px}
.beat-num{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;
  background:var(--blush);color:var(--ink);
}
.beat:last-child .beat-num{background:var(--rose);color:var(--chalk)}
.beat-label{font-size:14px;font-weight:800;color:var(--ink);line-height:1.25}
.beat-caption{font-size:13px;color:var(--ink-soft);line-height:1.35}
.beat-chevron{display:flex;align-items:center;padding-top:8px;color:var(--petal);font-size:18px}
@media (max-width:560px){
  .beats{flex-direction:column;gap:22px}
  .beat{flex-direction:row;align-items:flex-start;gap:14px}
  .beat-num{flex:none}
  .beat-chevron{display:none}
}

/* Список отличий — редакционные строки с линейками, без карточек */
.point-list{margin-top:30px;display:flex;flex-direction:column}
.point{
  display:flex;align-items:flex-start;gap:14px;
  padding:16px 0;border-top:1px solid var(--hair);
}
.point:first-child{border-top:none;padding-top:4px}
.point::before{content:"—";color:var(--rose);font-weight:800;flex:none}
.point-body{font-size:15px;color:var(--ink-soft);line-height:1.5}
.point-body b{color:var(--ink);font-weight:800}

/* «3 недели бесплатно» — типографический момент вместо карточки */
.trust-card{
  margin-top:34px;background:var(--blush);border-radius:var(--r-card);
  padding:26px 26px 24px;
  display:flex;align-items:center;gap:22px;flex-wrap:wrap;
}
.trust-card .big{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(30px,6vw,44px);line-height:1;letter-spacing:-.02em;
  color:var(--rose);
}
.trust-card h3{font-size:16px;font-weight:800;color:var(--ink)}
.trust-card p{margin-top:6px;font-size:14px;color:var(--ink-soft);line-height:1.5;max-width:40ch}

/* Сравнение с CRM — кремовая плашка */
.compare-card{
  margin-top:22px;background:transparent;
  border:1.5px solid var(--hair);
  border-radius:var(--r-card);padding:24px 26px;
}
.compare-card h3{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:10px}
.compare-card p{font-size:14px;color:var(--ink-soft);line-height:1.55}

/* ── FAQ ── */
.faq-item{border-bottom:1px solid var(--hair)}
.faq-item:first-child{border-top:1px solid var(--hair);margin-top:30px}
.faq-item summary{
  list-style:none;cursor:pointer;padding:19px 4px;
  font-size:15px;font-weight:700;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";flex:none;color:var(--rose);font-size:22px;font-weight:400;
  transition:transform .2s ease;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item .faq-answer{padding:0 4px 20px;font-size:14px;color:var(--ink-soft);line-height:1.6}

/* ── Финальный аккорд — единственная сплошная кремовая полоса ── */
.final-band{background:var(--cream);margin-top:64px}
.final-cta{text-align:center;padding:64px 0 68px}
.final-cta h2{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(24px,5vw,34px);letter-spacing:-.02em;color:var(--rose-deep);
}
.final-cta p{margin-top:12px;font-size:14px;color:var(--ink-soft)}
.final-cta .btn{margin-top:26px}

/* ── Footer ── */
.site-footer{padding:36px 0 52px;border-top:1px solid var(--hair);background:var(--chalk)}
.site-footer .about{
  max-width:54ch;margin:0 auto 20px;text-align:center;
  font-size:12px;color:var(--ink-dim);line-height:1.55;
}
.site-footer .links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-bottom:16px}
.site-footer .links a{font-size:13px;color:var(--ink-soft)}
.site-footer .links a:hover{color:var(--rose)}
.site-footer .copy{text-align:center;font-size:12px;color:var(--ink-dim)}

/* ── Статья (гайд) ── */
.article{padding:40px 0 16px}
.article .updated{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-dim);margin-bottom:14px}
.article h1{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(26px,5.6vw,38px);line-height:1.1;letter-spacing:-.025em;color:var(--rose);
}
.article .lede{margin-top:16px;font-size:16px;color:var(--ink);line-height:1.55}
.article h2{
  font-family:'Unbounded',sans-serif;font-weight:900;
  font-size:clamp(18px,3.6vw,22px);line-height:1.2;letter-spacing:-.02em;
  color:var(--ink);margin-top:40px;margin-bottom:14px;
}
.article p{margin-bottom:14px;font-size:15px;color:var(--ink-soft);line-height:1.62}
.article p strong{color:var(--ink);font-weight:800}
.article ol{counter-reset:step;margin:20px 0;display:flex;flex-direction:column;gap:16px}
.article ol li{
  counter-increment:step;position:relative;padding-left:42px;
  font-size:15px;color:var(--ink-soft);line-height:1.55;
}
.article ol li::before{
  content:counter(step);position:absolute;left:0;top:-1px;
  width:28px;height:28px;border-radius:50%;
  background:var(--blush);color:var(--ink);
  font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;
}
.article ol li strong{color:var(--ink)}
.article ul{margin:16px 0;display:flex;flex-direction:column;gap:10px}
.article ul li{position:relative;padding-left:22px;font-size:15px;color:var(--ink-soft);line-height:1.55}
.article ul li::before{content:"—";position:absolute;left:0;color:var(--rose);font-weight:800}
.article code{
  background:var(--blush);border-radius:6px;
  padding:2px 7px;font-size:13px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);
}
.article p a,.article li a{color:var(--rose);font-weight:700}
.article p a:hover,.article li a:hover{text-decoration:underline}
/* Код-блок — тёмная плашка в цветах приложения (связка с продуктом) */
.article pre{
  background:var(--app-bg);border-radius:var(--r-slab);
  padding:18px 20px;overflow-x:auto;margin:16px 0;
}
.article pre code{
  background:none;border:none;padding:0;display:block;
  font-size:13px;line-height:1.65;color:var(--app-text);white-space:pre;
}
.article .callout{
  margin:26px 0;background:var(--blush);
  border-radius:var(--r-card);padding:22px 24px;
}
.article .callout p{margin-bottom:8px}
.article .callout p:last-child{margin-bottom:0}
.article .faq-item summary{font-size:15px}
