/* Strona główna: logo na środku, pod nim rozmyte tło z powitanie.js. Bez WebGL zostaje ten sam kolor z gradientu. */
@font-face{font-family:Asap;font-weight:400;font-display:swap;src:url(/zasoby/tfo/asap-400.woff2) format('woff2')}
@font-face{font-family:Asap;font-weight:600;font-display:swap;src:url(/zasoby/tfo/asap-600.woff2) format('woff2')}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:radial-gradient(90% 80% at 68% 34%,#1B4F96 0%,#0A2C5A 46%,#041A38 100%)}
.scena{position:fixed;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.8s ease}
.scena.jest{opacity:1}
/* drobne ziarno jak na odbitce, nie rusza się i nic nie kosztuje */
body::after{content:"";position:fixed;inset:0;pointer-events:none;opacity:.2;mix-blend-mode:overlay;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='z'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23z)'/%3E%3C/svg%3E")}
.powitanie{position:fixed;inset:0;display:grid;place-items:center;padding:16px}
/* wejście logo liczy powitanie.js: znak stoi w miejscu i powoli się wyostrza */
.logo{display:block;width:min(460px,72vw);height:auto;overflow:visible}
.lico{fill:#D5DFEE}
.blask{animation:blask 7s ease-in-out 1.6s infinite alternate both}
@keyframes blask{from{transform:translateX(0)}to{transform:translateX(354px)}}
@media (prefers-reduced-motion:reduce){.wejscie h1,.wejscie__pole,.wejscie__formularz{animation:none}.blask{animation:none;transform:translateX(150px)}.scena{transition:none}}

/* wejście do oferty i logowanie: bez karty, te same kręgi, treść stoi na środku */
.wejscie{position:relative;z-index:1;width:min(460px,100%);display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;font-family:Asap,system-ui,sans-serif}
.wejscie .logo{width:min(230px,58%)}
.wejscie h1{margin:clamp(26px,4.4vh,40px) 0 0;font-size:clamp(20px,1.7vw,24px);font-weight:400;line-height:1.25;color:rgba(255,255,255,.86);overflow-wrap:anywhere;animation:tresc 1.6s ease 1s both}
.wejscie__pole{position:relative;width:100%;margin-top:clamp(24px,4vh,36px);animation:tresc 1.6s ease 1.5s both}
.wejscie__pole input{display:block;width:100%;font:400 17px/1.3 Asap,system-ui,sans-serif;color:#fff;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.18);border-radius:40px;padding:18px 70px 18px 26px;transition:border-color .3s,background-color .3s}
.wejscie__pole input::placeholder{color:rgba(255,255,255,.5)}
.wejscie__pole input:hover{border-color:rgba(255,255,255,.3)}
.wejscie__pole input:focus{outline:0;border-color:rgba(253,195,0,.75);background:rgba(255,255,255,.07)}
.wejscie__pole button{position:absolute;right:7px;top:50%;margin-top:-23px;width:46px;height:46px;border:0;border-radius:50%;background:#FDC300;color:#052145;display:grid;place-items:center;cursor:pointer}
.wejscie__pole svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s cubic-bezier(.16,1,.3,1)}
.wejscie__pole button:hover svg{transform:translateX(3px)}
.wejscie__pole button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.wejscie__formularz{display:grid;gap:10px;width:100%;margin-top:clamp(24px,4vh,36px);animation:tresc 1.6s ease 1.5s both}
.wejscie__formularz .wejscie__pole{margin-top:0;animation:none}
.wejscie__pole input:-webkit-autofill{-webkit-text-fill-color:#fff;caret-color:#fff;transition:background-color 99999s}
.kom--blad{margin:14px 0 0;font-size:15px;color:#FFC2B6}
@keyframes tresc{from{opacity:0}}
.od-razu .wejscie h1,.od-razu .wejscie__pole,.od-razu .wejscie__formularz{animation:none}
