.agreement-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agreement-container h1 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(127, 66, 167, 0.3);
    padding-bottom: 0.5rem;
    width: 100%;
    text-align: center;
}

.agreement-container h1:first-of-type {
    margin-top: 0;
}

.agreement-container p {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    max-width: 900px;
    text-align: left;
}

.agreement-container strong {
    color: var(--text-light);
    font-weight: 600;
}

.agreement-container hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 3rem auto;
    width: 80%;
    max-width: 600px;
}

@media (max-width: 768px) {
    .agreement-container {
        padding: 1.5rem;
    }
    
    .agreement-container h1 {
        font-size: 2rem;
        margin: 2rem 0 1rem 0;
    }
    
    .agreement-container hr {
        margin: 2rem auto;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .agreement-container {
        padding: 1rem;
    }
    
    .agreement-container h1 {
        font-size: 1.6rem;
    }
    
    .agreement-container p {
        font-size: 0.95rem;
    }
}