/* FreightLife â€“ szkic strony WWW v2 ("Embers"): ciepĹ‚a czerĹ„, krem, jeden bursztyn.
   WzĂłr: tokeny abetterlou (pliki uĹĽytkownika, 2026-11-24). OdstÄ™pstwa od wzoru sÄ… opisane w README.md obok. */
@font-face { font-family: "Exo 2 Logo"; src: url(fonts/Exo2-ExtraBoldItalic.ttf); font-weight: 800; font-style: italic; font-display: block; }
/* Manrope (OFL, fonts/Manrope-OFL.txt) z naszego serwera: jeden plik zmienny na alfabet, przeglądarka pobiera tylko te, których tekst używa */
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-greek.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
  /* prymitywy ze wzoru */
  --espresso: #140b00; --cocoa: #0b0600; --cream: #fff1e0; --walnut: #43392d; --cedar: #4f4538;
  --driftwood: #85796c; --burnt: #181109; --amber: #ffb442;
  /* nasze: wzorowy Driftwood ma tylko 4,6:1, wiÄ™c tekst do czytania idzie jaĹ›niejszym (7,2:1) */
  --sand: #a89c8d;
  /* jedyny drugi kolor: bĹ‚Ä…d formularza i uziemiony samolot (8,4:1), nigdy jako ozdoba */
  --ember: #ff8a66;

  /* role */
  --bg: var(--espresso); --bg-deep: var(--cocoa); --ink: var(--cream); --ink-2: var(--sand); --ink-3: var(--driftwood);
  --line: var(--walnut); --field: var(--driftwood); --act: var(--amber); --on-act: var(--espresso); --bad: var(--ember);

  --font: "Manrope", "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 6px; --pill: 9999px;
  --gap: 12px; --section: 104px; --max: 1200px; --pad: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 88px; }
body { font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; }
::selection { background: var(--act); color: var(--on-act); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.view { display: none; } .view.on { display: block; }

h2 { font-size: clamp(34px, 4.6vw, 55px); line-height: 1.08; letter-spacing: -.02em; }
.sub { color: var(--ink-2); max-width: 46ch; margin-top: 16px; }

/* ---------- znak ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand .badge { width: 32px; height: 32px; flex: none; }
.brand b { font: italic 800 20px/1 "Exo 2 Logo", var(--font); letter-spacing: .01em; }
.brand b i { color: var(--act); }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--pill);
  font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.pri { background: var(--act); color: var(--on-act); }
.btn.out { border-color: var(--ink); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
@media (hover: hover) {
  .btn.pri:hover { background: var(--cream); }
  .btn.out:hover { background: var(--ink); color: var(--bg); }
}
.link { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--driftwood); display: inline-flex; min-height: 44px; align-items: center; }
.link:hover { text-decoration-color: var(--act); }

/* ---------- chmurka pobierania ---------- */
.dlpop { position: fixed; z-index: 40; width: min(264px, calc(100vw - 24px)); display: grid; gap: 8px; padding: 14px; background: var(--burnt); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 48px rgba(5, 3, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.86); transform-origin: var(--ax, 50%) 0; transition: opacity .16s, transform .16s var(--ease), visibility 0s .16s; }
.dlpop.on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .45s cubic-bezier(.34, 1.56, .64, 1), visibility 0s; }
.dlpop::before { content: ""; position: absolute; left: calc(var(--ax, 50%) - 8px); top: -8px; width: 14px; height: 14px; background: var(--burnt); border: solid var(--line); border-width: 1px 0 0 1px; transform: rotate(45deg); }
.dlpop.up { transform-origin: var(--ax, 50%) 100%; } .dlpop.up:not(.on) { transform: translateY(10px) scale(.86); }
.dlpop.up::before { top: auto; bottom: -8px; border-width: 0 1px 1px 0; }
.dlpop p { font-size: 13px; color: var(--ink-2); text-align: center; }
.dlpop.on .btn { animation: dlin .4s var(--ease) backwards; animation-delay: calc(80ms + var(--i) * 60ms); }
@keyframes dlin { from { opacity: 0; transform: translateY(10px); } }

/* ---------- gĂłrny pasek strony ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color .25s; }
.nav.solid { background: var(--bg); box-shadow: inset 0 -1px var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.nav nav { display: flex; gap: 28px; margin-inline: auto; }
.nav nav a { text-decoration: none; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a:hover { color: var(--act); }
.nav .r { display: flex; gap: 8px; }

/* ---------- sceny sterowane przewijaniem ---------- */
.scene { position: relative; height: calc(var(--len) * 1svh); }
.scene .anchor { position: absolute; }
.pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); isolation: isolate; }
.pin canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.pin .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 11, 0, .84) 0, rgba(20, 11, 0, .5) 36%, rgba(20, 11, 0, 0) 64%), linear-gradient(0deg, var(--bg) 0, rgba(20, 11, 0, 0) 16%); }
.stg { position: absolute; inset: 0; display: grid; align-content: center; width: 100%; padding-top: 60px; will-change: opacity, transform; }
.js .stg:not(.live) { visibility: hidden; }
/* bez skryptu: kolejne ekrany ze zwykĹ‚ym zdjÄ™ciem w tle */
html:not(.js) .scene { height: auto; } html:not(.js) .pin { position: relative; height: auto; background: var(--bg) url(img/hero_b747.jpg) 100% 100% / auto 100svh no-repeat; } html:not(.js) .stg, html:not(.js) .rk { position: relative; min-height: 60svh; }
.lead0 { display: grid; grid-template-columns: minmax(0, 440px) auto; gap: 28px 40px; justify-content: start; align-items: center; }
.lead0 h1 { grid-column: 1 / -1; font-size: clamp(46px, 6.6vw, 88px); line-height: .98; letter-spacing: -.03em; }
.lead0 h1 span { display: block; }
.lead0 p { font-size: 17px; }
.cta .btn { gap: 0; }
.cta { display: grid; gap: 12px; min-width: 210px; }
.lead0 .btn.out { background: rgba(20, 11, 0, .6); }
.say { max-width: 500px; } .say h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.04; } .say p { margin-top: 18px; font-size: 17px; max-width: 40ch; }
/* okna programu pod napisami: przezroczyste, samolot widać pod spodem */
.win { margin: 26px 0 0; } .win img { width: 100%; height: auto; }
.win:not(.hangar):not(.stack) { width: min(520px, 44vw); opacity: .94; }
.say.wide { max-width: none; } .say.wide p { max-width: 46ch; }
.hangar { position: relative; width: min(840px, 66vw); display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 12px; align-items: center; } .hangar .hall { opacity: .88; } .hangar .card { max-height: 62svh; width: auto; opacity: .96; }
.stack { position: relative; width: min(680px, 56vw); } .stack picture { display: block; } .stack picture + picture { position: absolute; left: 0; right: 0; top: 0; }
.stack .lo { transform-origin: 50% 0; will-change: transform, opacity; } .stack .hi { opacity: 0; will-change: transform, opacity; }
@media (min-width: 761px) and (max-height: 800px) { .say h2 { font-size: 44px; } .win { margin-top: 18px; } .win:not(.hangar):not(.stack) { width: min(440px, 40vw); } .stack { width: min(560px, 50vw); } .hangar { width: min(660px, 56vw); grid-template-columns: minmax(0, 1fr) 230px; } }
.rise > * { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.rk { position: absolute; inset: 0; display: grid; align-content: space-between; padding-block: 116px 44px; width: 100%; }
.rank .shade { background: linear-gradient(0deg, rgba(20, 11, 0, .92) 0, rgba(20, 11, 0, .55) 20%, rgba(20, 11, 0, 0) 40%), linear-gradient(180deg, rgba(20, 11, 0, .8) 0, rgba(20, 11, 0, 0) 34%); }
.rank .sub { color: var(--ink); }
.now { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* bez ruchu: zwykĹ‚a strona, jedna klatka */
.still .scene { height: auto; } .still .pin { position: relative; height: auto; } .still .stg { position: relative; visibility: visible; min-height: 70svh; } .still .rk { position: relative; min-height: 100svh; }

/* ---------- ikony ---------- */
.icn { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- zegar Zulu i tablica ---------- */
.zulu { background: var(--bg-deep); padding-block: var(--section); }
.zhead { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 72px; align-items: center; }
.dial { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial circle { transition: fill .3s, r .3s var(--ease); }
.dial .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial .mid b { font-weight: 500; font-size: clamp(48px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.dial .mid span { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.zhead .dial .mid b { font-size: clamp(40px, 4.6vw, 54px); }
.fids { margin-top: 64px; border: 1px solid var(--line); border-radius: var(--r); background: #060300; padding: 18px; }
.fidh { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 16px; }
.fidh b { font-weight: 500; font-size: 22px; line-height: 1.2; } .fidh > span { text-align: right; color: var(--act); font-weight: 500; font-size: 22px; }
.flap { --fg: 2px; --cw: 23px; --ch: 34px; --fs: 20px; display: grid; gap: 5px; justify-content: center; }
.frow { display: flex; gap: 14px; } .frow.h { color: var(--ink-2); font-size: 13px; padding-bottom: 2px; }
.fcol { display: flex; gap: 2px; flex: none; } .frow.h .fcol { display: block; }
.fc { position: relative; width: var(--cw); height: var(--ch); border-radius: 3px; background: #1b130a; color: var(--cream); font: 500 var(--fs)/var(--ch) var(--font); text-align: center; overflow: hidden; perspective: 120px; font-variant-numeric: tabular-nums; }
.frow.hi .fcol:last-child .fc, .fcol.tm .fc { color: var(--act); }
.frow.dim .fc { color: var(--ink-3); }
/* globus pod tablicą: ta sama szerokość, wysokość jak klapki (--gh liczy app.js) */
.globe { margin-top: 20px; } .globe .fidh { grid-template-columns: 1fr auto; } .globe .fidh b { display: block; }
.gbody { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 18px; height: var(--gh, 300px); }
.gbody.quiet { grid-template-columns: minmax(0, 1fr); } .gbody.quiet .glist { display: none; }
.glist { list-style: none; padding: 0; overflow: auto; display: grid; align-content: start; gap: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.glist button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; width: 100%; padding: 10px 12px; border-radius: var(--r); background: #1b130a; cursor: pointer; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.glist button b { color: var(--ink); font-weight: 600; font-size: 14px; } .glist button .r { text-align: right; color: var(--act); font-variant-numeric: tabular-nums; }
.glist button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glist button:hover { background: #241a0e; } .glist button[aria-pressed="true"] { background: #2c1f0f; box-shadow: inset 0 0 0 1px var(--act); }
.glist button:focus-visible { outline: 2px solid var(--act); outline-offset: 1px; }
.gview { position: relative; min-width: 0; min-height: 0; }
.gview canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.gtip { position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, calc(-100% - 16px)); background: rgba(11, 6, 0, .94); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 11px; font-size: 13px; line-height: 1.4; white-space: nowrap; color: var(--ink-2); }
.gtip b { color: var(--ink); font-weight: 600; }
.gcred { position: absolute; right: 2px; bottom: 0; font-size: 11px; color: var(--ink-3); } .gcred a { color: inherit; }
.gnone { position: absolute; inset: auto 0 10px; margin-inline: auto; width: fit-content; max-width: calc(100% - 24px); text-align: center; color: var(--ink-2); font-size: 14px; line-height: 1.4; padding: 7px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(6, 3, 0, .9); }
/* dwie poĹ‚Ăłwki: nowa litera pod spodem, gĂłrna poĹ‚Ăłwka starej opada */
.fc::before { content: attr(data-p); position: absolute; inset: 0; background: #241a0e; clip-path: inset(0 0 50% 0); transform-origin: 50% 50%; transform: rotateX(90deg); backface-visibility: hidden; }
.fc.go::before { animation: flapdown 75ms linear; } .fc.go2::before { animation: flapdown2 75ms linear; }
.fc::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1px; background: rgba(5, 3, 0, .6); }
@keyframes flapdown { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
@keyframes flapdown2 { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.st.fly::before { background: var(--act); border-color: var(--act); }
.st.load::before { border-color: var(--act); background: linear-gradient(0deg, var(--act) 50%, transparent 50%); }
.st.rdy::before { background: var(--ink); }
.st.svc::before { border-color: var(--driftwood); border-style: dashed; }
.st.gnd { color: var(--bad); } .st.gnd::before { border-radius: 0; background: var(--bad); border-color: var(--bad); }
.st.off::before { border-color: var(--driftwood); } .st.off, .st.svc { color: var(--ink-2); }
.fine { color: var(--ink-2); font-size: 14px; margin-top: 16px; }

/* ---------- rangi ---------- */
.lvl { margin-top: 28px; }
.lvl .dots { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; }
.lvl .dots i { height: 8px; border-radius: var(--pill); background: var(--walnut); transition: background-color .25s; }
.lvl .dots i.on { background: var(--act); }
.ranks { display: grid; grid-template-columns: 5fr 10fr 10fr 5fr; gap: 3px; margin-top: 16px; }
.ranks button { text-align: left; min-height: 96px; padding: 4px 12px 4px 0; align-content: start; color: var(--ink-2); display: grid; gap: 2px; transition: color .2s; }
.ranks button b { font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--ink-2); transition: color .2s; }
.ranks button span { font-size: 14px; }
.ranks button[aria-pressed=true] b, .ranks button:hover b { color: var(--ink); }
.ranks button[aria-pressed=true] { color: var(--ink); }

/* ---------- pytania: jasny pas ---------- */
.faq { background: var(--cream); color: var(--espresso); padding-block: var(--section); }
.faq .grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 52px; }
.faq details { border-bottom: 1px solid #cfc0ad; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 60px; padding-block: 14px; font-weight: 500; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; stroke: currentColor; stroke-width: 1.5; fill: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding: 0 40px 22px 0; }
.faq :focus-visible { outline-color: var(--espresso); }

/* ---------- stopka ---------- */
footer.ft { background: var(--bg-deep); padding-block: 40px; font-size: 14px; color: var(--ink-2); }
footer.ft .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
footer.ft nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
footer.ft nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer.ft .brand { color: var(--ink); }
footer.ft nav a:hover { color: var(--ink); }
footer.ft p { grid-column: 1 / -1; font-size: 12px; line-height: 1.5; letter-spacing: .01em; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- logowanie ---------- */
#signin.on { display: grid; grid-template-columns: 1fr minmax(440px, 42%); min-height: 100svh; }
#signin .pic { position: relative; overflow: hidden; }
#signin .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 84% 60%; }
#signin .pic .brand { position: absolute; left: 32px; top: 24px; }
#signin .side { display: grid; align-content: center; padding: 48px clamp(24px, 5vw, 72px); background: var(--bg); }
#signin form { display: grid; gap: 14px; max-width: 400px; width: 100%; margin-inline: auto; }
#signin h1 { font-size: 43px; line-height: 1.1; letter-spacing: -.02em; }
#signin .lead { color: var(--ink-2); margin-bottom: 14px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 14px; }
.fld .in { position: relative; }
.fld input { width: 100%; min-height: 50px; padding: 12px 20px; border-radius: var(--pill); background: transparent; border: 1px solid var(--field); font-size: 16px; transition: border-color .2s; }
.fld input::placeholder { color: var(--driftwood); }
.fld input:focus { outline: none; border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act); }
.fld input[aria-invalid=true] { border-color: var(--bad); }
.fld input:-webkit-autofill { -webkit-text-fill-color: var(--cream); box-shadow: inset 0 0 0 99px var(--burnt); }
.eye { position: absolute; right: 4px; top: 3px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); border-radius: 50%; }
.eye:hover { color: var(--ink); }
.msg { font-size: 14px; min-height: 21px; } .msg.bad { color: var(--bad); } .msg.ok { color: var(--act); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; color: var(--ink-2); font-size: 14px; }
.or::before, .or::after { content: ""; height: 1px; background: var(--line); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(1turn); } }

/* ---------- panel linii ---------- */
.top { position: sticky; top: 0; z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.drop { position: relative; }
.pick { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-align: left; border-radius: var(--pill); }
.pick .t { display: grid; line-height: 1.25; } .pick .t b { font-weight: 500; font-size: 15px; } .pick .t small { color: var(--ink-2); font-size: 13px; }
.mono { width: 36px; height: 36px; border-radius: var(--r); background: var(--cream); color: var(--espresso); display: grid; place-items: center; font-weight: 500; font-size: 13px; flex: none; }
.av { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--driftwood); display: grid; place-items: center; font-weight: 500; font-size: 13px; flex: none; }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; color: var(--ink-2); flex: none; }
.menu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 268px; background: var(--burnt); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; display: none; z-index: 30; }
.menu.r { left: auto; right: 0; } .menu.on { display: grid; }
.menu button { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 4px; text-align: left; min-height: 48px; width: 100%; }
.menu button:hover { background: var(--walnut); }
.menu small { display: block; color: var(--ink-2); font-size: 13px; } .menu .ck { margin-left: auto; color: var(--act); }
.tabs { display: flex; gap: 4px; margin-inline: auto; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--pill); font-size: 14px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected=true] { background: var(--walnut); color: var(--ink); font-weight: 500; }
.tabs svg { display: none; }
.bell { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.bell b { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: var(--pill); background: var(--act); color: var(--on-act); font-size: 12px; line-height: 18px; font-weight: 500; text-align: center; }

.page { padding-block: 40px 72px; }
.page h1 { font-size: clamp(34px, 4.4vw, 55px); line-height: 1.08; letter-spacing: -.02em; }
.page > .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.page > .head p { color: var(--ink-2); margin-top: 8px; }
.sect { margin-top: 52px; }
.sect > header, .sect section > header { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sect h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.01em; } .sect header p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--pill); padding: 3px; }
.seg button { min-height: 38px; padding: 6px 16px; border-radius: var(--pill); font-size: 14px; color: var(--ink-2); }
.seg button:hover { color: var(--ink); } .seg button[aria-pressed=true] { background: var(--walnut); color: var(--ink); font-weight: 500; }

.ov { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 52px; }
.bal .big { font-size: clamp(44px, 6.4vw, 81px); line-height: 1; letter-spacing: -.03em; }
.bal .ttl { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; }
.bal .ttl p { color: var(--ink-2); font-size: 15px; }
.chart { margin-top: 24px; position: relative; touch-action: pan-y; }
.chart .gl { stroke: var(--line); stroke-width: 1; } .chart .tk { fill: var(--sand); font-size: 12px; font-family: var(--font); }
.chart .ln { fill: none; stroke: var(--act); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tip { position: absolute; pointer-events: none; background: var(--cream); color: var(--espresso); border-radius: var(--r); padding: 6px 10px; font-size: 14px; font-weight: 500; transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .15s; white-space: nowrap; }
.tip small { display: block; font-weight: 400; font-size: 12px; }
.rep { background: var(--bg-deep); border: 1px solid var(--burnt); border-radius: var(--r); padding: 24px; display: grid; align-content: center; }
.rep .dial .mid b { font-size: 69px; } .rep .cap { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 44px; }
.kpis div { border-top: 1px solid var(--line); padding-top: 14px; }
.kpis b { font-weight: 400; font-size: 35px; line-height: 1.1; letter-spacing: -.01em; display: block; } .kpis b small { font-size: 19px; color: var(--ink-2); }
.kpis span { display: block; margin-top: 6px; font-size: 15px; } .kpis em { font-style: normal; color: var(--ink-2); font-size: 14px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 52px; }
.list { list-style: none; padding: 0; }
.list li { display: flex; align-items: center; gap: 14px; min-height: 60px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.list li > :last-child { margin-left: auto; text-align: right; } .list small { display: block; color: var(--ink-2); font-size: 14px; } .list b { font-weight: 500; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 400; font-size: 14px; color: var(--ink-2); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; } td:last-child, th:last-child { padding-right: 0; }
.only-s { display: none !important; } .bc { padding-left: 32px; }
td small { display: block; color: var(--ink-2); font-size: 14px; } td b { font-weight: 500; } .ra { text-align: right; }
.p { display: flex; align-items: center; gap: 12px; }

.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plane { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 18px; align-content: start; }
.plane .hd { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.plane h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.005em; } .plane .hd small { color: var(--ink-2); font-size: 14px; }
.cond { display: grid; gap: 8px; font-size: 14px; } .cond > span { display: flex; justify-content: space-between; color: var(--ink-2); } .cond > span b { font-weight: 500; color: var(--ink); }
.pips { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; } .pips i { aspect-ratio: 1; border-radius: 50%; background: var(--walnut); } .pips i.on { background: var(--cream); }
.cond.low .pips i.on { background: var(--act); } .cond.crit .pips i.on { background: var(--bad); } .cond.crit > span b { color: var(--bad); }
.plane dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; } .plane dt { color: var(--ink-2); } .plane dd { margin: 0; font-weight: 500; font-size: 15px; }

.map { background: var(--bg-deep); border: 1px solid var(--burnt); border-radius: var(--r); overflow: hidden; position: relative; }
.map svg { width: 100%; height: auto; }
.map .apt { fill: var(--cream); font-size: 13px; font-family: var(--font); font-weight: 500; paint-order: stroke; stroke: var(--cocoa); stroke-width: 4px; }
.legend { display: flex; gap: 24px; padding: 14px 20px; border-top: 1px solid var(--burnt); font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 26px; height: 0; border-top: 3px solid var(--act); vertical-align: middle; margin-right: 10px; } .legend .o { border-top: 1.5px solid var(--driftwood); }
.sample { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; color: var(--ink-2); font-size: 14px; padding: 16px 0 28px; border-top: 1px dashed var(--line); }
.sample button { min-height: 40px; padding: 6px 12px; border-radius: var(--pill); } .sample button:hover { color: var(--ink); } .sample button[aria-pressed=true] { background: var(--walnut); color: var(--ink); }

.lab { color: var(--ink-2); font-size: 15px; } .bad { color: var(--bad); }
.btn:disabled { opacity: .45; cursor: default; }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; } .ft2 { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; } .ft2 b { font-weight: 500; font-size: 22px; line-height: 1.2; }
.bar { margin-bottom: 16px; font-size: 15px; } .bar span { display: flex; justify-content: space-between; } .bar b { font-weight: 500; }
.bar i { display: block; height: 6px; margin-top: 8px; border-radius: var(--pill); background: linear-gradient(90deg, var(--cream) var(--w), var(--walnut) var(--w)); } .bar .out { background: linear-gradient(90deg, var(--driftwood) var(--w), var(--walnut) var(--w)); }
.more { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; } .more .fine { margin: 0; }
tr.no td { color: var(--ink-2); } tr.no b { font-weight: 400; }
.notes { list-style: none; padding: 0; } .notes li { display: grid; grid-template-columns: 12px 1fr 44px; gap: 16px; align-items: center; min-height: 76px; padding-block: 12px; border-bottom: 1px solid var(--line); } .notes li.fine { display: block; }
.notes .dot { width: 9px; height: 9px; border-radius: 50%; } .notes .un .dot { background: var(--act); } .notes p { color: var(--ink-2); } .notes .un p { color: var(--ink); } .notes small { color: var(--ink-2); font-size: 14px; } .notes small b { font-weight: 500; color: var(--ink); } .notes .critical small b { color: var(--bad); }
.notes .x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); } .notes .x:hover { color: var(--ink); background: var(--walnut); }
.prof { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 52px; align-items: start; } .kpis.k3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; } .kpis.k3 b { font-size: 29px; }
.pickf { cursor: pointer; } .pickf:focus-within { outline: 2px solid var(--act); outline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .tags span { background: var(--walnut); border-radius: var(--pill); padding: 6px 14px; font-size: 14px; }
.acc form { display: grid; grid-template-columns: minmax(0, 400px) auto 1fr; gap: 12px; align-items: end; } .acc form .btn { min-height: 50px; } .acc form .msg { align-self: center; padding-top: 24px; }
.lines { margin-top: 28px; } .lines > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; border-top: 1px solid var(--line); } .lines small { display: block; color: var(--ink-2); font-size: 14px; }
.empty { min-height: 46vh; display: grid; align-content: center; justify-items: start; max-width: 620px; gap: 16px; } .empty h2 { font-size: clamp(34px, 4.4vw, 55px); line-height: 1.08; letter-spacing: -.02em; } .empty p { color: var(--ink-2); max-width: 48ch; } .empty .btn { margin-top: 8px; }
.sk { display: grid; gap: 28px; } .sk i { display: block; background: var(--burnt); border-radius: var(--r); height: 92px; animation: pulse 1.4s ease-in-out infinite alternate; } .sk div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@keyframes pulse { to { background: #2a2016; } }

/* napisy pojawiajÄ… siÄ™ w obie strony: od doĹ‚u przy przewijaniu w dĂłĹ‚, od gĂłry przy powrocie */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.above { transform: translateY(-36px); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav nav { display: none; } .nav .r { margin-left: auto; }
  .ov, .two, .prof { grid-template-columns: minmax(0, 1fr); }
  .zhead { gap: 44px; grid-template-columns: 240px minmax(0, 1fr); } .flap { --fg: 1px; --cw: 15px; --ch: 26px; --fs: 14px; } .frow { gap: 9px; } .fcol { gap: 1px; }
  .planes { grid-template-columns: repeat(2, 1fr); }
  .top .brand b, .pick .t small, .me .t, .me .chev { display: none; }
  .rep { grid-template-columns: 240px 1fr; align-items: center; gap: 24px; } .rep .cap { text-align: left; margin: 0; }
}
@media (max-width: 760px) {
  :root { --section: 72px; --pad: 18px; }
  .nav .wrap { min-height: 64px; gap: 12px; } .nav .dl { display: none; }
  .nav .r { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); } .nav.moved .r { opacity: 1; transform: none; pointer-events: auto; }
  .pin .shade { background: linear-gradient(180deg, rgba(20, 11, 0, .86) 0, rgba(20, 11, 0, .5) 40%, rgba(20, 11, 0, 0) 58%), linear-gradient(0deg, var(--bg) 0, rgba(20, 11, 0, 0) 12%); }
  .stg { align-content: start; padding-top: 96px; }
  .lead0 { grid-template-columns: minmax(0, 1fr) auto; gap: 24px 14px; } .lead0 h1 { grid-column: 1; font-size: clamp(31px, 10.2vw, 52px); } .lead0 p { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
  .cta { grid-column: 2; grid-row: 1; gap: 10px; min-width: 0; } .cta .btn { padding: 10px 16px; font-size: 14px; } .cta .w { display: none; }
  .say h2 { font-size: 35px; } .say p { font-size: 16px; margin-top: 14px; }
  .win { margin-top: 18px; } .win:not(.hangar):not(.stack), .stack, .hangar { width: 100%; } .hangar { grid-template-columns: 1fr; gap: 0; } .hangar .hall { width: min(72%, 34svh); margin: 0 auto -14px; } .hangar .card { width: 100%; max-height: none; }
  .rk { padding-block: 92px 22px; } .rank .sub { font-size: 16px; margin-top: 10px; }
  .fidh .seg { justify-self: start; } .zhead { grid-template-columns: 1fr; gap: 36px; } .zhead .dial { width: min(100%, 270px); } .zhead > div:last-child { order: -1; }
  .gbody { grid-template-columns: minmax(0, 1fr); height: auto; } .gview { height: var(--gh, 300px); } .glist { order: 2; max-height: 232px; }
  .fids { margin-top: 40px; padding: 12px 8px; margin-inline: -8px; } .fids.globe { margin-top: 14px; } .fidh { grid-template-columns: 1fr auto; } .fidh b { display: none; } .fidh > span { font-size: 19px; }
  .flap { --fg: 1px; --cw: min(15px, 3.62vw); --ch: 32px; --fs: min(16px, 3.9vw); gap: 4px; } .frow { gap: 6px; } .fcol { gap: 1px; }
  .ranks { grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 20px; } .ranks button { min-height: 72px; }
  .faq .grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .faq details p { padding-right: 0; }
  footer.ft .wrap { grid-template-columns: 1fr; gap: 12px; } footer.ft nav { justify-content: flex-start; }
  #signin.on { grid-template-columns: 1fr; grid-template-rows: 190px 1fr; } #signin .pic img { object-position: 78% 78%; } #signin .pic .brand { left: 18px; top: 12px; } #signin .side { align-content: start; padding-block: 32px 48px; } #signin h1 { font-size: 35px; }
  .top .wrap { min-height: 64px; gap: 12px; } .top .brand { display: none; } .top .sp { flex: 1; }
  .pick .t b { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabs { position: fixed; z-index: 25; inset: auto 0 0; background: var(--bg-deep); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); }
  .tabs button { flex-direction: column; gap: 4px; min-height: 54px; padding: 6px 4px; border-radius: var(--r); font-size: 12px; justify-content: center; }
  .tabs button[aria-selected=true] { background: none; color: var(--act); }
  .tabs svg { display: block; }
  .page { padding-block: 28px 120px; } .page > .head { margin-bottom: 24px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .rep { grid-template-columns: 1fr; } .rep .cap { text-align: center; } .rep .dial { max-width: 260px; }
  .planes { grid-template-columns: 1fr; }
  .flow, .prof { grid-template-columns: minmax(0, 1fr); gap: 36px; } .kpis.k3 { grid-template-columns: 1fr 1fr; } .kpis.k3 b { font-size: 27px; } .acc form { grid-template-columns: 1fr; } .acc form .msg { padding: 0; } .lines > div { padding-block: 12px; } .sk div { grid-template-columns: 1fr 1fr; gap: 18px; } .sample { padding-bottom: 110px; } .page { padding-bottom: 60px !important; } main:has(> .sample[hidden]) > .page { padding-bottom: 120px !important; }
  .hm { display: none; } .only-s { display: block !important; } td, th { padding-right: 10px; }
  .seg { max-width: 100%; overflow-x: auto; } .seg button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv.above { opacity: 1; transform: none; }
}
