/* Privacy.aspx — completely standalone stylesheet.

   Deliberately has ZERO dependency on Landing.css or any other page's
   styles — this page exists solely to satisfy app store review
   requirements (a directly-linkable privacy policy URL), not as part
   of the live in-app user flow. It should be free to change, or even
   be deleted, without any risk of affecting Landing.aspx or anything
   else.

   The .legal-* content classes below use the exact same proven values
   already working elsewhere (the pattern originates in Register.css
   and is reused by Landing.css's in-app privacy modal) — copied
   directly, not reinvented, but now living in their own independent
   file rather than borrowed from a page this one has no real
   relationship to. The .legal-wrap/.legal-logo/.legal-back page-chrome
   classes are new: this standalone page's own layout never had
   dedicated styling anywhere in the codebase before.
*/

body {
    margin: 0;
    background: #0D0D1C;
    font-family: 'DM Sans', sans-serif;
    color: #F0F0F8;
    /* The CMS-authored content (edited via the admin panel, same source
       Landing.aspx's privacy modal pulls from) relies on these three
       inline var(--gold)/var(--white)/var(--muted) color overrides —
       e.g. <strong style="color:var(--white)"> in the "contact" section.
       Landing.css only scopes them to #privacyModal/#contactModal, so
       without defining them here too, those inline styles silently fall
       back to inherited text color on this standalone page instead of
       matching the modal. Values copied exactly from Landing.css. */
    --gold: #FFD93D;
    --white: #F0F0F8;
    --muted: rgba(200,200,225,0.55);
}

/* ── Page chrome — new, specific to this standalone page ── */
.legal-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    position: relative;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(200, 200, 225, 0.65);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 24px;
    transition: color 0.15s;
}

    .legal-back:hover {
        color: #F0F0F8;
    }

.legal-logo {
    margin-bottom: 32px;
}

    .legal-logo img {
        height: 40px;
    }

/* ── Legal content — proven values, isolated into their own file ── */
.legal-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 24px;
    margin-bottom: 8px;
    color: #F0F0F8;
}

.legal-updated {
    font-size: 12px;
    color: rgba(200, 200, 225, 0.55);
    margin-bottom: 24px;
}

.legal-toc {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.legal-toc-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(200, 200, 225, 0.55);
    margin-bottom: 10px;
}

.legal-toc ol {
    padding-left: 18px;
    color: rgba(200, 200, 225, 0.55);
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}

.legal-toc a:hover {
    color: #F0F0F8;
}

.legal-section {
    margin-bottom: 28px;
}

    .legal-section h2 {
        font-size: 15px;
        font-weight: 700;
        color: #FFD93D;
        margin-bottom: 10px;
    }

    .legal-section p, .legal-section li {
        font-size: 13px;
        line-height: 1.75;
        color: rgba(200, 200, 225, 0.8);
        margin-bottom: 8px;
    }

    .legal-section ul, .legal-section ol {
        padding-left: 20px;
    }

    .legal-section strong {
        color: #F0F0F8;
    }

.legal-contact {
    font-size: 13px;
    color: rgba(200, 200, 225, 0.55);
    line-height: 1.75;
}

    /* Landing.css resets all margins globally (*, *::before, *::after),
       so <p> tags in the modal have zero default margin and rely purely
       on line-height for the small gap between them. Privacy.css has no
       such global reset, so without this, <p> falls back to the
       browser's default ~1em margin, creating a much bigger gap here
       than in the modal. Scoped to just this section rather than adding
       a page-wide reset, to avoid touching spacing anywhere else on
       this standalone page. */
    .legal-contact p {
        margin: 0;
    }

.legal-highlight {
    background: rgba(255, 77, 109, 0.08);
    border-left: 3px solid #FF4D6D;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(200, 200, 225, 0.8);
}

/* ── Loading spinner ── */
@keyframes privacySpin {
    to {
        transform: rotate(360deg);
    }
}
