/* Policies: a long read on paper. Blue top with the three jumps as tiles, then each policy as
   a heading held on the left, the text at reading measure, the facts in tiles on the right. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- top ---------- */
/* the header sits over the first field, so the top clears it */
.s-polhead { padding-top: clamp(150px, 12vw, 200px); }
#h-pol { font-size: clamp(72px, 10vw, 168px); line-height: .82; }
.pol-lead { display: flex; flex-direction: column; gap: 12px; }
.pol-date { font-size: 15px; font-weight: 700; }

.pol-jump { grid-template-columns: repeat(3, 1fr); }
.pol-jump .t { text-decoration: none; min-height: clamp(170px, 14vw, 220px); justify-content: flex-end; }
.jh { font: 900 clamp(32px, 2.8vw, 48px)/.9 var(--disp); text-transform: uppercase; }
.jl { max-width: 30ch; font-size: 15px; }
.ja { position: absolute; top: clamp(22px, 2vw, 32px); right: clamp(22px, 2vw, 32px); width: 30px; height: 30px; transition: transform .45s var(--slap); }
.ja path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.pol-jump .t:hover .ja { transform: translateY(5px); }
.pol-jump .t:hover .jh { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- the policies ---------- */
.s-pol { display: flex; flex-direction: column; gap: clamp(96px, 9vw, 160px); }
.pol {
  display: grid; align-items: start; scroll-margin-top: 24px;
  grid-template-columns: minmax(0, 3fr) minmax(0, 60ch) minmax(0, 3fr);
  grid-template-areas: "h copy facts";
  column-gap: clamp(32px, 4vw, 72px);
}
.pol-h { grid-area: h; position: sticky; top: 32px; font: 900 clamp(48px, 4.4vw, 76px)/.86 var(--disp); text-transform: uppercase; }
.pol-copy { grid-area: copy; }
.pol-facts { grid-area: facts; grid-template-columns: 1fr; position: sticky; top: 32px; }
.pol-facts .t { min-height: clamp(170px, 13vw, 210px); justify-content: space-between; }
.pol-facts .stat-big { font-size: clamp(44px, 3.8vw, 68px); line-height: .86; }
.pol-facts .stat p:last-child { max-width: 26ch; }

/* reading: 48-60ch, full ink, real spacing */
.pol-copy { font-size: 18px; line-height: 1.55; }
.pol-copy p + p, .pol-copy ul + p, .pol-copy p + ul { margin-top: 14px; }
.pol-copy h3 { font: 900 clamp(26px, 2.1vw, 34px)/.95 var(--disp); text-transform: uppercase; margin: 44px 0 12px; }
.pol-copy h3.first { margin-top: 0; }
.pol-copy ul { padding-left: 1.15em; display: flex; flex-direction: column; gap: 10px; }
.pol-copy li::marker { color: var(--orange); }
.pol-copy a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- tablet: heading on top, text and facts side by side ---------- */
@media (max-width: 1100px) {
  .pol { grid-template-columns: minmax(0, 60ch) minmax(220px, 1fr); grid-template-areas: "h h" "copy facts"; row-gap: 32px; }
  .pol-h, .pol-facts { position: static; }
}

/* ---------- phone: one column, facts before the text ---------- */
@media (max-width: 760px) {
  .s-polhead { padding-top: 120px; }
  .pol-jump { grid-template-columns: 1fr; }
  .pol-jump .t { min-height: 0; padding-right: 64px; }
  .pol { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "facts" "copy"; row-gap: 24px; }
  .pol-facts { grid-template-columns: 1fr 1fr; }
  .pol-facts .t:first-child { grid-column: 1 / -1; }
  .pol-facts .t { min-height: 150px; }
  .pol-facts .stat-big { font-size: 44px; }
  /* half-width tiles: long words like TRACKERS and INCLUDED stay on one line */
  .pol-facts .t:not(:first-child) .stat-big { font-size: min(36px, 7vw); }
  .pol-copy { font-size: 16px; }
}
