/* ==========================================
   LEGAL DOCUMENTS (PRIVACY, TERMS, COOKIES)
   ========================================== */
.legal-main {
    background-color: #fcfcfc;
    padding-top: clamp(140px, 15vw, 180px); /* Clears the solid white header */
    padding-bottom: 120px;
    min-height: 100vh;
}

.legal-hero {
    padding: 20px 20px 60px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: #1a1a1a;
    margin: 0 0 15px 0;
    letter-spacing: -0.02em;
}

.legal-date {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888888;
    margin: 0;
}

.legal-content-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.legal-content {
    max-width: 720px; /* Golden ratio for reading dense legal text */
    margin: 0 auto;
    width: 100%;
}

/* Leverage the prose class for elite typography */
.legal-content.prose p {
    font-family: var(--font-serif);
    font-size: 18px; 
    line-height: 1.8;
    color: #444444;
    margin-bottom: 25px;
}

.legal-content.prose h2 {
    font-family: var(--font-serif);
    font-size: 32px; /* Uniformed size with other headers */
    color: #1a1a1a;
    margin: 60px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 400;
}

.legal-content.prose h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #1a1a1a;
    margin: 40px 0 15px 0;
    font-weight: 400;
}

.legal-content.prose ul,
.legal-content.prose ol {
    margin: 0 0 30px 20px;
    padding: 0;
    color: #444444;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
}

.legal-content.prose li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* FIX: Changed links from teal to the matching black line aesthetic */
.legal-content.prose a {
    color: #1a1a1a; /* Changed from #007769 */
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    transition: border-color 0.3s ease;
}

.legal-content.prose a:hover {
    color: #1a1a1a; /* Maintain black on hover */
    border-bottom-color: #1a1a1a;
}