/*
 * Poké Cube · the Privacy page (page-privacy.php). Loaded on that page only (inc/privacy.php), after
 * site.css, whose colours, fonts and .page-top / .eyebrow / .h2 styles it uses. The static preview's
 * privacy.html loads an exact copy, css/privacy.css (wp-theme/tests/privacy.test.cjs checks they match).
 *
 * A long read on the navy page: one comfortable text column, and on wide screens each part's heading
 * sits in a column to the left of its paragraphs, so the parts are easy to scan.
 */
.privacy-page {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(120px, 13vw, 170px);
}
.privacy-head { max-width: 46rem; }
.privacy-effective {
  margin-top: 1.1rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--mint);
}
.privacy-intro p {
  margin-top: 1.2rem;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 250, 245, .92);
}

.privacy-body {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 70rem;
}
.privacy-part {
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid rgba(255, 250, 245, .14);
}
.privacy-part h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--cream);
  margin-bottom: .9rem;
}
.privacy-part p {
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 250, 245, .86);
}
.privacy-part p + p { margin-top: 1em; }
.privacy-part b, .privacy-part strong { font-weight: 650; color: var(--cream); }
.privacy-page a:not(.btn) {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.privacy-page a:not(.btn):hover { color: var(--blush); }
.privacy-page a:not(.btn):active { color: var(--salmon); }
.privacy-page a:not(.btn):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 3px; }

.privacy-card {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 1.1rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 250, 245, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 245, .12);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 250, 245, .9);
}
.privacy-card b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--cream); }

@media (min-width: 900px) {
  .privacy-part {
    display: grid;
    grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .privacy-part > * { grid-column: 2; }
  .privacy-part > h2 { grid-column: 1; grid-row: 1 / span 6; margin-bottom: 0; }
  .privacy-card { justify-self: start; }
}
