.legal-page {
    padding-top: 120px; /* Add space below the sticky header */
    padding-bottom: 80px;
    background-color: var(--color-bg);
}

.legal-page .container {
    max-width: 800px; /* Narrower container for better readability */
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--color-text);
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
}

.legal-page p,
.legal-page ul {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.legal-page a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--color-primary-dark);
}

/* Header adjustments for legal pages */
/* Header adjustments for legal pages - Desktop only */
@media (min-width: 769px) {
    header#header .container nav {
        display: flex;
        align-items: center;
        gap: 20px; /* Adjust spacing between links */
    }

    header#header .container nav .btn-primary {
        padding: 12px 24px; /* Ensure button padding is consistent */
    }
}
