﻿/* ═══════════════════════════════════════════
   privacy.css — RethinkingWeb Privacy Policy
   Requires: case.css (base styles)
═══════════════════════════════════════════ */

/* ── Layout ── */
.pp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 5rem;
}

/* ── Sticky Sidebar TOC ── */
.pp-sidebar {
  position: sticky;
  top: 7rem;
}
.pp-toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pp-toc__label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.pp-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pp-toc nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  transition: all var(--trans);
  border-left: 2px solid transparent;
  line-height: 1.4;
  text-decoration: none;
  display: block;
}
.pp-toc nav a:hover,
.pp-toc nav a.active {
  color: var(--orange);
  background: var(--orange-pale);
  border-left-color: var(--orange);
}

/* ── Updated Badge ── */
.pp-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange-pale);
  border: 1px solid rgba(231, 92, 35, 0.2);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 1.25rem;
}
.pp-updated::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* ── Main Content Area ── */
.pp-content {
  min-width: 0;
}

/* ── Intro Card ── */
.pp-intro-card {
  background: linear-gradient(135deg, var(--orange-pale), #fff8f5);
  border: 1px solid rgba(231, 92, 35, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.pp-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.pp-intro-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.pp-intro-card strong {
  color: var(--charcoal);
}
.pp-intro-card p + p {
  margin-top: 0.85rem;
}

/* ── Section Blocks ── */
.pp-section {
  margin-bottom: 2rem;
  scroll-margin-top: 8rem;
}
.pp-section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  transition: border-color var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.pp-section-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.pp-section-card:hover {
  border-color: rgba(231, 92, 35, 0.2);
  box-shadow: var(--shadow-orange);
}
.pp-section-card:hover::after {
  transform: scaleX(1);
}

/* ── Section Internals ── */
.pp-section__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.pp-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.pp-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.pp-section p + p {
  margin-top: 0.85rem;
}
.pp-section a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--trans);
}
.pp-section a:hover {
  opacity: 0.75;
}

/* ── Section Icon ── */
.pp-section__icon {
  width: 40px;
  height: 40px;
  background: var(--orange-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(231, 92, 35, 0.15);
}

/* ── Highlight / Callout Box ── */
.pp-highlight {
  background: var(--bg2);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.pp-highlight strong {
  color: var(--charcoal);
}

/* ── CTA Banner ── */
.pp-cta {
  background: #0f172a;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}
.pp-cta__text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.pp-cta__text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}
.pp-cta .btn--primary {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
  .pp-sidebar {
    position: static;
  }
  .pp-toc {
    display: none;
  }
  .pp-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .pp-cta .btn--primary {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .pp-section-card {
    padding: 1.5rem;
  }
  .pp-intro-card {
    padding: 1.5rem;
  }
}
/* ═══════════════════════════════
   PAGE HERO
═══════════════════════════════ */
.cs-hero {
    padding: 100px 0 5rem;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}
.cs-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cs-hero__inner { position: relative; z-index: 1; }
.cs-hero__title { font-family: var(--font-display); font-size: clamp(2.6rem,5.5vw,4.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--charcoal); margin-bottom: 1.25rem; animation: fadeUp .7s .1s ease both; }
.cs-hero__title em { font-style: normal; background: linear-gradient(135deg,var(--orange),var(--orange-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cs-hero__sub { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; animation: fadeUp .7s .2s ease both; }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb--1 { width: 700px; height: 700px; background: radial-gradient(circle,rgba(231,92,35,.18),transparent); top: -200px; right: -150px; animation: float1 9s ease-in-out infinite; }
.orb--2 { width: 450px; height: 450px; background: radial-gradient(circle,rgba(231,92,35,.1),transparent); bottom: 5%; left: -120px; animation: float2 11s ease-in-out infinite; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,0,0,.04) 1px,transparent 1px); background-size: 60px 60px; }

@keyframes float1 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(30px,-40px);} }
@keyframes float2 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-20px,30px);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
