/* ─── Polityka prywatności ───────────────────────────────────
   Samodzielny arkusz strony polityka-prywatnosci.html — celowo
   NIE korzysta z base.css i ma własną paletę (żółty akcent). */

:root {
  color-scheme: dark;
  --bg: #101010;
  --surface: #191919;
  --border: #303030;
  --text: #f1f1f1;
  --muted: #ababab;
  --accent: #ffd200;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--accent); text-underline-offset: 3px; }

.privacy-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.privacy-header img { width: auto; max-width: 55vw; height: 52px; object-fit: contain; }
.privacy-back { justify-self: start; color: var(--muted); text-decoration: none; }
.privacy-back:hover { color: var(--text); }

.privacy-document {
  width: min(900px, calc(100% - 32px));
  margin: 48px auto 70px;
}

.privacy-document h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.privacy-updated { margin-top: 10px; color: var(--muted); }

.privacy-document section {
  margin-top: 26px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.privacy-document h2 { margin-bottom: 12px; font-size: 1.2rem; }
.privacy-document p + p { margin-top: 12px; }
.privacy-document ul { margin: 10px 0 0 22px; }
.privacy-document li + li { margin-top: 4px; }

.privacy-table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
code { color: var(--accent); }

.privacy-sources { border-left: 3px solid var(--accent) !important; }

.privacy-footer {
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (max-width: 620px) {
  .privacy-header { grid-template-columns: 1fr auto; }
  .privacy-header img { height: 42px; }
  .privacy-document { margin-top: 30px; }
  .privacy-document section { padding: 20px 18px; }
}
