:root {
    --bg: #f7faef;
    --surface: #ffffff;
    --ink: #1b2e12;
    --muted: #5c6b52;
    --accent: #5e9b34;
    --accent-dark: #3f6f22;
    --accent-soft: #eaf3dc;
    --line: rgba(27, 46, 18, 0.1);
    --radius: 24px;
    --shadow: 0 24px 60px -28px rgba(24, 42, 14, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 250, 239, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 15px;
    color: var(--muted);
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-dark);
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 18px 34px -18px rgba(94, 155, 52, 0.85);
}

.btn-primary:hover {
    background: #548b2d;
}

.btn-secondary {
    border-color: rgba(27, 46, 18, 0.18);
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: rgba(27, 46, 18, 0.32);
}

.btn-small {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 14px;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 48px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
}

.hero::before {
    width: 620px;
    height: 620px;
    top: -260px;
    right: -120px;
    background: rgba(150, 195, 100, 0.36);
}

.hero::after {
    width: 460px;
    height: 460px;
    bottom: -220px;
    left: -160px;
    background: rgba(196, 222, 160, 0.5);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 56px;
    align-items: start;
}

.hero-copy {
    padding-top: 26px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

h1 {
    margin: 22px 0 20px;
    font-size: clamp(40px, 5.2vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.hero p.lead {
    max-width: 540px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 38px;
}

.hero-stat strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-stat span {
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone {
    position: relative;
    width: min(330px, 82%);
    padding: 10px;
    border-radius: 48px;
    background: #151b12;
    box-shadow: 0 50px 90px -40px rgba(20, 35, 10, 0.6);
    transform: rotate(-2deg);
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 38px;
}

.phone-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 36px -20px rgba(24, 42, 14, 0.45);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.phone-badge span {
    color: var(--accent-dark);
}

.badge-top {
    top: 70px;
    left: -54px;
    transform: rotate(2deg);
}

.badge-bottom {
    right: -48px;
    bottom: 92px;
    transform: rotate(2deg);
}

/* ---------- sections ---------- */

.section {
    padding: 88px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 44px;
}

.section-head h2 {
    margin: 14px 0 14px;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #e4f0d2;
    color: var(--accent-dark);
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- how ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px 26px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #f4f8ec;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #cde5a9;
    font-weight: 700;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.step p {
    margin: 0;
    color: rgba(244, 248, 236, 0.7);
    font-size: 15px;
}

/* ---------- screenshots ---------- */

.shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.shot {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
}

.shot a {
    display: block;
    line-height: 0;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.shot span {
    display: block;
    padding: 12px 8px 6px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* ---------- pricing ---------- */

.plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.plan.featured {
    background: var(--ink);
    border-color: var(--ink);
    color: #f4f8ec;
}

.plan-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
}

.plan.featured .plan-name {
    color: #cde5a9;
}

.plan-price {
    margin: 12px 0 4px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.plan-price small {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.plan.featured .plan-price small {
    color: rgba(244, 248, 236, 0.6);
}

.plan-note {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
}

.plan.featured .plan-note {
    color: rgba(244, 248, 236, 0.6);
}

.plan ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.plan li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
}

.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.plan.featured li::before {
    background: #cde5a9;
}

.plan .btn {
    margin-top: auto;
}

.plan.featured .btn-primary {
    background: var(--accent);
}

.badge {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.plan.featured .badge {
    background: rgba(205, 229, 169, 0.16);
    color: #cde5a9;
}

.pricing-note {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- faq ---------- */

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 700;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 20px;
    font-weight: 600;
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    max-width: 820px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- cta ---------- */

.cta {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    align-items: center;
    padding: 48px;
    border-radius: 32px;
    background: var(--ink);
    color: #f4f8ec;
}

.cta h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.cta p {
    margin: 0;
    color: rgba(244, 248, 236, 0.7);
}

.cta-actions {
    display: flex;
    justify-content: flex-end;
}

/* ---------- footer ---------- */

footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 38px;
}

.footer-brand p {
    max-width: 320px;
    margin: 14px 0 0;
}

.footer-col h4 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

/* ---------- legal ---------- */

.legal {
    padding: 64px 0 96px;
}

.legal .wrap {
    max-width: 860px;
}

.legal h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.legal .meta {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 14px;
}

.legal h2 {
    margin: 40px 0 12px;
    font-size: 23px;
    letter-spacing: -0.02em;
}

.legal h3 {
    margin: 26px 0 8px;
    font-size: 18px;
}

.legal p,
.legal li {
    color: #33402b;
}

.legal ul,
.legal ol {
    padding-left: 22px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--accent-dark);
}

.legal .note {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: var(--accent-soft);
    color: #33402b;
}

.legal .note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
}

.legal .requisites {
    margin-top: 36px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    font-size: 15px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.back-link:hover {
    color: var(--ink);
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
    .features,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .shots,
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta {
        grid-template-columns: 1fr;
        padding: 38px;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        margin-left: auto;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        order: -1;
    }

    .badge-top {
        left: 0;
    }

    .badge-bottom {
        right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 64px 0;
    }

    .features,
    .steps,
    .plans {
        grid-template-columns: 1fr;
    }

    .shots {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .hero-stats {
        gap: 18px;
    }

    .hero-stat strong {
        font-size: 22px;
    }

    .cta {
        padding: 30px;
        border-radius: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .phone {
        width: min(300px, 86%);
    }

    .badge-top,
    .badge-bottom {
        display: none;
    }
}
