/* Fonty lokalne. Podstrona nie pobiera nic z Google Fonts, dzięki czemu
   cały serwis nie wysyła żadnych żądań do serwerów firm trzecich.
   Te same rodziny i wagi co na wizytówce (Inter + Montserrat), żeby obie
   strony wyglądały jak jeden spójny serwis. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("montserrat-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Paleta 1:1 z wizytówki (assets/wizytowka.css), żeby obie strony
   dzieliły dokładnie ten sam czarny, tę samą czerwień i te same szarości. */
:root {
  color-scheme: dark;
  --black: #050506;
  --black-soft: #0a0b0d;
  --surface: #111317;
  --surface-raised: #171a20;
  --red: #b80000;
  --red-deep: #7a1026;
  --red-glow: rgba(184, 0, 0, 0.28);
  --red-soft: rgba(184, 0, 0, 0.14);
  --white: #f5f2ed;
  --gray: #a7a7ad;
  --gray-dark: #6e7178;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

/* To samo tło co na wizytówce: to samo zdjęcie (tlo.png), ta sama przyciemniająca
   nakładka i ta sama subtelna siatka w tle, żeby przejście między stronami
   było niewidoczne. */
body {
  min-width: 0;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    var(--black) url("tlo.png") no-repeat center center fixed;
  background-size: cover;
  font-size: 1rem;
  line-height: 1.7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

a {
  color: var(--white);
  text-decoration-color: rgba(184, 0, 0, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:hover {
  color: #ff6b7e;
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
  background: var(--white);
  color: var(--black);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.privacy-header,
.privacy-footer,
.privacy-shell {
  position: relative;
  width: min(47.5rem, calc(100% - 2rem));
  margin-inline: auto;
}

.privacy-header {
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration-color: transparent;
}

.back-link:hover {
  color: var(--white);
}

.privacy-shell {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.document-label {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  color: var(--white);
  font-family: var(--font-heading);
}

h1 {
  max-width: 43rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 7vw, 4.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  margin-block: 0 1rem;
  color: var(--gray);
}

strong {
  color: var(--white);
  font-weight: 600;
}

.privacy-status {
  margin-bottom: 2rem;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(184, 0, 0, 0.6);
  border-radius: 0.65rem;
  background: var(--red-soft);
  color: var(--white);
  font-weight: 500;
}

.privacy-intro {
  padding-bottom: 0.75rem;
}

.privacy-shell section {
  padding-block: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--line);
}

.privacy-todo {
  margin-block: 1rem;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(184, 0, 0, 0.4);
  border-radius: 0.75rem;
  background: var(--surface);
}

.privacy-todo .document-label {
  margin-bottom: 0.55rem;
}

.privacy-todo-list,
.policy-list,
.source-list {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.privacy-todo-list li,
.policy-list li,
.source-list li {
  padding-left: 0.25rem;
  color: var(--gray);
}

.privacy-todo-list li + li,
.policy-list li + li,
.source-list li + li {
  margin-top: 0.75rem;
}

.policy-list li::marker,
.privacy-todo-list li::marker {
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 800;
}

.source-list li::marker {
  color: var(--gray-dark);
}

/* Blok kontaktowy i wyróżnione zastrzeżenia w treści polityki. */
.privacy-contact {
  margin-block: 1.25rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: var(--surface);
}

.privacy-contact p {
  margin-block: 0 0.35rem;
}

.privacy-contact p:last-child {
  margin-bottom: 0;
}

.privacy-contact a {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.privacy-callout {
  margin-block: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--red);
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--red-soft);
}

.privacy-callout p {
  margin: 0;
  color: var(--white);
}

.privacy-updated {
  margin-bottom: 2rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
  color: var(--gray);
}

.privacy-updated strong {
  color: var(--white);
}

.privacy-footer {
  display: flex;
  padding-block: 1.5rem 2rem;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
}

.privacy-footer p {
  margin: 0;
  color: var(--gray-dark);
  font-size: 0.75rem;
}

.privacy-footer p:last-child {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .privacy-header,
  .privacy-footer,
  .privacy-shell {
    width: min(100% - 1.5rem, 47.5rem);
  }

  .privacy-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .skip-link {
    transition: none;
  }
}
