/* Privacy policy (privacy-policy.html): a calm long-read on paper with a section index.
   Only .legal__* classes are styled here. Nothing is hidden by default; motion is limited to the
   heading reveals (shared data-reveal), the hairline of the section being read and the index marker. */

.legal__hero.hero--service{min-height:0;padding-bottom:clamp(36px,5vw,64px)}
.legal__hero .display{font-size:clamp(2.8rem,8vw,6.5rem)}
.legal__src{margin-top:clamp(14px,2vw,22px);font-size:.95rem;color:var(--muted)}

.legal__grid{--p:1;display:grid;gap:clamp(36px,6vw,64px)}

/* ---- index ---- */
.legal__label{position:relative;padding-bottom:14px;font-family:var(--body);font-weight:500;font-size:.85rem;letter-spacing:.02em;line-height:1.4;color:var(--paper-muted)}
.legal__label::before,.legal__label::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor;opacity:.3}
/* reading progress: the orange line under the label follows the scroll (data-progress sets --p on the grid) */
.legal__label::after{height:2px;background:var(--orange);opacity:1;transform:scaleX(var(--p));transform-origin:left}
.legal__index ol{display:grid;margin-top:8px}
.legal__index a{position:relative;display:grid;grid-template-columns:2.4em minmax(0,1fr);align-items:baseline;min-height:44px;padding:10px 0;font-size:.98rem;line-height:1.35;font-weight:500;color:var(--paper-muted);text-decoration:none;transition:color .35s}
.legal__index a span{font-size:.82rem;font-variant-numeric:tabular-nums}
.legal__index a:hover,.legal__index a:focus-visible{color:var(--paper-ink)}
@media (min-width:600px) and (max-width:999px){.legal__index ol{grid-template-columns:1fr 1fr;column-gap:40px}}
@media (min-width:1000px){
  .legal__grid{grid-template-columns:minmax(230px,300px) minmax(0,44rem);justify-content:space-between;align-items:start}
  .legal__index a{padding-left:18px}
  .legal__index a::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;background:var(--orange);transform:scaleY(0);transform-origin:top;transition:transform .5s var(--ease)}
}
@media (min-width:1000px) and (min-height:640px){
  .legal__index{position:sticky;top:calc(var(--hdr) + 28px)}
}
/* The section being read (prure.js gives the [data-focus] nearest mid-screen .is-active) lights its index entry. */
.legal__grid:has(#policy-1.is-active) .legal__index li:nth-child(1) a,
.legal__grid:has(#policy-2.is-active) .legal__index li:nth-child(2) a,
.legal__grid:has(#policy-3.is-active) .legal__index li:nth-child(3) a,
.legal__grid:has(#policy-4.is-active) .legal__index li:nth-child(4) a,
.legal__grid:has(#policy-5.is-active) .legal__index li:nth-child(5) a,
.legal__grid:has(#policy-6.is-active) .legal__index li:nth-child(6) a,
.legal__grid:has(#policy-7.is-active) .legal__index li:nth-child(7) a,
.legal__grid:has(#policy-8.is-active) .legal__index li:nth-child(8) a,
.legal__grid:has(#policy-9.is-active) .legal__index li:nth-child(9) a,
.legal__grid:has(#policy-10.is-active) .legal__index li:nth-child(10) a,
.legal__grid:has(#policy-11.is-active) .legal__index li:nth-child(11) a,
.legal__grid:has(#policy-12.is-active) .legal__index li:nth-child(12) a{color:var(--paper-ink)}
.legal__grid:has(#policy-1.is-active) .legal__index li:nth-child(1) a::before,
.legal__grid:has(#policy-2.is-active) .legal__index li:nth-child(2) a::before,
.legal__grid:has(#policy-3.is-active) .legal__index li:nth-child(3) a::before,
.legal__grid:has(#policy-4.is-active) .legal__index li:nth-child(4) a::before,
.legal__grid:has(#policy-5.is-active) .legal__index li:nth-child(5) a::before,
.legal__grid:has(#policy-6.is-active) .legal__index li:nth-child(6) a::before,
.legal__grid:has(#policy-7.is-active) .legal__index li:nth-child(7) a::before,
.legal__grid:has(#policy-8.is-active) .legal__index li:nth-child(8) a::before,
.legal__grid:has(#policy-9.is-active) .legal__index li:nth-child(9) a::before,
.legal__grid:has(#policy-10.is-active) .legal__index li:nth-child(10) a::before,
.legal__grid:has(#policy-11.is-active) .legal__index li:nth-child(11) a::before,
.legal__grid:has(#policy-12.is-active) .legal__index li:nth-child(12) a::before{transform:scaleY(1)}

/* ---- text ---- */
.legal__text{font-size:clamp(1.02rem,1.25vw,1.12rem);line-height:1.7;color:#2b2437}
.legal__sec{position:relative;scroll-margin-top:calc(var(--hdr) + 20px)}
.legal__sec+.legal__sec{margin-top:clamp(40px,5vw,64px);padding-top:clamp(26px,3vw,38px)}
.legal__sec+.legal__sec::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--paper-ink);opacity:.16}
.legal__sec+.legal__sec::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform 1.1s var(--ease)}
.js .legal__sec.is-active::after{transform:scaleX(1)}
.legal__sec h2{font-size:clamp(1.6rem,2.8vw,2.3rem);line-height:1.12;letter-spacing:-.025em;color:var(--paper-ink);text-wrap:balance}
.legal__n{display:block;margin-bottom:10px;font-family:var(--body);font-size:.85rem;font-weight:500;letter-spacing:0;color:var(--paper-muted);font-variant-numeric:tabular-nums}
.legal__sec p,.legal__sec ul{margin-top:1.05em;text-wrap:pretty}
.legal__sec--intro>p:first-child{margin-top:0}
.legal__sec p.legal__lead{font-family:var(--heading);font-weight:500;font-size:clamp(1.3rem,2.2vw,1.75rem);line-height:1.32;letter-spacing:-.015em;color:var(--paper-ink)}
.legal__sec strong{font-weight:600;color:var(--paper-ink)}
.legal__sec ul{display:grid;gap:.5em}
.legal__sec li{position:relative;padding-left:1.5em}
.legal__sec li::before{content:"";position:absolute;left:0;top:.82em;width:.75em;height:1.5px;background:var(--orange)}

.legal__end{margin-top:clamp(48px,6vw,80px);padding-top:clamp(26px,3vw,38px);border-top:1px solid rgba(10,1,24,.16)}
.legal__end h2{font-size:clamp(1.6rem,2.8vw,2.3rem);letter-spacing:-.025em}
.legal__end ul{display:grid;gap:4px;margin-block:14px 18px}
.legal__end li{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 18px}
.legal__end li span{color:var(--paper-muted);font-size:.98rem}
/* phones: each label sits right above its address or number, the pairs apart from each other */
@media (max-width:479px){.legal__end ul{gap:14px}.legal__end li{flex-direction:column;align-items:flex-start;gap:2px}}

@media print{.legal__index{display:none}}

/* ---------- Round 5: Pru reassures beside the title ---------- */
.legal__top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:clamp(12px,3vw,48px)}
/* beats the shared .hero--service>.wrap{display:flex} (900 px and up), so Pru stays beside the title */
@media (min-width:900px){.legal__hero.hero--service>.wrap.legal__top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}}
.legal__top>div{min-width:0}
.legal__top .pru{width:clamp(84px,20vw,180px)}
/* phones: back link, title and source first, then Pru at the right (round 5: Pru stood above the back link) */
@media (max-width:699px){.legal__top{grid-template-columns:minmax(0,1fr);gap:4px}.legal__top .pru{justify-self:end;width:90px}}
