.hero {
    padding: 80px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.typewriter-container {
    display: inline;
    position: relative;
    word-break: break-word;
}

@media (max-width: 767px) {
    .typewriter-container {
        display: block;
        min-height: calc(2.5rem * 1.15 * 2); /* место на 2 строки — предотвращает сдвиг layout */
    }
}


.cursor {
    font-weight: 300;
    margin-left: 2px;
    display: inline-block;
    background: linear-gradient(90deg, var(--mm-blue), var(--mm-cyan), var(--mm-purple), var(--mm-blue));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rgb-flow 6s linear infinite, blink 0.8s infinite;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

@media (min-width: 768px) {
    .hero {
        padding: 140px 0 100px 0;
        text-align: left;
    }
    .hero h1 {
        font-size: 4.2rem;
        max-width: 850px;
    }
    .hero p {
        font-size: 1.3rem;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
}
