*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #cbd5e1;
    line-height: 1.6;
}

.legal-page {
    min-height: 100vh;
    padding: 40px 20px;
}

.legal-container {
    max-width: 840px;
    margin: 0 auto;
    background: #0d0d14;
    padding: 40px;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8D8EF3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #A5A6F6;
    text-decoration: underline;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.meta-date {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-top: 28px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 14px;
}

ul {
    margin-left: 20px;
    margin-bottom: 14px;
}

li {
    margin-bottom: 6px;
}

/* Links inside the documents (dark background) */
.legal-container a:not(.back-link) {
    color: #8D8EF3;
}

strong,
b {
    color: #e2e8f0;
}

@media (max-width: 640px) {
    .legal-container {
        padding: 24px 18px;
        border-radius: 1rem;
    }
    h1 {
        font-size: 1.5rem;
    }
}
