:root {
  --paper: #f7f4ec;
  --white: #fffefa;
  --ink: #20242d;
  --ink-soft: #303641;
  --muted: #747880;
  --line: rgba(32, 36, 45, 0.13);
  --blue: #3d8edb;
  --green: #24a078;
  --coral: #dd5b32;
  --orange: #f5a322;
  --violet: #8074d9;
  --display: "Arial Rounded MT Bold", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: Inter, "Avenir Next", "Segoe UI", sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.legal-page { background: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(61, 142, 219, 0.48); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1220px, calc(100% - 10vw)); margin-inline: auto; }

.site-header { position: relative; z-index: 40; display: grid; min-height: 96px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; color: white; background: var(--ink); }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand__word { font-family: var(--display); font-size: 28px; font-weight: 900; letter-spacing: -0.055em; }
.legal-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.legal-nav a { color: #b8bbc3; font-size: 12px; font-weight: 720; text-decoration: none; transition: color 0.2s ease; }
.legal-nav a:hover { color: white; }
.legal-nav__download { padding: 11px 17px; border-radius: 999px; color: var(--ink) !important; background: white; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.back-link { min-height: 42px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; display: inline-flex; align-items: center; color: white; background: rgba(255, 255, 255, 0.05); font-size: 11px; font-weight: 760; text-decoration: none; }
.back-link:hover { background: rgba(255, 255, 255, 0.1); }

.language-picker { position: relative; z-index: 60; }
.language-button { min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: white; background: rgba(255, 255, 255, 0.05); font: inherit; cursor: pointer; }
.language-button__flag, .language-option__flag { display: inline-flex; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(32, 36, 45, 0.12); border-radius: 3px; box-shadow: 0 1px 2px rgba(32, 36, 45, 0.1); }
.language-button__flag { width: 21px; height: 14px; }
.language-button__flag svg, .language-option__flag svg { display: block; width: 100%; height: 100%; }
.language-button__code { font-size: 10px; font-weight: 800; }
.language-button__chevron { color: #9ca0aa; font-size: 9px; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 280px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: var(--white); box-shadow: 0 24px 70px rgba(20, 23, 30, 0.3); }
.language-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.language-menu__close { width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--muted); background: #eee9dd; font: inherit; font-size: 19px; cursor: pointer; }
.language-option { display: flex; align-items: center; width: 100%; min-height: 58px; gap: 12px; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.language-option:last-child { border-bottom: 0; }
.language-option:hover, .language-option.is-selected { background: #f0ede5; }
.language-option__flag { width: 30px; height: 20px; }
.language-option__names { display: grid; flex: 1; gap: 2px; }
.language-option__names strong { font-size: 11px; font-weight: 760; }
.language-option__names small, .language-option__code { color: var(--muted); font-size: 9px; }
.language-option__code { width: 28px; font-family: var(--utility); text-align: right; }
.language-option__check { color: var(--green); font-size: 16px; font-weight: 800; }

main { background: var(--paper); }
.legal-hero { position: relative; overflow: hidden; padding: 70px 0 78px; border-radius: 0 0 42px 42px; color: white; background: var(--ink); isolation: isolate; }
.legal-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; opacity: 0.46; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.65px, transparent 0.65px); background-size: 6px 6px; mask-image: linear-gradient(black, transparent 96%); }
.legal-hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; top: -340px; right: -210px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 50%; background: radial-gradient(circle, rgba(36, 160, 120, 0.18), transparent 67%); box-shadow: 0 0 0 90px rgba(61, 142, 219, 0.025), 0 0 0 180px rgba(61, 142, 219, 0.018); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #b9bcc4; font-family: var(--utility); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4fd2a6; box-shadow: 0 0 0 5px rgba(79, 210, 166, 0.12); }
h1 { max-width: 900px; margin: 0; color: white; font-family: var(--display); font-size: clamp(62px, 7.5vw, 104px); font-weight: 900; line-height: 0.9; letter-spacing: -0.07em; }
.legal-lead { max-width: 780px; margin: 29px 0 0; color: #b8bbc3; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.effective { display: inline-flex; margin-top: 24px; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: #a8acb5; background: rgba(255, 255, 255, 0.045); font-family: var(--utility); font-size: 9px; }
.data-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 52px; }
.data-map__item { min-height: 176px; padding: 25px; overflow: hidden; border-radius: 25px; color: white; background: #2f7fc8; box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18); }
.data-map__item:nth-child(2) { background: #1b8d69; }
.data-map__item:nth-child(3) { background: #c84e2a; }
.data-map__label { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.7); font-family: var(--utility); font-size: 9px; font-weight: 780; letter-spacing: 0.1em; text-transform: uppercase; }
.data-map__dot { width: 8px; height: 8px; border-radius: 3px; background: white; opacity: 0.72; transform: rotate(10deg); }
.data-map__item strong { display: block; margin-top: 25px; font-size: 20px; letter-spacing: -0.025em; }
.data-map__item p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.74); font-size: 12px; line-height: 1.58; }

.legal-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); align-items: start; gap: clamp(38px, 6vw, 82px); padding: 82px 0 120px; }
.toc { position: sticky; top: 24px; padding: 23px; border-radius: 22px; color: white; background: var(--ink); box-shadow: 0 24px 55px rgba(32, 36, 45, 0.16); }
.toc strong { display: block; margin-bottom: 14px; color: #8f939d; font-family: var(--utility); font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: #b4b7bf; font-size: 12px; line-height: 1.35; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.toc a:hover { color: white; transform: translateX(3px); }
.toc__legal { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #858a95; font-size: 10px; line-height: 1.55; }
.legal-content { min-width: 0; display: grid; gap: 16px; }
.legal-section { min-width: 0; max-width: 100%; scroll-margin-top: 24px; padding: clamp(28px, 4vw, 43px); border: 1px solid rgba(32, 36, 45, 0.08); border-radius: 26px; background: rgba(255, 254, 250, 0.9); box-shadow: 0 18px 50px rgba(32, 36, 45, 0.055); }
.section-number { display: inline-grid; width: 32px; height: 32px; margin-bottom: 18px; border-radius: 10px; place-items: center; color: white; background: var(--blue); font-family: var(--utility); font-size: 10px; font-weight: 800; }
.legal-section:nth-child(5n + 2) .section-number { background: var(--green); }
.legal-section:nth-child(5n + 3) .section-number { background: var(--coral); }
.legal-section:nth-child(5n + 4) .section-number { background: var(--orange); }
.legal-section:nth-child(5n + 5) .section-number { background: var(--violet); }
h2 { margin: 0 0 21px; font-family: var(--display); font-size: clamp(29px, 3vw, 40px); line-height: 1.06; letter-spacing: -0.045em; }
h3 { margin: 29px 0 10px; font-size: 17px; letter-spacing: -0.015em; }
.legal-content p, .legal-content li { color: #525964; font-size: 15px; line-height: 1.78; }
.legal-content p { margin: 0 0 16px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 10px 0 18px; padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: #286cae; text-underline-offset: 3px; }
.notice { margin: 24px 0; padding: 20px 22px; border: 1px solid rgba(221, 91, 50, 0.22); border-radius: 17px; color: #70412f; background: rgba(221, 91, 50, 0.075); font-size: 14px; line-height: 1.68; }
.notice--green { border-color: rgba(36, 160, 120, 0.22); color: #285d4d; background: rgba(36, 160, 120, 0.075); }
.table-wrap { width: 100%; min-width: 0; max-width: 100%; margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 640px; border-collapse: collapse; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.58; text-align: left; vertical-align: top; }
th { color: var(--ink); background: #f0ede5; font-family: var(--utility); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.contact-card { position: relative; display: grid; gap: 8px; margin-top: 24px; padding: 26px; overflow: hidden; border-radius: 20px; color: white; background: var(--ink); }
.contact-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -65px; bottom: -70px; border-radius: 44px; background: rgba(61, 142, 219, 0.14); transform: rotate(14deg); }
.contact-card strong { color: white; font-size: 18px; }
.contact-card span, .contact-card a { position: relative; z-index: 1; color: #b9bdc5; font-size: 13px; overflow-wrap: anywhere; }
.contact-card a { width: fit-content; color: #77baf3; }

[data-language-content] { display: none; }
html[lang="en"] [data-language-content="en"],
html[lang="pl"] [data-language-content="pl"],
html[lang="de"] [data-language-content="de"],
html[lang="tr"] [data-language-content="tr"] { display: block; }

.footer { padding: 42px 0; color: #9a9ea8; background: var(--ink); font-size: 10px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer__logo { width: 245px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 21px; }
.footer a { color: #b6b9c1; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .legal-nav { display: none; }
  .data-map__item { min-height: 190px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 40px, 1220px); }
  .data-map { grid-template-columns: 1fr; }
  .data-map__item { min-height: 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 52px; }
  .toc { position: sticky; z-index: 15; top: 8px; display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc strong { display: none; }
  .toc a { flex: 0 0 auto; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 999px; font-size: 10px; white-space: nowrap; }
  .toc a:hover { transform: none; }
  .toc__legal { flex: 0 0 250px; margin: 0; padding: 8px 12px; border: 0; font-size: 9px; }
  .legal-section { scroll-margin-top: 88px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1220px); }
  .site-header { min-height: 80px; gap: 12px; }
  .brand { gap: 7px; }
  .brand img { width: 46px; height: 46px; }
  .brand__word { font-size: 24px; }
  .header-actions { gap: 7px; }
  .back-link { min-height: 40px; padding: 0 11px; font-size: 10px; }
  .language-button { min-height: 40px; padding: 0 10px; }
  .language-menu { width: min(280px, calc(100vw - 28px)); }
  .legal-hero { padding: 48px 0 54px; border-radius: 0 0 28px 28px; }
  .legal-hero::after { width: 520px; height: 520px; right: -300px; top: -230px; }
  h1 { font-size: clamp(44px, 13vw, 62px); line-height: 0.94; overflow-wrap: break-word; hyphens: auto; }
  .legal-lead { margin-top: 23px; font-size: 16px; }
  .data-map { margin-top: 38px; }
  .data-map__item { padding: 22px; border-radius: 20px; }
  .data-map__item strong { margin-top: 19px; font-size: 18px; }
  .legal-layout { padding: 38px 0 75px; }
  .legal-section { padding: 25px 21px; border-radius: 21px; }
  h2 { font-size: clamp(27px, 9vw, 36px); overflow-wrap: break-word; }
  .legal-content p, .legal-content li { font-size: 14px; line-height: 1.72; }
  .notice { padding: 17px; }
  table { min-width: 620px; }
  .contact-card { padding: 21px; }
  .footer { padding: 36px 0; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
  .footer__logo { width: 220px; }
}

@media (max-width: 430px) {
  .back-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
