:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-strong: #101828;
    --text: #172033;
    --muted: #667085;
    --line: #dde3ee;
/*    --primary: #13795b;*/
    --primary: #284275;
    --primary-dark: #0f6049;
    --accent: #f2b84b;
    --blue: #2563eb;
    --rose: #e8598a;
    --shadow: 0 22px 70px rgba(16, 24, 40, 0.14);
    --radius: 8px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px max(22px, calc((100vw - var(--container)) / 2));
    background: rgba(247, 248, 251, 0.92);
    border-bottom: 1px solid rgba(221, 227, 238, 0.86);
    backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero__actions,
.hero__proof {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    max-height: 77px;
}

.brand img {
    max-height: 70px;
    width: auto;
}


.brand__mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: var(--radius);
}

.site-nav {
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
}

.site-nav a,
.page-footer a {
    text-decoration: none;
}

.site-nav a:hover,
.page-footer a:hover {
    color: var(--primary);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.button--primary {
    color: #ffffff;
    background: var(--primary);
}

.header-cta:hover,
.button--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.button--secondary {
    color: var(--text);
    background: #ffffff;
    border-color: var(--line);
}

.button--secondary:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 46px;
    align-items: center;
    max-width: var(--container);
    /*min-height: calc(100vh - 68px);*/
    margin: 0 auto;
    padding: 64px 22px 58px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero__content p {
    max-width: 620px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 20px;
}

.hero__actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero__proof {
    flex-wrap: wrap;
    gap: 10px;
}

.hero__proof span {
    padding: 8px 10px;
    color: #304052;
    background: #eef6f2;
    border: 1px solid #d5eadf;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
}

.product-demo {
    position: relative;
    min-height: 560px;
}

.desktop-mockup,
.phone-mockup {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.desktop-mockup {
    overflow: hidden;
    border-radius: var(--radius);
}

.mockup-topbar {
    display: flex;
    gap: 7px;
    padding: 14px;
    background: #f0f3f8;
    border-bottom: 1px solid var(--line);
}

.mockup-topbar span {
    width: 10px;
    height: 10px;
    background: #bac4d3;
    border-radius: 50%;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 385px;
}

.dashboard-preview aside {
    padding: 22px 16px;
    color: #ffffff;
    background: var(--surface-strong);
}

.dashboard-preview aside strong {
    display: block;
    margin-bottom: 24px;
}

.nav-line {
    display: block;
    height: 10px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.nav-line.active {
    width: 78%;
    background: var(--accent);
}

.dashboard-preview section {
    padding: 24px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-weight: 800;
}

.preview-header button,
.catalog-preview button {
    border: 0;
    border-radius: var(--radius);
    color: #ffffff;
    background: var(--primary);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.preview-header button {
    min-height: 34px;
    padding: 0 12px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.preview-grid article {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.preview-grid strong,
.preview-grid small {
    display: block;
}

.preview-grid small {
    color: var(--primary);
    font-weight: 800;
}

.product-thumb {
    display: block;
    height: 92px;
    margin-bottom: 12px;
    border-radius: var(--radius);
    background: #dbeafe;
}

.thumb-green {
    background: linear-gradient(135deg, #d7f7e5, #65c690);
}

.thumb-blue {
    background: linear-gradient(135deg, #dbeafe, #6aa7ff);
}

.thumb-pink {
    background: linear-gradient(135deg, #ffe1ea, #e8598a);
}

.phone-mockup {
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 220px;
    padding: 12px;
    border-radius: 28px;
}

.phone-speaker {
    width: 54px;
    height: 5px;
    margin: 0 auto 10px;
    background: #c5cbd5;
    border-radius: 999px;
}

.catalog-preview {
    overflow: hidden;
    min-height: 405px;
    background: #f9fafb;
    border-radius: 18px;
    text-align: center;
}

.catalog-cover {
    height: 74px;
    background: linear-gradient(135deg, #13795b, #f2b84b);
}

.catalog-logo {
    display: grid;
    width: 46px;
    height: 46px;
    margin: -23px auto 8px;
    place-items: center;
    color: #ffffff;
    background: var(--surface-strong);
    border: 3px solid #ffffff;
    border-radius: 50%;
    font-weight: 900;
}

.catalog-tabs {
    display: block;
    margin: 8px 12px 12px;
    padding: 8px;
    color: var(--muted);
    background: #ffffff;
    border-radius: var(--radius);
    font-size: 11px;
}

.catalog-preview article {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 12px;
    padding: 8px;
    background: #ffffff;
    border-radius: var(--radius);
    text-align: left;
}

.mini-photo {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #d7f7e5, #65c690);
}

.mini-photo.alt {
    background: linear-gradient(135deg, #dbeafe, #6aa7ff);
}

.catalog-preview small {
    display: block;
    color: var(--primary);
    font-weight: 800;
}

.catalog-preview button {
    width: calc(100% - 24px);
    min-height: 38px;
    margin-top: 8px;
}

.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 20px;
}

.section__heading {
    max-width: 690px;
    margin-bottom: 34px;
}

.section__heading h2,
.final-cta h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: 0;
}

.benefit-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefit-card,
.price-card,
.steps article,
.faq-list details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.benefit-card {
    padding: 22px;
}

.icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--primary);
    background: #e8f6ef;
    border-radius: var(--radius);
}

.icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.benefit-card h3,
.steps h3,
.price-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.2;
}

.benefit-card p,
.steps p,
.price-card p,
.faq-list p {
    margin-bottom: 0;
    color: var(--muted);
}

.section--split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 42px;
    align-items: start;
}

.steps {
    display: grid;
    gap: 14px;
}

.steps article {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding: 22px;
}

.steps span {
    display: grid;
    width: 42px;
    height: 42px;
    grid-row: span 2;
    place-items: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: var(--radius);
    font-weight: 900;
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
}

.price-card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.badge {
    align-self: flex-start;
    padding: 7px 10px;
    color: #664100;
    background: #fff1cf;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 900;
}

.price-card strong {
    font-size: 42px;
    line-height: 1;
}

.price-card strong span {
    color: var(--muted);
    font-size: 15px;
}

.price-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.price-card li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--primary);
    font-weight: 900;
}

.price-card .button {
    margin-top: auto;
}

.faq-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 42px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-list summary::marker {
    color: var(--primary);
}

.faq-list p {
    padding-top: 12px;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: var(--container);
    margin: 0 auto 48px;
    padding: 44px 22px;
    color: #ffffff;
    background: var(--surface-strong);
    border-radius: var(--radius);
}

.final-cta h2 {
    max-width: 720px;
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 22px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
    .site-nav a {
        display: none;
    }
    
    .site-nav {
        width: 47%;
    }
    
    .header-cta {
        width: 47%;
    }
    
    .site-nav a:last-of-type {
        display: block;
        padding: 10px 20px;
        border-radius: 7px;
        border: 1px solid var(--line);
        color: var(--primary);
        background: #fff;
        font-weight: 600;
        flex-basis: 100%;
        text-align: center;
    }

    .hero,
    .section--split,
    .faq-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 46px;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header-cta {
        width: 100%;
    }

    .hero {
        padding-top: 34px;
    }

    h1 {
        font-size: 40px;
    }

    .hero__content p {
        font-size: 18px;
    }

    .product-demo {
        min-height: auto;
        padding-bottom: 0;
    }

    .dashboard-preview {
        grid-template-columns: 1fr;
    }

    .dashboard-preview aside {
        display: none;
    }

    .preview-grid,
    .benefit-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(240px, 100%);
        margin: -52px auto 0;
    }

    .steps article {
        grid-template-columns: 1fr;
    }

    .steps span {
        margin-bottom: 14px;
    }

    .final-cta,
    .page-footer {
        flex-direction: column;
        text-align: center;
    }

    .final-cta {
        margin-right: 22px;
        margin-left: 22px;
    }
}

@media (max-width: 650px) {
    .site-nav {
        width: 100%;
    }
    
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .button,
    .hero__actions {
        width: 100%;
    }

    h1 {
        font-size: 34px;
    }

    .section {
        padding-top: 58px;
        padding-bottom: 58px;
    }
}
