/* Polityka Prywatności — Pierrot (statyczna kopia) */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #212529;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 12px;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* nagłówek: logo + przycisk powrotu */
.site-header { padding: 40px 0 8px; }
.site-header svg { display: block; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* przycisk powrotu (nagłówek + stopka) */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #2970ff;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.btn-back:hover { background: #1670b7; }
.btn-back svg { flex-shrink: 0; }

/* przycisk powrotu na dole — wyrównany do prawej */
.footer-back {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
}

/* sekcja z kartą polityki */
.page {
  background: #f5fbff;
  padding: 8px 0;
}
.card {
  background: #fff;
  border-radius: 2rem;
  padding: 24px;
}

h1 {
  position: relative;
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 55px;
  letter-spacing: -0.64px;
  color: #30374f;
}
h1::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 80px;
  height: 4px;
  background: #2970ff;
}

h2 {
  margin: 56px 0 8px;
  font-size: calc(1.3rem + 0.6vw);
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 1200px) { h2 { font-size: 1.75rem; } }

p  { margin: 0 0 16px; }
ul { margin: 40px 0 16px; padding-left: 2rem; }

/* rytm odstępów oryginału: większa przerwa nad śródtytułami i po listach */
p:has(> strong:only-child), ul + p { margin-top: 40px; }

a { color: #0d6efd; }

/* stopka */
.site-footer {
  margin-top: auto;
  padding-top: 48px;
}
.site-footer svg { display: block; width: 100%; height: auto; }
.site-footer p { margin: 0; padding: 24px 0; }

/* floating "scroll to top" */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #2970ff;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(41, 112, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: #1670b7; }
