/* Legal pages (terms, privacy) specific styles */

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

nav a:hover,
nav a:focus {
    opacity: 0.8;
    text-decoration: underline;
}

nav a.current {
    text-decoration: underline;
    font-weight: 600;
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

article {
    background: var(--surface);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border);
}

h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.75rem;
}

h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    color: var(--text-primary);
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

h4 {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

ul, ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        gap: 1rem;
    }

    article {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}
