/* OEAF — polityka prywatności i deklaracja dostępności */
/* Scoped document layout approved in the September 2026 preview. */
.oeaf-accessibility-2026, .oeaf-accessibility-2026 * { box-sizing: border-box; }
.oeaf-accessibility-2026 {
  background: #f0f0f0;
  color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
.oeaf-accessibility-2026-container { width: min(100% - 2rem, 72rem); margin: 0 auto; padding: clamp(2rem, 6vw, 6rem) 0; }
/* Leave room for the site's fixed logo and menu, also on narrow screens. */
.oeaf-accessibility-2026-container { padding-top: max(120px, 6vw); }
.oeaf-accessibility-2026-article { max-width: 72ch; }
.oeaf-accessibility-2026 :is(h1, h2, h3, h4, h5, h6) { font-family: inherit; line-height: 1.2; letter-spacing: normal; text-transform: none; }
.oeaf-accessibility-2026 h1 { margin: 0 0 1.25em; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
.oeaf-accessibility-2026 h2 { margin: 2.5em 0 0.75em; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.oeaf-accessibility-2026 h3 { margin: 2em 0 0.7em; font-size: 1.45rem; font-weight: 700; }
.oeaf-accessibility-2026 h4 { margin: 1.75em 0 0.6em; font-size: 1.25rem; font-weight: 700; }
.oeaf-accessibility-2026 h5 { margin: 1.5em 0 0.5em; font-size: 1.1rem; font-weight: 700; }
.oeaf-accessibility-2026 h6 { margin: 1.5em 0 0.5em; font-size: 1rem; font-weight: 700; }
.oeaf-accessibility-2026 :is(p, ul, address) { margin: 0 0 1.15em; font-size: inherit; line-height: inherit; }
.oeaf-accessibility-2026 ul { padding-inline-start: 40px; }
.oeaf-accessibility-2026 li + li { margin-top: 0.55em; }
.oeaf-accessibility-2026 address { font-style: normal; }
.oeaf-accessibility-2026 a { color: inherit; text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.oeaf-accessibility-2026 a:focus-visible { outline: 4px solid #ffd400; outline-offset: 4px; }

.oeaf-legal,
.oeaf-legal * {
  box-sizing: border-box;
}

.oeaf-legal {
  --oeaf-paper: #f0f0f0;
  --oeaf-ink: #050505;
  --oeaf-muted: #686868;
  --oeaf-line: rgba(0, 0, 0, 0.24);
  --oeaf-side: clamp(20px, 4vw, 72px);
  --oeaf-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --oeaf-display: "GT Walsheim OEAF", "Arial Black", sans-serif;
  width: 100%;
  overflow-x: clip;
  background: var(--oeaf-paper);
  color: var(--oeaf-ink);
  font-family: var(--oeaf-body);
  font-weight: 400;
}

.oeaf-legal a { color: inherit; }

.oeaf-legal-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2147483647;
  padding: 12px 16px;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-weight: 700;
  transform: translateY(-180%);
}

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

.oeaf-legal-hero {
  display: flex;
  min-height: min(780px, 78svh);
  justify-content: flex-end;
  flex-direction: column;
  padding: clamp(190px, 18vw, 285px) var(--oeaf-side) clamp(44px, 6vw, 92px);
  border-bottom: 1px solid var(--oeaf-line);
}

.oeaf-legal-eyebrow {
  margin: 0 0 clamp(28px, 4vw, 60px);
  font-size: clamp(0.86rem, 0.78rem + 0.28vw, 1.08rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.oeaf-legal-title {
  max-width: 12ch;
  margin: 0;
  font-family: var(--oeaf-display);
  font-size: clamp(4rem, 11.2vw, 12.4rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.oeaf-legal-title--accessibility {
  max-width: 10ch;
  font-size: clamp(3.55rem, 9.4vw, 10.8rem);
}

/* Zatwierdzona Polityka ma znacznie dłuższy tytuł niż pozostałe dokumenty.
   Spokojniejszy regular i pełniejsza interlinia zachowują jej czytelność. */
#oeaf-privacy-document .oeaf-legal-hero {
  min-height: min(700px, 74svh);
  padding-top: clamp(150px, 14vw, 220px);
}

#oeaf-privacy-document .oeaf-legal-title {
  max-width: 17ch;
  font-size: clamp(3.6rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.042em;
}

.oeaf-legal-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1.28fr);
  gap: clamp(36px, 8vw, 150px);
  padding: clamp(44px, 6vw, 92px) var(--oeaf-side);
  border-bottom: 1px solid var(--oeaf-line);
}

.oeaf-legal-intro-label {
  margin: 0;
  color: var(--oeaf-muted);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.oeaf-legal-lead {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.65rem, 1.1rem + 1.7vw, 3.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

#oeaf-privacy-document .oeaf-legal-lead {
  max-width: 42ch;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 2.25rem);
  line-height: 1.24;
  letter-spacing: -0.022em;
}

.oeaf-legal-intro .oeaf-legal-lead + p,
.oeaf-legal-intro > div > p + p { margin-top: 28px; }

.oeaf-legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: clamp(42px, 8vw, 150px);
  padding: 0 var(--oeaf-side) clamp(90px, 12vw, 190px);
}

.oeaf-legal-toc {
  position: sticky;
  top: 118px;
  align-self: start;
  padding-top: clamp(54px, 7vw, 102px);
}

.oeaf-legal-toc h2 {
  margin: 0 0 22px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.oeaf-legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.oeaf-legal-toc li {
  border-top: 1px solid var(--oeaf-line);
  counter-increment: toc;
}

.oeaf-legal-toc li:last-child { border-bottom: 1px solid var(--oeaf-line); }

.oeaf-legal-toc a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 8px;
  padding: 11px 0 13px;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

.oeaf-legal-toc a::before {
  color: var(--oeaf-muted);
  content: counter(toc, decimal-leading-zero);
}

.oeaf-legal-toc a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.oeaf-legal-toc a:focus-visible,
.oeaf-legal-document a:focus-visible,
.oeaf-document-jump:focus-visible {
  outline: 3px solid #000;
  outline-offset: 4px;
}

.oeaf-document-jump { display: none; }
.oeaf-legal-document { min-width: 0; }

.oeaf-legal-section {
  padding: clamp(54px, 7vw, 102px) 0;
  border-top: 1px solid var(--oeaf-line);
  scroll-margin-top: 120px;
}

.oeaf-legal-section:first-child { border-top: 0; }

.oeaf-legal-section h2 {
  max-width: 15ch;
  margin: 0 0 clamp(32px, 5vw, 64px);
  font-family: var(--oeaf-display);
  font-size: clamp(2.45rem, 4.2vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

#oeaf-privacy-document .oeaf-legal-section h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 3vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.oeaf-legal-section h3 {
  max-width: 32ch;
  margin: 3.2rem 0 1rem;
  font-size: clamp(1.35rem, 1.08rem + 0.7vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.oeaf-legal-section p,
.oeaf-legal-section li,
.oeaf-legal-section dd,
.oeaf-legal-section dt,
.oeaf-legal-section address {
  max-width: 68ch;
  font-size: clamp(1.02rem, 0.96rem + 0.22vw, 1.2rem);
  font-weight: 400;
  line-height: 1.58;
}

.oeaf-legal-section p { margin: 0 0 1.1em; }

.oeaf-legal-section ul,
.oeaf-legal-section ol {
  max-width: 68ch;
  margin: 1.3rem 0 1.8rem;
  padding-left: 1.35em;
}

.oeaf-legal-section li + li { margin-top: 0.52em; }

.oeaf-legal-section a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.oeaf-legal-facts {
  max-width: 820px;
  margin: 0;
  border-top: 1px solid var(--oeaf-line);
}

.oeaf-legal-facts > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--oeaf-line);
}

.oeaf-legal-facts dt,
.oeaf-legal-facts dd { margin: 0; }
.oeaf-legal-facts dt { color: var(--oeaf-muted); }

.oeaf-legal-panel {
  max-width: 850px;
  margin: 34px 0;
  padding: clamp(24px, 3vw, 42px);
  background: #000;
  color: #fff;
}

.oeaf-legal-panel > :last-child { margin-bottom: 0; }

.oeaf-legal-status {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 12px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.oeaf-legal-address { font-style: normal; }

@media (max-width: 880px) {
  .oeaf-legal-intro,
  .oeaf-legal-layout { grid-template-columns: minmax(0, 1fr); }
  .oeaf-legal-intro { gap: 24px; }
  .oeaf-legal-toc { display: none; }
  .oeaf-document-jump {
    display: block;
    width: calc(100% - (2 * var(--oeaf-side)));
    margin: 38px var(--oeaf-side) 0;
    padding: 13px 16px;
    border: 1px solid #000;
    border-radius: 0;
    background: transparent;
    color: #000;
    font: 400 1rem/1.2 var(--oeaf-body);
  }
  .oeaf-legal-layout { padding-top: 8px; }
  .oeaf-legal-section:first-child { border-top: 1px solid var(--oeaf-line); }
}

@media (max-width: 620px) {
  .oeaf-legal-hero {
    min-height: 70svh;
    padding-top: 156px;
  }
  .oeaf-legal-title,
  .oeaf-legal-title--accessibility {
    font-size: clamp(3.25rem, 17vw, 5.4rem);
    line-height: 0.86;
  }
  #oeaf-privacy-document .oeaf-legal-hero {
    min-height: 64svh;
    padding-top: 140px;
  }
  #oeaf-privacy-document .oeaf-legal-title {
    font-size: clamp(2.75rem, 12.8vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }
  #oeaf-privacy-document .oeaf-legal-lead {
    font-size: 1.25rem;
    line-height: 1.32;
  }
  #oeaf-privacy-document .oeaf-legal-section h2 {
    max-width: 19ch;
    font-size: clamp(1.8rem, 8vw, 2.3rem);
    line-height: 1.12;
  }
  .oeaf-legal-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

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