/* Legal Pages CSS */
body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.legal-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.legal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 1rem;
    display: inline-block;
}

.legal-title-wrapper {
    text-align: center;
}

.legal-section {
    margin-bottom: 3rem;
    background: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #60a5fa;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.legal-table th,
.legal-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 30%;
    color: #94a3b8;
    font-weight: 500;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
    border-bottom: none;
}

.back-link {
    display: block;
    margin-top: 3rem;
    text-align: center;
    color: #60a5fa;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 640px) {

    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table th {
        padding-bottom: 0.25rem;
        color: #60a5fa;
    }

    .legal-table td {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }
}