/* Cardio Capitalist: strona wizytówka (PL / EN). Styl z huba marki: nocny granat, złoto, czerwień, piksele Tiny5.
   Układ: jedna oś na środku, nagłówki sekcji wyśrodkowane, siatki zawsze o równych kolumnach (2, 3 albo 4). */
@font-face { font-family: 'Tiny5'; src: url('tiny5.woff2') format('woff2'); font-display: swap; }
:root {
  --night: #141a3a; --night2: #1a2250; --panel: #24304a; --panel2: #1d2740; --ink: #2a1208; --line: #34405f;
  --gold: #ffc232; --gold-hi: #ffe95e; --red: #d8303a; --red-hi: #ff5a5f; --sky: #8fd0ff; --green: #7fe07a;
  --text: #fff6e6; --text2: #d8d4ec; --muted: #9a9cc0;
  --pixel: 'Tiny5', ui-monospace, monospace;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1160px; --gap: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--night); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { margin: 0; font-weight: normal; }
.px { font-family: var(--pixel); letter-spacing: .02em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--gold); color: var(--ink); padding: 8px 12px; }

/* dock: główna nawigacja pływająca na dole ekranu na każdym rozmiarze (jak na kaczmarekbjj.pl), blisko kciuka */
:root { --dock-space: calc(92px + env(safe-area-inset-bottom, 0px)); }
.dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 24px);
  padding: 6px; border: 3px solid var(--ink); border-radius: 10px; background: rgba(36, 48, 74, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 5px 0 var(--ink), 0 20px 50px rgba(0, 0, 0, .5); transform: translateX(-50%); animation: dock-in .7s .2s ease backwards; }
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 24px); } }
.dock-home { display: grid; place-items: center; width: 52px; height: 46px; flex: none; border-radius: 6px; transition: background .2s; }
.dock-home img { width: 36px; height: 36px; image-rendering: auto; border-radius: 6px; }
.dock-home:hover { background: rgba(255, 255, 255, .08); }
.dock-links { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dock-links::-webkit-scrollbar { display: none; }
.dock-links a { flex: none; padding: 13px 15px; border-radius: 6px; font: 15px var(--pixel); color: var(--text2); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.dock-links a:hover { color: var(--gold); }
.dock-links a[aria-current] { background: var(--gold); color: var(--ink); }
.dock-lang { flex: none; margin-left: 2px; padding: 10px 11px; border: 2px solid var(--line); border-radius: 6px; font-size: 14px; color: var(--text); text-decoration: none; }
.dock-lang:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 640px) {
  :root { --dock-space: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .dock { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); max-width: 520px; padding: 5px; }
  .dock-home { width: 44px; height: 42px; } .dock-home img { width: 32px; height: 32px; }
  .dock-links { flex: 1; } .dock-links a { padding: 12px 9px; font-size: 13px; }
}

/* przyciski w stylu gry */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 18px var(--pixel); text-decoration: none; cursor: pointer;
  padding: 13px 22px; border: 3px solid var(--ink); border-radius: 4px; color: #fff; background: var(--red); box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 4px 0 var(--ink); transition: transform .08s; }
.btn:hover { background: var(--red-hi); } .btn:active { transform: translateY(3px); box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 1px 0 var(--ink); }
.btn.gold { background: var(--gold); color: var(--ink); } .btn.gold:hover { background: var(--gold-hi); }
.btn.dark { background: var(--panel); color: var(--text); } .btn.dark:hover { background: #2d3b5a; }
.btn.small { font-size: 14px; padding: 7px 12px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* hero: wszystko na środku, telefon między dwiema kolumnami liczb */
.hero { position: relative; padding: 48px 0 calc(var(--dock-space) + 24px); background: radial-gradient(1200px 600px at 50% 20%, #2f3f92 0%, var(--night) 65%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('screen-night.png') center top / 880px auto repeat-x; opacity: .07; image-rendering: pixelated; pointer-events: none; }
.hero .wrap { position: relative; }
.badge { display: inline-block; font-size: 13px; color: var(--ink); background: var(--green); border: 2px solid var(--ink); border-radius: 3px; padding: 4px 10px; margin-bottom: 22px; }
.hero .wordmark { width: min(460px, 86%); image-rendering: pixelated; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.1; color: var(--gold); text-shadow: 0 4px 0 var(--ink); margin-bottom: 16px; }
.hero .lead { font-size: 20px; color: var(--text2); max-width: 40em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; width: 100%; margin-top: 56px; }
.stats { display: grid; gap: var(--gap); }
.stat { background: var(--panel); border: 3px solid var(--ink); border-radius: 6px; padding: 18px 16px; box-shadow: 0 5px 0 var(--ink); }
.stat b { display: block; font-size: 40px; line-height: 1; color: var(--gold); margin-bottom: 6px; }
.stat span { color: var(--text2); font-size: 15px; }
@media (max-width: 900px) { .stage { grid-template-columns: 1fr 1fr; gap: 18px; } .stage .phone { grid-column: 1 / -1; grid-row: 1; } .stat b { font-size: 30px; } }

.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 12px; background: #0b0e20; margin-inline: auto;
  border: 3px solid #3a4270; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 8px rgba(255,194,50,.08); }
.phone .screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen img.night { animation: dn 12s ease-in-out infinite; }
@keyframes dn { 0%, 35% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.phone .hud { position: absolute; left: 10px; right: 10px; top: 34px; display: flex; justify-content: space-between; gap: 6px; font: 12px var(--pixel);
  background: var(--panel); border: 2px solid var(--ink); border-radius: 4px; padding: 6px 8px; }
.phone .hud b { color: var(--gold); font-weight: normal; } .phone .hud i { color: var(--sky); font-style: normal; }
.phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #0b0e20; border-radius: 0 0 14px 14px; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .phone .screen img.night { animation: none; opacity: 0; } }

/* sekcje */
section { padding: 88px 0; }
.alt { background: var(--night2); border-block: 3px solid var(--ink); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.kicker { font-size: 14px; color: var(--sky); margin: 0 0 10px; letter-spacing: .12em; }
.sec-title { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; color: var(--gold); margin-bottom: 14px; }
.sec-lead { color: var(--text2); margin: 0; font-size: 18px; }
.story-t { font-size: 20px; line-height: 1.75; color: var(--text2); margin: 0; }
.story .sec-title { margin-bottom: 20px; }

.grid2, .grid3, .grid4 { display: grid; gap: var(--gap); }
.grid2 { grid-template-columns: repeat(2, 1fr); } .grid3 { grid-template-columns: repeat(3, 1fr); } .grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid4.steps { grid-template-columns: 1fr; } }
/* porównania i galerie zostają obok siebie także na telefonie (symetria, krótsza strona) */
@media (max-width: 760px) {
  .grid3.tiers, .grid2.dn, .grid2.veh-row { grid-template-columns: repeat(var(--n), 1fr); gap: 10px; }
  .grid3.tiers { --n: 3; } .grid2.dn, .grid2.veh-row { --n: 2; }
  .tier figcaption { padding: 8px 6px; } .tier figcaption b { font-size: 13px; } .tier figcaption span { display: none; }
  .dn figcaption, .veh-row figcaption { font-size: 12px; padding: 8px 4px; }
  .veh-row figure { padding: 16px 10px 10px; }
  .bcard h3 { font-size: 16px; margin: 12px 8px 4px; } .bcard p { font-size: 13px; margin: 0 10px 14px; }
  section { padding: 64px 0; }
}

.card { background: var(--panel); border: 3px solid var(--ink); border-radius: 6px; padding: 24px; box-shadow: 0 5px 0 var(--ink); text-align: center; }
.card .ico { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.card h3 { font: 20px var(--pixel); color: var(--text); margin-bottom: 8px; }
.card p { margin: 0; color: var(--text2); font-size: 16px; }
.steps { counter-reset: s; }
.step { position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 18px var(--pixel); color: var(--ink);
  background: var(--gold); border: 3px solid var(--ink); border-radius: 4px; width: 36px; height: 36px; display: grid; place-items: center; }
.step .ico { margin-top: 10px; }

/* kwartał: 8 kart budynków 4×2 */
.bcard { background: var(--panel); border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 5px 0 var(--ink); display: flex; flex-direction: column; text-align: center; }
.bimg { position: relative; aspect-ratio: 1; background: #6cb64a; border-bottom: 3px solid var(--ink); }
.bimg img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.bnum { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; display: grid; place-items: center; font-size: 16px; color: var(--ink); background: var(--gold); border: 3px solid var(--ink); border-radius: 4px; }
.bcard h3 { font: 19px var(--pixel); color: var(--text); margin: 16px 14px 6px; }
.bcard p { margin: 0 16px 18px; color: var(--text2); font-size: 15px; }

/* ulepszenia: 3 wersje wnętrza + pojazdy */
.tier { margin: 0; background: var(--panel); border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 5px 0 var(--ink); }
.tier img { width: 100%; height: auto; image-rendering: pixelated; border-bottom: 3px solid var(--ink); }
.tier figcaption { padding: 16px; text-align: center; display: grid; gap: 4px; }
.tier figcaption b { font-size: 18px; color: var(--gold); font-weight: normal; } .tier figcaption span { color: var(--text2); font-size: 15px; }
.veh { margin-top: 56px; text-align: center; }
.veh h3 { font-size: 24px; color: var(--gold); margin-bottom: 8px; } .veh > p { color: var(--text2); max-width: 44em; margin: 0 auto 26px; }
.veh-row figure { margin: 0; background: #5d6271; border: 3px solid var(--ink); border-radius: 6px; padding: 28px 20px 14px; box-shadow: 0 5px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; }
.veh-row img { width: 100%; max-height: 110px; object-fit: contain; image-rendering: pixelated; }
.veh-row figcaption { font-size: 15px; color: var(--text); }

/* dzień i noc */
.dn figure { margin: 0; border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 5px 0 var(--ink); background: var(--panel); }
.dn img { width: 100%; image-rendering: pixelated; }
.dn figcaption { padding: 12px; text-align: center; font-size: 16px; color: var(--text); border-top: 3px solid var(--ink); }

/* dwie równe połówki: tekst + makieta / obraz */
.split { align-items: center; gap: 56px; }
.split-t .sec-title { margin-bottom: 14px; } .split-t p { color: var(--text2); font-size: 18px; margin: 0 0 18px; }
.split-t .soon { font-size: 15px; color: var(--sky); }
.shot { border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 6px 0 var(--ink); max-width: 460px; width: 100%; justify-self: center; }
.shot img { width: 100%; image-rendering: pixelated; }
.split-t .shot { max-width: 320px; margin-top: 8px; }
.chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; max-width: 420px; }
.chars .char { width: 100%; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
@media (max-width: 760px) { .split { gap: 32px; } .split .mock { order: 2; } .split-t { text-align: center; } .chars, .split-t .shot { margin-inline: auto; } }

.mock { width: 100%; max-width: 460px; justify-self: center; background: var(--panel2); border: 3px solid var(--ink); border-radius: 6px; padding: 18px; box-shadow: 0 6px 0 var(--ink); display: grid; gap: 12px; }
.mock-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-h b { font-size: 18px; color: var(--gold); font-weight: normal; }
.pill { font-size: 12px; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); border-radius: 3px; padding: 3px 8px; }
.srow { display: grid; grid-template-columns: 34px 1fr 38px; align-items: center; gap: 10px; background: var(--panel); border: 2px solid var(--ink); border-radius: 4px; padding: 10px; }
.sico { font-size: 22px; text-align: center; }
.shead { display: flex; justify-content: space-between; } .shead b { font: 15px var(--pixel); font-weight: normal; } .shead em { font-style: normal; color: var(--gold); font-size: 14px; }
.sbody small { color: var(--text2); font-size: 12px; }
.sbar { height: 6px; background: #3a3f55; border-radius: 2px; overflow: hidden; margin-top: 5px; } .sbar i { display: block; height: 100%; background: var(--gold); }
.splus { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); border: 2px solid var(--ink); border-radius: 4px; font-size: 20px; color: #fff; }
.rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rank li { display: grid; grid-template-columns: 34px 30px 1fr auto; align-items: center; gap: 10px; background: var(--panel); border: 2px solid var(--ink); border-radius: 4px; padding: 8px 12px; }
.rank li.me { background: #3a3420; border-color: var(--gold); }
.rank .rk { font-size: 18px; color: var(--gold); text-align: center; }
.rank li img { width: 26px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.rank li b { font-weight: 600; } .rank li em { font-style: normal; color: var(--sky); font-size: 14px; }

/* para równych kolumn tej samej wysokości (ranking + billboard) */
.pair { max-width: 920px; margin-inline: auto; align-items: stretch; }
.pair .mock { max-width: none; align-content: start; }
.shot.fill { max-width: none; } .shot.fill img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.rank li { padding-block: 14px; }

/* FAQ: dwie równe kolumny */
.faq { align-items: start; }
.faq-i { background: var(--panel); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 4px 0 var(--ink); }
.faq-i summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font-weight: 600; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 22px var(--pixel); color: var(--gold); }
.faq-i[open] summary::after { content: '−'; }
.faq-i p { margin: 0; padding: 0 18px 18px; color: var(--text2); }

/* kontakt: czat na środku, stała szerokość */
#kontakt .sec-lead { margin-bottom: 32px; }
#kontakt .chat-slot { width: 100%; max-width: 620px; text-align: left; }
.mail { margin: 18px 0 0; }

/* czat kontaktowy (jak na kaczmarekbjj.pl): w sekcji kontaktu albo w pływającym panelu */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.chat-slot { min-height: 560px; }
.cc { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; height: 560px; background: var(--panel2); border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 0 6px 0 var(--ink); overflow: hidden; color: var(--text); }
.cc-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel); border-bottom: 3px solid var(--ink); }
.cc-avatar { width: 40px; height: 40px; flex: none; border-radius: 6px; overflow: hidden; border: 2px solid var(--ink); }
.cc-avatar img { width: 100%; height: 100%; }
.cc-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-who b { font: 16px var(--pixel); color: var(--gold); font-weight: normal; }
.cc-who span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.cc-who span i { width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.cc-restart, .cc-close { margin-left: auto; padding: 6px 10px; border: 2px solid #3a4a6a; border-radius: 4px; background: none; color: var(--text2); font: 12px var(--pixel); cursor: pointer; white-space: nowrap; }
.cc-close { margin-left: 6px; font: 22px/1 var(--font); padding: 2px 9px; }
.cc-restart:hover, .cc-close:hover { color: var(--gold); border-color: var(--gold); }
.cc-restart[hidden] + .cc-close { margin-left: auto; }
.cc-body { overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; }
.cc-thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 100%; }
.cc-bubble { align-self: flex-start; max-width: 88%; margin: 0; padding: 10px 14px; border-radius: 3px 12px 12px 12px; background: var(--panel); border: 2px solid #34405f;
  font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cc-bubble a { color: var(--gold); }
.cc-bubble.mine { align-self: flex-end; border-radius: 12px 3px 12px 12px; background: var(--gold); border-color: var(--ink); color: var(--ink); }
.cc-dots { display: inline-flex; gap: 5px; padding: 13px 15px; align-self: flex-start; border-radius: 3px 12px 12px 12px; background: var(--panel); border: 2px solid #34405f; }
.cc-dots i { width: 6px; height: 6px; border-radius: 1px; background: var(--muted); animation: cc-dot 1s ease-in-out infinite; }
.cc-dots i:nth-child(2) { animation-delay: .15s; } .cc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cc-dot { 50% { transform: translateY(-4px); opacity: .5; } }
.cc-pop { animation: cc-pop .3s ease both; }
@keyframes cc-pop { from { opacity: 0; transform: translateY(6px); } }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chips button { padding: 8px 12px; border: 2px solid #3a4a6a; border-radius: 4px; background: none; font: 14px var(--font); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.cc-chips button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cc-chips button.is-on { background: var(--gold); border-color: var(--ink); color: var(--ink); }
.cc-chips button:disabled { opacity: .45; cursor: default; }
.cc-compose { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-top: 3px solid var(--ink); background: var(--panel); }
.cc-field { flex: 1; min-width: 0; display: flex; }
.cc-compose input, .cc-compose textarea { flex: 1; min-width: 0; padding: 11px 12px; border: 2px solid #3a4a6a; border-radius: 4px; background: var(--panel2); color: var(--text); font: 16px var(--font); resize: none; outline: none; }
.cc-compose input:focus, .cc-compose textarea:focus { border-color: var(--gold); }
.cc-compose input::placeholder, .cc-compose textarea::placeholder { color: var(--muted); }
.cc-compose input:disabled { opacity: .5; }
.cc-send { width: 46px; height: 46px; flex: none; border: 3px solid var(--ink); border-radius: 4px; background: var(--gold); color: var(--ink); font: 20px var(--pixel); cursor: pointer; }
.cc-send:disabled { opacity: .35; cursor: default; }
.cc-bad { position: absolute; bottom: 100%; left: 12px; right: 12px; margin: 0 0 8px; padding: 8px 12px; border: 2px solid var(--red-hi); border-radius: 4px; background: #3a1d20; color: #f5c2c2; font-size: 13px; }
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cc-foot { display: flex; justify-content: center; gap: 18px; padding: 0 12px 10px; background: var(--panel); font-size: 12px; }
.cc-foot a { color: var(--muted); }
.cc-fab { position: fixed; right: 18px; bottom: calc(var(--dock-space) + 10px); z-index: 40; width: 62px; height: 62px; border-radius: 8px; border: 3px solid var(--ink);
  background: var(--gold); font-size: 28px; cursor: pointer; box-shadow: 0 5px 0 var(--ink), 0 14px 30px rgba(0,0,0,.4); transition: transform .3s ease, opacity .25s ease; }
.cc-fab:hover { background: var(--gold-hi); }
.cc-fab.is-gone { opacity: 0; transform: translateY(-30px) scale(.6); pointer-events: none; }
.cc-panel { position: fixed; right: 18px; bottom: calc(var(--dock-space) + 10px); z-index: 45; width: min(400px, calc(100vw - 24px)); opacity: 0;
  transform: translateY(20px) scale(.97); transform-origin: bottom right; pointer-events: none; transition: opacity .2s ease, transform .25s ease; }
.cc-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.cc-panel .cc { height: min(580px, calc(100svh - var(--dock-space) - 40px)); box-shadow: 0 6px 0 var(--ink), 0 30px 70px rgba(0,0,0,.55); }
@media (max-width: 520px) { .cc-fab { right: 12px; width: 54px; height: 54px; } .cc-panel { left: 8px; right: 8px; width: auto; } .chat-slot, .chat-slot .cc { min-height: 520px; height: 520px; } }
@media (prefers-reduced-motion: reduce) { .cc-pop, .cc-dots i { animation: none; } .cc-fab, .cc-panel { transition: none; } }

/* stopka */
footer { border-top: 3px solid var(--ink); background: #0f1430; padding: 44px 0 calc(var(--dock-space) + 24px); color: var(--muted); font-size: 14px; }
.foot { gap: 12px; } .foot img { width: 156px; image-rendering: pixelated; } .foot p { margin: 0; color: var(--text2); }
footer a { color: var(--text2); } footer a:hover { color: var(--gold); }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
footer .small { color: var(--muted); font-size: 13px; }

/* polityka prywatności */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font: 34px/1.2 var(--pixel); color: var(--gold); margin: 0 0 8px; }
.doc h2 { font: 22px/1.3 var(--pixel); color: var(--gold); margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--text2); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px; border: 1px solid #3a4a6a; }
.doc th { background: var(--panel); color: var(--text); }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc .box { background: var(--panel); border: 3px solid var(--ink); border-radius: 6px; padding: 16px 20px; margin: 20px 0; }
.doc .lang { float: right; font: 14px var(--pixel); }

/* strona 404 (PL + EN) */
.nf { min-height: 100svh; display: grid; place-items: center; }
.nf-logo { width: 260px; image-rendering: pixelated; margin-bottom: 8px; }
.nf h1 { font: 96px/1 var(--pixel); color: var(--gold); text-shadow: 0 5px 0 var(--ink); margin: 8px 0 28px; }
.nf-grid { width: 100%; max-width: 760px; text-align: center; }
.nf-grid h2 { font-size: 22px; color: var(--text); margin: 0 0 10px; }
.nf-grid p { margin: 0 0 16px; }
