/* ===========================================
   Privacy Page — Premium, modern and aligned
   =========================================== */

/* Typography upgrade for this page only */
.privacy-page {
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
}

/* Unify header & hero aesthetic on privacy page only */
.privacy-page .site-header {
  background: linear-gradient(135deg, #0f56a7 0%, #00457c 48%, #0aa0b8 100%);
}

/* Hero */
.policy-hero{
  background: linear-gradient(135deg, #0f56a7 0%, #00457c 48%, #0aa0b8 100%);
  color: #fff;
  padding: 56px 0 50px;
  position: relative;
  overflow: hidden;
}
.policy-hero .hero-container{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 980px){
  .policy-hero .hero-container{ grid-template-columns: 1fr; }
}
.policy-hero h1{
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.policy-hero .tagline{
  font-size: 1.05rem;
  opacity: .98;
  margin: 6px 0 14px;
}
.policy-hero .at-a-glance{
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.policy-hero .at-a-glance li{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .9rem;
}
.policy-hero .effective{
  font-size: .95rem;
  opacity: .92;
}
.policy-hero .hero-media{
  display: grid; place-items: center;
}
.policy-hero .hero-art{
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  object-fit: cover;
}

/* Layout */
.policy-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin: 34px auto 44px;
}
@media (max-width: 980px){
  .policy-layout{ grid-template-columns: 1fr; }
}

/* TOC */
.policy-toc{
  position: sticky;
  top: 18px;
  align-self: start;
  background: #ffffff;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  padding: 16px 16px 14px;
}
.policy-toc .toc-title{
  font-size: 1rem;
  margin: 4px 0 10px;
  color: #0f172a;
}
.policy-toc ol{
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.policy-toc a{
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: #0f172a;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.policy-toc a:hover{
  background: #f7fbff;
  border-color: #d7e4f3;
}
.policy-toc a.is-active{
  background: #eef6ff;
  border-color: #d7e4f3;
}

/* Up to large tablet: neutralize sticky and ensure article comes first */
@media (max-width: 1200px){
  .policy-toc{
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    width: 100% !important;
    clear: both !important;
    margin-top: 12px;
    grid-row: 2 !important;
  }
  .policy-article{
    grid-row: 1 !important;
    position: relative;
    z-index: 1;
  }
}

/* Phones: hide TOC to prioritize readability */
@media (max-width: 768px){
  .policy-toc{ display: none !important; }
}

/* Article */
.policy-article{
  background: #ffffff;
  border: 1px solid #e6eef6;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(2,6,23,.08);
  padding: 26px 24px 12px;
}
.policy-section + .policy-section{
  border-top: 1px dashed #e6eef6;
  margin-top: 20px;
  padding-top: 18px;
}
.policy-section h2{
  color: #0e4f8a;
  font-size: 1.28rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.policy-section p,
.policy-section li{
  color: #5b6472;
  font-size: 1rem;
}
.policy-section ul{ padding-left: 1.05rem; }

/* Figures */
.policy-figure{
  margin: 14px 0 4px;
  text-align: center;
}
.policy-figure img{
  width: 100%; height: auto;
  border-radius: 12px;
  border: 1px solid #e6eef6;
  box-shadow: 0 10px 26px rgba(2,6,23,.06);
}
.policy-figure figcaption{
  font-size: .9rem;
  color: #6b7280;
  margin-top: 6px;
}

/* Retention table */
.retention-table{
  border: 1px solid #e6eef6;
  border-radius: 12px;
  overflow: hidden;
}
.retention-row{
  display: grid;
  grid-template-columns: 240px 160px 1fr;
  border-top: 1px solid #e6eef6;
}
.retention-row:first-child{ border-top: 0; }
.retention-row.header{
  background: #f7fbff;
  font-weight: 700;
  color: #0e4f8a;
}
.retention-row .cell{
  padding: 10px 12px;
  border-left: 1px solid #e6eef6;
}
.retention-row .cell:first-child{ border-left: 0; }
@media (max-width: 760px){
  .retention-row{ grid-template-columns: 1fr; }
  .retention-row .cell{
    border-left: 0 !important;
    border-top: 1px solid #e6eef6;
  }
  .retention-row .cell:first-child{ border-top: 0; }
}

/* Links */
.policy-article a{
  color: #0f56a7;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,86,167,.35);
}
.policy-article a:hover{ border-bottom-color: rgba(15,86,167,.8); }

/* Small detail */
.effective strong{ font-weight: 700; }
