:root{
  --bg:#fcfbff;
  --card:#ffffff;
  --text:#111116;
  --muted:#686573;
  --line:#ece9f2;
  --accent:#6f63cf;
  --accent-2:#877be0;
  --accent-soft:#f2efff;
  --shadow:0 22px 55px rgba(27,23,52,.09);
  --shadow-soft:0 10px 28px rgba(27,23,52,.055);
  --radius:24px;
  --shell:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.mscanner-site{
  margin:0;
  background:linear-gradient(180deg,#fff 0%,#fbfaff 54%,#fff 100%);
  color:var(--text);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.5;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.ms-shell{width:min(calc(100% - 48px),var(--shell));margin-inline:auto}

/* Hide Lightning chrome only on the custom front page. */
body.mscanner-site .siteHeader,
body.mscanner-site .siteFooter,
body.mscanner-site .breadcrumb,
body.mscanner-site #vk-mobile-nav-menu-btn,
body.mscanner-site .vk-mobile-nav{display:none!important}

/* Header */
.ms-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(236,233,242,.82);
}
.ms-header-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.ms-brand{
  display:flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
  font-size:19px;
  font-weight:800;
  letter-spacing:-.035em;
}
.ms-brand img{
  width:38px;
  height:38px;
  border-radius:10px;
  box-shadow:0 5px 14px rgba(180,126,0,.14);
}
.ms-nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.ms-nav a{
  font-size:13.5px;
  line-height:1;
  font-weight:600;
  color:#393643;
  transition:color .18s ease;
}
.ms-nav a:hover{color:var(--accent)}
.ms-header-actions{display:flex;align-items:center;gap:10px}
.ms-lang-wrap{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:38px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  color:#565164;
}
.ms-language{
  width:auto;
  max-width:142px;
  border:0;
  outline:0;
  background:transparent;
  color:#302d39;
  font:inherit;
  font-size:12.5px;
  font-weight:600;
  cursor:pointer;
}

/* Hero */
.ms-hero{padding:68px 0 62px}
.ms-hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:68px;
  align-items:center;
}
.ms-hero-copy{max-width:610px}
.ms-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:31px;
  padding:0 12px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:10.5px;
  line-height:1;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.ms-hero h1{
  margin:20px 0 18px;
  max-width:650px;
  font-size:clamp(46px,5vw,64px);
  line-height:1.02;
  font-weight:800;
  letter-spacing:-.052em;
}
.ms-hero h1 .ms-accent{color:var(--accent)}
.ms-hero p{
  max-width:560px;
  margin:0 0 26px;
  color:var(--muted);
  font-size:17px;
  line-height:1.72;
  letter-spacing:-.012em;
}
.ms-store-links{display:flex;flex-wrap:wrap;gap:10px}
.ms-store-btn{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 17px;
  border:1px solid #18171c;
  border-radius:12px;
  background:#fff;
  color:#16151a;
  font-size:13px;
  font-weight:700;
  transition:transform .18s ease,box-shadow .18s ease;
}
.ms-store-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(22,20,36,.08);
}
.ms-store-btn-primary{background:#111116;color:#fff;border-color:#111116}
.ms-mini-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.ms-mini-points span{
  display:inline-flex;
  align-items:center;
  min-height:33px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:#555160;
  font-size:11.5px;
  font-weight:600;
}
.ms-hero-visual{
  position:relative;
  min-height:610px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ms-glow{
  position:absolute;
  width:470px;
  height:470px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(116,101,211,.12) 0%,rgba(116,101,211,0) 68%);
}
.ms-shot{
  position:relative;
  z-index:2;
  overflow:hidden;
  background:#ecebef;
  box-shadow:var(--shadow);
}
.ms-shot img{width:100%;height:auto}
.ms-shot-hero{
  width:min(342px,100%);
  border-radius:48px;
}
.ms-shot-small{
  width:224px;
  border-radius:31px;
  box-shadow:0 16px 38px rgba(27,23,52,.10);
}
.ms-offset{transform:translateY(30px)}

/* Section typography */
.ms-section-head{margin-bottom:30px}
.ms-section-head h2,
.ms-showcase-copy h2,
.ms-premium-copy h2{
  font-weight:800;
  letter-spacing:-.042em;
}
.ms-section-head h2{
  max-width:720px;
  margin:12px 0 0;
  font-size:clamp(32px,3.6vw,43px);
  line-height:1.10;
}
.ms-section-head-center{text-align:center}
.ms-section-head-center h2{margin-inline:auto}

/* Feature cards */
.ms-features{padding:72px 0 66px;border-top:1px solid rgba(236,233,242,.62)}
.ms-feature-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:15px;
}
.ms-feature-card{
  grid-column:span 2;
  min-height:235px;
  padding:24px 22px;
  border:1px solid var(--line);
  border-radius:21px;
  background:rgba(255,255,255,.88);
  box-shadow:var(--shadow-soft);
}
.ms-feature-card:nth-child(4),
.ms-feature-card:nth-child(5){grid-column:span 3}
.ms-feature-icon{
  width:43px;
  height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
  border-radius:13px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:18px;
  font-weight:800;
}
.ms-feature-card h3{
  margin:0 0 9px;
  font-size:19px;
  line-height:1.28;
  font-weight:750;
  letter-spacing:-.028em;
}
.ms-feature-card p{
  margin:0;
  max-width:360px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.68;
}

/* How it works */
.ms-how{padding:64px 0 72px}
.ms-steps{
  display:grid;
  grid-template-columns:1fr 60px 1fr 60px 1fr;
  align-items:center;
  gap:16px;
  padding:28px 30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.ms-step{padding:4px 10px}
.ms-step-no{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:12px;
  font-weight:800;
}
.ms-step h3{
  margin:0 0 6px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.035em;
}
.ms-step p{
  margin:0;
  max-width:230px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.62;
}
.ms-step-divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(111,99,207,.45),transparent);
}

/* Real results */
.ms-showcase{padding:0 0 76px}
.ms-showcase-wrap{
  min-height:485px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  align-items:center;
  gap:38px;
  padding:46px 48px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(135deg,#f8f6fe 0%,#fdfcff 100%);
}
.ms-showcase-copy h2{
  max-width:460px;
  margin:12px 0 14px;
  font-size:clamp(31px,3.6vw,42px);
  line-height:1.10;
}
.ms-showcase-copy p{
  max-width:450px;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.72;
}
.ms-showcase-visuals{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
}

/* Premium CTA */
.ms-premium{padding:0 0 70px}
.ms-premium-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  padding:34px 38px;
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(135deg,#faf8ff,#f3effc);
}
.ms-premium-copy{
  display:flex;
  align-items:center;
  gap:22px;
}
.ms-premium-icon{
  width:68px;
  height:68px;
  flex:0 0 68px;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(175,121,0,.13);
}
.ms-premium-copy h2{
  max-width:570px;
  margin:9px 0 7px;
  font-size:clamp(28px,3.2vw,38px);
  line-height:1.11;
}
.ms-premium-copy p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.ms-store-links-footer{flex-shrink:0}

/* Footer */
.ms-footer{padding:0 0 30px}
.ms-footer-inner{text-align:center}
.ms-footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:22px;
  margin-bottom:13px;
}
.ms-footer-links a{color:#504b60;font-size:12.5px;font-weight:600}
.ms-footer p{margin:0;color:#898493;font-size:11.5px}

/* RTL */
html[dir="rtl"] body.mscanner-site{text-align:right}
html[dir="rtl"] .ms-brand,
html[dir="rtl"] .ms-premium-copy{flex-direction:row-reverse}
html[dir="rtl"] .ms-store-links,
html[dir="rtl"] .ms-mini-points{direction:rtl}
html[dir="rtl"] .ms-feature-card,
html[dir="rtl"] .ms-step,
html[dir="rtl"] .ms-showcase-copy{text-align:right}

/* Tablet */
@media (max-width:980px){
  .ms-shell{width:min(calc(100% - 36px),var(--shell))}
  .ms-nav{display:none}
  .ms-hero{padding:52px 0 58px}
  .ms-hero-grid{grid-template-columns:1fr;gap:38px}
  .ms-hero-copy{text-align:center;margin-inline:auto}
  .ms-hero p{margin-inline:auto}
  .ms-store-links,.ms-mini-points{justify-content:center}
  .ms-hero-visual{min-height:0}
  .ms-shot-hero{width:320px}
  .ms-feature-card{grid-column:span 3}
  .ms-feature-card:nth-child(5){grid-column:2 / span 4}
  .ms-steps{grid-template-columns:1fr;gap:10px}
  .ms-step{text-align:center}
  .ms-step-no{margin-inline:auto}
  .ms-step p{margin-inline:auto}
  .ms-step-divider{width:1px;height:18px;margin-inline:auto}
  .ms-showcase-wrap{grid-template-columns:1fr;gap:30px;text-align:center}
  .ms-showcase-copy h2,.ms-showcase-copy p{margin-inline:auto}
  .ms-premium-box{flex-direction:column;align-items:flex-start}
}

/* Mobile */
@media (max-width:650px){
  .ms-shell{width:min(calc(100% - 28px),var(--shell))}
  .ms-header-inner{min-height:64px}
  .ms-brand{font-size:17px}
  .ms-brand img{width:34px;height:34px;border-radius:9px}
  .ms-lang-wrap{min-height:35px;padding:0 8px}
  .ms-language{max-width:102px;font-size:11.5px}

  .ms-hero{padding:40px 0 46px}
  .ms-hero-grid{gap:31px}
  .ms-eyebrow{min-height:28px;padding:0 10px;font-size:9.5px}
  .ms-hero h1{
    margin:17px 0 14px;
    font-size:clamp(39px,11vw,48px);
    line-height:1.02;
  }
  .ms-hero p{font-size:15px;line-height:1.67;margin-bottom:21px}
  .ms-store-links{flex-direction:column;align-items:stretch;width:100%}
  .ms-store-btn{width:100%;min-height:45px;font-size:12.5px}
  .ms-mini-points{gap:6px}
  .ms-mini-points span{min-height:30px;padding:0 9px;font-size:10.5px}
  .ms-shot-hero{width:min(286px,82vw);border-radius:39px}
  .ms-glow{width:330px;height:330px}

  .ms-features{padding:56px 0 52px}
  .ms-section-head{margin-bottom:23px}
  .ms-section-head h2{font-size:31px;line-height:1.12}
  .ms-feature-grid{grid-template-columns:1fr;gap:11px}
  .ms-feature-card,
  .ms-feature-card:nth-child(4),
  .ms-feature-card:nth-child(5){
    grid-column:auto;
    min-height:0;
    padding:20px 19px;
  }
  .ms-feature-icon{width:39px;height:39px;margin-bottom:17px}
  .ms-feature-card h3{font-size:18px}
  .ms-feature-card p{font-size:13px}

  .ms-how{padding:50px 0 58px}
  .ms-steps{padding:24px 18px;border-radius:21px}
  .ms-step h3{font-size:20px}
  .ms-step p{font-size:13px}

  .ms-showcase{padding-bottom:58px}
  .ms-showcase-wrap{min-height:0;padding:30px 18px;border-radius:23px}
  .ms-showcase-copy h2{font-size:29px}
  .ms-showcase-copy p{font-size:13.5px}
  .ms-showcase-visuals{gap:11px;align-items:center}
  .ms-shot-small{width:min(42vw,190px);border-radius:23px}
  .ms-offset{transform:translateY(18px)}

  .ms-premium{padding-bottom:52px}
  .ms-premium-box{padding:26px 20px;border-radius:22px}
  .ms-premium-copy{align-items:flex-start;gap:16px}
  .ms-premium-icon{width:55px;height:55px;flex-basis:55px;border-radius:15px}
  .ms-premium-copy h2{font-size:27px}
  .ms-premium-copy p{font-size:13px}
  .ms-store-links-footer{width:100%}
  .ms-footer{padding-bottom:24px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}
