*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fafaf9;
    color: #1c1917;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: #047857; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--alt { background: #fff; }
.section__title {
    font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
    color: #14532d; margin: 0 0 12px; text-align: center;
}
.section__subtitle {
    text-align: center; color: #57534e; max-width: 640px; margin: 0 auto 32px;
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; position: sticky; top: 0; z-index: 20;
    background: rgba(250, 250, 249, 0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: #e7e5e4; }
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #047857;
  font-size: 20px;
  text-decoration: none;
}
.nav__brand img { display: block; border-radius: 8px; }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.nav__login {
    color: #047857; text-decoration: none; font-weight: 500; font-size: 14px;
    padding: 8px 14px; border-radius: 10px; transition: background 0.15s;
}
.nav__login:hover { background: #ecfdf5; }
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: #16a34a; color: #fff; text-decoration: none;
    font-weight: 600; font-size: 17px; padding: 14px 28px; border-radius: 14px;
    border: none; cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25); transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35); }
.btn-primary--sm { font-size: 15px; padding: 10px 18px; }
.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: #047857; text-decoration: none;
    font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 12px;
    border: 1px solid #bbf7d0;
}
.hero { padding: 40px 0 24px; }
.hero__grid {
    display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
.hero__content { text-align: center; }
.hero__title {
    font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
    color: #14532d; margin: 0 0 16px;
    text-wrap: balance;
}
.hero__subtitle {
    font-size: 18px; color: #57534e; margin: 0 auto 24px; max-width: 560px;
    text-wrap: pretty;
}
.hero__actions {
    display: flex; flex-direction: column; gap: 10px;
    align-items: stretch; margin-bottom: 12px;
}
.hero__actions .btn-primary,
.hero__actions .btn-secondary { width: 100%; max-width: 320px; margin: 0 auto; }
.hero__hint { color: #78716c; font-size: 13px; }
.hero__media {
    border-radius: 24px; overflow: hidden; background: #ecfdf5;
    box-shadow: 0 20px 50px rgba(20, 83, 45, 0.12);
    min-height: 280px; position: relative;
}
.hero__media video,
.hero__media .hero__poster,
.hero__media .hero__mockup {
    width: 100%; aspect-ratio: 9 / 16; object-fit: cover; max-height: 520px; margin: 0 auto;
}
.hero__mockup {
    width: 100%; max-width: 420px; height: auto; aspect-ratio: auto;
    object-fit: contain; display: block;
}
.hero__poster {
    display: flex; align-items: center; justify-content: center;
    padding: 32px 20px; min-height: 280px;
    background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 100%);
}
.hero__flow {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px; max-width: 100%;
}
.hero__pill {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #14532d; font-weight: 700; font-size: 14px;
    padding: 10px 14px; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(20, 83, 45, 0.08);
    white-space: nowrap;
}
.hero__arrow { color: #16a34a; font-weight: 700; font-size: 18px; line-height: 1; }
.demo { padding-top: 24px; }
.demo__box {
    position: relative;
    background: #fff; border-radius: 20px; padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06); border: 1px solid #e7e5e4;
}
.demo__loader {
    position: absolute; inset: 0; z-index: 10;
    display: none; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 24px; text-align: center;
    background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(4px);
    border-radius: 20px; color: #fff;
}
.demo__loader.is-visible { display: flex; }
.demo__loader-spinner {
    width: 32px; height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff; border-radius: 50%;
    animation: demo-loader-spin 0.8s linear infinite;
}
.demo__loader-phrase {
    margin: 0; max-width: 20rem; font-size: 14px; font-weight: 600; line-height: 1.4;
    animation: demo-loader-fade 0.35s ease;
}
.demo__loader-dots {
    display: inline-flex; gap: 4px;
}
.demo__loader-dots span {
    width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.8);
    animation: demo-loader-pulse 1.2s ease-in-out infinite;
}
.demo__loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.demo__loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes demo-loader-spin { to { transform: rotate(360deg); } }
@keyframes demo-loader-fade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes demo-loader-pulse {
    0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
    40% { opacity: 1; transform: scale(1); }
}
.demo__drop {
    border: 2px dashed #86efac; border-radius: 16px; padding: 36px 20px;
    text-align: center; transition: background 0.15s, border-color 0.15s;
}
.demo__drop.is-dragover { background: #f0fdf4; border-color: #16a34a; }
.demo__drop-title { font-weight: 700; color: #14532d; margin: 0 0 8px; }
.demo__drop-desc { color: #57534e; margin: 0; font-size: 14px; }
.demo__drop-desc--desktop { display: none; }
.demo__actions {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-top: 16px;
}
.demo__examples { margin-top: 20px; font-size: 14px; color: #57534e; }
.demo__examples-label { margin: 0 0 10px; }
.demo__examples-list { display: flex; flex-wrap: wrap; gap: 8px; }
.demo__sample-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #ecfdf5; border: 1px solid #bbf7d0; color: #047857; font-weight: 600;
    padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer;
}
.demo__sample-thumb {
    width: 40px; height: 40px; border-radius: 999px; object-fit: cover; flex-shrink: 0;
}
.demo__status { margin-top: 16px; color: #57534e; font-size: 14px; min-height: 20px; }
.demo__result { margin-top: 20px; display: none; }
.demo__result.is-visible { display: block; }
.demo-card {
    background: #f0fdf4; border-radius: 16px; padding: 18px; border: 1px solid #bbf7d0;
}
.demo-card__name { font-size: 20px; font-weight: 700; color: #14532d; margin: 0 0 8px; }
.demo-card__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px;
}
.demo-card__metric { background: #fff; border-radius: 12px; padding: 10px 12px; }
.demo-card__metric-label { font-size: 12px; color: #78716c; }
.demo-card__metric-value { font-size: 18px; font-weight: 700; color: #1c1917; }
.demo-gate {
    background: #fff7ed;
    border: 2px solid #fb923c;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.demo-gate__title {
    font-size: 20px;
    font-weight: 700;
    color: #9a3412;
    margin: 0 0 8px;
}
.demo-gate__desc {
    font-size: 14px;
    color: #57534e;
    margin: 0 0 20px;
    line-height: 1.5;
}
.steps__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step {
    background: #fff; border-radius: 16px; padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.step__icon { font-size: 28px; margin-bottom: 10px; }
.step__title { font-weight: 700; color: #1c1917; margin: 0 0 4px; }
.step__desc { color: #57534e; font-size: 14px; margin: 0; }
.proof__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.proof__counter {
    background: #fff; border-radius: 16px; padding: 24px; text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.proof__value { font-size: 32px; font-weight: 800; color: #16a34a; }
.proof__label { color: #57534e; font-size: 14px; }
.proof__note {
    text-align: center; color: #a8a29e; font-size: 12px; margin: 16px 0 28px;
}
.proof__reviews {
    display: grid; grid-template-columns: 1fr; gap: 16px;
    margin-top: 8px;
}
.review {
    display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start;
    background: #fff; border-radius: 16px; padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04); margin: 0;
}
.review__avatar {
    width: 56px; height: 56px; border-radius: 999px; object-fit: cover;
}
.review__avatar--placeholder {
    display: flex; align-items: center; justify-content: center;
    background: #ecfdf5; color: #047857; font-weight: 700; font-size: 20px;
}
.review__text { margin: 0 0 10px; color: #292524; }
.review__author { font-weight: 600; color: #57534e; font-size: 14px; }
.showcase {
    display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 8px;
}
.showcase__item { margin: 0; text-align: center; }
.showcase__img {
    width: 100%; max-width: 320px; margin: 0 auto;
    border-radius: 24px; box-shadow: 0 12px 32px rgba(20, 83, 45, 0.12);
}
.showcase__caption {
    display: flex; flex-direction: column; gap: 4px; margin-top: 12px;
    color: #57534e; font-size: 14px;
}
.showcase__caption strong { color: #14532d; font-size: 16px; }
.features__grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
}
.feature {
    background: #fff; border-radius: 14px; padding: 16px 18px; color: #292524;
}
.feature__title { font-weight: 700; margin: 0 0 4px; }
.feature__desc { margin: 0; font-size: 14px; color: #57534e; }
.comparison__wrap { overflow-x: auto; }
.comparison__table {
    width: 100%; min-width: 640px; border-collapse: collapse; background: #fff;
    border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.comparison__table th, .comparison__table td {
    padding: 12px 14px; border-bottom: 1px solid #e7e5e4; text-align: left; font-size: 14px;
}
.comparison__table th { background: #f0fdf4; color: #14532d; }
.comparison__table tr:last-child td { border-bottom: none; }
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.price-card {
    background: #fff; border-radius: 18px; padding: 24px; border: 1px solid #e7e5e4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.price-card--featured {
    border-color: #16a34a; box-shadow: 0 10px 30px rgba(22, 163, 74, 0.15);
}
.price-card__name { font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.price-card__price { font-size: 28px; font-weight: 800; color: #14532d; margin: 0 0 12px; }
.price-card__list { margin: 0 0 20px; padding-left: 18px; color: #57534e; font-size: 14px; }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
    background: #fff; border-radius: 14px; margin-bottom: 10px;
    border: 1px solid #e7e5e4; overflow: hidden;
}
.faq__question {
    width: 100%; text-align: left; background: #fff; border: none; padding: 16px 18px;
    font-weight: 700; font-size: 16px; cursor: pointer; color: #1c1917;
}
.faq__answer { padding: 0 18px 16px; color: #57534e; font-size: 15px; display: none; }
.faq__item.is-open .faq__answer { display: block; }
.cta-final { text-align: center; padding: 56px 0; border-top: 1px solid #e7e5e4; }
.cta-final__title { font-size: 30px; font-weight: 800; color: #14532d; margin: 0 0 12px; }
.cta-final__desc { color: #57534e; margin: 0 0 24px; }
.footer {
    padding: 32px 0 40px; color: #a8a29e; font-size: 13px; text-align: center;
    border-top: 1px solid #e7e5e4;
}
.footer a { color: #78716c; text-decoration: none; margin: 0 8px; }
.footer a:hover { color: #292524; }
.footer__legal { margin-bottom: 12px; }
.footer__requisites { margin: 0 0 6px; color: #78716c; line-height: 1.5; }
.footer__contacts { margin: 0; }
.footer__sep { margin: 0 4px; color: #d6d3d1; }
.footer__links { margin-bottom: 10px; line-height: 1.8; }
.footer__copy { color: #a8a29e; }
.pricing__legal {
    margin: 24px auto 0; max-width: 520px; text-align: center;
    font-size: 13px; color: #78716c; line-height: 1.6;
}
.pricing__legal a { margin: 0 4px; }
.legal-page { padding-top: 24px; padding-bottom: 32px; }
.container--legal { max-width: 720px; }
.legal-doc { text-align: left; color: #44403c; font-size: 15px; line-height: 1.65; }
.legal-doc__title {
    font-size: 26px; font-weight: 800; color: #14532d; margin: 0 0 8px;
    text-align: center; letter-spacing: -0.02em;
}
.legal-doc__meta { text-align: center; color: #78716c; font-size: 13px; margin: 0 0 28px; }
.legal-doc h2 {
    font-size: 18px; font-weight: 700; color: #14532d;
    margin: 28px 0 10px; letter-spacing: -0.01em;
}
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 12px; padding-left: 1.25rem; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc__requisites {
    background: #fff; border: 1px solid #e7e5e4; border-radius: 12px;
    padding: 16px 20px; margin-top: 8px;
}
.legal-doc__requisites p { margin: 0 0 6px; }
.legal-cards {
    display: grid; gap: 16px; max-width: 640px; margin: 0 auto 28px;
}
.legal-card {
    background: #fff; border: 1px solid #e7e5e4; border-radius: 16px;
    padding: 20px 22px; text-align: left;
}
.legal-card__title {
    font-size: 17px; font-weight: 700; color: #14532d; margin: 0 0 14px;
}
.legal-card__list {
    list-style: none; margin: 0; padding: 0;
}
.legal-card__list li { margin-bottom: 12px; }
.legal-card__list--plain li { margin-bottom: 6px; color: #44403c; }
.legal-card__label {
    display: block; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: #78716c; margin-bottom: 2px;
}
.legal-card a { font-weight: 500; }
.legal-note {
    max-width: 640px; margin: 0 auto 24px; padding: 20px 22px;
    background: #ecfdf5; border-radius: 16px; text-align: left;
    color: #44403c; font-size: 15px; line-height: 1.6;
}
.legal-note__title { font-size: 17px; font-weight: 700; color: #14532d; margin: 0 0 10px; }
.legal-note p { margin: 0 0 10px; }
.legal-back { text-align: center; margin: 24px 0 0; font-size: 14px; }
.legal-back a { margin: 0 6px; }
@media (min-width: 640px) {
    .legal-cards { grid-template-columns: 1fr 1fr; }
    .legal-doc__title { font-size: 30px; }
}
.hidden-input { display: none; }
@media (min-width: 640px) {
    .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
    .hero__content { text-align: left; }
    .hero__title { font-size: 44px; }
    .hero__subtitle { margin-left: 0; margin-right: 0; }
    .hero__actions {
        flex-direction: row; flex-wrap: wrap; justify-content: flex-start;
    }
    .hero__actions .btn-primary,
    .hero__actions .btn-secondary { width: auto; margin: 0; }
    .hero__flow { flex-wrap: nowrap; }
    .demo__drop-desc--desktop { display: block; margin-top: 8px; }
    .proof__reviews { grid-template-columns: repeat(2, 1fr); }
    .showcase { grid-template-columns: repeat(2, 1fr); }
    .steps__grid { grid-template-columns: repeat(3, 1fr); }
    .proof__grid { grid-template-columns: repeat(3, 1fr); }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .pricing__grid { grid-template-columns: repeat(3, 1fr); }
    .demo-card__grid { grid-template-columns: repeat(4, 1fr); }
}
