/* Układ: jedna kolumna jak w aplikacji mobilnej (max 480 px), nagłówek – pasek postępu – treść – przycisk – stopka.
   Paleta i kroje 1:1 z lejkiem wzorcowym (beż, czerwony akcent, grafitowe przyciski, Lexend). Świadomie tylko jasny motyw. */
:root {
  --bg: #F2EFEB;
  --surface: #FAF7F3;
  --top: #FFFFFF;
  --line: #E7E3DF;
  --text: #3B3F44;
  --text2: #605E5C;
  --muted: #A19F9D;
  --red: #FF3820;
  --red-dark: #B8250F;
  --red-light: #FFE8E5;
  --sel: #FFF0E5;
  --btn: #3B3F44;
  --green: #0A8976;
  --green-line: #3FAA6E;
  --orange: #F59E0B;
  --ink: #262626;
  --font: 'Lexend', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
b { font-weight: 600; }

#app { min-height: 100%; display: flex; flex-direction: column; }
.page { flex: 1 0 auto; width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0; }

/* ---------- animacje ---------- */
.fade-in { animation: fade-in .7s ease forwards; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes check-draw { from { opacity: 0; stroke-dashoffset: 16; transform: scale(.95); } to { opacity: 1; stroke-dashoffset: 0; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- nagłówek ---------- */
.hdr { position: relative; height: 60px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: -.01em; }
.logo-ico { width: 22px; height: 22px; }
.logo.duze { font-size: 19px; color: var(--red); gap: 7px; }
.logo.duze .logo-ico { width: 28px; height: 28px; }
.back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--line); border-radius: 6px; padding: 6px 10px 6px 8px; font-size: 14px; color: var(--text); }
.back svg { width: 16px; height: 16px; }

/* ---------- pasek postępu ---------- */
.prog { display: flex; align-items: center; height: 14px; margin: 4px 0 6px; }
.prog .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.prog .seg { position: relative; flex: 1; height: 2px; background: var(--line); margin: 0 6px; border-radius: 2px; overflow: hidden; }
.prog .seg i { position: absolute; left: 0; top: 0; height: 100%; background: var(--red); border-radius: 2px; transition: width .1s linear; }
.prog .mk { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: grid; place-items: center; }
.prog .mk.cur { border-color: var(--red); }
.prog .mk.done { border: 0; width: 12px; }
.prog .mk.done svg { width: 12px; height: 12px; }
.sekcja { text-align: center; color: var(--red); font-size: 14px; font-weight: 500; letter-spacing: .04em; margin-bottom: 10px; }

/* ---------- treść ---------- */
.content { flex: 1; display: flex; flex-direction: column; min-height: 0; padding-top: 10px; }
.q-title { font-size: 22px; line-height: 1.3; font-weight: 600; text-align: center; margin: 0 0 8px; text-wrap: balance; color: var(--text); }
.q-sub { font-size: 16px; line-height: 1.5; text-align: center; color: var(--text); margin: 0; }
.center-block { margin: auto 0; padding: 24px 0; display: flex; flex-direction: column; gap: 10px; }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 12px 16px; text-align: left; background: var(--top); border: 1px solid var(--line); border-radius: 12px; font-size: 16px; line-height: 1.3; transition: border-color .15s, background-color .15s; }
.opt:hover { border-color: #D8D2CB; }
.opt.sel { border-color: var(--red); background: var(--sel); }
.opt .em { font-size: 20px; width: 24px; text-align: center; flex-shrink: 0; }
.opt .lab { flex: 1; min-width: 0; }
.opt .desc { color: var(--text2); font-size: 15px; white-space: nowrap; }
.opt .cb { width: 22px; height: 22px; border-radius: 4px; border: 1px solid #D5CFC8; background: var(--top); flex-shrink: 0; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.opt.sel .cb { background: var(--red); border-color: var(--red); }
.opt .cb svg { width: 14px; height: 14px; opacity: 0; }
.opt.sel .cb svg { opacity: 1; }
.opt.sel .cb svg path { stroke-dasharray: 16; animation: check-draw .25s ease forwards; }

.msg { position: relative; background: var(--sel); border: 1px solid #F7A99C; border-radius: 12px; padding: 14px 48px 14px 14px; animation: slide-up .35s ease; }
.msg .mt { font-weight: 600; font-size: 15px; line-height: 1.35; margin: 0 0 6px; }
.msg .md { font-size: 14px; line-height: 1.45; margin: 0; color: var(--text); }
.msg .me { position: absolute; right: 14px; top: 12px; font-size: 24px; }

/* skala 1–5 */
.likert-wrap { position: relative; margin: auto 0; padding: 16px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.likert button { height: 52px; border: 1px solid var(--line); background: var(--top); border-radius: 10px; font-size: 16px; transition: border-color .15s, background-color .15s; }
.likert button.sel { border-color: var(--red); background: var(--sel); }
.likert-lab { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -4px; }

/* ekrany informacyjne */
.info { margin: auto 0; padding: 8px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.info .ilu { width: 100%; max-width: 270px; height: auto; align-self: center; margin-bottom: 8px; }
.info h2 { font-size: 18px; line-height: 1.35; font-weight: 600; margin: 0; text-wrap: balance; }
.info p { font-size: 15px; line-height: 1.5; margin: 0; }
.info.srodek { text-align: center; }

/* książki / ludzie */
.book { margin: auto 0; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.book p { font-size: 15px; line-height: 1.5; margin: 0; max-width: 34ch; }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 16px; }
.yesno button { height: 104px; background: var(--top); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 15px; transition: transform .1s, border-color .15s; }
.yesno button:active { transform: scale(.97); }
.yesno svg { width: 30px; height: 30px; }

.cover { width: 168px; height: 252px; border-radius: 3px 6px 6px 3px; position: relative; overflow: hidden; box-shadow: 0 14px 28px -10px rgba(40, 30, 20, .45), 0 2px 4px rgba(0,0,0,.12); display: flex; flex-direction: column; padding: 18px 14px 14px 20px; text-align: left; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.25) 60%, rgba(0,0,0,.05)); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 40%); pointer-events: none; }
.cover .c1 { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.cover .c2 { font-size: 11px; line-height: 1.3; margin-top: 10px; }
.cover .c3 { font-weight: 800; line-height: .98; margin-top: auto; letter-spacing: -.02em; }
.cover .c4 { font-size: 12px; margin-top: 12px; font-weight: 500; }
.cover.atomowe { background: #F8F4EC; color: #222; }
.cover.atomowe .c3 { font-size: 30px; color: #D9962A; }
.cover.carnegie { background: #C8202A; color: #fff; }
.cover.carnegie .c3 { font-size: 21px; font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.cover.gleboka { background: #1F2328; color: #fff; }
.cover.gleboka .c3 { font-size: 34px; color: #F4D35E; }
.cover.pieniadze { background: #EDEAE2; color: #1E2A38; }
.cover.pieniadze .c3 { font-size: 30px; font-family: var(--serif); font-weight: 600; }
.sq { width: 180px; height: 180px; border-radius: 6px; background: #1E2D4A; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 18px; text-align: left; box-shadow: 0 14px 28px -12px rgba(20, 30, 60, .5); }
.sq .w1 { font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: .9; }
.sq .w2 { margin-top: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #F26B5B; font-weight: 600; }
.avatar { width: 190px; height: 190px; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 28px -12px rgba(20, 30, 60, .45); }
.avatar svg { width: 100%; height: 100%; display: block; }

/* mapa świata */
.world { margin: auto 0; padding: 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.mapa { width: 100%; max-width: 360px; height: auto; margin-bottom: 10px; }
.world h2 { font-size: 20px; font-weight: 600; margin: 0; }
.world p { font-size: 15px; line-height: 1.5; margin: 0; }

/* ---------- przycisk i stopka ---------- */
.cta { padding: 12px 0 10px; flex-shrink: 0; position: sticky; bottom: 0; background: linear-gradient(to bottom, rgba(242,239,235,0), var(--bg) 26%); }
.cta[hidden] { display: none !important; }
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; border: 0; border-radius: 12px; background: var(--btn); color: #fff; font-size: 17px; font-weight: 500; transition: opacity .15s, transform .1s; }
.btn:active { transform: scale(.985); }
.btn.red { background: var(--red); }
.btn:disabled { background: #9C9A98; cursor: default; transform: none; }
.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 6px 0 14px; line-height: 1.7; flex-shrink: 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot .sep { margin: 0 6px; }

/* ---------- ekran startowy ---------- */
.start { text-align: center; display: flex; flex-direction: column; align-items: center; }
.start h1 { font-size: 30px; line-height: 1.15; font-weight: 800; margin: 14px 0 12px; letter-spacing: -.02em; text-wrap: balance; }
.start h1 .strike { position: relative; white-space: nowrap; }
.start h1 .strike::after { content: ""; position: absolute; left: -3%; right: -3%; top: 54%; height: 3px; background: var(--red); border-radius: 2px; transform: rotate(-4deg); }
.start h1 .acc { color: var(--red); }
.badges { display: flex; justify-content: center; gap: 22px; margin-bottom: 4px; }
.badge { display: flex; align-items: center; gap: 2px; }
.laur { width: 26px; height: 52px; }
.badge .bt { display: flex; flex-direction: column; align-items: center; font-size: 10px; line-height: 1.25; color: #2E2E2E; font-weight: 500; min-width: 84px; }
.badge .bt b { font-size: 15px; font-weight: 700; }
.hero { position: relative; width: calc(100% + 32px); margin: 2px -16px 0; }
.ilu-start { width: 100%; height: auto; display: block; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(rgba(242,239,235,0), var(--bg)); pointer-events: none; }
.dymek { position: absolute; left: 7%; top: 2%; background: #2A1414; color: #fff; font-weight: 600; font-size: 13px; line-height: 1.3; padding: 9px 14px; border-radius: 10px; transform: rotate(-5deg); text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.dymek::after { content: ""; position: absolute; right: 26px; bottom: -8px; border: 8px solid transparent; border-top-color: #2A1414; border-bottom: 0; }
.cytat { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 10px 0 16px; color: var(--text); }

/* ---------- ładowanie planu ---------- */
.craft h1 { font-size: 30px; line-height: 1.2; font-weight: 700; text-align: center; margin: 16px 0 22px; text-wrap: balance; }
.craft h1 span { color: var(--red); }
.loader { padding: 14px 0 16px; border-bottom: 1px solid var(--line); animation: fade-in .4s ease; }
.loader .row { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; }
.loader .pct { font-weight: 400; font-variant-numeric: tabular-nums; }
.loader .bar { height: 6px; background: var(--line); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.loader .bar i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 4px; transition: width 45ms linear; }
.loader .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--red); display: grid; place-items: center; animation: pop .3s ease; }
.loader .ok svg { width: 13px; height: 13px; }
.loader .ok path { stroke-dasharray: 16; animation: check-draw .35s .1s ease both; }
.craft-bottom { margin-top: auto; padding: 28px 0 22px; }
.craft-bottom h3 { text-align: center; font-size: 21px; line-height: 1.3; font-weight: 600; margin: 0 0 16px; padding: 0 10px; text-wrap: balance; }
.marquee { overflow: hidden; margin: 0 -16px; }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; padding-left: 12px; }
.rev { width: 240px; flex-shrink: 0; background: var(--top); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 13px; line-height: 1.5; }
.rev .rh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.stars { color: #F7B500; letter-spacing: 1px; font-size: 14px; }

/* ---------- e-mail ---------- */
.email h1 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 18px 0 10px; text-wrap: balance; }
.email .note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); margin-bottom: 18px; }
.email .note svg { width: 16px; height: 16px; flex-shrink: 0; }
.field { position: relative; }
.field input { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 16px; font: inherit; font-size: 16px; color: var(--text); }
.field input:focus { outline: none; border-color: var(--red); background: var(--top); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips button { border: 1px solid var(--line); background: var(--top); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.agree { text-align: center; font-size: 12px; color: var(--muted); line-height: 1.6; padding: 4px 0 14px; }
.agree a { color: var(--muted); }

/* arkusz od dołu (literówka w e-mailu, podgląd płatności, cookies) */
.sheet-bg { position: fixed; inset: 0; background: rgba(20, 16, 12, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade-in .2s ease; }
.sheet { width: 100%; max-width: 480px; background: var(--top); border-radius: 20px 20px 0 0; padding: 22px max(20px, env(safe-area-inset-left, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)); animation: slide-up .25s ease; }
.sheet h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.sheet p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--text2); }
.sheet .cmp { display: grid; gap: 8px; margin-bottom: 16px; font-size: 14px; }
.sheet .cmp div { display: flex; justify-content: space-between; background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.sheet .btn + .btn { margin-top: 8px; }
.btn.ghost { background: var(--line); color: var(--text); }

/* ---------- plan gotowy ---------- */
.plan h1, .inter h1 { font-size: 24px; line-height: 1.25; font-weight: 700; text-align: center; margin: 12px 0 8px; text-wrap: balance; }
.plan h1 span { color: var(--red); }
.plan .sub, .inter .sub { text-align: center; font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.chart { background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0 6px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .draw { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2.3s .5s ease-in-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart .p0 { transform-box: fill-box; transform-origin: center; animation: pop .35s .25s ease both; }
.chart .p1 { opacity: 0; animation: fade-in .4s 2.7s ease forwards; }
.platf { display: flex; align-items: center; gap: 12px; background: var(--top); border-radius: 12px; padding: 10px 14px; margin: 18px 0 26px; font-size: 14px; line-height: 1.4; }
.platf .ic { display: flex; gap: 6px; flex-shrink: 0; }
.platf svg { width: 22px; height: 22px; }
.plan h2 { text-align: center; font-size: 19px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.plan h2 span { color: var(--red); display: block; }
.plan .intro { text-align: center; font-size: 14px; line-height: 1.5; margin: 8px 0 16px; }
.benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.benefits div { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.benefits span { font-size: 18px; flex-shrink: 0; }
.disc { font-size: 11px; color: var(--muted); line-height: 1.5; text-align: center; margin: 0 0 10px; }

/* ---------- najciekawsza osoba ---------- */
.ins-card { border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(120deg, #F4F1EC 0%, #F4F1EC 48%, #FFD34E 52%, #FFB02E 100%); position: relative; aspect-ratio: 1.45; max-width: 100%; }
.ins-card .half { position: relative; padding: 12px 10px 0; display: flex; flex-direction: column; }
.ins-card .t1 { font-weight: 700; font-size: 17px; line-height: 1.05; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.ins-card .half:first-child { background: linear-gradient(180deg, #8C8E92, #6E7176); }
.ins-card .half:first-child .t2 { color: #e6e6e6; font-size: 10px; }
.ins-card .half:last-child .t1 { color: var(--red); text-shadow: none; font-size: 22px; text-align: right; }
.ins-card .half:last-child .t2 { color: #222; font-size: 10px; text-align: right; font-weight: 600; }
.ins-card svg { width: 112%; margin: auto -6% -4px; height: auto; }
.ins-proof { text-align: center; font-size: 14px; margin: 14px 0 10px; line-height: 1.4; }
.ticker { height: 40px; overflow: hidden; background: var(--top); border-radius: 10px; border: 1px solid var(--line); }
.ticker .tk { transition: transform .5s ease; }
.ticker .tr { height: 40px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; font-size: 13px; color: var(--text2); gap: 10px; }
.ticker .tr span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- oferta (paywall) ---------- */
.offer { padding-bottom: 10px; }
.offer .hdr { justify-content: flex-start; }
.coupon { position: relative; background: #0E0E0E; border: 2px solid var(--red); border-radius: 10px; color: #fff; margin: 4px 0 22px; padding: 14px 16px 14px; }
.coupon::before, .coupon::after { content: ""; position: absolute; top: 56%; width: 22px; height: 22px; background: var(--bg); border: 2px solid var(--red); border-radius: 50%; transform: translateY(-50%); }
.coupon::before { left: -13px; border-left-color: transparent; border-bottom-color: transparent; transform: translateY(-50%) rotate(45deg); }
.coupon::after { right: -13px; border-right-color: transparent; border-top-color: transparent; transform: translateY(-50%) rotate(45deg); }
.coupon .ct { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 21px; font-weight: 700; padding-bottom: 12px; border-bottom: 2px dashed var(--red); text-align: center; }
.coupon .cp-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; font-size: 20px; transform: rotate(-12deg); flex-shrink: 0; }
.coupon .cb { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.coupon .code { display: flex; align-items: center; gap: 8px; border: 2px solid var(--red); border-radius: 10px; padding: 7px 14px; font-weight: 600; font-size: 16px; min-width: 0; }
.coupon .code svg { width: 20px; height: 20px; flex-shrink: 0; }
.coupon .timer { border: 2px solid var(--red); border-radius: 10px; padding: 3px 12px; text-align: center; font-variant-numeric: tabular-nums; }
.coupon .timer b { font-size: 20px; font-weight: 700; display: block; line-height: 1.2; }
.coupon .timer small { display: flex; justify-content: space-between; gap: 14px; font-size: 11px; }

.offer h2 { text-align: center; font-size: 20px; font-weight: 600; margin: 0 0 14px; }
/* plany: subskrypcja (3 karty obok siebie) + LUB + dostęp jednorazowy (wiersze) */
.grp-t { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.grp-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grp-p { margin: 4px 0 8px; font-size: 14px; line-height: 1.5; color: var(--text2); }
.nosub { border: 1px solid #7CC48E; color: #2F8A47; background: #EEF8F0; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 14px; }
.pc { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; text-align: left; background: var(--top); border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 10px 14px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.pc.sel { border-color: var(--red); background: var(--red-light); box-shadow: 0 0 0 1.5px var(--red); }
.pbadge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(90deg, #F04B4B, #F28A3C); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .05em; padding: 4px 8px; border-radius: 999px; box-shadow: 0 3px 10px rgba(240, 80, 60, .3); }
.pc .pck { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; display: none; place-items: center; animation: pop .25s ease; }
.pc.sel .pck { display: grid; }
.pc .pck svg { width: 12px; height: 12px; }
.pc .pn { font-size: 13px; font-weight: 600; color: var(--red); padding-right: 16px; }
.pc .pp { font-size: 19px; font-weight: 700; color: var(--text); white-space: nowrap; letter-spacing: -.01em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pc .pw { font-size: 11px; line-height: 1.35; color: var(--text2); }
.pc .pr { font-size: 11px; line-height: 1.35; color: var(--red); margin-top: auto; padding-top: 6px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 16px 0 10px; font-size: 13px; line-height: 1.35; }
.perks div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.perks span { width: 26px; height: 22px; border: 1.5px solid #EDB7AC; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; color: var(--red); }
.perks svg { width: 12px; height: 12px; }
.renew { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.lub { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; letter-spacing: .22em; font-weight: 500; margin: 4px 0 18px; }
.lub::before, .lub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prow-list { display: grid; gap: 14px; padding-top: 12px; }
.prow { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--top); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 14px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.prow .pbadge { left: 16px; transform: none; }
.prow.sel { border-color: var(--red); background: var(--red-light); box-shadow: 0 0 0 1.5px var(--red); }
.prow .rd { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #CFC9C2; flex-shrink: 0; display: grid; place-items: center; }
.prow.sel .rd { border-color: var(--red); }
.prow.sel .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.prow .pi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.prow .pn { font-size: 16px; font-weight: 600; }
.prow .pw { font-size: 12px; line-height: 1.4; color: var(--text2); }
.prow .pp { font-size: 18px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 349px) { .pgrid { grid-template-columns: 1fr; } .perks { grid-template-columns: 1fr; } }

.divider { height: 1px; background: var(--line); margin: 22px 0 18px; }
.offer h3 { font-size: 18px; font-weight: 500; color: var(--text2); margin: 0 0 12px; }
.pm { background: var(--top); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.pm > button { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 15px 14px; font-size: 16px; font-weight: 500; text-align: left; }
.pm .rd { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #CFC9C2; display: grid; place-items: center; flex-shrink: 0; }
.pm.sel .rd { border-color: var(--red); }
.pm.sel .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.pm .nm { flex: 1; }
.pm .tag { border: 1px solid #C8C2BB; border-radius: 6px; padding: 2px 7px; font-size: 12px; font-weight: 600; color: #333; background: var(--top); }
.pm .tag.blik { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.pm .cards { display: flex; gap: 4px; }
.pm .cards span { font-size: 9px; font-weight: 700; border-radius: 3px; padding: 3px 5px; color: #fff; }
.pm .body { padding: 0 16px 16px 44px; display: none; }
.pm.sel .body { display: block; animation: fade-in .3s ease; }
.pm ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: 14px; }
.pm li { display: flex; gap: 6px; align-items: center; }
.pm li svg { width: 14px; height: 14px; flex-shrink: 0; }
.pm .ssl { font-size: 11px; color: var(--muted); text-align: center; margin: 12px -28px 0 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.paybtn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 48px; border-radius: 10px; border: 0; background: #000; color: #fff; font-size: 16px; font-weight: 500; }
.paybtn.red { background: var(--red); }
.card-form { display: grid; gap: 10px; margin-top: 4px; }
.card-form label { font-size: 12px; color: var(--text2); display: grid; gap: 4px; }
.card-form input { height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 15px; background: var(--surface); color: var(--text); width: 100%; }
.card-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-form .hd { font-size: 14px; font-weight: 500; color: var(--text); }
.legal { font-size: 11px; line-height: 1.55; color: var(--muted); text-align: center; margin: 12px 0 22px; }
.guar { background: var(--top); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; margin-bottom: 18px; }
.guar h4 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 600; }
.guar p { margin: 0; grid-column: 1 / -1; font-size: 14px; line-height: 1.55; }
.guar svg { width: 44px; height: 56px; }
.stripe-row { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 26px; }
.stripe-row .pw { border: 1px solid #1A1A1A; border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--top); }
.stripe-row .ics { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.stripe-row .ics span { font-size: 9px; font-weight: 700; border: 1px solid #CFC9C2; border-radius: 4px; padding: 3px 6px; background: var(--top); color: #333; }
.laurel-big { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 6px 0 20px; }
.laurel-big .laur { width: 34px; height: 68px; }
.laurel-big .bt { font-size: 12px; text-align: center; line-height: 1.3; font-weight: 500; }
.offer h5 { text-align: center; font-size: 19px; font-weight: 600; margin: 0 0 14px; }
.phone { width: 210px; height: 300px; margin: 0 auto; position: relative; border: 6px solid #1E1E1E; border-radius: 34px; background: linear-gradient(#FDFBF8, #F4EFE8); overflow: hidden; }
.phone .slide { position: absolute; inset: 22px 14px 54px; background: var(--top); border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 14px; font-size: 12px; line-height: 1.45; transition: transform .6s ease, opacity .6s ease; }
.phone .slide b { display: block; font-size: 14px; margin-bottom: 6px; }
.phone .slide .tg { display: inline-block; font-size: 10px; background: var(--sel); color: var(--red); border-radius: 999px; padding: 2px 8px; margin-bottom: 8px; font-weight: 600; }
.phone .cnt { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: var(--top); border: 2px solid var(--red); color: var(--red); border-radius: 12px; padding: 4px 12px; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.1; white-space: nowrap; }
.phone .cnt small { display: block; font-size: 10px; color: var(--text); font-weight: 500; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 26px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #D5CFC8; transition: background-color .3s; }
.dots i.on { background: var(--red); }
.box { border-radius: 16px; padding: 18px 16px; margin-bottom: 16px; border: 1px solid; }
.box h4 { margin: 0 0 12px; font-size: 18px; font-weight: 600; text-align: center; line-height: 1.3; }
.box.green { background: #F1FAF4; border-color: #BFE3CB; }
.box.green ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.box.green li { display: flex; gap: 8px; align-items: center; }
.box.green li svg { width: 16px; height: 16px; flex-shrink: 0; }
.box.yellow { background: #FFF9EA; border-color: #F3DFA6; }
.faq { background: var(--top); border-radius: 10px; margin-bottom: 8px; }
.faq button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; padding: 13px 14px; font-size: 14px; text-align: left; }
.faq button svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .25s; }
.faq.open button svg { transform: rotate(180deg); }
.faq .ans { max-height: 0; overflow: hidden; transition: max-height .3s cubic-bezier(.5,0,.5,1); }
.faq .ans p { margin: 0; padding: 0 14px 14px; font-size: 14px; line-height: 1.55; color: var(--text2); }
.box.blue { background: #EFF5FC; border-color: #C4D8F0; }
.box.blue .rev { width: auto; margin-bottom: 10px; }
.dark { background: #1C1C1E; border-radius: 18px; padding: 20px 10px 18px; margin: 10px 0 16px; color: #fff; }
.dark h2 { color: #fff; }
.dark .grp-t { color: #fff; }
.dark .grp-p, .dark .renew { color: #A9A9AE; }
.dark .pc, .dark .prow { background: #232327; border-color: #4A4231; color: #fff; }
.dark .pc .pn { color: #E3B65C; }
.dark .pc .pp, .dark .prow .pp { color: #fff; }
.dark .pc .pr { color: #E3B65C; }
.dark .pc .pw, .dark .prow .pw { color: #A9A9AE; }
.dark .pc.sel, .dark .prow.sel { border-color: #E3B65C; background: #2A2721; box-shadow: 0 0 0 1.5px #E3B65C, 0 0 20px rgba(227, 182, 92, .22); }
.dark .pc .pck { background: #E3B65C; color: #1C1C1E; }
.dark .perks { color: #fff; }
.dark .perks span { border-color: #7A6A45; color: #E3B65C; }
.dark .lub { color: #8E8E93; }
.dark .lub::before, .dark .lub::after { background: #3A3A3E; }
.dark .nosub { background: transparent; border-color: #3E8A55; color: #7FD49A; }
.dark .prow .rd { border-color: #6A6A70; }
.dark .prow.sel .rd { border-color: #E3B65C; }
.dark .prow.sel .rd::after { background: #E3B65C; }
.dark .divider { background: #3A3A3E; }
.dark h3 { color: #E5E5E5; }
.dark .pm { background: #2A2A2D; border-color: #3A3A3E; color: #fff; }
.dark .pm > button { color: #fff; }
.dark .pm li { color: #E5E5E5; }
.dark .legal { color: #9A9A9A; }
.dark .guar { background: #2A2A2D; color: #fff; }
.dark .card-form label { color: #CFCFCF; }
.dark .card-form .hd { color: #fff; }
.dark .card-form input { background: #1C1C1E; border-color: #3A3A3E; color: #fff; }

/* cookies */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 0 max(12px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)); animation: slide-up .35s ease; }
.cookie > div { max-width: 456px; width: 100%; background: var(--top); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 16px; }
.cookie h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.cookie p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--text2); }
.cookie .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie .btn { height: 42px; font-size: 14px; }

/* ---------- koszyk (public/platnosc.js): BLIK, karta, komunikaty — zachowanie jak w koszyku Szort Kina ---------- */
/* atrybut hidden ma wygrywać z display (komunikaty, ramka banku, „Anuluj BLIK” mają własny display) */
.pay-notice[hidden], .bst-ru[hidden], .blik-oc[hidden], .blik-info[hidden], .other-btn[hidden] { display: none !important; }
.pmail { display: grid; gap: 4px; font-size: 12px; color: var(--text2); margin: 0 0 10px; }
.pmail input, .blik-input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 16px; background: var(--top); color: var(--text); width: 100%; }
.pmail input:focus, .blik-input:focus { outline: none; border-color: var(--red); }
.pmail input[readonly] { color: var(--muted); }
.dark .pmail { color: #C9C9CE; }
.blik-row { display: flex; gap: 8px; align-items: stretch; }
.blik-input { flex: 1; min-width: 0; letter-spacing: .3em; font-variant-numeric: tabular-nums; text-align: center; font-weight: 600; }
.blik-input:disabled { color: var(--muted); background: var(--surface); }
.blik-pay { width: auto; min-width: 104px; padding: 0 16px; flex-shrink: 0; height: 46px; }
.paybtn:disabled { opacity: .45; cursor: default; }
.blik-info { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.pay-notice { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; background: #FFF6DC; color: #5B4500; display: flex; gap: 8px; align-items: flex-start; }
.pay-notice.error { background: var(--red-light); color: var(--red-dark); }
.pay-notice .spin { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; animation: spin 1s linear infinite; }
.bcf-hint strong { font-weight: 600; }
.blik-oc { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--red); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 6px 8px; }
.blik-oc:disabled { color: var(--muted); }
.bst-ru { margin: 10px 0 0; padding: 14px; border-radius: 12px; border: 1.5px solid var(--red); background: var(--red-light); color: var(--text); }
.bst-ru-title { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.bst-ru-text, .bst-ru-other { margin: 0 0 10px; font-size: 13px; line-height: 1.5; }
.bst-ru-other { margin: 10px 0 0; color: var(--text2); }
.card-title { font-size: 13px; color: var(--text2); margin: 0 0 10px; }
.other-btn { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--text2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px 8px; }
.other-btn:disabled { opacity: .45; }
.pm.highlight { border-color: var(--red); box-shadow: 0 0 0 1.5px var(--red); }
.dark .card-title, .dark .other-btn, .dark .blik-info { color: #C4C4CA; }
.dark .blik-oc { color: #FF7A66; }
.wynik { text-align: center; padding-top: 28px; }
.wynik-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--red-light); color: var(--red); display: grid; place-items: center; font-size: 34px; font-weight: 700; margin: 0 auto 18px; }
.wynik h1 { font-size: 26px; line-height: 1.25; margin: 0 0 12px; }
.wynik p { font-size: 16px; line-height: 1.55; color: var(--text2); margin: 0 0 16px; }
.wynik-zwrot { background: var(--top); border-radius: 14px; padding: 16px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; margin: 0 0 16px; text-align: left; }
.wynik-zwrot b { font-weight: 600; color: var(--text); }
.wynik-zwrot span { color: var(--text2); }
.wynik-mail { font-size: 14px; }
.legal.terms { margin-top: -14px; }
.legal.terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- kasa w układzie koszyka Verso / Piano (Adam 26.11.2026): kafelki BLIK / Karta / Przelew, ramka metody,
   „Zapłać cena”, e-mail z „Zmień”. Mechanika w public/platnosc.js bez zmian. ---------- */
.ptiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.ptile { border: 1.5px solid var(--line); background: var(--top); border-radius: 12px; padding: 12px 8px; min-height: 74px; display: grid; gap: 3px; justify-items: center; align-content: center; text-align: center; font: inherit; color: var(--text); cursor: pointer; }
.ptile b { font-size: 16px; font-weight: 600; }
.ptile small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.ptile[aria-pressed="true"] { border-color: var(--text); background: var(--surface); box-shadow: 0 0 0 1px var(--text); }
.ptile.highlight { border-color: var(--red); box-shadow: 0 0 0 1.5px var(--red); }
.ptile:disabled { cursor: default; opacity: .7; }
.pbox { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: var(--top); margin: 0 0 12px; }
.pbox[hidden], .pnote[hidden], .pmail[hidden] { display: none !important; }
.pbox > label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--text); }
.pbox .blik-input { display: block; width: 100%; height: auto; font-size: 26px; font-weight: 700; letter-spacing: .35em; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--top); }
.pbox .blik-input:focus { border-color: var(--text); box-shadow: 0 0 0 3px var(--surface); }
.pbox .blik-info, .pbox-text { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.pbox-text { margin: 0; color: var(--text2); }
.pnote { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 0 0 12px; }
.pnote .ic { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.pnote b { color: var(--text2); font-weight: 600; word-break: break-all; }
.linkbtn { background: none; border: 0; padding: 0 0 0 2px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text); text-decoration: underline; cursor: pointer; }
.pay-go { height: 52px; font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.dark .ptile { background: #232327; border-color: #4A4231; color: #fff; }
.dark .ptile small { color: #B9B9BF; }
.dark .ptile[aria-pressed="true"] { border-color: #E3B65C; background: #2C2A24; box-shadow: 0 0 0 1px #E3B65C; }
.dark .ptile.highlight { border-color: var(--red); box-shadow: 0 0 0 1.5px var(--red); }
.dark .pbox { background: #232327; border-color: #4A4231; color: #fff; }
.dark .pbox > label { color: #fff; }
.dark .pbox .blik-input { background: #1C1C1E; border-color: #4A4231; color: #fff; }
.dark .pbox .blik-info, .dark .pbox-text, .dark .pnote { color: #C4C4CA; }
.dark .pnote b, .dark .linkbtn { color: #fff; }
.offer .ssl { font-size: 11px; color: var(--muted); text-align: center; margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.offer .ssl svg { width: 12px; height: 12px; flex-shrink: 0; }
.dark .ssl { color: #A9A9AE; }
