:root {
  --gr: #0b1033; --gr2: #182058; --gr3: #2a3478; --kr: #fe284a; --kr2: #d60f2e; --kr3: #fff0f2;
  --bl: #fff; --tlo: #f3f4fa; --lin: #dfe2ef; --lin2: #c6cbe1;
  --tk: #15193a; --tk2: #454b6e; --tk3: #6a7091;
  --f: "Avenir Next", "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  --szer: 1180px; --tabh: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tlo); color: var(--tk); font: 17.5px/1.7 var(--f); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kr2); text-underline-offset: 3px; }
a:hover { color: var(--gr); }
h1, h2, h3, h4 { color: var(--gr); font-weight: 800; letter-spacing: -.012em; }
.ws-pomin { position: absolute; left: -999px; top: 6px; z-index: 99; background: var(--bl); color: var(--gr); padding: 8px 14px; }
.ws-pomin:focus { left: 6px; }

/* bar */
.ws-belka { position: sticky; top: 0; z-index: 50; background: var(--gr); }
.ws-belka__w { max-width: var(--szer); margin: 0 auto; padding: 11px 16px; display: flex; align-items: center; gap: 30px; }
.ws-marka { flex: none; }
.ws-gorne { flex: 1; min-width: 0; }
.ws-gorne__l { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.ws-gorne__l a { display: block; padding: 6px 13px; border-radius: 10px; color: #dfe2f6; text-decoration: none; font-size: 15px; font-weight: 600; }
.ws-gorne__l a:hover, .ws-gorne__l .ws-tu a { background: var(--gr3); color: #fff; }
.ws-wejscie { flex: none; display: flex; align-items: center; gap: 16px; }
.ws-wejscie__konto { color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.ws-wejscie__konto:hover { color: #ffc4cd; }
.ws-guzik { display: inline-block; padding: 9px 18px; border-radius: 12px; background: var(--kr); color: #fff; font: 700 15px/1.3 var(--f); text-decoration: none; text-align: center; }
.ws-guzik:hover { background: var(--kr2); color: #fff; }
.ws-guzik--duzy { padding: 15px 30px; font-size: 17px; border-radius: 14px; }

/* bottom tabs */
.ws-taby { display: none; }

/* hero */
.ws-baner { background: var(--gr); }
.ws-baner__rolka { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ws-baner__rolka::-webkit-scrollbar { display: none; }
.ws-baner__rolka a { flex: 0 0 100%; scroll-snap-align: start; }
.ws-baner__rolka img { width: 100%; aspect-ratio: 1600 / 560; object-fit: cover; }
.ws-baner__kropki { position: relative; display: flex; gap: 8px; justify-content: center; padding: 10px 0; }
.ws-baner__kropki button { width: 26px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: #4d568f; cursor: pointer; }
.ws-baner__kropki button[data-on] { background: var(--kr); }

/* front lead with the phone card */
.ws-start { background: var(--bl); }
.ws-start__w { max-width: var(--szer); margin: 0 auto; padding: 44px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: center; }
.ws-start h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; margin: 0 0 14px; }
.ws-start__tx > p:first-of-type { font-size: 19px; color: var(--tk2); margin: 0 0 22px; }
.ws-autor { margin: 14px 0 0; font-size: 14px; color: var(--tk3); }
.ws-tel { justify-self: center; width: 100%; max-width: 310px; padding: 11px; border-radius: 38px; background: var(--gr); box-shadow: 0 14px 34px rgba(11, 16, 51, .24); }
.ws-tel__ekran { position: relative; border-radius: 28px; background: var(--bl); padding: 38px 18px 20px; }
.ws-tel__ekran::before { content: ""; position: absolute; top: 12px; left: 50%; width: 76px; height: 7px; margin-left: -38px; border-radius: 4px; background: var(--gr); }
.ws-tel__t { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--gr); }
.ws-tel ul { list-style: none; margin: 0; padding: 0; }
.ws-tel li { padding: 9px 0; border-top: 1px solid var(--lin); line-height: 1.35; }
.ws-tel li span { display: block; font-size: 13px; color: var(--tk3); }
.ws-tel li b { font-size: 15.5px; color: var(--gr); }
.ws-tel__n { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--tk3); }

/* inner title band */
.ws-pas { background: var(--gr); }
.ws-pas__w { max-width: var(--szer); margin: 0 auto; padding: 36px 16px 40px; }
.ws-pas__z { display: inline-block; margin-bottom: 10px; padding: 2px 11px; border-radius: 8px; background: var(--kr); color: #fff; font-size: 13px; font-weight: 700; }
.ws-pas h1 { color: #fff; font-size: clamp(32px, 4.8vw, 50px); line-height: 1.12; margin: 0; }
.ws-pas .ws-autor { color: #aab0d6; margin-top: 10px; }

/* layout: article card and side rail */
.ws-uklad { max-width: var(--szer); margin: 0 auto; padding: 26px 16px 70px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px 34px; align-items: start; }
.ws-uklad--sam { grid-template-columns: minmax(0, 860px); justify-content: center; }
.ws-okladka { grid-column: 1 / -1; }
.ws-okladka figure { margin: 0; }
.ws-okladka img { width: 100%; border-radius: 16px; }
.ws-art { grid-row: 2; grid-column: 1; min-width: 0; background: var(--bl); border-radius: 18px; padding: 34px 40px 40px; }
.ws-uklad--sam .ws-art { grid-row: auto; }
.ws-art > :first-child { margin-top: 0; }
.ws-art h2 { font-size: 30px; line-height: 1.2; margin: 50px 0 14px; }
.ws-art h3 { font-size: 22px; line-height: 1.3; margin: 32px 0 10px; }
.ws-art h4 { font-size: 18.5px; margin: 24px 0 8px; }
.ws-art p { margin: 0 0 17px; }
.ws-art ul, .ws-art ol { margin: 0 0 20px; padding-left: 22px; }
.ws-art li { margin: 0 0 7px; }
.ws-art ul li::marker { color: var(--kr); }
.ws-art strong { color: var(--gr); }
.ws-spis { grid-row: 2; grid-column: 2; position: sticky; top: 84px; background: var(--bl); border-radius: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.4; max-height: calc(100vh - 100px); overflow: auto; }
.ws-spis summary { font-weight: 800; color: var(--gr); cursor: pointer; }
.ws-spis ol { list-style: none; margin: 10px 0 0; padding: 0; }
.ws-spis li { border-left: 3px solid var(--lin); }
.ws-spis a { display: block; padding: 6px 0 6px 11px; color: var(--tk2); text-decoration: none; }
.ws-spis a:hover { color: var(--gr); }
.ws-spis a[data-on] { color: var(--kr2); font-weight: 700; box-shadow: -3px 0 0 var(--kr); }

/* tables: one frame, fixed columns */
.ws-tab { margin: 26px 0; border-radius: 12px; border: 1px solid var(--lin2); overflow-x: auto; }
.ws-tab table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 15.5px; line-height: 1.45; }
.ws-tab th, .ws-tab td { text-align: left; vertical-align: top; padding: 11px 14px; overflow-wrap: anywhere; }
.ws-tab th { background: var(--gr); color: #fff; font-size: 14px; }
.ws-tab td { border-top: 1px solid var(--lin); }
.ws-tab tbody tr:first-child td { border-top: 0; }
.ws-tab tbody tr:nth-child(even) td { background: var(--tlo); }
.ws-tab td:first-child { font-weight: 700; color: var(--gr); }

/* notes, stated vs fact */
.ws-uwaga { margin: 26px 0; padding: 14px 18px; background: var(--kr3); border-radius: 12px; font-size: 16.5px; }
.ws-uwaga p:last-child { margin-bottom: 0; }
.ws-uwaga__t { margin: 0 0 3px !important; font-weight: 800; color: var(--kr2); }
.ws-dwa { margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ws-dwa__k { padding: 14px 16px; border-radius: 12px; background: var(--tlo); }
.ws-dwa__k p:last-child { margin-bottom: 0; }
.ws-dwa__fakt { background: var(--gr); color: #e9ebfa; }
.ws-dwa__fakt strong { color: #fff; }
.ws-dwa__et { margin: 0 0 4px !important; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--tk3); }
.ws-dwa__fakt .ws-dwa__et { color: #ffb3bf; }
.ws-dane thead { display: none; }
.ws-dane td:first-child { width: 40%; font-weight: 400; color: var(--tk2); }
.ws-dane td:last-child { font-weight: 700; color: var(--gr); }

/* procedures as phone screens */
.ws-art .ws-ekrany { counter-reset: e; list-style: none; margin: 28px 0; padding: 4px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ws-ekrany li { counter-increment: e; position: relative; margin: 0; padding: 40px 13px 16px; border: 5px solid var(--gr); border-radius: 24px; background: var(--bl); font-size: 15px; line-height: 1.45; }
.ws-ekrany li::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--lin2); }
.ws-ekrany li::after { content: counter(e); position: absolute; top: 18px; left: 13px; font-size: 13px; font-weight: 800; color: var(--kr2); }

/* images */
.ws-foto, .ws-kadr { margin: 28px 0; }
.ws-foto img, .ws-kadr img { width: 100%; border-radius: 12px; }
.ws-kadr__p, .ws-foto figcaption { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--tk2); }
.ws-obok { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; margin: 28px 0; }
.ws-obok--l .ws-obok__f { order: -1; }

/* CTA, code */
.ws-akcja { display: flex; justify-content: center; margin: 34px 0 10px; }
.ws-art .ws-akcja__g a { color: #fff; text-decoration: none; }
.ws-kod { text-align: center; margin: 20px 0; }
.ws-kod code { display: inline-block; padding: 11px 20px; border-radius: 12px; background: var(--gr); color: #fff; font: 700 18px/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .03em; word-break: break-all; }
code.promo-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; color: var(--gr); background: var(--kr3); padding: 1px 5px; border-radius: 4px; word-break: break-all; }

/* FAQ */
.ws-pyt { display: grid; gap: 8px; }
.ws-pyt details { border-radius: 12px; background: var(--tlo); padding: 0 16px; }
.ws-pyt summary { cursor: pointer; padding: 13px 26px 13px 0; font-weight: 700; color: var(--gr); list-style: none; position: relative; }
.ws-pyt summary::-webkit-details-marker { display: none; }
.ws-pyt summary::after { content: ""; position: absolute; right: 3px; top: 21px; width: 9px; height: 9px; border-right: 2px solid var(--kr); border-bottom: 2px solid var(--kr); transform: rotate(45deg); }
.ws-pyt details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.ws-pyt details > div { padding: 0 0 13px; color: var(--tk2); }

/* demos */
.ws-gry { margin: 24px 0; }
.ws-gry ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ws-art .ws-gry li { margin: 0; }
.ws-gry li button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--gr); }
.ws-gry li img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.ws-gry li strong { display: block; font-size: 15px; line-height: 1.3; padding-top: 7px; }
.ws-gry__s { display: block; font-size: 12.5px; color: var(--tk3); padding-bottom: 3px; }
.ws-gry__n { margin: 10px 0 0; font-size: 14.5px; color: var(--tk3); }
.ws-gry dialog { width: min(1040px, 96vw); max-width: none; padding: 0; border: 0; border-radius: 12px; background: var(--gr); }
.ws-gry dialog::backdrop { background: rgba(6, 9, 32, .82); }
.ws-gry__p { display: flex; gap: 14px; align-items: center; padding: 8px 12px; color: #fff; }
.ws-gry__p b { flex: 1; min-width: 0; color: #fff; }
.ws-gry__p a { color: #fff; font-size: 14px; }
.ws-gry__p button { border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ws-gry__o { aspect-ratio: 16 / 9; max-height: 82vh; }
.ws-gry__o iframe { width: 100%; height: 100%; border: 0; display: block; }

/* picker tools */
.ws-kreator { margin: 26px 0; padding: 20px; border-radius: 16px; background: var(--gr); color: #e6e9fb; }
.ws-kreator__t { margin: 0 0 10px; font-size: 21px; font-weight: 800; line-height: 1.3; color: #fff; }
.ws-kreator__e { margin: 12px 0 6px; font-size: 14px; color: #b6bce0; }
.ws-kreator:not(.ws-js) .ws-wybor, .ws-kreator:not(.ws-js) .ws-kreator__e { display: none; }
.ws-wybor { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-wybor--pion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-wybor button { min-height: 44px; padding: 8px 14px; border: 1px solid #515a9c; border-radius: 12px; background: var(--gr2); color: #fff; font: 600 15px/1.3 var(--f); cursor: pointer; text-align: left; }
.ws-wybor button[aria-pressed="true"] { border-color: var(--kr); background: var(--kr); }
.ws-kreator__w { margin-top: 14px; }
.ws-droga { background: var(--bl); color: var(--tk); border-radius: 12px; padding: 14px 16px; }
.ws-kreator:not(.ws-js) .ws-droga + .ws-droga { margin-top: 10px; }
.ws-droga h4 { margin: 0 0 8px; font-size: 17px; }
.ws-art .ws-droga ol { margin: 0; padding-left: 20px; }
.ws-droga li { font-size: 15.5px; line-height: 1.5; }
.ws-droga p { margin: 8px 0 0; font-size: 14px; color: var(--tk2); }

/* footer */
.ws-stopka { background: var(--gr); color: #c5cae8; font-size: 15px; line-height: 1.6; }
.ws-stopka__w { max-width: var(--szer); margin: 0 auto; padding: 34px 16px; display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr 1fr; gap: 26px 40px; }
.ws-stopka__znak p { margin: 12px 0 0; }
.ws-stopka__znak b { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 7px; background: var(--kr); color: #fff; font-size: 13px; }
.ws-stopka__l { list-style: none; margin: 0; padding: 0; }
.ws-stopka__l li { margin: 0 0 6px; }
.ws-stopka__l a { color: #fff; text-decoration: none; }
.ws-stopka__l a:hover { color: #ffb3bf; }
.ws-stopka__prawo { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--gr3); font-size: 13.5px; color: #a3a9d3; }
.ws-stopka__prawo p { margin: 6px 0 0; max-width: 70em; }

@media (max-width: 980px) {
  .ws-gorne, .ws-wejscie__konto { display: none; }
  .ws-belka__w { justify-content: space-between; padding: 9px 16px; }
  body { padding-bottom: calc(var(--tabh) + env(safe-area-inset-bottom)); }
  .ws-taby { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: calc(var(--tabh) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--bl); border-top: 1px solid var(--lin2); }
  .ws-taby a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: var(--tk3); text-decoration: none; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
  .ws-taby svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .ws-taby a[aria-current] { color: var(--kr2); }
  .ws-start__w { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 28px 16px 34px; }
  .ws-uklad { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .ws-spis { grid-row: auto; grid-column: 1; position: static; max-height: none; }
  .ws-art { grid-row: auto; grid-column: 1; }
  .ws-stopka__w { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ws-stopka__znak { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .ws-baner__rolka img { aspect-ratio: 900 / 1000; }
  .ws-art { padding: 22px 16px 28px; border-radius: 16px; }
  .ws-uklad { padding-left: 8px; padding-right: 8px; }
  .ws-art h2 { font-size: 26px; margin-top: 40px; }
  .ws-dwa, .ws-obok { grid-template-columns: minmax(0, 1fr); }
  .ws-art .ws-ekrany { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-right: -16px; padding-right: 16px; }
  .ws-ekrany li { flex: 0 0 74%; scroll-snap-align: start; }
  .ws-gry ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-wybor--pion { grid-template-columns: minmax(0, 1fr); }
  .ws-kreator { padding: 16px; }
  .ws-tab table { font-size: 15px; }
  .ws-tab th, .ws-tab td { padding: 10px 12px; }
  .ws-tab--wiersze thead { display: none; }
  .ws-tab--wiersze table, .ws-tab--wiersze tbody, .ws-tab--wiersze tr { display: block; width: 100%; }
  .ws-tab--wiersze tr { border-top: 1px solid var(--lin2); }
  .ws-tab--wiersze tbody tr:first-child { border-top: 0; }
  .ws-tab--wiersze td, .ws-tab--wiersze tbody tr:nth-child(even) td { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 10px; padding: 5px 12px; border: 0; background: none; }
  .ws-tab--wiersze td::before { content: attr(data-n); color: var(--tk3); }
  .ws-tab--wiersze td:first-child, .ws-tab--wiersze tbody tr:nth-child(even) td:first-child { display: block; padding: 10px 12px 7px; background: var(--tlo); font-size: 16px; }
  .ws-tab--wiersze td:first-child::before { display: none; }
  .ws-tab--wiersze td:last-child { padding-bottom: 11px; }
  .ws-gry__o { aspect-ratio: auto; height: 78vh; }
}
