/* Privacy & Terms — hero matches About Us blue gradient top (.about-hero) */
.pw-legal-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 5rem 1.5rem 3.5rem;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}
.pw-legal-hero__tag {
    display: inline-block;
    background: rgba(229, 50, 45, .18);
    color: #ff8a87;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}
.pw-legal-hero h1 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #fff;
}
.pw-legal-hero h1 span {
    color: #ff8a87;
}
.pw-legal-hero__lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}
.pw-legal-hero__lead a {
    color: #ff8a87;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pw-legal-hero__lead a:hover { color: #fff; }
.pw-legal-hero__meta {
    margin-top: 1.75rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
    letter-spacing: .02em;
}
.pw-legal-hero__meta a {
    color: #ff8a87;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pw-legal-hero__meta a:hover { color: #fff; }

.pw-legal-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4rem;
}

.pw-legal-summary {
    border-radius: 14px;
    padding: 1.25rem 1.35rem 1.35rem;
    margin-bottom: 2rem;
}
.pw-legal-summary h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.pw-legal-summary ul {
    margin: 0;
    padding-left: 1.15rem;
    font-size: .93rem;
    line-height: 1.65;
}
.pw-legal-summary li + li { margin-top: .45rem; }

.pw-legal-summary--privacy {
    background: linear-gradient(145deg, #fff8f8 0%, #fff 55%);
    border: 1px solid #fecaca;
}
.pw-legal-summary--privacy h2 { color: #991b1b; }
.pw-legal-summary--privacy ul { color: #374151; }

.pw-legal-summary--terms {
    background: linear-gradient(145deg, #f8fafc 0%, #fff 50%);
    border: 1px solid #e2e8f0;
}
.pw-legal-summary--terms h2 { color: #0f172a; }
.pw-legal-summary--terms ul { color: #374151; }

.pw-legal-summary--disclaimer {
    background: linear-gradient(145deg, #fffbeb 0%, #fff 55%);
    border: 1px solid #fde68a;
}
.pw-legal-summary--disclaimer h2 { color: #92400e; }
.pw-legal-summary--disclaimer ul { color: #374151; }

.pw-legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 2rem;
}
.pw-legal-toc a {
    display: inline-flex;
    align-items: center;
    padding: .38rem .85rem;
    font-size: .8rem;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: background .15s, border-color .15s, color .15s;
}
.pw-legal-toc a:hover {
    background: #fff;
    border-color: #fca5a5;
    color: #E5322D;
}

.pw-legal article section {
    scroll-margin-top: 88px;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}
.pw-legal article section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pw-legal h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 .85rem;
    line-height: 1.3;
}
.pw-legal h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.35rem 0 .5rem;
}
.pw-legal p, .pw-legal li {
    font-size: .94rem;
    color: #4b5563;
    line-height: 1.75;
}
.pw-legal p { margin: 0 0 .9rem; }
.pw-legal ul, .pw-legal ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}
.pw-legal li + li { margin-top: .4rem; }
.pw-legal a {
    color: #E5322D;
    font-weight: 600;
    text-underline-offset: 2px;
}
.pw-legal a:hover { text-decoration-thickness: 2px; }

.pw-legal-note {
    font-size: .82rem;
    color: #6b7280;
    background: #f9fafb;
    border-left: 3px solid #E5322D;
    padding: .75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}

#backToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E5322D;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(229,50,45,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s, transform .2s;
}
#backToTopBtn.show { opacity: 1; visibility: visible; }
#backToTopBtn:hover { transform: translateY(-3px); }

@media (max-width: 520px) {
    .pw-legal-wrap { padding-bottom: 3rem; }
}
