.legal-page-wrapper {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
}

.legal-section {
    min-height: auto;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}


.form-gradient-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--green), var(--blue));
}

.legal-card {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 3rem 4rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.legal-block {
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.legal-block p {
    margin-bottom: 0.5rem;
    color: var(--text);
    width: 100%;
    text-align: center;
}

.legal-block h2 {
    color: var(--blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.legal-block h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--yellow);
}

.legal-block p {
    margin-bottom: 0.5rem;
    color: var(--text);
    text-align: center !important;
    width: 100%;
}

.legal-block strong {
    color: var(--heading);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2rem;
    }
    
    .legal-block {
        margin-bottom: 2rem;
    }
}