main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(14px, 4vw, 64px);
    font-weight: var(--fw-regular);
}

section {
    padding-bottom: 48px;
}

h1 {
    font-size: var(--text-xxxl);
    font-weight: var(--fw-semibold);
}

h2 {
    font-size: var(--text-xxl);
    font-weight: var(--fw-medium);
}

h3 {
    font-size: var(--text-lg);
}

p {
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
}

/* hero */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 8px;
}

.hero__image img {
    width: clamp(320px, 18vw + 200px, 460px);
    height: auto;
}

.hero__title {
    font-weight: 500;
    background: linear-gradient(90deg, rgb(var(--accent-green)), rgb(var(--accent-blue)));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: var(--text-lg);
    padding-bottom: 16px;
    color: rgb(var(--muted));
}

.hero__actions {
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

.hero__stats {
    list-style: none;
    color: rgb(var(--muted));
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.hero__stat {
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}



/* 1️⃣ Десктопы (до 1440px) */
@media (max-width: 1440px) {
    /* тонкая настройка ширины и отступов */
}

/* 2️⃣ Ноутбуки (до 1024px) */
@media (max-width: 1024px) {

    .hero__image {
        display: none;
    }

    .hero__content {
        text-align: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

}

/* 3️⃣ Планшеты (до 768px) */
@media (max-width: 768px) {
    /* перестройка сетки, центрирование текста */
}

/* 4️⃣ Средние телефоны (до 480px) */
@media (max-width: 480px) {
    /* корректировка карточек и изображений */
}

/* 5️⃣ Малые телефоны (до 360px) */
@media (max-width: 360px) {
    /* минимальные размеры шрифта, сжатые кнопки */
}

/* features */

.features {
    scroll-margin-top: 82px;
}

.feutures__header {
    text-align: center;
    margin-bottom: 28px;
}

.feutures__cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feutures__card {
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.feutures__card:hover {
    border: 2px solid rgba(100, 170, 60, 0.5);
    box-shadow: 0 2px 6px rgba(100, 170, 60, 0.5);
}

.features__icon {
    background: linear-gradient(90deg, rgb(var(--accent-green)), rgb(var(--accent-blue)));
    ;
    border-radius: 12px;
    padding: 10px;
    width: clamp(48px, calc(0.74vw + 45.3px), 56px);
    height: clamp(48px, calc(0.74vw + 45.3px), 56px);

}

.feutures__card-text {
    color: rgb(var(--muted));
}

/* how */

.how {
    scroll-margin-top: 82px;
    text-align: center;
}

.how__header {
    text-align: center;
    margin-bottom: 28px;
}

.how__steps {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.how__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.how__step:hover {
    border: 2px solid rgba(100, 170, 60, 0.5);
    box-shadow: 0 2px 6px rgba(100, 170, 60, 0.5);
}

.how__step-number {
    background: linear-gradient(90deg, rgb(var(--accent-green)), rgb(var(--accent-blue)));
    color: rgb(var(--bg));
    font-size: var(--text-xxl);
    text-align: center;
    border-radius: 25%;
    padding: 10px 40px;
}

.how__step-title {
    text-align: center;
}

.how__step-text {
    color: rgb(var(--muted));
    text-align: center;
}

.how__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* 3️⃣ Планшеты (до 768px) */
@media (max-width: 768px) {
    .how__steps {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* themes */

.themes__header {
    text-align: center;
    margin-bottom: 48px;

}

.themes__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
}

.themes__item {
    padding: 16px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 25%;
}

.themes__item:hover {
    border: 2px solid rgba(100, 170, 60, 0.5);
}

.themes__note {
    text-align: center;
}

/* cta */

.cta__content {
    background: linear-gradient(90deg, rgb(var(--accent-green)), rgb(var(--accent-blue)));
    padding: clamp(18px, calc(3.89vw + 4px), 60px);
    border-radius: 25px;
    text-align: center;
}

.cta__emoji {
    font-size: clamp(42px, 6vw, 64px);
}

.cta__title {
    font-size: clamp(42px, 6vw, 64px);
    color: rgb(var(--bg));
}

.cta__subtitle {
    font-size: var(--text-lg);
    color: rgb(var(--bg));
    margin-bottom: 16px;
}

.btn-cta {
    background: rgb(var(--bg));
    border: 2px solid rgb(var(--bg));
    color: rgb(var(--accent-green));
    margin-bottom: 16px;
}

.cta__footnotes {
    color: rgb(var(--bg));
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: var(--text-sm);
}

.cta__footnote {
    margin-right: 10px;
}
