/* Viroan Privacy page — layout, typography and section styling.
 *
 * Reading-first: narrow column, generous line-height, mono-eyebrow,
 * data tables for the §2/§3/§4/§6 grids. Light/dark aware via CSS vars
 * defined in tokens.css. */

.pp-page {
  background: var(--bg-0);
  padding: 80px 24px 120px;
  min-height: 70vh;
}

.pp-inner {
  max-width: 920px;
  margin: 0 auto;
}

/* ── Head ─────────────────────────────────────────── */
.pp-head {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.pp-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  margin: 14px 0 8px;
}
.pp-subtitle {
  font-size: 16px;
  color: var(--fg-2);
  margin: 0 0 28px;
}
.pp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.pp-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pp-meta-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.pp-meta-v {
  font-size: 13px;
  color: var(--fg-1);
  font-family: var(--font-mono);
}

/* ── Translation disclaimer (RU/PL only) ─────────── */
.pp-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin: 0 0 36px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--accent-soft);
}
.pp-disclaimer-icon {
  color: var(--accent);
  font-size: 14px;
  line-height: 1.5;
  flex-shrink: 0;
}
.pp-disclaimer-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-1);
}
.pp-disclaimer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pp-disclaimer-text a:hover {
  text-decoration: none;
}

/* ── Table of contents ───────────────────────────── */
.pp-toc {
  margin: 0 0 56px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-1);
}
.pp-toc ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.pp-toc li {}
.pp-toc a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  color: var(--fg-1);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.pp-toc a:hover {
  color: var(--accent);
}
.pp-toc-n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  min-width: 18px;
}
.pp-toc-t {
  flex: 1;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .pp-toc ul { grid-template-columns: 1fr; }
}

/* ── Sections ────────────────────────────────────── */
.pp-section {
  padding: 32px 0 12px;
  border-top: 1px solid var(--line);
}
.pp-section:first-child {
  border-top: none;
  padding-top: 0;
}
.pp-section-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}
.pp-section-n {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.15em;
  min-width: 32px;
  font-weight: 500;
}

.pp-blocks {
  scroll-margin-top: 80px;
}

/* ── Block: paragraph ────────────────────────────── */
.pp-p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-1);
  margin: 0 0 16px;
}
.pp-p strong {
  color: var(--fg-0);
  font-weight: 600;
}
.pp-p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pp-p a:hover { text-decoration: none; }
.pp-p code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--bg-2);
  color: var(--fg-1);
}

/* ── Block: list ─────────────────────────────────── */
.pp-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.pp-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-1);
}
.pp-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.pp-list strong {
  color: var(--fg-0);
  font-weight: 600;
}
.pp-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Block: table ────────────────────────────────── */
.pp-table-wrap {
  margin: 8px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pp-table th {
  text-align: left;
  padding: 14px 18px;
  background: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-2);
  border-bottom: 1px solid var(--line-strong);
}
.pp-table td {
  padding: 14px 18px;
  line-height: 1.6;
  color: var(--fg-1);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.pp-table tr:last-child td {
  border-bottom: none;
}
.pp-table td strong {
  color: var(--fg-0);
  font-weight: 600;
}
.pp-table td code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--bg-2);
  color: var(--fg-1);
}
@media (max-width: 700px) {
  .pp-table th,
  .pp-table td { padding: 10px 12px; font-size: 13px; }
}

/* ── Block: callout (highlighted "we do NOT sell data" box) ── */
.pp-callout {
  padding: 18px 22px;
  margin: 20px 0;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-1);
  border-radius: 0 6px 6px 0;
}
.pp-callout strong {
  color: var(--fg-0);
  font-weight: 600;
}

/* ── Foot ────────────────────────────────────────── */
.pp-foot {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.pp-back {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pp-back:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

/* ── Mobile tweaks ──────────────────────────────── */
@media (max-width: 700px) {
  .pp-page { padding: 48px 18px 80px; }
  .pp-title { font-size: 32px; }
  .pp-section-title { font-size: 22px; gap: 12px; }
  .pp-meta { gap: 18px; }
}
