/* ─────────────────────────────────────────────────────────
   privacy.css — Libreprobe / Privacy Policy
   Depends on: fonts.css, nav.css
───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Backgrounds — true black base, very dark steps */
  --bg:    #080808;
  --bg-1:  #0f0f0f;
  --bg-2:  #161618;
  --bg-3:  #1d1d20;
  --bg-4:  #252529;
  --bg-5:  #2e2e34;

  /* Text — warm off-white, not blue-white */
  --tx-1:  #f0ede8;   /* headings  */
  --tx-2:  #c4c0ba;   /* body      */
  --tx-3:  #8a8780;   /* secondary */
  --tx-4:  #56534e;   /* muted     */

  /* Accent — sage green, slightly brighter than before */
  --ac:    #88c070;   /* main accent  */
  --ac-2:  #5e8f50;   /* darker shade */
  --ac-dim: rgba(136,192,112,.1);
  --ac-bdr: rgba(136,192,112,.2);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Space Grotesk', system-ui, sans-serif;
  --mono:  'Space Grotesk', system-ui, monospace;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--tx-2);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Page container ─────────────────────────────────────── */
.priv-page {
  max-width: 660px;
  margin: 0 auto;
  padding: 56px 32px 104px;
}

/* ── Header ─────────────────────────────────────────────── */
.priv-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--bg-4);
  margin-bottom: 36px;
}

.priv-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ac);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: .85;
}
.priv-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ac);
  opacity: .5;
  flex-shrink: 0;
}

.priv-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 4.2vw, 42px);
  color: var(--tx-1);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  /* Warm off-white — not pure #fff, not blue-cast */
  text-shadow: 0 0 40px rgba(240,237,232,.04);
}

.priv-subtitle {
  font-size: 15px;
  color: var(--tx-3);
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 400;
}

.priv-updated {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tx-4);
  letter-spacing: .06em;
}

/* ── Callout ─────────────────────────────────────────────── */
.priv-callout {
  background: var(--ac-dim);
  border: 1px solid var(--ac-bdr);
  border-left: 2px solid var(--ac);
  border-radius: 6px;
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--tx-2);
  margin-bottom: 48px;
  letter-spacing: .01em;
}

/* ── Body sections ───────────────────────────────────────── */
.priv-body {
  display: flex;
  flex-direction: column;
}

.priv-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--bg-3);
}
.priv-section--last {
  border-bottom: none;
  padding-bottom: 0;
}

/* Section headings */
.priv-section h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--tx-1);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  font-weight: 400;
}

/* Body text */
.priv-section p {
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--tx-2);
  margin-bottom: 14px;
  font-weight: 400;
}
.priv-section p:last-child { margin-bottom: 0; }

/* Lists */
.priv-section ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.priv-section ul li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--tx-2);
  padding-left: 18px;
  position: relative;
}
.priv-section ul li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ac-2);
}

/* Regional note — intentionally subdued */
.priv-note {
  font-size: 13px !important;
  line-height: 1.72 !important;
  color: var(--tx-4) !important;
  padding: 14px 16px;
  border-left: 2px solid var(--bg-5);
  background: var(--bg-2);
  border-radius: 0 4px 4px 0;
  margin-top: 16px !important;
}

/* Links */
.priv-section a,
.priv-callout a {
  color: var(--ac);
  text-decoration: none;
  border-bottom: 1px solid rgba(136,192,112,.25);
  transition: color .14s, border-color .14s;
}
.priv-section a:hover,
.priv-callout a:hover {
  color: var(--tx-1);
  border-bottom-color: rgba(240,237,232,.4);
}

/* Inline code */
code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 3px;
  padding: 1px 7px;
  color: var(--tx-2);
  letter-spacing: .02em;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 2px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .priv-page { padding: 40px 24px 80px; }
  .priv-section p,
  .priv-section ul li { font-size: 14px; }
}
@media (max-width: 480px) {
  .priv-page    { padding: 28px 16px 64px; }
  .priv-title   { font-size: 24px; }
  .priv-callout { font-size: 13.5px; padding: 14px 16px; }
  .priv-section { padding: 26px 0; }
  .priv-section h2 { font-size: 18px; }
}