/* Strona polityki prywatności. Układ przewijalny, osobno od app.css (tam body ma overflow: hidden).
   Kolory wyłącznie z tokens.css (--bg, --surface, --surface2, --text, --muted, --line), dwa motywy przez tokeny.
   Tekst co najmniej 14 px (rem, działa przy powiększeniu 200%). */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
  border-radius: 2px;
}

.back {
  display: inline-block;
  padding: 0.5rem 0;
  min-height: 2.75rem;
  font-weight: 600;
}

h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 0.75rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 0.5rem; }

.meta { color: var(--muted); margin: 0 0 1rem; }

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 1rem;
}

p { margin: 0 0 0.75rem; }
p:last-child, ul:last-child { margin-bottom: 0; }

ul { margin: 0 0 0.75rem; padding-left: 1.25rem; }
li { margin: 0 0 0.375rem; }

footer { color: var(--muted); padding-top: 0.5rem; }

/* Domyślne code ma 13 px w przeglądarkach: wymuszamy rozmiar tekstu otoczenia (min. 14 px). */
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 1em;
}
