.agreement-page {
    max-width: 1600px;
    margin: 10px auto;
    padding: 40px;
    background: #ffffff;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.agreement-page h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
}

.agreement-content {
    font-size: 16px;
    color: #34495e;
    text-align: justify;
}

.agreement-content p {
    margin-bottom: 20px;
}

.agreement-content p strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Адаптивные стили для больших экранов (1200px и выше) */
@media (min-width: 1200px) {
    .agreement-page {
        max-width: 1200px;
        padding: 60px;
    }
    
    .agreement-page h1 {
        font-size: 32px;
        margin-bottom: 50px;
    }
    
    .agreement-content {
        font-size: 18px;
    }
}

/* Адаптивные стили для планшетов (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .agreement-page {
        max-width: 900px;
        padding: 30px;
        margin: 20px auto;
    }
    
    .agreement-page h1 {
        font-size: 26px;
        margin-bottom: 35px;
    }
    
    .agreement-content {
        font-size: 16px;
    }
}

/* Адаптивные стили для мобильных устройств (до 767px) */
@media (max-width: 767px) {
    .agreement-page {
        max-width: 100%;
        padding: 20px 15px;
        margin: 10px auto;
    }
    
    .agreement-page h1 {
        font-size: 22px;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .agreement-content {
        font-size: 14px;
        text-align: left;
        line-height: 1.6;
    }
    
    .agreement-content p {
        margin-bottom: 15px;
    }
}

/* Адаптивные стили для очень маленьких экранов (до 480px) */
@media (max-width: 480px) {
    .agreement-page {
        padding: 15px 10px;
        margin: 5px auto;
    }
    
    .agreement-page h1 {
        font-size: 20px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .agreement-content {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .agreement-content p {
        margin-bottom: 12px;
    }
    
    .agreement-content p strong {
        display: inline-block;
        word-wrap: break-word;
    }
}