.section-kicker + h2 {
    margin-top: 8px;
}

.section-heading p,
.dashboard-preview-heading p,
.download-heading p {
    margin-top: 14px;
}

/* Плавное появление секций */

.reveal-section {
    opacity: 0;
    transform: translateY(38px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Единая линия всех секций */

.advantages-section,
.dashboard-preview-section,
.download-section {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.section-heading,
.dashboard-preview-heading,
.download-heading {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    text-align: left;
}

@media (max-width: 700px) {
    .advantages-section,
    .dashboard-preview-section,
    .download-section {
        width: min(100% - 28px, 1180px);
    }
}


/* Единое выравнивание основных секций */

.advantages-section,
.dashboard-preview-section,
.download-section {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.section-heading,
.dashboard-preview-heading,
.download-heading {
    width: 100%;
    max-width: 780px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    text-align: left;
}

@media (max-width: 700px) {
    .home-hero,
    .advantages-section,
    .dashboard-preview-section,
    .download-section {
        width: min(100% - 28px, 1180px);
    }
}


/* Широкий первый экран как в референсе */

.home-hero {
    width: min(1540px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* ===== UNIFIED PAGE ALIGNMENT ===== */

:root {
    --page-max-width: 1760px;
    --page-side-gap: 20px;
    --section-top-gap: 52px;
    --section-bottom-gap: 52px;
}

/* Одна линия с широким навбаром */
.home-hero,
.advantages-section,
.dashboard-preview-section,
.download-section {
    width: min(
        var(--page-max-width),
        calc(100% - (var(--page-side-gap) * 2))
    );
    margin-left: auto;
    margin-right: auto;
}

/* Hero начинается под левым краем логотипа */
.hero-layout {
    width: 100%;
}

/* Единые небольшие расстояния между секциями */
.advantages-section,
.dashboard-preview-section,
.download-section {
    padding-top: var(--section-top-gap);
    padding-bottom: var(--section-bottom-gap);
}

/* Заголовки секций стоят по одной вертикали */
.section-heading,
.dashboard-preview-heading,
.download-heading {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    text-align: left;
}

/* Контент секции не отрывается от заголовка */
.advantages-grid,
.dashboard-preview-shell,
.download-panel {
    margin-top: 38px;
}

@media (max-width: 900px) {
    :root {
        --page-side-gap: 18px;
        --section-top-gap: 42px;
        --section-bottom-gap: 42px;
    }
}

@media (max-width: 700px) {
    :root {
        --page-side-gap: 14px;
        --section-top-gap: 36px;
        --section-bottom-gap: 36px;
    }

    .advantages-grid,
    .dashboard-preview-shell,
    .download-panel {
        margin-top: 28px;
    }
}


/* Компактный переход от преимуществ к приложениям */

.advantages-section {
    padding-bottom: 18px !important;
}

.download-section {
    padding-top: 18px !important;
}
