/* ==========================================================================
   PRIVACY POLICY (/privacy/)
   A calm reading page: shared header, type and footer, plus a comfortable
   text column. Only what this page adds lives here.
   ========================================================================== */

.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(40px, 8vh, 96px)) var(--gutter) clamp(48px, 8vw, 96px);
}

.policy__intro { display: grid; gap: 16px; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.policy__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
.policy__lead { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.45; }
.policy__updated { font-size: var(--fs-small); color: var(--ink-soft); }

/* Contents: a quiet glass card */
.policy__contents {
  margin: clamp(28px, 4vw, 44px) 0 8px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-tile);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 0 1px var(--glass-line);
}
.policy__contents-title { margin-bottom: 10px; font-size: var(--fs-small); font-weight: 700; }
.policy__contents ol { margin: 0; padding-left: 1.6em; font-variant-numeric: tabular-nums; }
.policy__contents li { margin-bottom: 6px; break-inside: avoid; }
/* Two columns that read down the left column first, then the right */
@media (min-width: 640px) { .policy__contents ol { columns: 2; column-gap: 40px; } }
.policy__contents a { text-underline-offset: 3px; }

/* Sections */
.policy__section {
  display: grid;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  scroll-margin-top: calc(var(--header-h) + 16px);
  line-height: 1.65;
}
.policy__section:last-child { border-bottom: 0; }
.policy__section h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.policy__section h3 { margin-top: 10px; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.policy__section p, .policy__section li { max-width: 68ch; }
.policy__section ul { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; }
.policy__section a { text-underline-offset: 3px; }

/* Purposes table: a table on wider screens, stacked cards on phones */
.policy__table-wrap { margin: 6px 0; }
.policy__table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.policy__table th { padding: 10px 14px 10px 0; text-align: left; font-size: var(--fs-small); font-weight: 700; border-bottom: 1px solid var(--ink); }
.policy__table td { padding: 14px 14px 14px 0; vertical-align: top; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.policy__table td:first-child { font-weight: 700; width: 34%; }
@media (max-width: 699px) {
  .policy__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .policy__table, .policy__table tbody, .policy__table tr, .policy__table td { display: block; width: 100%; }
  .policy__table tr { padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
  .policy__table td { padding: 4px 0; border: 0; }
  .policy__table td:first-child { width: 100%; }
  .policy__table td + td::before { content: attr(data-label); display: block; font-size: var(--fs-small); font-weight: 700; color: var(--ink-soft); }
}

/* The publication-date marker: impossible to miss until it is set on deploy day */
mark.ph {
  padding: 1px 4px;
  border-radius: 4px;
  background: #F6E27A;
  color: var(--ink);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
