/* BartCode – wspólne style: kolory, typografia, przyciski, pola formularzy, maskotka */
/* czcionki z własnego serwera (licencja SIL OFL) */
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 700;font-display:swap;src:url(/shared/fonts/inter-tight-ext.woff2) format('woff2');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:'Inter Tight';font-style:normal;font-weight:400 700;font-display:swap;src:url(/shared/fonts/inter-tight.woff2) format('woff2');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:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(/shared/fonts/instrument-serif-ext.woff2) format('woff2');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:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(/shared/fonts/instrument-serif.woff2) format('woff2');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}
:root{
  --bg:#0e100f;--ink:#fffce1;--mut:#9a9a8a;--pan:#191919;--pan2:#242622;--ac:#abff84;--hl:#42433d;
  --pink:#fec5fb;--lilac:#9d95ff;--blue:#00bae2;--orange:#ff8709;--green:#0ae448;
  --page:1280px;--gut:max(clamp(16px,3vw,32px),calc((100vw - var(--page))/2));
  color-scheme:dark
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{background:var(--bg);color:var(--ink);font:400 18px/1.45 'Inter Tight',system-ui,sans-serif;letter-spacing:-.01em;overflow-x:clip;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
small{color:var(--mut);font-size:13px}
h1,h2,h3{font-weight:600}
::selection{background:var(--ac);color:#0e100f}
.an{font-size:17px;margin-bottom:20px}

.pill{display:inline-block;border:1px solid var(--ink);border-radius:100px;padding:13px 24px;font:inherit;font-weight:600;font-size:17px;line-height:1;background:none;color:var(--ink);cursor:pointer;transition:transform .25s,color .25s,border-color .25s}
.pill:hover{border-color:var(--ac);color:var(--ac)}
.pill:active{scale:.96}
.pill.s{padding:7px 14px;font-size:14px}
.pill.g{border:1.5px solid transparent;background:linear-gradient(var(--bg),var(--bg)) padding-box,linear-gradient(114deg,#0ae448,#abff84) border-box}
.pill.g:hover{color:var(--ac)}

input,select,textarea{font:inherit;font-size:16px;color:var(--ink);background:var(--pan2);border:0;border-radius:8px;padding:14px 16px;width:100%;outline:none}
input:focus,select:focus,textarea:focus{outline:2px solid var(--ac)}
textarea{min-height:110px;resize:vertical}
input::placeholder,textarea::placeholder{color:#7c7c6f}
.err{color:var(--orange);font-size:15px;min-height:20px}
.cr{color:var(--ac);animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
@keyframes up{from{opacity:0;transform:translateY(16px)}}

/* pole hasła z przyciskiem „Pokaż” */
.pwr{position:relative}
.pwr input{padding-right:92px}
.pwr button{position:absolute;right:8px;top:50%;translate:0 -50%;background:none;border:0;color:var(--mut);font:inherit;font-size:14px;cursor:pointer;padding:8px 10px;border-radius:8px;transition:color .2s}
.pwr button:hover{color:var(--ink)}

/* maskotka przy formularzu */
.mas{display:block;width:100%;max-width:280px;aspect-ratio:1;margin-inline:auto}
.mas svg{width:100%;height:100%;display:block;overflow:hidden}
.mas .hh{transform-origin:130px 196px;transition:transform .5s cubic-bezier(.3,1.3,.5,1)}
.mas .pu{transition:transform .14s ease-out}
.mas .lid{transform-box:fill-box;transform-origin:50% 0;transform:scaleY(0);transition:transform .16s ease-in}
.mas .lash{opacity:0;transition:opacity .16s}
.mas .brow{transition:transform .35s cubic-bezier(.3,1.3,.5,1)}
.mas .hd{transform-box:fill-box;transform-origin:50% 0;transition:transform .55s cubic-bezier(.3,1.25,.45,1)}
.mas .mo1,.mas .mo2{transform-box:fill-box;transform-origin:50% 50%;transition:opacity .2s,transform .3s}
.mas .mo2{opacity:0}
.mas.blink .lid{transform:scaleY(1)}
.mas.shy .lid,.mas.shy .lid.l{transform:scaleY(1)}
.mas.shy .lash{opacity:1}
.mas.shy .brow{transform:translateY(-7px)}
.mas.shy .hd.l{transform:translate(2px,-168px)}
.mas.shy .hd.r{transform:translate(-2px,-168px)}
.mas.shy .mo1{opacity:0}.mas.shy .mo2{opacity:1}
.mas.peek .lid.l{transform:scaleY(1)}
.mas.peek .lash.l{opacity:1}
.mas.peek .hd.l{transform:translate(2px,-168px)}
.mas.peek .hd.r{transform:translate(56px,-126px) rotate(24deg)}
.mas.peek .brow.r{transform:translateY(-6px)}
.mas.happy .mo1{transform:scale(1.18,1.3)}
.mas .bob{animation:masbob 4.5s ease-in-out infinite}
@keyframes masbob{50%{transform:translateY(-4px)}}

/* postać na stronie głównej: osoba pisze kod na laptopie */
.mas.dev{max-width:none;aspect-ratio:440/280}
.mas.dev svg{overflow:visible}
.mas.dev .hh{transform-origin:116px 174px}
.mas.dev .dv-hb{animation:dvhb 3.6s ease-in-out infinite}
@keyframes dvhb{50%{transform:translateY(-2px)}}
.mas.dev .dv-fa{animation-duration:.46s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-direction:alternate}
.mas.dev .dv-fa.fl{transform-origin:122px 247px;animation-name:dvtl}
.mas.dev .dv-fa.fr{transform-origin:172px 240px;animation-name:dvtr;animation-delay:-.23s}
.mas.dev.busy .dv-fa{animation-duration:.17s}
.mas.dev.busy .dv-fa.fr{animation-delay:-.085s}
@keyframes dvtl{from{transform:rotate(-1.1deg)}to{transform:rotate(1.2deg)}}
@keyframes dvtr{from{transform:rotate(2deg)}to{transform:rotate(-1.6deg)}}
.mas.dev .dv-bl{animation:blink 1s steps(1) infinite}
.mas.dev .dv-chip{transform-box:fill-box;transform-origin:50% 100%;opacity:0;animation:dvchip 5.2s ease-out infinite}
.mas.dev .dv-chip.k1{animation-delay:1.3s}.mas.dev .dv-chip.k2{animation-delay:2.6s}.mas.dev .dv-chip.k3{animation-delay:3.9s}
.mas.dev.busy .dv-chip{animation-duration:2.6s}
@keyframes dvchip{0%{opacity:0;transform:translateY(16px) scale(.7)}14%{opacity:1;transform:none}62%{opacity:1;transform:translateY(-8px)}100%{opacity:0;transform:translateY(-26px)}}
.mas.dev .dv-steam path{opacity:0;animation:dvst 3.2s ease-in-out infinite}
.mas.dev .dv-steam .s2{animation-delay:1.1s}
@keyframes dvst{0%{opacity:0;transform:translateY(5px)}40%{opacity:.55}100%{opacity:0;transform:translateY(-7px)}}
.mas.dev .mo2{opacity:0}
.mas.dev.happy .mo1{opacity:0}.mas.dev.happy .mo2{opacity:1}
.mas.dev .dv-bd,.mas.dev .dv-hb{transform-box:view-box}
.mas.dev.happy .dv-hb{animation:dvhop .5s ease-out 3}
@keyframes dvhop{40%{transform:translateY(-9px)}}
.mas.dev .dv-ok{transform-box:fill-box;transform-origin:50% 50%;opacity:0;transform:scale(0)}
.mas.dev.happy .dv-ok{animation:dvok 2.2s both}
@keyframes dvok{0%{opacity:0;transform:scale(0)}14%{opacity:1;transform:scale(1.25)}24%{transform:scale(1)}82%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8) translateY(-8px)}}
/* ---- postać strony: osoba pisze na laptopie (generowane przez gen_dev.py) ---- */
@keyframes dvs0{0%,4.484%{stroke-dashoffset:1;opacity:0}4.485%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(6,end)}7.388%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs0{animation:dvs0 11.15s linear infinite}
@keyframes dvs1{0%,7.927%{stroke-dashoffset:1;opacity:0}7.928%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(4,end)}10.438%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs1{animation:dvs1 11.15s linear infinite}
@keyframes dvs2{0%,10.976%{stroke-dashoffset:1;opacity:0}10.977%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(9,end)}14.905%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs2{animation:dvs2 11.15s linear infinite}
@keyframes dvs3{0%,17.416%{stroke-dashoffset:1;opacity:0}17.417%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(5,end)}19.927%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs3{animation:dvs3 11.15s linear infinite}
@keyframes dvs4{0%,20.466%{stroke-dashoffset:1;opacity:0}20.467000000000002%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(11,end)}25.42%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs4{animation:dvs4 11.15s linear infinite}
@keyframes dvs5{0%,27.931%{stroke-dashoffset:1;opacity:0}27.932000000000002%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(8,end)}31.689%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs5{animation:dvs5 11.15s linear infinite}
@keyframes dvs6{0%,32.227%{stroke-dashoffset:1;opacity:0}32.227999999999994%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(3,end)}34.738%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs6{animation:dvs6 11.15s linear infinite}
@keyframes dvs7{0%,35.277%{stroke-dashoffset:1;opacity:0}35.278%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(6,end)}37.839%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs7{animation:dvs7 11.15s linear infinite}
@keyframes dvs8{0%,40.35%{stroke-dashoffset:1;opacity:0}40.351%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(12,end)}45.475%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs8{animation:dvs8 11.15s linear infinite}
@keyframes dvs9{0%,46.013%{stroke-dashoffset:1;opacity:0}46.013999999999996%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(4,end)}48.524%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs9{animation:dvs9 11.15s linear infinite}
@keyframes dvs10{0%,51.036%{stroke-dashoffset:1;opacity:0}51.037%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(6,end)}53.598%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs10{animation:dvs10 11.15s linear infinite}
@keyframes dvs11{0%,54.136%{stroke-dashoffset:1;opacity:0}54.137%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(10,end)}58.578%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs11{animation:dvs11 11.15s linear infinite}
@keyframes dvs12{0%,61.089%{stroke-dashoffset:1;opacity:0}61.089999999999996%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(7,end)}64.335%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs12{animation:dvs12 11.15s linear infinite}
@keyframes dvs13{0%,64.873%{stroke-dashoffset:1;opacity:0}64.87400000000001%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(4,end)}67.384%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs13{animation:dvs13 11.15s linear infinite}
@keyframes dvs14{0%,69.895%{stroke-dashoffset:1;opacity:0}69.896%{stroke-dashoffset:1;opacity:1;animation-timing-function:steps(3,end)}72.407%{stroke-dashoffset:0;opacity:1}90.164%{stroke-dashoffset:0;opacity:1}93.752%,100%{stroke-dashoffset:0;opacity:0}}
.mas.dev .dvs14{animation:dvs14 11.15s linear infinite}
@keyframes dvcur{0%{transform:translate(232px,140px)}4.484%{transform:translate(232px,140px);animation-timing-function:steps(6,end)}7.388%{transform:translate(266px,140px)}7.927%{transform:translate(271px,140px);animation-timing-function:steps(4,end)}10.438%{transform:translate(291px,140px)}10.976%{transform:translate(296px,140px);animation-timing-function:steps(9,end)}14.905%{transform:translate(342px,140px)}17.416%{transform:translate(244px,152px);animation-timing-function:steps(5,end)}19.927%{transform:translate(270px,152px)}20.466%{transform:translate(275px,152px);animation-timing-function:steps(11,end)}25.42%{transform:translate(333px,152px)}27.931%{transform:translate(244px,164px);animation-timing-function:steps(8,end)}31.689%{transform:translate(288px,164px)}32.227%{transform:translate(293px,164px);animation-timing-function:steps(3,end)}34.738%{transform:translate(309px,164px)}35.277%{transform:translate(314px,164px);animation-timing-function:steps(6,end)}37.839%{transform:translate(344px,164px)}40.35%{transform:translate(256px,176px);animation-timing-function:steps(12,end)}45.475%{transform:translate(316px,176px)}46.013%{transform:translate(321px,176px);animation-timing-function:steps(4,end)}48.524%{transform:translate(345px,176px)}51.036%{transform:translate(256px,188px);animation-timing-function:steps(6,end)}53.598%{transform:translate(286px,188px)}54.136%{transform:translate(291px,188px);animation-timing-function:steps(10,end)}58.578%{transform:translate(343px,188px)}61.089%{transform:translate(244px,200px);animation-timing-function:steps(7,end)}64.335%{transform:translate(282px,200px)}64.873%{transform:translate(287px,200px);animation-timing-function:steps(4,end)}67.384%{transform:translate(309px,200px)}69.895%{transform:translate(232px,212px);animation-timing-function:steps(3,end)}72.407%{transform:translate(250px,212px)}90.164%{transform:translate(250px,212px)}100%{transform:translate(232px,140px)}}
.mas.dev .dv-cur{animation:dvcur 11.15s linear infinite}
@media(prefers-reduced-motion:reduce){.mas *{transition:none!important;animation:none!important}}

/* logo: terminal z migającym kursorem */
.lt{display:block;height:46px;width:auto;flex:none}
.lt-p{transition:transform .35s cubic-bezier(.3,1.5,.5,1)}
.logo:hover .lt-p{transform:translateX(14px)}
.lt-c{animation:blink 1.1s steps(1) infinite}
@media(prefers-reduced-motion:reduce){.lt-c{animation:none}}
@media(max-width:400px){.nav .lt{height:42px}}
