/* Privacy (privacy.html): the yellow card with a sealed envelope (page.css), then the statement at a
   glance in four dark tiles, then the whole statement on cream: an index on the left that stays in
   place on a wide screen, the text on the right, each GDPR article in a small grey pill. */

.pv-sec {
  position: relative;
  padding: 16px 16px 0;
}

.pv-sec--last {
  padding-bottom: 120px;
}

/* ------------------------------------------------------------ at a glance */

.pv-glance {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 44px 40px 40px;
  background: #000000;
  color: #fffce1;
  box-shadow: inset 0 0 0 1px rgba(122, 119, 114, 0.45);
}

.pv-glance > .pg-fx {
  border-radius: inherit;
}

.pv-glance__title {
  position: relative;
  margin: 0;
  font-size: clamp(36px, 3.2vw, 64px);
  font-weight: 550;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.pv-tiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.pv-tile {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px 26px 28px;
  box-sizing: border-box;
  border-radius: 28px;
  background: #1a1919;
  box-shadow: inset 0 0 0 1px rgba(255, 252, 225, 0.1);
}

.pv-tile__ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--third, #c9b6f5);
  color: #252324;
}

.pv-tile__ic svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-tile__name {
  margin: auto 0 0;
  padding-top: 36px;
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.045em;
}

.pv-tile__text {
  margin: 10px 0 0;
  font-size: clamp(16px, 1.1vw, 19px);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255, 252, 225, 0.72);
  text-wrap: pretty;
}

/* ------------------------------------------------------------ the statement */

.pv-doc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 3fr) minmax(0, 7fr);
  gap: 48px;
  border-radius: 40px;
  padding: 56px 40px 64px;
  background: #fffce1;
  color: #252324;
}

.pv-doc > .pg-fx {
  border-radius: inherit;
}

/* the index stays in place while the text goes by */
.pv-index {
  position: relative;
  align-self: start;
}

@supports (position: sticky) {
  .pv-index {
    position: sticky;
    top: 112px;
  }
}

.pv-index__head {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: rgba(37, 35, 36, 0.55);
}

.pv-index ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pv;
  border-top: 1px solid rgba(37, 35, 36, 0.14);
}

.pv-index li {
  counter-increment: pv;
  border-bottom: 1px solid rgba(37, 35, 36, 0.14);
}

.pv-index a {
  display: flex;
  gap: 12px;
  padding: 11px 0 12px;
  color: #252324;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pv-index a::before {
  content: counter(pv, decimal-leading-zero);
  min-width: 1.6em;
  color: rgba(37, 35, 36, 0.4);
  font-variant-numeric: tabular-nums;
}

.pv-index a:hover {
  opacity: 0.6;
}

.pv-text {
  position: relative;
  max-width: 46em;
}

.pv-part {
  scroll-margin-top: 112px;
}

.pv-part + .pv-part {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid rgba(37, 35, 36, 0.14);
}

.pv-h {
  margin: 0;
  font-size: clamp(30px, 2.4vw, 46px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.045em;
}

.pv-part p {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(37, 35, 36, 0.8);
  text-wrap: pretty;
}

.pv-part a {
  color: #252324;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.pv-part a:hover {
  opacity: 0.65;
}

/* where a rule comes from */
.pv-art {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 10px 2px;
  border-radius: 999px;
  background: #f1eed3;
  color: #6f6d60;
  font-size: 0.8em;
  font-weight: 500;
  white-space: nowrap;
}

/* how long: three rows */
.pv-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(37, 35, 36, 0.14);
}

.pv-list li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px 24px;
  padding: 16px 0 17px;
  border-bottom: 1px solid rgba(37, 35, 36, 0.14);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pv-list b {
  font-weight: 600;
}

.pv-list span {
  color: rgba(37, 35, 36, 0.8);
}

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 1100px) {
  .pv-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pv-doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .pv-index {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .pv-glance,
  .pv-doc {
    border-radius: 32px;
  }

  .pv-glance {
    padding: 32px 20px 24px;
  }

  .pv-doc {
    padding: 36px 22px 44px;
  }

  .pv-tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

  .pv-tile {
    min-height: 0;
    padding: 22px 22px 24px;
    border-radius: 24px;
  }

  .pv-tile__name {
    padding-top: 26px;
  }

  .pv-list li {
    grid-template-columns: minmax(0, 1fr);
  }

  .pv-part + .pv-part {
    margin-top: 40px;
    padding-top: 36px;
  }

  .pv-sec--last {
    padding-bottom: 88px;
  }
}
