@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #5c4fe8;
  --primary-dark: #5143dd;
  --ink: #17213d;
  --muted: #74809d;
  --background: #ffffff;
  --surface: #ffffff;
  --line: #e3e7f2;
  --soft: #f4f5ff;
  --coral: #ec765b;
  --mint: #64cbb8;
  --orange: #f2a143;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--background);
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(950px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  height: 57px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  display: flex;
  align-items: center;
}
.header-row { display: flex; align-items: center; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; color: #a69cf8;
  border: 1px solid #d6d1ff; background: #f7f6ff;
}
.brand-mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.main-nav { margin: 0 auto; display: flex; gap: 46px; font-size: 10px; }
.main-nav a, .login { transition: color .18s ease; }
.main-nav a:hover, .login:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 26px; font-size: 10px; }
.registration {
  height: 33px; padding: 0 19px; border: 0; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 650; background: linear-gradient(135deg,#5b4be1,#6958ef);
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 5px; color: var(--ink); }

.hero { padding: 25px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }
.hero-copy { padding-top: 4px; }
.eyebrow {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 17px;
  border-radius: 999px; color: var(--coral); background: #fff0ec;
  font-size: 10px; font-weight: 600;
}
.hero h1 { margin: 18px 0 15px; max-width: 420px; font-size: 39px; line-height: 1.11; letter-spacing: -.035em; }
.hero-lead { margin: 0; max-width: 335px; color: var(--muted); font-size: 14px; line-height: 1.46; }
.hero-buttons { display: flex; gap: 19px; margin-top: 22px; }
.button {
  height: 40px; min-width: 153px; padding: 0 22px; border: 1px solid #d1d7e8;
  border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; cursor: pointer; color: var(--ink); background: white; font-size: 11px; font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); border-color: #b7b0ff; box-shadow: 0 8px 18px rgba(83,72,203,.10); }
.button-primary { border-color: transparent; color: white; background: linear-gradient(135deg,#5b4be1,#6958ef); }
.play-icon { color: var(--primary); font-size: 13px; }
.hero-notes { display: flex; gap: 46px; margin-top: 18px; color: var(--muted); font-size: 10px; }
.hero-notes span { display: flex; align-items: center; gap: 9px; }
.check-ring { width: 14px; height: 14px; border: 1.4px solid #aab7d6; border-radius: 50%; position: relative; }
.check-ring::after { content: ""; position: absolute; left: 3px; top: 3px; width: 5px; height: 3px; border-left: 1.4px solid #8293be; border-bottom: 1.4px solid #8293be; transform: rotate(-45deg); }
.media-placeholder {
  height: 290px; border-radius: 14px; display: grid; place-items: center;
  color: #b9c2dc; background: linear-gradient(135deg,#f5f4ff,#f1f3ff);
}
.media-placeholder svg { width: 62px; height: 62px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.trust-strip {
  min-height: 70px; border: 1px solid var(--line); border-radius: 13px;
  display: grid; grid-template-columns: repeat(4,1fr); align-items: center; padding: 12px 0;
}
.trust-item { min-height: 42px; padding: 0 23px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.icon-box {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--primary); background: #f4f1ff;
}
.icon-box.blue { color: #5590ff; background: #eef6ff; }
.icon-box.orange { color: #f39b35; background: #fff7ec; }
.icon-box.mint { color: var(--mint); background: #effaf8; }
.icon-box svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong, .feature-card strong { display: block; font-size: 10px; margin-bottom: 7px; }
.trust-item p, .feature-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }

.section { padding-top: 22px; }
.section-title { margin: 0 0 16px; text-align: center; font-size: 16px; letter-spacing: -.01em; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feature-card { min-height: 125px; padding: 23px 17px; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 14px; }
.feature-card .icon-box { width: 50px; height: 50px; border-radius: 12px; }
.feature-card .icon-box svg { width: 27px; height: 27px; }
.feature-card div:last-child { padding-top: 5px; }

#templates { padding-top: 14px; }
#templates .section-title { margin-bottom: 13px; }
.template-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.template-card { height: 133px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 9px; }
.template-image { height: 76px; display: grid; place-items: center; color: #bdc6df; background: linear-gradient(135deg,#f6f6ff,#eff1fc); border-radius: 4px; }
.template-image svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.template-lines { padding: 8px 9px 0; }
.template-lines i { display: block; height: 4px; border-radius: 5px; background: #d9dde8; margin-bottom: 6px; }
.template-lines i:nth-child(1) { width: 48%; height: 8px; }
.template-lines i:nth-child(2) { width: 85%; }
.template-lines i:nth-child(3) { width: 65%; }
.center-action { display: flex; justify-content: center; margin-top: 13px; }
.center-action .button { height: 33px; min-width: 211px; font-weight: 500; }

.process-section { margin-top: 13px; padding: 13px 0 23px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-section .section-title { margin-bottom: 15px; }
.process-row { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: center; }
.process-step { display: flex; align-items: flex-start; gap: 14px; }
.step-number { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #d9d4ff; display: grid; place-items: center; color: var(--primary); font-size: 19px; font-weight: 700; background: #fbfaff; }
.process-step strong { display: block; font-size: 10px; margin: 3px 0 6px; }
.process-step p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.arrow { color: #8b99bb; font-size: 22px; text-align: center; font-weight: 300; }

.pricing-section { padding: 7px 0 9px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 19px; }
.price-card { min-height: 178px; padding: 19px 19px 14px; border: 1px solid var(--line); border-radius: 11px; position: relative; display: flex; flex-direction: column; }
.price-card.popular { border-color: #9d91ff; }
.popular-badge { position: absolute; top: -1px; left: 50%; transform: translate(-50%,-1px); padding: 5px 12px; border-radius: 0 0 6px 6px; color: var(--primary); background: #f1efff; font-size: 9px; }
.price-card h3 { margin: 0 0 3px; font-size: 14px; font-weight: 500; }
.price { margin-bottom: 9px; font-size: 14px; font-weight: 700; }
.price small { font-size: 10px; font-weight: 500; }
.price-features { margin: 0 0 11px; padding: 0; list-style: none; color: var(--muted); font-size: 9px; line-height: 1.65; }
.price-features li::before { content: "✓"; color: #7588b4; margin-right: 8px; }
.price-card .button { margin-top: auto; width: 100%; min-width: 0; height: 29px; font-size: 9px; }

.site-footer { border-top: 1px solid var(--line); padding: 16px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr .9fr; gap: 65px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { margin: 0; max-width: 190px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.socials { display: flex; gap: 16px; margin-top: 8px; font-weight: 750; color: #425075; font-size: 11px; }
.footer-column strong { display: block; margin: 5px 0 12px; font-size: 10px; }
.footer-column a { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; }
.copyright { margin-top: 9px; color: var(--muted); font-size: 8px; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: 310px; padding: 14px 18px; color: white; background: var(--ink); border-radius: 10px; box-shadow: 0 12px 32px rgba(20,27,55,.2); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .22s ease; }
.toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .main-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .hero h1 { font-size: 34px; }
  .trust-item { padding: 0 12px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .process-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .arrow { display: none; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 520px); }
  .site-header { height: auto; min-height: 58px; }
  .header-row { min-height: 58px; flex-wrap: wrap; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { order: 4; width: 100%; max-height: 0; overflow: hidden; opacity: 0; flex-direction: column; gap: 0; transition: .2s ease; }
  .main-nav.is-open { max-height: 260px; opacity: 1; padding: 7px 0 14px; }
  .main-nav a { padding: 10px 0; }
  .header-actions { display: none; }
  .hero { padding: 24px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .media-placeholder { order: 0; height: 210px; }
  .hero h1 { font-size: 35px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .button { width: 100%; }
  .hero-notes { gap: 18px; flex-wrap: wrap; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { padding: 10px 14px; }
  .feature-grid, .template-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 110px; }
  .template-card { height: 155px; }
  .template-image { height: 94px; }
  .process-row { grid-template-columns: 1fr; }
  .process-step { padding: 7px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Asset bounds and content sizing. */

.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hero-grid>*{min-width:0}.media-placeholder,.template-image{overflow:hidden}.media-placeholder img,.template-image img{display:block;width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center top}.media-placeholder{height:auto;aspect-ratio:8/5;border:1px solid #e3e7f2;box-shadow:0 16px 40px #17213d12}.template-card{height:auto;padding:10px}.template-image{height:auto;aspect-ratio:8/5}.template-lines{font-size:14px;font-weight:600;padding:14px 6px 8px}.section-title{font-size:26px;margin-bottom:24px}.section{padding-top:42px}.trust-item strong,.feature-card strong{font-size:14px}.trust-item p,.feature-card p{font-size:13px;line-height:1.5}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-card{min-height:145px}.button{font-size:13px;min-height:44px;height:auto;padding-block:12px}.main-nav,.header-actions{font-size:13px}.main-nav{gap:22px}.container{width:min(1160px,calc(100% - 48px))}.hero{padding-block:48px}.hero-grid{gap:40px;align-items:center}.hero h1{max-width:none;font-size:44px}.hero-lead{max-width:460px;font-size:16px}.process-step b,.pricing-card li{font-size:13px}.process-step p{font-size:13px}.process-row{gap:20px}.pricing-card{height:auto;min-height:280px}.eyebrow,.hero-notes{font-size:12px}
@media(max-width:900px){.main-nav{gap:12px}.trust-strip{grid-template-columns:1fr 1fr}.header-actions{gap:12px}.hero-grid{gap:24px}}
@media(max-width:680px){.container{width:calc(100% - 32px)}.hero-grid{grid-template-columns:minmax(0,1fr)}.hero-copy{order:0}.media-placeholder{order:1;height:auto}.hero h1{font-size:36px}.feature-grid{grid-template-columns:1fr}.hero{padding-top:32px}.hero-notes{gap:14px}.trust-item{padding:16px 12px;align-items:flex-start}.trust-item p{font-size:12px}.trust-item .icon-box{width:28px;height:28px}.template-card,.template-image{height:auto}}

