/* Specific Styles for Legal Page */
body {
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.legal-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 100px;
}

.legal-card h1 {
    font-family: 'Allerta Stencil', sans-serif;
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--graphite);
    padding-bottom: 20px;
}

h2 {
    font-size: 1.2rem;
    color: var(--teal-bright);
    margin: 40px 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

h2::before {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--teal), transparent);
}

.legal-card p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

ul {
    list-style: none;
    margin-bottom: 20px;
}

li {
    color: var(--text-dim);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--indigo-bright);
    font-weight: 800;
    font-family: monospace;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-bright);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-link:hover {
    transform: translateX(-5px);
    color: var(--text);
}

/* Header/Typography Overrides for Legal Page */
.main-header .avatar-circle {
    width: 80px;
    height: 80px;
}

.main-header .header-info h1 {
    font-size: 1.8rem;
}

@media (max-width: 600px) {
    .legal-card {
        padding: 25px;
    }

    .legal-card h1 {
        font-size: 1.8rem;
    }

    .main-header .avatar-circle {
        width: 60px;
        height: 60px;
    }

    .main-header .header-info h1 {
        font-size: 1.4rem;
    }
}