body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: #ffffff;
    display: flex;
    justify-content: center; /* center the panel horizontally */
    align-items: center;     /* center the panel vertically */
    min-height: 100vh;
}

.legal-container {
    max-width: 700px;
    width: 90%;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    text-align: left; /* align text to the left */
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
}

.legal-title {
    font-size: 2.2rem;
    margin-bottom: 0.5em;
    color: #ffffff;
    text-align: center;
}

.legal-section-title {
    font-size: 1.6rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #ffffff;
    text-align: center;
}

.legal-subsection-title {
    font-size: 1.3rem;
    margin-top: 1em;
    margin-bottom: 0.3em;
    color: #ffffff;
    text-align: center;
}

.legal-text {
    margin-bottom: 1em;
    font-size: 1.15rem;
    color: #ffffff;
}

.legal-list {
    list-style-type: disc; /* normal bullet points */
    padding-left: 1.5em;   /* indent for readability */
    margin-bottom: 1em;
}

.legal-list-item {
    margin-bottom: 0.5em;
    font-size: 1.15rem;
}

.legal-link {
    color: white;
    text-decoration: underline;
}

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

.last-updated {
    font-style: italic;
    color: #ccc;
    text-align: center;
}

@media (max-width: 600px) {
    .legal-container {
        padding: 25px 20px;
        width: 95%;
    }

    .legal-title { font-size: 1.8rem; }
    .legal-section-title { font-size: 1.4rem; }
    .legal-subsection-title { font-size: 1.2rem; }
    .legal-text, .legal-list-item { font-size: 1rem; }
}