/* Privacy Policy page only.
   Loaded after ../styles.css so the marketing-page h1 and shared layout
   can never accidentally control the legal page. */

body.policy-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.policy-page .policy-main {
    width: min(800px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 64px;
}

body.policy-page .policy-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 30px;
    background: rgba(15, 19, 17, 0.94);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.policy-page .policy-content .eyebrow {
    margin: 0 0 12px;
    color: #9bf3bb;
    font-size: 0.82rem;
    font-weight: 780;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Explicit ID-based rule intentionally wins over the landing page's global h1. */
body.policy-page #policy-title {
    width: auto;
    max-width: 640px;
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 720;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

body.policy-page .policy-updated {
    margin: 0 0 32px;
    color: #89948c;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.5;
}

body.policy-page .policy-content h2 {
    margin: 38px 0 10px;
    color: #f4f7f3;
    font-size: clamp(1.28rem, 2vw, 1.58rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

body.policy-page .policy-content p {
    max-width: 660px;
    margin: 0 0 16px;
    color: #b5c0b8;
    font-size: 1rem;
    line-height: 1.72;
}

body.policy-page .policy-content p:last-child {
    margin-bottom: 0;
}

body.policy-page .policy-content a {
    color: #c7ffd9;
    text-decoration-color: rgba(52, 215, 123, 0.42);
    text-underline-offset: 0.2em;
}

@media (max-width: 560px) {
    body.policy-page .policy-main {
        width: min(100% - 28px, 800px);
        padding: 46px 0 42px;
    }

    body.policy-page .policy-content {
        padding: 26px 22px;
        border-radius: 24px;
    }

    body.policy-page #policy-title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.1;
    }

    body.policy-page .policy-updated {
        margin-bottom: 26px;
    }

    body.policy-page .policy-content h2 {
        margin-top: 31px;
        font-size: 1.22rem;
    }

    body.policy-page .policy-content p {
        font-size: 0.98rem;
        line-height: 1.68;
    }
}
