/* The privacy page. The bar, the kicker, the section head, the glass and the foot come from finish.css and trust.css,
   so this file holds only the reading layout: a dark opening with the short version, then the policy on the light
   ground of the project form, with a contents list that follows the reading. */

/* ---- Opening ---- */
.pv-hero { padding-top: clamp(132px, 20vh, 208px); padding-bottom: clamp(56px, 9vh, 104px); }
.pv-hero .sec__head { margin-bottom: clamp(40px, 7vh, 72px); }
.sec__head h1 { font-size: clamp(44px, 6.4vw, 112px); font-weight: 600; letter-spacing: -.052em; line-height: .94; text-wrap: balance; }
.pv-lede { display: grid; gap: 18px; }
.pv-lede .sec__sub { max-width: 38ch; }
.pv-date { font: 500 13px/1 var(--mono); opacity: .6; }

.pv-label { font: 500 13px/1 var(--mono); letter-spacing: .02em; opacity: .7; margin-bottom: 18px; }
.pv-short { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 18px); }
.pv-short li { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 1.8vw, 28px); border-radius: clamp(20px, 2vw, 30px); background: rgb(255 255 255 / .045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.pv-short li::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--c); margin-bottom: clamp(14px, 2.4vh, 26px); }
.pv-short b { font-size: clamp(19px, 1.5vw, 24px); font-weight: 600; letter-spacing: -.03em; line-height: 1.14; text-wrap: balance; }
.pv-short p { font-size: 15px; line-height: 1.45; color: rgb(255 255 255 / .72); text-wrap: pretty; }

/* ---- The policy ---- */
.pv-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(32px, 5vw, 96px); align-items: start;
  padding: clamp(72px, 11vh, 128px) var(--gutter) clamp(88px, 13vh, 150px); background: #F3F6F9; color: #0E1013; }
.pv-toc { position: sticky; top: clamp(96px, 14vh, 140px); }
.pv-toc p { font: 500 13px/1 var(--mono); color: #6B727C; margin-bottom: 14px; }
.pv-toc ol { padding: 0; list-style: none; display: grid; gap: 1px; }
.pv-toc a { position: relative; display: flex; gap: 12px; padding: 7px 0 7px 16px; font-size: 15px; font-weight: 500; letter-spacing: -.012em; color: #6B727C; transition: color .3s; }
.pv-toc a span { font: 500 12px/1.65 var(--mono); }
.pv-toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: currentColor; translate: 0 -50%; scale: 0; transition: scale .4s var(--out); }
.pv-toc a:hover, .pv-toc a.on { color: #0E1013; }
.pv-toc a.on::before { scale: 1; }

.pv-text { max-width: 46rem; }
.pv-text > section { padding: clamp(36px, 5vh, 56px) 0; border-top: 1px solid rgb(14 16 19 / .1); scroll-margin-top: clamp(84px, 12vh, 120px); }
.pv-text > section:first-child { padding-top: 0; border-top: 0; }
.pv-num { display: block; margin-bottom: 14px; font: 500 13px/1 var(--mono); color: #6B727C; }
.pv-text h2 { margin-bottom: 18px; font-size: clamp(28px, 2.6vw, 42px); font-weight: 600; letter-spacing: -.042em; line-height: 1.04; text-wrap: balance; }
.pv-text h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.pv-text p, .pv-text li, .pv-text dd { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.6; color: #2B3038; text-wrap: pretty; }
.pv-text :is(p, ul, dl, h3) + :is(p, ul, dl, h3) { margin-top: 14px; }
.pv-text h3 + p { margin-top: 6px; }
.pv-text p + :is(.pv-cards, .pv-facts, .pv-reg, .pv-rows) { margin-top: 20px; }
.pv-text strong { font-weight: 600; color: #0E1013; }
.pv-text a { color: #0E1013; font-weight: 550; border-bottom: 1.5px solid rgb(14 16 19 / .25); overflow-wrap: anywhere; transition: border-color .3s; }
.pv-text a:hover { border-color: #0E1013; }
/* The section of the Act sits at the end of its line, so the plain words lead and the citation follows. */
.pv-ref { margin-left: auto; font: 500 13px/1.9 var(--mono); color: #6B727C; white-space: nowrap; }
.pv-list li:has(.pv-ref) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }

.pv-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.pv-list li { position: relative; padding-left: 22px; }
.pv-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: #0E1013; translate: 0 -50%; }

/* The three ways information reaches us, each a card with its own dot. */
.pv-cards { padding: 0; list-style: none; display: grid; gap: 12px; }
.pv-cards li { padding: clamp(18px, 1.7vw, 26px); border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgb(14 16 19 / .04), 0 24px 50px -36px rgb(14 16 19 / .3); }
.pv-cards h3 { display: flex; align-items: center; gap: 10px; }
.pv-cards h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(14 16 19 / .14); }
.pv-cards p { margin-top: 8px; }

/* Purpose and basis, or what and how long: one row each. */
.pv-rows { padding: 0; list-style: none; border-bottom: 1px solid rgb(14 16 19 / .1); }
.pv-rows li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid rgb(14 16 19 / .1); }
.pv-rows small { font: 500 13px/1.5 var(--mono); color: #5B626C; }

/* Facts set out label by label: the company on white, the Regulator in ink. */
.pv-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; padding: clamp(20px, 2vw, 30px); border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgb(14 16 19 / .04), 0 24px 50px -36px rgb(14 16 19 / .3); }
.pv-facts dt { font: 500 12px/2.1 var(--mono); color: #6B727C; }
.pv-facts dd { margin: 0; color: #0E1013; }
.pv-reg { padding: clamp(20px, 2vw, 30px); border-radius: 22px; background: #0E1013; color: #fff; }
.pv-reg h3 { color: #fff; font-size: 20px; letter-spacing: -.025em; }
.pv-text .pv-reg h3 + .pv-facts { margin-top: 18px; }
.pv-reg .pv-facts { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.pv-reg .pv-facts dt { color: rgb(255 255 255 / .6); }
.pv-text .pv-reg dd { color: #fff; }
.pv-text .pv-reg a { color: #fff; border-color: rgb(255 255 255 / .35); }
.pv-text .pv-reg a:hover { border-color: #fff; }
.pv-reg > small { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12); font: 500 12px/1.5 var(--mono); color: rgb(255 255 255 / .6); }

@media (min-width: 900px) and (max-width: 1199px) { .pv-short { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .pv-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-body { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  /* On a phone the contents become one row of pills that scrolls sideways, edge to edge. */
  .pv-toc { position: static; margin: 0 calc(var(--gutter) * -1); }
  .pv-toc p { padding: 0 var(--gutter); }
  .pv-toc ol { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .pv-toc ol::-webkit-scrollbar { display: none; }
  .pv-toc a { flex: none; padding: 10px 15px; border-radius: 99px; white-space: nowrap; font-size: 14px; color: #0E1013; background: #fff; box-shadow: inset 0 0 0 1px rgb(14 16 19 / .08); }
  .pv-toc a span { color: #6B727C; }
  .pv-toc a::before { display: none; }
  .pv-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pv-facts dd + dt { margin-top: 12px; }
}
@media (max-width: 599px) { .pv-short { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pv-toc a, .pv-toc a::before { transition: none; } }
@media print {
  .nav, .pv-toc, .after__word, .after__row nav { display: none; }
  .pv-hero, .pv-body, .after { padding: 24px 0; background: #fff; color: #000; }
  .pv-short li { background: none; box-shadow: inset 0 0 0 1px #ccc; }
  .pv-short p, .pv-reg .pv-facts dt, .pv-reg > small { color: #333; }
  .pv-reg, .pv-text .pv-reg dd, .pv-text .pv-reg a { background: none; color: #000; }
}
