/* ===== PRIVACY POLICY PAGE (loaded after styles-v2.css) ===== */
html {
    scroll-padding-top: 24px;
}

/* ----- Header ----- */
.pp-header {
    background: var(--grey-900);
    border-bottom: 3px solid var(--orange);
}

.pp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.pp-logo img {
    height: 56px;
    width: auto;
}

.pp-back {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.pp-back:hover {
    color: var(--orange);
}

.pp-hero {
    padding-top: 32px;
    padding-bottom: 48px;
}

.pp-hero .section-label {
    margin-bottom: 12px;
}

.pp-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 12px;
}

.pp-hero p {
    color: rgba(255,255,255,0.6);
}

/* ----- Layout ----- */
.pp-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 80px;
}

/* ----- Contents ----- */
.pp-toc {
    position: sticky;
    top: 24px;
    align-self: start;
    border-left: 3px solid var(--orange);
    padding-left: 16px;
    font-size: 0.875rem;
}

.pp-toc h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 8px;
}

.pp-toc ol {
    list-style: none; /* section numbers are already in the link text */
}

.pp-toc li {
    margin: 6px 0;
}

.pp-toc a {
    color: var(--grey-600);
}

.pp-toc a:hover {
    color: #B5510A;
    text-decoration: underline;
}

/* ----- Policy text ----- */
.pp-content {
    max-width: 46rem;
    color: var(--grey-700);
}

.pp-content section + section {
    margin-top: 48px;
}

.pp-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--grey-900);
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--orange);
}

.pp-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--grey-900);
    margin: 28px 0 8px;
}

.pp-content p {
    margin-bottom: 16px;
}

.pp-content ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}

.pp-content li {
    margin: 5px 0;
}

.pp-content li::marker {
    color: var(--orange);
}

.pp-content strong {
    color: var(--grey-900);
}

/* darker orange keeps link text above the 4.5:1 contrast guideline on white */
.pp-content a {
    color: #B5510A;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pp-content a:hover {
    color: var(--grey-900);
}

/* ----- Tables ----- */
.pp-table {
    overflow-x: auto;
    margin-bottom: 20px;
}

.pp-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pp-table th,
.pp-table td {
    text-align: left;
    vertical-align: top;
    padding: 10px 14px;
    border: 1px solid var(--grey-200);
}

.pp-table thead th {
    background: var(--grey-900);
    color: var(--white);
    font-weight: 600;
}

.pp-table tbody th {
    background: var(--grey-50);
    color: var(--grey-900);
    font-weight: 600;
}

/* ----- Footer: highlight the current page ----- */
.footer-links a[aria-current="page"] {
    color: var(--orange);
}

/* ----- Responsive ----- */
@media (max-width: 860px) {
    .pp-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-top: 32px;
    }

    .pp-toc {
        position: static;
    }
}

@media (max-width: 480px) {
    .pp-logo img {
        height: 44px;
    }

    .pp-hero {
        padding-bottom: 36px;
    }

    .pp-content h2 {
        font-size: 1.35rem;
    }
}

@media print {
    .pp-toc,
    .pp-back,
    .footer {
        display: none;
    }

    .pp-header {
        background: none;
        border: 0;
    }

    .pp-hero h1,
    .pp-hero p {
        color: var(--grey-900);
    }

    .pp-layout {
        display: block;
        padding: 0;
    }
}
