/* Cache bust: 1795783255 */
/* Runda 4, koncepcja B "Atak w tle": krotka strona, natywny scroll od pierwszego piksela.
   Jedna paleta: noc (granat) + bursztyn #FFA51F (request, nic, glowny przycisk). Cyjan tylko dla instrumentow
   (status 200, lampki skanera). Overpass do prozy i naglowkow, DM Mono do requestow i etykiet.
   Ten plik laduje sie ostatni; style.css, noc.css i menu.css daja tylko baze (tokeny, naglowek, menu, formularz). */

:root {
  --ink: #0A1122;
  --ink-2: #0D1630;
  --panel: rgba(14, 23, 48, .92);
  --line: rgba(99, 210, 238, .16);
  --line-2: rgba(99, 210, 238, .28);
  --txt: #E4E8F0;
  --txt-2: rgba(228, 232, 240, .78);
  --txt-3: rgba(228, 232, 240, .58);
  --amber: #FFA51F;
  --amber-h: #FFB846;
  --amber-glow: rgba(255, 165, 31, .5);
  --gut: clamp(20px, 4.4vw, 64px);
  --edge: var(--gut);           /* lewa krawedz tresci */
  --maxw: 1200px;
  --h1: clamp(40px, 5.25vw, 84px);
  --h2: clamp(30px, 3.5vw, 54px);
  --h3: clamp(22px, 2vw, 30px);
  --p: 18px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}
@media (max-width: 760px) {
  :root { --edge: 22px; --h1: clamp(29px, 8.4vw, 38px); --h2: calc(var(--h1) * .88); --h3: 21px; --p: 16px; }
}

html, body { background: var(--ink); }
html { scroll-padding-top: 24px; }
body { font-family: var(--display); font-size: var(--p); line-height: 1.55; overflow-x: clip; }
main { position: relative; overflow-x: clip; }
.sec { position: relative; z-index: 1; }
.wrap2 { position: relative; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 760px) { .wrap2 { padding: 0 18px 0 var(--edge); } }
code { font-family: var(--mono); font-size: .86em; background: rgba(38, 58, 102, .7); color: #CFE9F5; padding: .08em .38em; border-radius: 3px; white-space: nowrap; }

.h1 { font-family: var(--display); font-weight: 800; font-size: var(--h1); line-height: 1.0; letter-spacing: -.03em; color: var(--txt); margin: 0; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 800; font-size: var(--h2); line-height: 1.04; letter-spacing: -.024em; color: var(--txt); margin: 0; text-wrap: balance; }
.h2 .ln, .h1 .ln { display: inline; }
.h3 { font-family: var(--display); font-weight: 800; font-size: var(--h3); line-height: 1.15; letter-spacing: -.016em; margin: 0; }
.p-lg { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--txt-2); margin: 0; }
.kick { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }

/* ---------- przyciski: glowny zawsze bursztynowy, drugi obrys i mniejszy ---------- */
.btn { font-family: var(--display); font-weight: 800; letter-spacing: .005em; border-radius: 3px; min-height: 56px; padding: 0 28px; font-size: 20px; }
.btn-main { color: var(--ink); background: var(--amber); border: 1px solid var(--amber); box-shadow: 0 10px 34px -14px var(--amber-glow); }
.bg-short { display: none; }
@media (max-width: 420px) { .bg-long { display: none; } .bg-short { display: inline; } }
.btn-ghost { color: var(--txt); background: rgba(10, 17, 34, .55); border: 1px solid rgba(228, 232, 240, .36); min-height: 48px; padding: 0 20px; font-size: 17px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .btn-main:hover { background: var(--amber-h); border-color: var(--amber-h); }
  .btn-ghost:hover { background: rgba(18, 29, 58, .9); border-color: var(--txt); }
}

/* ---------- naglowek ---------- */
.top { padding: 14px var(--gut); }
.top::before { inset: 0 0 -18px 0; background: linear-gradient(to bottom, rgba(10, 17, 34, .97) 0, rgba(10, 17, 34, .94) 72%, rgba(10, 17, 34, 0) 100%); }
.top-links { align-items: center; gap: 20px; }
.top-links .tl-team { font: 500 13px/1 var(--mono); color: var(--txt-2); }
.top-links .tl-cta {
  font: 800 15px/1 var(--display); letter-spacing: .01em; color: var(--ink); background: var(--amber); border: 1px solid var(--amber);
  padding: 10px 14px 9px; border-radius: 3px; opacity: 0; translate: 0 -4px; pointer-events: none;
  transition: opacity .25s ease, translate .35s var(--ease), background-color .2s ease;
}
.cta-on .top-links .tl-cta { opacity: 1; translate: 0 0; pointer-events: auto; }
.top-links .tl-cta[aria-current] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .top-links .tl-cta:hover { background: var(--amber-h); border-color: var(--amber-h); color: var(--ink); } }
.sec-nav a.ext::after { display: none; }
.sec-nav a.ext { color: var(--txt); }
.sec-nav a.ext::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--amber); vertical-align: 1px; box-shadow: 0 0 8px var(--amber-glow); }
@media (max-width: 1099px) and (min-width: 900px) { .top-links .tl-team { display: none; } }
@media (max-width: 760px) {
  .top { padding: 10px 14px 10px var(--edge); }
  .mark { font-size: 20px; }
  .top-links .tl-team { display: none; }
  .sec-on .top-links .tl-cta { display: inline-block; font-size: 14px; padding: 9px 11px 8px; }
  .sec-btn { margin-left: 8px; width: 40px; padding: 0; justify-content: center; }
  .sec-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 370px) { .mark { font-size: 18px; } .sec-on .top-links .tl-cta { font-size: 13px; padding: 9px 9px 8px; } }

/* ============ HERO ============ */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; overflow: hidden; }
/* tlo: slowo w pelnej sile nad H1, od linii H1 w dol przygaszone (litery H1 czytaja sie na nim), na dole w noc */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 var(--dim0, 260px), rgba(0, 0, 0, .3) var(--dim1, 320px), rgba(0, 0, 0, .22) 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 var(--dim0, 260px), rgba(0, 0, 0, .3) var(--dim1, 320px), rgba(0, 0, 0, .22) 72%, transparent 100%); }
#world { position: absolute; left: 0; top: 0; display: none; transform-origin: 50% 0;
  transform: translate3d(var(--wx, 0px), var(--wy, 0px), 0) scale(var(--ws, 1));
  /* slowo dochodzi do krawedzi ekranu: tylko waska mgla przy bokach, zeby skrajne A rozplywaly sie w noc */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); }
.gl #world { display: block; }
/* roj 200 OK (fx.js): nad trescia hero, bez zdarzen */
.hero-fx { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 120%, rgba(255, 138, 28, .08), rgba(255, 138, 28, 0) 70%); }
/* bez WebGL: to samo slowo jako kontur z bursztynowym torem (statyczny kadr) */
.word-static { display: none; position: absolute; left: 50%; top: var(--band-top, 84px); width: min(1100px, 92vw); height: auto; translate: -50% 0; overflow: visible; }
.nogl .word-static { display: block; }
.word-static text { font: 900 180px var(--display); letter-spacing: -2px; fill: rgba(228, 232, 240, .05); stroke: rgba(228, 232, 240, .55); stroke-width: 1.4; }
.ws-trail { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; opacity: .9; }
.ws-dot { fill: #FFE7BF; filter: drop-shadow(0 0 10px var(--amber)); }

.hero-in {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(32px, 4vw, 72px);
  align-items: start; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto;
  padding: var(--hero-pt, 300px) var(--gut) 40px;
}
.hero .h1 { grid-column: 1 / -1; margin-bottom: clamp(18px, 2.6vh, 30px); font-size: min(var(--h1), 8.6vh);
  text-shadow: 0 2px 30px rgba(10, 17, 34, .85), 0 0 2px rgba(10, 17, 34, .6); }
.hero .h1 .ln { display: block; white-space: nowrap; }
.hero-text { min-width: 0; }
.lead { margin: 0; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--txt-2); max-width: 60ch; text-shadow: 0 0 18px rgba(10, 17, 34, .9); }
.lead strong { color: var(--txt); font-weight: 800; }
.offer { margin: 14px 0 0; font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.45; color: var(--txt); font-weight: 600; padding-left: 14px; border-left: 2px solid var(--amber); max-width: 60ch; }
.cta-row { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; margin-top: 24px; }
.cred { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--txt-2); max-width: 58ch; }
.cred img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 165, 31, .5), 0 0 0 4px rgba(10, 17, 34, .9); }

/* ---------- panel Network w hero ---------- */
.demo { margin: 0; min-width: 0; align-self: start; position: relative; }
/* naglowek sceny: zdanie z kontraktu jako tytul nad panelem, nie podpis w pasku */
.dm-cap { margin: 0 0 12px; font: 800 clamp(20px, 1.75vw, 26px)/1.15 var(--display); letter-spacing: -.016em; color: var(--txt); text-wrap: balance; }
.dm-box { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(10, 17, 34, .6); font-family: var(--mono); overflow: hidden;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .4s ease, box-shadow .6s ease; }
/* chwila 200 OK: panel na moment rozswietla sie od dolu bursztynem */
.demo.done .dm-box { border-color: rgba(255, 165, 31, .42); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(10, 17, 34, .6), 0 0 60px -18px rgba(255, 165, 31, .35); }
.dm-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: rgba(5, 9, 21, .5); }
.dm-dots { display: flex; gap: 6px; }
.dm-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(228, 232, 240, .16); }
.dm-tab { font-size: 13px; color: var(--txt); padding: 3px 9px; border-radius: 3px; background: rgba(99, 210, 238, .1); }
.dm-req { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.dm-m { font-size: 14px; font-weight: 500; color: var(--ink); background: var(--txt-2); padding: 3px 7px; border-radius: 3px; }
.dm-url { font-size: clamp(19px, 1.75vw, 26px); line-height: 1.2; color: var(--txt); letter-spacing: -.01em; white-space: nowrap; display: inline-block; }
.dm-digit { position: relative; display: inline-block; vertical-align: top; height: 1.2em; line-height: 1.2; margin: 0 0 0 1px; padding: 0 4px; font: inherit; color: var(--ink); background: var(--amber); border: 0; border-radius: 3px; cursor: pointer;
  box-shadow: 0 0 0 0 var(--amber-glow); transition: box-shadow .3s ease, transform .16s var(--ease); -webkit-tap-highlight-color: transparent; }
.dm-digit::before { content: ""; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; translate: -50% -50%; } /* pole dotyku min. 44 px */
.dm-digit:active { transform: scale(.94); }
.dm-digit .roll { display: block; height: 1.2em; }
.dm-digit .roll-in > span { height: 1.2em; line-height: 1.2; }
.demo.armed .dm-digit { box-shadow: 0 0 0 4px rgba(255, 165, 31, .25), 0 0 24px 2px var(--amber-glow); }
/* po petli cyfra kilka razy delikatnie pulsuje: zaproszenie do klikniecia */
.demo.idle .dm-digit { animation: dm-pulse 1.8s var(--ease) .6s 4; }
@keyframes dm-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 165, 31, 0); } 40% { box-shadow: 0 0 0 6px rgba(255, 165, 31, .22), 0 0 22px 2px var(--amber-glow); } }
.dm-hint { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--amber); transition: opacity .3s ease; }
.dm-hint svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.demo.playing .dm-hint { opacity: .4; }
.dm-log { list-style: none; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dm-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px 56px auto; gap: 10px; align-items: center; padding: 8px 18px; font-size: 14px; color: var(--txt-2); }
.dm-row .c-p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--txt); }
.dm-row .c-s { color: var(--cyjan); position: relative; }
.dm-row .c-z { color: var(--txt-3); text-align: right; }
.dm-row .c-o { font-size: 12.5px; color: var(--txt-3); text-align: right; white-space: nowrap; }
.dm-row.r2 { background: linear-gradient(90deg, rgba(255, 165, 31, .16), rgba(255, 165, 31, .03)); box-shadow: inset 2px 0 0 var(--amber); }
.dm-row.r2 .c-p, .dm-row.r2 .c-o { color: #FFD08A; }
.dm-row.r2 .c-s .ok { color: var(--amber); font-weight: 500; }
.dm-row.r2 .wait { position: absolute; left: 0; top: 50%; width: 36px; height: 2px; margin-top: -1px; background: rgba(255, 165, 31, .25); overflow: hidden; display: none; }
.dm-row.r2 .wait::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--amber); animation: dm-wait .7s linear infinite; }
@keyframes dm-wait { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
/* stany petli: r2 ukryty, czeka, odpowiedz */
.demo .r2 { opacity: 0; transform: translateY(-4px); transition: opacity .22s ease, transform .3s var(--ease); }
.demo.sent .r2, .demo.done .r2 { opacity: 1; transform: none; }
.demo.sent:not(.done) .r2 .ok, .demo.sent:not(.done) .r2 .c-z, .demo.sent:not(.done) .r2 .c-o { visibility: hidden; }
.demo.sent:not(.done) .r2 .wait { display: block; }
.dm-resp { padding: 14px 18px 16px; transition: opacity .3s ease; }
.demo:not(.done) .dm-resp { opacity: .28; }
.demo:not(.done) .dm-resp pre { filter: blur(3px); }
.dm-rh { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 12.5px; color: var(--txt-3); }
.dm-rh b { font-weight: 500; color: var(--amber); }
.demo:not(.done) .dm-rh b { visibility: hidden; }
.dm-resp pre { margin: 0; font: 14px/1.6 var(--mono); color: #CFE9F5; white-space: pre-wrap; transition: filter .35s ease; }
.dm-resp code { background: none; padding: 0; font-size: inherit; white-space: pre-wrap; }
/* w trakcie roju tekst odpowiedzi jest schowany: sklada go roj, potem przejmuje DOM */
.dm-resp pre, .dm-sum { transition: opacity .45s ease, filter .35s ease; }
.demo.fx .dm-resp pre, .demo.fx .dm-sum { opacity: 0; transition: none; }
.dm-sum { display: none; }

/* ============ ZWIASTUN: tablica skanera ============ */
.sk { padding: clamp(64px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); }
.sk-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.sk-t .h2 { margin-bottom: 18px; }
.go { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; font: 800 19px/1.2 var(--display); color: var(--amber); text-decoration: none;
  padding: 10px 0; border-bottom: 2px solid rgba(255, 165, 31, .35); transition: border-color .2s ease, gap .3s var(--ease); }
.go svg { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .go:hover { border-color: var(--amber); gap: 16px; } }
/* korytarz bramek (zwiastun): linie jak w swiecie 3D starej strony, plasko, bez udawanych bryl */
.gates { position: relative; margin: 0; }
.gt-svg { display: block; width: 100%; height: auto; overflow: visible; }
.gt-svg path, .gt-svg line { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.gt-floor path { stroke: rgba(99, 210, 238, .2); stroke-width: 1.2; }
.gt-floor .gt-rung { stroke: rgba(99, 210, 238, .12); }
.gt-track { stroke: rgba(38, 58, 102, .9); stroke-width: 1.5; stroke-dasharray: 2 7; }
.gt-sig { stroke: var(--amber); stroke-width: 2.4; stroke-dasharray: var(--gl, 900) var(--gl, 900); stroke-dashoffset: var(--go, 900); filter: drop-shadow(0 0 5px rgba(255, 165, 31, .7)); }
.gt-gate .gt-back { stroke: rgba(99, 210, 238, .22); stroke-width: 1.2; }
.gt-gate .gt-link { stroke: rgba(99, 210, 238, .22); stroke-width: 1.2; }
.gt-sheet { opacity: .25; transition: opacity .35s ease; }
.gt-glow { opacity: 0; transition: opacity .45s ease; }
.gt-gate.on .gt-sheet { opacity: 1; }
.gt-gate.on .gt-glow { opacity: 1; }
.gt-gate .gt-front { stroke: rgba(99, 210, 238, .5); stroke-width: 2.2; transition: stroke .35s ease, filter .35s ease; }
.gt-k { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; text-anchor: middle; fill: rgba(228, 232, 240, .55); transition: fill .35s ease; }
.gt-v { font-family: var(--mono); text-anchor: middle; fill: rgba(228, 232, 240, .42); transition: fill .35s ease; }
/* bramka przepuscila request: zapala sie na turkusowo (kontrola przeszla, bo request jest poprawny) */
.gt-gate.on .gt-front { stroke: var(--cyjan); filter: drop-shadow(0 0 7px rgba(99, 210, 238, .75)); }
.gt-gate.on .gt-k { fill: var(--cyjan); }
.gt-gate.on .gt-v { fill: rgba(99, 210, 238, .85); }
/* pusta brama: przerywana, bursztynowa, nic jej nie zapala */
.gt-x .gt-front { stroke: rgba(255, 165, 31, .85); stroke-width: 2.2; stroke-dasharray: 7 7; }
.gt-x .gt-back, .gt-x .gt-link { stroke: rgba(255, 165, 31, .35); stroke-dasharray: 4 6; }
.gt-x .gt-k { fill: var(--amber); }
.gt-x .gt-v { fill: #FFD08A; }
.gt-x.hit .gt-front { filter: drop-shadow(0 0 10px rgba(255, 165, 31, .8)); }
.gt-pool { opacity: .5; transition: opacity .5s ease; }
.gates.leak .gt-pool { opacity: 1; }
.gt-ping { opacity: 0; }
.gt-core { fill: #FFF3DC; }
.gt-out { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; margin: 4px 0 0; padding-right: 2%; font: 500 15px/1 var(--mono); color: var(--txt-3); }
.gt-out-v { font: 800 clamp(30px, 3vw, 44px)/1 var(--display); letter-spacing: -.02em; color: var(--txt-3); transition: color .4s ease, text-shadow .4s ease; }
.gates.leak .gt-out-v { color: var(--amber); text-shadow: 0 0 24px rgba(255, 165, 31, .45); }
.gates.leak .gt-out-k { color: var(--txt-2); }

/* ============ JAK WYGLADA SZKOLENIE ============ */
.nk { padding: clamp(40px, 5vw, 70px) 0 clamp(48px, 6vw, 80px); }
.nk > .wrap2 > .h2 { max-width: 20ch; }
.steps { list-style: none; margin: clamp(30px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 22px 24px 4px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.step.on::before { transform: scaleX(1); }
.st-n { font: 500 13px/1 var(--mono); color: var(--txt-3); transition: color .3s ease; }
.step.on .st-n { color: var(--amber); }
.step h3 { margin: 10px 0 8px; font: 800 clamp(24px, 2.2vw, 32px)/1.05 var(--display); letter-spacing: -.02em; }
.step p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--txt-2); }
.diff { display: grid; gap: 2px; margin-top: 12px !important; font: 12.5px/1.5 var(--mono) !important; }
.diff span { padding: 2px 8px; border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diff .del { color: #FFB4B4; background: rgba(255, 74, 74, .1); text-decoration: line-through; text-decoration-color: rgba(255, 180, 180, .5); }
.diff .add { color: #B9F5DD; background: rgba(82, 227, 180, .1); }

.apps { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(56px, 6vw, 88px); align-items: start; }
.apps-h { position: sticky; top: 96px; }
.apps-h .h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; margin-bottom: 14px; }
.apps-h p { margin: 0; color: var(--txt-2); font-size: 17px; }
.net { background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.net-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) 54px; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--txt-3); background: rgba(5, 9, 21, .45); }
.net-head span:last-child { text-align: right; }
.net-list { list-style: none; margin: 0; padding: 0; }
.mi { display: grid; grid-template-columns: 64px minmax(0, 1fr) 54px; grid-template-rows: auto auto; gap: 2px 14px; padding: 11px 18px; border-bottom: 1px solid rgba(99, 210, 238, .08); align-items: baseline; }
.mi .c { grid-row: 1 / 3; font: 500 13px/1.6 var(--mono); color: var(--txt-3); }
.mi .g { font-size: 17.5px; line-height: 1.3; font-weight: 600; color: var(--txt); }
.mi .t { grid-column: 2; font: 13px/1.4 var(--mono); color: rgba(99, 210, 238, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi .s { grid-column: 3; grid-row: 1; justify-self: end; font: 500 13px/1.6 var(--mono); color: var(--txt-3); position: relative; }
/* status: najpierw czeka (kreska), przy przejsciu nici dostaje 200 */
.js .mi .s { color: transparent; }
.js .mi .s::after { content: "..."; position: absolute; right: 0; top: 0; color: var(--txt-3); }
.js .mi.ok .s { color: var(--cyjan); }
.js .mi.ok .s::after { content: none; }
.mi.ok .c { color: var(--txt-2); }
.mi.ai .c { color: rgba(255, 165, 31, .8); }
.ai-row { padding: 22px 18px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 165, 31, .12), rgba(255, 165, 31, 0) 70%); box-shadow: inset 2px 0 0 var(--amber); }
.ai-q { margin: 0; font: 800 clamp(21px, 1.9vw, 27px)/1.18 var(--display); letter-spacing: -.016em; color: var(--txt); text-wrap: balance; }
.net-foot { margin: 0; padding: 12px 18px 14px; font: 13px/1.4 var(--mono); color: var(--txt-3); }

/* ============ SZKOLENIE: zwrotnica Online / Live ============ */
.fm { padding: clamp(40px, 5vw, 70px) 0 clamp(48px, 6vw, 80px); }
.fm-sub { margin: 14px 0 0; font-size: clamp(17px, 1.35vw, 20px); color: var(--txt-2); max-width: 46ch; text-wrap: pretty; }
.fork { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 84px); margin-top: clamp(64px, 7vw, 96px); }
.fork-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.fork-svg path { fill: none; vector-effect: non-scaling-stroke; }
.fk-base { stroke: var(--kabel); stroke-width: 1.5; }
.fk-sig { stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; transition: opacity .3s ease; }
.fork.pick-on .fk-sig.fk-b, .fork.pick-live .fk-sig.fk-a { opacity: .18; }
.fm-tabs { display: none; }
.fm-c { position: relative; display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.fm-w { margin: 0 0 14px; font: 900 clamp(56px, 5.2vw, 80px)/.86 var(--display); letter-spacing: -.035em; color: var(--txt); transition: color .3s ease; }
.fork.pick-on .fm-live .fm-w, .fork.pick-live .fm-on .fm-w { color: rgba(228, 232, 240, .42); }
.fm-who { margin: 0 0 16px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.35; font-weight: 600; color: var(--txt); }
.fm-l { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.fm-l li { position: relative; padding-left: 22px; font-size: 17.5px; line-height: 1.45; color: var(--txt-2); }
.fm-l li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--kabel); }
.fm-on .fm-l li::before { background: var(--amber); }
.fm-l b { color: var(--txt); font-weight: 700; }
.fm-c .btn { align-self: flex-start; margin-top: auto; min-width: 280px; }
.fm-c .btn-ghost { min-height: 56px; font-size: 19px; }
.anchor { position: absolute; top: -120px; }

/* ============ O MNIE ============ */
.me { padding: clamp(40px, 5vw, 70px) 0 clamp(40px, 5vw, 70px); }
.me-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(36px, 5vw, 88px); row-gap: 40px; align-items: end; }
.me-ph { position: relative; margin: 0; aspect-ratio: 1; max-width: 460px; isolation: isolate; }
.me-ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 46%, #000 70%, transparent 100%);
  clip-path: inset(var(--rev, 0%) 0 0 0); transition: clip-path .9s var(--ease); }
.js .me-ph:not(.in) img { --rev: 100%; }
.me-glow { position: absolute; z-index: 0; left: 8%; right: 8%; top: 10%; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 165, 31, .42), rgba(255, 165, 31, 0));
  filter: blur(18px); opacity: 0; transform: scale(.7); transition: opacity 1s ease .2s, transform 1.2s var(--ease) .2s; }
.me-ph.in .me-glow { opacity: 1; transform: scale(1); }
.me-t .h2 { font-size: clamp(36px, 4.2vw, 64px); }
.facts { list-style: none; margin: 26px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts li { display: grid; align-content: start; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.facts b { font: 900 clamp(32px, 3.2vw, 50px)/.9 var(--display); letter-spacing: -.03em; color: var(--txt); }
.facts span { font-size: 14.5px; line-height: 1.4; color: var(--txt-2); }
.me-p { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--txt-2); max-width: 58ch; }
.me-p strong { color: var(--txt); font-weight: 700; }
.conf { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
.conf-h { margin: 0 0 16px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--txt-2); }
.conf ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.conf li { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; line-height: 1.2; font-weight: 600; color: var(--txt); }
.conf img { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff; }

/* ============ PYTANIA ============ */
.faq { padding: clamp(40px, 5vw, 80px) 0 clamp(48px, 6vw, 90px); }
.qa-list { margin: clamp(28px, 3.5vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.qa { position: relative; padding-top: 20px; border-top: 1px solid var(--line-2); }
.qa::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.qa.on::before { transform: scaleX(1); }
.qa dt { margin: 0 0 12px; font: 800 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.018em; color: var(--txt); }
.qa dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--txt-2); }

/* ============ ZAPIS ============ */
#zapis { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 6vw, 80px); background: none; }
#zapis .z-head { margin: 0 0 clamp(36px, 4.5vw, 60px); text-align: left; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.0; }
#zapis .z-head .ln { background: none; padding: 0; display: block; margin: 0; width: auto; }
.exits { width: 100%; margin: 0; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 84px); align-items: stretch; }
.exit { padding-left: 0; }
.x-word { font-size: clamp(30px, 2.8vw, 44px); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.x-p { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--txt-2); max-width: 44ch; }
.sform input { background: rgba(5, 9, 21, .7); }
.sform button { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--ink); background: var(--amber); border-color: var(--amber); min-height: 58px; }
@media (hover: hover) and (pointer: fine) { .sform button:hover { background: var(--amber-h); border-color: var(--amber-h); } }
/* zespol: spokojna karta z obrysem, nie jasniejsza od formularza; adres zawsze w jednej linii */
.team-btn { --ex: 0px; margin: 0; display: grid; gap: 8px; padding: 20px 22px; color: var(--txt); background: rgba(14, 23, 48, .8); border: 1px solid rgba(228, 232, 240, .3);
  box-shadow: none; border-radius: 4px; container-type: normal; }
.team-btn:active { transform: scale(.98); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .team-btn:hover { background: rgba(18, 29, 58, .95); border-color: var(--txt); } }
.team-btn .tb-s { font: 800 20px/1.2 var(--display); color: var(--txt); }
.team-btn .tb-l { font: 500 clamp(14px, 1.2vw, 16px)/1.3 var(--mono); color: var(--cyjan); letter-spacing: 0; white-space: nowrap; }
.team-btn::before { left: -5px; }

/* ---------- stopka ---------- */
.foot { background: var(--ink); }

/* ============ NIC: jeden bursztynowy tor przez strone ============ */
.nic { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.nic path { fill: none; vector-effect: non-scaling-stroke; }
.nic-base { stroke: rgba(38, 58, 102, .8); stroke-width: 1.5; }
.nic-sig { stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.nic-dot { position: absolute; left: 0; top: 0; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #FFE2B0;
  box-shadow: 0 0 0 3px rgba(255, 165, 31, .35), 0 0 18px 4px var(--amber-glow); pointer-events: none; opacity: 0; }
.nogl .nic-dot, .rm .nic-dot { display: none; }

/* ============ PIGULKA (telefon) ============ */
.pill { display: none; }
@media (max-width: 760px) {
  .pill {
    display: flex; align-items: center; justify-content: center; position: fixed; z-index: 30; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    translate: -50% 140%; opacity: 0; pointer-events: none; min-height: 50px; padding: 0 26px; border-radius: 999px;
    font: 800 18px/1 var(--display); color: var(--ink); background: var(--amber); text-decoration: none; white-space: nowrap;
    box-shadow: 0 0 0 4px rgba(10, 17, 34, .75), 0 14px 30px -8px rgba(0, 0, 0, .8);
    transition: opacity .2s ease, translate .3s var(--ease);
  }
  .pill-on .pill { opacity: 1; translate: -50% 0; pointer-events: auto; transition: opacity .3s var(--ease), translate .4s var(--ease); }
  .pill:active { scale: .97; }
  .sec-open .pill { opacity: 0; pointer-events: none; }
  .pill-fade { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 92px; z-index: 29; pointer-events: none; opacity: 0;
    background: linear-gradient(to top, rgba(10, 17, 34, .94) 30%, rgba(10, 17, 34, 0)); transition: opacity .3s ease; }
  .pill-on .pill-fade { opacity: 1; }
}
.pill-fade { display: none; }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .pill, .pill-on .pill { translate: -50% 0; } }

/* ============ SREDNI EKRAN ============ */
@media (max-width: 1100px) and (min-width: 761px) {
  .conf ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .hero-in { grid-template-columns: 1fr; }
  .demo { margin-top: 36px; max-width: 620px; }
  .sk-in, .apps { grid-template-columns: 1fr; }
  .apps-h { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .qa-list { grid-template-columns: 1fr; }
}

/* ============ TELEFON ============ */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .word-static { --band-top: 54px; width: calc(100vw - 32px); }
  /* telefon: slowo na cala szerokosc, pod nim wprost H1 i zwarty panel ataku (widoczny bez scrolla) */
  .hero-bg { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 var(--dim0, 140px), rgba(0, 0, 0, .45) var(--dim1, 190px), rgba(0, 0, 0, .2) 40%, transparent 62%);
    mask-image: linear-gradient(to bottom, #000 0, #000 var(--dim0, 140px), rgba(0, 0, 0, .45) var(--dim1, 190px), rgba(0, 0, 0, .2) 40%, transparent 62%); }
  #world { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); }
  .hero { min-height: 0; }
  .hero-in { display: flex; flex-direction: column; padding: var(--hero-pt, 150px) 18px 0 var(--edge); }
  .hero .h1 { margin-bottom: 14px; font-size: var(--h1); }
  .hero .h1 .ln { display: inline; white-space: normal; }
  .hero-text { order: 3; }
  .demo { order: 2; margin: 0 0 16px; }
  .lead { font-size: 15.5px; line-height: 1.5; }
  .offer { margin-top: 10px; font-size: 14.5px; padding-left: 10px; }
  .cta-row { margin-top: 16px; gap: 8px; flex-wrap: nowrap; }
  .cta-row .btn { min-height: 50px; padding: 0 12px; }
  .cta-row .btn-main { flex: 1.3 1 0; font-size: 18px; white-space: nowrap; }
  .cta-row .btn-ghost { flex: 1 1 0; font-size: 15px; min-height: 50px; white-space: nowrap; text-align: center; line-height: 1.1; }
  .cred { margin-top: 14px; font-size: 13px; gap: 10px; }
  .cred img { width: 34px; height: 34px; }
  /* zwarty panel: tytul sceny, request z cyfra i jedna linia odpowiedzi (log i JSON tylko na desktopie) */
  .dm-cap { font-size: 17px; margin-bottom: 8px; }
  .dm-box { border-radius: 5px; }
  .dm-bar, .dm-log, .dm-resp { display: none; }
  .dm-req { padding: 11px 12px 9px; gap: 4px 10px; border-bottom: 0; flex-wrap: nowrap; }
  .dm-url { font-size: 17px; }
  .dm-m { font-size: 12.5px; }
  .dm-req { min-width: 0; }
  .dm-hint { margin-left: auto; font-size: 12px; white-space: nowrap; }
  .dm-hint svg { display: none; }
  .demo { min-width: 0; max-width: 100%; align-self: stretch; }
  .dm-sum { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px 10px; border-top: 1px solid var(--line); font: 13px/1.3 var(--mono); color: var(--txt-2); min-height: 18px; }
  .ds-ok { font-weight: 500; color: var(--amber); }
  .ds-t { color: #FFD08A; }
  .demo:not(.done) .dm-sum > * { visibility: hidden; }
  .demo.sent:not(.done) .dm-sum::before { content: ""; width: 46px; height: 2px; background: linear-gradient(90deg, rgba(255, 165, 31, .2), var(--amber), rgba(255, 165, 31, .2)); background-size: 200% 100%; animation: dm-sum-wait .7s linear infinite; position: absolute; left: 12px; top: 50%; }
  .dm-sum { position: relative; }
  @media (max-width: 384px) { .dm-hint { display: none; } }
  /* niski telefon: ciasniej, zeby przyciski zostaly nad zgieciem */
  @media (max-height: 720px) {
    .hero .h1 { margin-bottom: 10px; }
    .dm-cap { font-size: 16px; margin-bottom: 6px; }
    .demo { margin-bottom: 12px; }
    .dm-req { padding: 9px 12px 7px; }
    .dm-sum { padding: 7px 12px 8px; }
    .lead { font-size: 15px; line-height: 1.45; }
    .offer { margin-top: 8px; font-size: 14px; line-height: 1.4; }
    .cta-row { margin-top: 12px; }
    .cta-row .btn { min-height: 48px; }
  }
  @keyframes dm-sum-wait { from { background-position: 100% 0; } to { background-position: -100% 0; } }

  .sk { padding: 52px 0 56px; }
  .sk-in { grid-template-columns: 1fr; gap: 26px; }
  .p-lg { font-size: 16.5px; }
  .go { font-size: 18px; margin-top: 18px; }
  .gt-out { justify-content: flex-start; padding: 0; margin-top: 8px; font-size: 14px; }
  .gt-out-v { font-size: 34px; }

  .nk { padding: 24px 0 64px; }
  .steps { grid-template-columns: 1fr; margin-top: 26px; border-top: 0; }
  .step, .step + .step { padding: 14px 0 14px 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
  .step::before { top: -1px; }
  .st-n { grid-row: 1 / 4; padding-top: 6px; }
  .step h3 { margin: 0 0 4px; font-size: 22px; }
  .step p { font-size: 15.5px; grid-column: 2; }
  .diff { grid-column: 2; font-size: 12px !important; }
  .apps { grid-template-columns: 1fr; margin-top: 44px; gap: 18px; }
  .apps-h { position: static; }
  .apps-h .h3 { font-size: 23px; }
  .apps-h p { font-size: 15.5px; }
  .net { margin: 0; }
  .net-head { grid-template-columns: 48px minmax(0, 1fr) 36px; padding: 9px 12px; gap: 10px; }
  .mi { grid-template-columns: 48px minmax(0, 1fr) 36px; padding: 10px 12px; gap: 2px 10px; }
  .mi .c { font-size: 12px; }
  .mi .g { font-size: 16px; }
  .mi .t { font-size: 13px; }
  .mi .s { font-size: 12.5px; }
  .ai-row { padding: 18px 12px 16px; }
  .ai-q { font-size: 20px; }
  .net-foot { padding: 10px 12px 12px; }

  .fm { padding: 40px 0 56px; }
  .fm-sub { font-size: 16.5px; }
  .fork { display: block; margin-top: 30px; }
  .fm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; padding-top: 28px; }
  .fm-tab { position: relative; text-align: left; padding: 10px 0 12px 14px; font: 900 var(--h1)/1 var(--display); letter-spacing: -.03em; color: rgba(228, 232, 240, .42);
    background: none; border: 0; border-bottom: 2px solid var(--line-2); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s ease, border-color .25s ease; }
  .fm-tab[aria-selected="true"] { color: var(--txt); border-bottom-color: var(--amber); }
  .fm-w { display: none; }
  .fm-c[hidden] { display: none; }
  .fm-who { font-size: 18px; margin-bottom: 12px; }
  .fm-l li { font-size: 16px; }
  .fm-l { margin-bottom: 20px; }
  .fm-c .btn { align-self: stretch; min-width: 0; }

  .me { padding: 40px 0 48px; }
  .me-in { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; row-gap: 0; align-items: center; }
  .me-ph { grid-column: 1; grid-row: 1; width: 96px; }
  .me-ph img { border-radius: 50%; -webkit-mask-image: none; mask-image: none; }
  .me-t { display: contents; }
  .me-t .kick { grid-column: 2; grid-row: 1; align-self: start; margin: 18px 0 0; }
  .me-t .h2 { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 16px; font-size: var(--h2); }
  .facts, .me-p { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; gap: 0; margin: 22px 0 18px; }
  .facts li { grid-template-columns: 104px 1fr; align-items: baseline; gap: 10px; padding: 10px 0; }
  .facts b { font-size: 27px; }
  .facts span { font-size: 14.5px; }
  .me-p { font-size: 16px; }
  .conf { margin-top: 26px; }
  .conf ul { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .conf li { font-size: 13.5px; gap: 10px; }
  .conf img { width: 36px; height: 36px; border-radius: 6px; }

  .faq { padding: 32px 0 48px; }
  .qa-list { grid-template-columns: 1fr; gap: 26px; margin-top: 22px; }
  .qa { padding-top: 14px; }
  .qa dt { font-size: 21px; margin-bottom: 8px; }
  .qa dd { font-size: 15.5px; }

  #zapis { padding: 40px 0 96px; }
  #zapis .z-head { font-size: var(--h2); margin-bottom: 28px; }
  .exits { grid-template-columns: 1fr; gap: 30px; }
  .exit { padding-left: 0; }
  .x-word { font-size: 26px; }
  .x-p { font-size: 15.5px; margin-bottom: 14px; }
  .team-btn { padding: 16px 16px; }
  .team-btn .tb-s { font-size: 18px; }
  .team-btn .tb-l { font-size: 14px; }

}

/* ---------- reduced motion: stany koncowe od razu ---------- */
.rm .step::before, .rm .qa::before { transition: none; }
.rm .me-ph img { transition: none; }
.rm .me-glow { transition: none; }

/* =====================================================================================
   PODBICIE (po weryfikacji): glebia i zycie pod hero, telefon, szlif P2
   ===================================================================================== */

/* ---------- naglowki: lamanie ---------- */
@media (min-width: 900px) {
  .nk > .wrap2 > .h2 { max-width: none; }
  .nk > .wrap2 > .h2 .ln { display: block; }
}
@media (max-width: 760px) { .h1, .h2 { text-wrap: balance; } }

/* ---------- nic: swiecaca glowa z ogonem (dlugosc ogona = predkosc scrolla) ---------- */
.nic-tail { position: absolute; left: 0; top: 0; z-index: 2; width: 3px; height: 160px; margin-left: -1.5px; pointer-events: none; border-radius: 2px;
  background: linear-gradient(to top, rgba(255, 226, 176, .95), rgba(255, 165, 31, .55) 30%, rgba(255, 165, 31, 0));
  transform-origin: 50% 100%; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 165, 31, .7)); will-change: transform; }
.nic-tail.up { background: linear-gradient(to bottom, rgba(255, 226, 176, .95), rgba(255, 165, 31, .55) 30%, rgba(255, 165, 31, 0)); transform-origin: 50% 0; }
.nic-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; box-shadow: 0 0 0 4px rgba(255, 165, 31, .28), 0 0 22px 6px var(--amber-glow), 0 0 60px 12px rgba(255, 165, 31, .18); }
.nogl .nic-tail, .rm .nic-tail { display: none; }

/* ---------- misje: panel z lekka perspektywa, poswiata jedzie z nicia, wiersz blyska przy 200 ---------- */
.net { position: relative; }
.net::after { content: ""; position: absolute; left: 0; right: 0; top: var(--ny, -400px); height: 260px; margin-top: -130px; pointer-events: none;
  background: radial-gradient(60% 50% at 0% 50%, rgba(255, 165, 31, .13), rgba(255, 165, 31, 0) 70%); }
@media (min-width: 961px) and (hover: hover) {
  .apps { perspective: 1800px; }
  .net { transform: rotateY(-5deg) rotateX(1.5deg); transform-origin: 0% 50%; box-shadow: 30px 40px 90px -40px rgba(0, 0, 0, .9), -1px 0 0 rgba(255, 165, 31, .18); }
}
.mi { position: relative; }
.mi::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 165, 31, .26), rgba(255, 165, 31, .06) 45%, rgba(255, 165, 31, 0) 80%); box-shadow: inset 2px 0 0 var(--amber); }
.mi.hit::before { animation: mi-hit 1.1s var(--ease) both; }
@keyframes mi-hit { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.js .mi.hit .s { animation: mi-pop .5s var(--ease) both; }
@keyframes mi-pop { 0% { transform: scale(1.6); color: var(--amber); text-shadow: 0 0 12px var(--amber-glow); } 100% { transform: scale(1); } }
.mi .t { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.net-head { font-size: 13px; }

/* ---------- Online / Live: tor wpada w slowo i wypelnia je bursztynem od strony toru ---------- */
.fm-w, .fm-tab { --f: -0.08; }
.fm-w { font-size: max(44px, min(5vw, 8.2vh, 80px)); background: linear-gradient(90deg, var(--amber) 0, #FFC266 calc(var(--f) * 100% - 6%), var(--txt) calc(var(--f) * 100% + 6%));
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; transition: opacity .3s ease; }
.fork.pick-on .fm-live .fm-w, .fork.pick-live .fm-on .fm-w { color: transparent; opacity: .4; }
.fm-l li::before { background: rgba(255, 165, 31, .55); }
.fm-on .fm-l li::before, .fm-live .fm-l li::before { background: var(--amber); }

/* ---------- O mnie: gdy dojdzie sygnal, swiatlo wjezdza za portret od strony nici i rozgrzewa sie ---------- */
.me-ph.in .me-glow { animation: me-light 1.6s var(--ease) .15s both; }
@keyframes me-light { 0% { opacity: 0; transform: translateX(-45%) scale(.7); } 45% { opacity: 1; filter: blur(18px) brightness(1.7); } 100% { opacity: 1; transform: none; filter: blur(18px) brightness(1); } }
/* ---------- komunikat sukcesu, drobne mono ---------- */
.form-msg.ok .ok-t { font-size: 17px; }
.sec-nav a, .foot .mono { font-size: 13px; }

/* ---------- naglowek: ukryty przycisk nie zajmuje miejsca (Dla zespolu przy prawej krawedzi) ---------- */
.top-links .tl-cta { max-width: 0; padding-left: 0; padding-right: 0; border-width: 0; overflow: hidden; white-space: nowrap; margin-left: -20px; }
.cta-on .top-links .tl-cta { max-width: 260px; padding-left: 14px; padding-right: 14px; border-width: 1px; margin-left: 0; transition: opacity .25s ease, translate .35s var(--ease), max-width .35s var(--ease), padding .35s var(--ease), margin .35s var(--ease); }
/* telefon: po zejsciu z hero pelne tlo naglowka (przewijane naglowki nie przechodza pod logo) */
@media (max-width: 760px) {
  .top::before { inset: 0; background: rgba(10, 17, 34, 0); transition: background-color .25s ease; }
  .scrolled .top::before { background: rgba(10, 17, 34, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(99, 210, 238, .1); }
  .sec-btn { min-height: 40px; }
  .sec-on .top-links .tl-cta { min-height: 40px; display: inline-flex; align-items: center; }
}

/* ---------- telefon: korytarz bramek bez drobnych podpisow, wieksze etykiety ---------- */
@media (max-width: 760px) {
  .gates { margin: 0 -18px 0 calc(-1 * var(--edge) + 8px); }
  .gt-v { display: none; }
  .gt-gate[data-i="0"] .gt-k { font-size: 24px; }
  .gt-gate[data-i="1"] .gt-k { font-size: 27px; }
  .gt-gate[data-i="2"] .gt-k { font-size: 30px; }
  .gt-gate[data-i="3"] .gt-k { font-size: 28px; }
  .gt-out { padding-left: 14px; }
}

/* ---------- telefon: Online / Live jako wielkie slowa (nie zakladki) ---------- */
@media (max-width: 760px) {
  .fm-tabs { gap: 0; padding-top: 34px; margin-bottom: 20px; }
  .fm-tab { padding: 4px 0 10px 14px; font: 900 clamp(42px, 13vw, 56px)/.9 var(--display); letter-spacing: -.04em; border-bottom: 0;
    color: transparent; -webkit-text-stroke: 1.4px rgba(228, 232, 240, .5); background: none; transition: -webkit-text-stroke-color .25s ease, opacity .25s ease; }
  .fm-tab[aria-selected="true"] { -webkit-text-stroke: 0 transparent;
    background: linear-gradient(90deg, var(--amber) 0, #FFC266 calc(var(--f) * 100% - 6%), var(--txt) calc(var(--f) * 100% + 6%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .fm-tab::after { content: ""; position: absolute; left: 14px; right: 18%; bottom: 0; height: 3px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
  .fm-tab[aria-selected="true"]::after { transform: scaleX(1); }
  .fm-tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
}

/* zapis: bez ciemnej sciezki bazowej (rysowala polramke wokol formularza, zanim doszedl sygnal) */
.z-rib .z-base { stroke-opacity: 0; }
/* szeroki ekran: szersza kolumna, sekcje nie wygladaja na male */
@media (min-width: 1700px) { :root { --maxw: 1380px; } }
/* bez JS: slowo statyczne i miejsce nad H1 jak w ?nogl */
.no-js .word-static { display: block; }
/* portret: miekka winieta zamiast owalu, zeby nie wygladal na wklejony (desktop) */
@media (min-width: 761px) {
  .me-ph img { -webkit-mask-image: radial-gradient(ellipse 66% 70% at 50% 40%, #000 52%, transparent 100%), linear-gradient(to bottom, #000 62%, transparent 98%);
    -webkit-mask-composite: source-in;
    mask-image: radial-gradient(ellipse 66% 70% at 50% 40%, #000 52%, transparent 100%), linear-gradient(to bottom, #000 62%, transparent 98%);
    mask-composite: intersect; }
  .me-glow { left: 0; right: 0; top: 4%; bottom: 10%; background: radial-gradient(closest-side, rgba(255, 165, 31, .3), rgba(255, 165, 31, 0)); mix-blend-mode: screen; }
}
/* reduced motion: bez blyskow i wjazdow */
.rm .me-ph.in .me-glow, .rm .mi.hit::before, .rm .js .mi.hit .s, .rm .demo.idle .dm-digit { animation: none; }
.rm .me-glow { opacity: 1; transform: none; }

/* ?nogl na telefonie: statyczne slowo z marginesem, nie dotyka krawedzi */
@media (max-width: 760px) { .word-static text { font-size: 150px; } }
