/* ========================================
   PRIVACY.CSS - Privacy page specific styles
   ======================================== */

/* --- PRIVACY PAGE BODY --- */
body.privacy-page {
    background: #080a10;
    overflow-x: clip;
    width: 100%;
}

/* Contain overflow within content sections */
.privacy-page .privacy-content,
.privacy-page .site-footer {
    overflow-x: clip;
}

/* Hide the global body::after tint overlay on privacy (re-enable for contact popup) */
body.privacy-page::after {
    display: none;
}

body.privacy-page.contact-popup-active::after {
    display: block !important;
}

/* --- PAGE HEADER --- */
.page-header {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    z-index: 100;
    display: block;
    align-items: unset;
    justify-content: unset;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: auto;
    will-change: unset;
    background: rgba(8, 10, 16, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header__inner {
    position: relative;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Keep logo centered in header while button sits on the right */
.page-header__inner .page-header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.page-header__cta {
    margin-left: auto;
    z-index: 2;
}

.page-header__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.page-header__logo img {
    width: 42px;
    height: auto;
    display: block;
}

.page-header__title {
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 2.25rem;
    background: linear-gradient(to bottom, #fff, #D97D54);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header__back {
    font-size: 0.96rem;
}

/* Download button in privacy header: visible and in flow */
.page-header__cta.button-wrap {
    position: relative;
    right: auto;
    opacity: 1;
    pointer-events: auto;
}

/* --- PRIVACY CONTENT --- */
.privacy-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    color: #E6D5C3;
}

.privacy-content__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(to bottom, #fff, #D97D54);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-content__updated {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.privacy-section p,
.privacy-section ul {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.35rem;
}

.privacy-content a {
    color: #D97D54;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-content a:hover {
    color: #E6D5C3;
}

/* --- FOOTER ADJUSTMENTS FOR PRIVACY PAGE --- */
.privacy-page .site-footer {
    margin-top: 0;
    padding-top: 2rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .page-header__logo img {
        width: 34px;
    }
    .page-header__title {
        font-size: 1.85rem;
    }
    .page-header__inner {
        padding: 0.55rem 0.55rem;
    }
    
    .privacy-content {
        padding: 2rem 1.25rem 3rem;
    }
    
    .privacy-content__title {
        font-size: 1.85rem;
    }
}

@media (max-width: 400px) {
    .page-header__logo img {
        width: 28px;
    }
    .page-header__title {
        font-size: 1.5rem;
    }
    .page-header__inner {
        padding: 0.55rem 0.55rem;
    }
    
    .privacy-content__title {
        font-size: 1.5rem;
    }
}
