/* ── Policy page prose (terms/privacy/cookie/cancellation) ── */
.policy-prose {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9625rem;
  line-height: 1.85;
  color: var(--ink-2);
}
.policy-prose h1,
.policy-prose h2,
.policy-prose h3,
.policy-prose h4 {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}
.policy-prose h1 { font-size: 2rem; font-weight: 700; }
.policy-prose h2 { font-size: 1.45rem; font-weight: 600; padding-top: 0.5rem; border-top: 1px solid var(--rule); }
.policy-prose h3 { font-size: 1.15rem; font-weight: 600; }
.policy-prose h4 { font-size: 1rem; font-weight: 600; }
.policy-prose p  { margin-bottom: 1.1rem; }
.policy-prose ul,
.policy-prose ol { padding-inline-start: 1.5rem; margin-bottom: 1.1rem; }
.policy-prose li { margin-bottom: 0.4rem; }
.policy-prose a  { color: var(--theme-600); text-decoration: underline; text-underline-offset: 3px; }
.policy-prose a:hover { color: var(--theme-500); }
.policy-prose strong { color: var(--ink); font-weight: 600; }
.policy-prose blockquote {
  border-inline-start: 3px solid var(--theme-500);
  padding-inline-start: 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink-soft);
  font-style: italic;
}
.policy-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; }
.policy-prose th { text-align: start; padding: 0.6rem 1rem; font-weight: 600; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule); }
.policy-prose td { padding: 0.6rem 1rem; border: 1px solid var(--rule); color: var(--ink-2); }
.policy-prose hr { border: none; border-top: 1px solid var(--rule); margin: 2rem 0; }
.policy-prose code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.85em; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px; padding: 0.1em 0.4em; color: var(--ink); }

/* Cookie preferences block on /cookie — the way back in for a visitor who
   already answered the banner. */
.policy-preferences {
  margin-top: 48px;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper-2);
}

.policy-preferences h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.policy-preferences__state {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.policy-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 480px) {
  .policy-preferences { padding: 18px 16px; }
  .policy-preferences__actions > * { flex: 1 1 100%; }
}

/* Called out on dmca.php when no designated agent has been published yet —
   the operator needs to see that, and so does anyone trying to send a notice. */
.policy-notice {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(180, 120, 20, 0.35);
  background: rgba(180, 120, 20, 0.08);
}

/* Generated processor table on /privacy. Scrolls inside its own box on a
   phone rather than pushing the page sideways — the table is the one thing
   here that genuinely cannot reflow to 360px. */
.policy-processors { overflow-x: auto; margin-top: 8px; }

.policy-processors table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.policy-processors th,
.policy-processors td {
  text-align: start;
  vertical-align: top;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
}

.policy-processors th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.policy-processors td { color: var(--ink-soft); line-height: 1.55; }
