/* BrandAgent — wariant 04: czarny, wąska kolumna, srebrne przyciski, ręce z punktów (wzór: hyperstudio.org) */
:root {
  --bg: #080808;
  --panel: #101010;
  --line: #212121;
  --text: #f3f3f3;
  --soft: #ffffffbf;
  --mute: #ffffff99;
  --dim: #686868;
  --accent: #e7c59a;
  --green: #3ddc84;
  --light: #e4e4e2;
  --ink: #0d0d0d;
  --col: 850px;
  --sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.35 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--col) + 40px); margin: 0 auto; padding: 0 20px; }
.label { display: block; color: var(--accent); font: 400 14px/21px var(--mono); text-transform: uppercase; }

h1, h2 { font-weight: 500; text-wrap: balance; }
h1, .h2--xl { font-size: 63px; line-height: 66px; letter-spacing: -1.2px; }
h2 { margin-top: 7px; font-size: 44px; line-height: 47px; letter-spacing: -.7px; }
.h2--sm { font-size: 34px; line-height: 37px; letter-spacing: -.4px; }
.lead { max-width: 730px; margin-top: 12px; color: var(--soft); font-size: 18px; line-height: 23px; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; font: 500 13.5px/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; transition: opacity .2s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn--dark { padding: 10px 11px 10px 14px; border-radius: 9px; background: linear-gradient(#252525, #1d1d1d); color: var(--text); }
.btn--dark:hover { opacity: .85; }
.btn--silver { padding: 2px; border-radius: 10px; background: linear-gradient(#cfcfcf, #c0c0c0); color: #000; }
.btn--silver > span { display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px 7px 11.5px; border: 1px solid #c5c5c5; border-radius: 8px; background: linear-gradient(#b5b5b5, #e4e4e4); }
.btn--silver:hover > span { border-color: #e4e4e4; background: #e4e4e4; }
.btn--block { display: flex; width: 100%; }
.btn--block > span { padding-block: 10px; }
.btn:disabled { opacity: .55; cursor: default; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 4px 9px; border-radius: 4.5px; background: #ffffff1a; color: var(--text); text-decoration: none; font: 500 13px/1.3 var(--mono); text-transform: uppercase; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 23px; }

/* ---------- nagłówek ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0 20px; background: #080808d9; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--col); margin: 0 auto; padding: 8px 0; }
.header__left { display: flex; align-items: center; gap: 25px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__actions .btn--dark { padding: 10px 14px; }
.logo { font-size: 23px; font-weight: 600; letter-spacing: -.8px; text-decoration: none; }
.header__rule { width: 1px; height: 20px; background: #ffffff54; }
.nav { display: flex; gap: 25px; }
.nav a { color: #f3f3f3e6; font: 400 13.7px/1.2 var(--mono); text-transform: uppercase; text-decoration: none; transition: opacity .2s; }
.nav a:hover { opacity: .7; }

/* ---------- hero: ręce + znak, który rozrasta się w panel konta ---------- */
.intro { height: 210vh; height: 210svh; }
.stage {
  --w: min(54vw, 100vh);                 /* szerokość jednej ręki */
  --cy: 68%;                             /* wysokość, na której spotykają się palce */
  --m: clamp(52px, 4.6vw, 68px);         /* bok znaku */
  --g: calc(var(--m) / 2 + 18px);        /* odstęp palca od środka */
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
.hero { position: absolute; inset: 0 0 auto; display: flex; flex-direction: column; align-items: center; padding: 130px 20px 0; text-align: center; }
.hero h1 { max-width: 760px; margin-top: 14px; }
.hero__lead { max-width: 520px; margin-top: 18px; color: var(--soft); font-size: 19px; line-height: 24px; }
.hero > * { animation: rise .9s .25s cubic-bezier(.16, 1, .3, 1) both; }
.hero > :nth-child(2) { animation-delay: .35s; }
.hero > :nth-child(3) { animation-delay: .45s; }
.hero > :nth-child(4) { animation-delay: .55s; }

/* Przy przewijaniu ręce rozjeżdżają się na boki i rosną („zbliżają się do kamery”) razem z panelem
   (transform ustawia skrypt); środek skalowania leży w czubku palca, więc palec odsuwa się od znaku
   tylko o przesunięcie. */
.hand { position: absolute; height: auto; max-width: none; pointer-events: none; user-select: none; will-change: transform; }
.hand--left { transform-origin: 100% 56.1%; right: calc(50% + var(--g)); top: calc(var(--cy) - var(--w) * .3362); width: var(--w); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); animation: from-left 1.5s .1s cubic-bezier(.16, 1, .3, 1) both; }
.hand--right { transform-origin: 0 52.9%; left: calc(50% + var(--g)); top: calc(var(--cy) - var(--w) * .3362); width: calc(var(--w) * 1.0194); -webkit-mask-image: linear-gradient(270deg, transparent, #000 12%); mask-image: linear-gradient(270deg, transparent, #000 12%); animation: from-right 1.5s .1s cubic-bezier(.16, 1, .3, 1) both; }

/* Jasny panel to prostokąt wielkości ekranu pomniejszony i przesunięty na znak. Skrypt zmienia wyłącznie
   jego transform, więc rozwijanie liczy karta graficzna i przy przewijaniu nic nie jest malowane od nowa.
   W spoczynku panel jest o 4 px z każdej strony mniejszy od znaku i cały się pod nim chowa.
   Pojawia się dopiero, gdy znak skończył rosnąć — wcześniej jego ostre rogi wystawałyby spod mniejszego znaku. */
.gate__bg { position: absolute; inset: 0; z-index: 2; background: var(--light); transform: scale(0); will-change: transform; animation: fade .01s 2s backwards; }
.gate { position: absolute; inset: 0; z-index: 2; color: var(--ink); pointer-events: none; }
.gate.is-open { pointer-events: auto; }
/* Znak wygląda jak srebrny przycisk; gdy panel rośnie, znak znika i zostaje sam panel. */
.mark { position: absolute; z-index: 3; left: calc(50% - var(--m) / 2); top: calc(var(--cy) - var(--m) / 2); width: var(--m); height: var(--m); padding: 3px; border-radius: 13px; background: linear-gradient(#cfcfcf, #c0c0c0); box-shadow: 0 0 0 1px #ffffff1f, 0 0 46px #ffffff38; pointer-events: none; animation: mark-in .7s 1.25s cubic-bezier(.16, 1, .3, 1) backwards; }
.mark span { display: grid; place-items: center; height: 100%; border: 1px solid #c5c5c5; border-radius: 10px; background: linear-gradient(#b5b5b5, #e4e4e4); box-shadow: inset 0 1px 0 #ffffffcc, inset 0 -1px 0 #0000001f; color: #000; font: 500 calc(var(--m) * .47)/1 var(--mono); }
/* co kilka sekund od znaku odchodzi delikatna fala (tylko transform i opacity); po rozpoczęciu przewijania ustaje */
.mark::after { content: ""; position: absolute; inset: 0; border: 1px solid #ffffff99; border-radius: 13px; opacity: 0; animation: ping 4.5s 1.75s ease-out infinite; }
.mark.is-quiet::after { animation: none; }
/* Zalogowany (znacznik z <head>): przyciski rejestracji i logowania są niewidoczne, dopóki skrypt nie zamieni ich
   na przycisk do panelu — dzięki temu nie migają przez chwilę po wejściu na stronę. */
.signed-in a[data-auth] { visibility: hidden; }

.gate__inner { display: grid; grid-template-columns: 1fr 400px; align-items: center; gap: 56px; height: 100%; max-width: calc(var(--col) + 40px); margin: 0 auto; padding: 70px 20px 24px; opacity: 0; will-change: opacity, transform; visibility: hidden; }
.gate.is-open .gate__inner { visibility: visible; }
.gate .label { color: #6f6759; }
.gate__copy h2 { font-size: 46px; line-height: 48px; letter-spacing: -.9px; }
.gate__copy p { max-width: 380px; margin-top: 16px; color: #0d0d0db3; }

.auth { padding: 18px; border-radius: 14px; background: var(--ink); color: var(--text); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: #1b1b1b; }
.seg button { padding: 9px 8px 8px; border: 0; border-radius: 7px; background: none; color: var(--mute); cursor: pointer; font: 500 13px/1.2 var(--mono); text-transform: uppercase; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: linear-gradient(#b5b5b5, #e4e4e4); color: #000; }
.form { display: grid; gap: 12px; margin-top: 16px; }
.form[hidden] { display: none; }
.seg[hidden] { display: none; }
.field { display: grid; gap: 5px; }
.field > span, .field > label { color: var(--mute); font: 400 12px/1.2 var(--mono); text-transform: uppercase; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid #2a2a2a; border-radius: 8px; background: #161616; font-size: 16px; outline: none; }
.field input:focus { border-color: #8e8e8e; }
/* hasło: przycisk z okiem w polu i wskaźnik siły pod polem */
.pass { position: relative; }
.pass input { padding-right: 46px; }
.pass__eye { position: absolute; top: 50%; right: 5px; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--dim); cursor: pointer; transition: color .2s, background .2s; }
.pass__eye:hover { color: var(--text); }
.pass__eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pass__slash { opacity: 0; }
.pass__eye[aria-pressed="true"] { background: #ffffff14; color: var(--text); }
.pass__eye[aria-pressed="true"] .pass__slash { opacity: 1; }
.strength { display: flex; align-items: center; gap: 10px; margin-top: 2px; color: var(--dim); font: 400 12px/14px var(--mono); text-transform: uppercase; }
.strength__bars { display: grid; grid-template-columns: repeat(4, 22px); gap: 4px; }
.strength__bars i { height: 6px; border-radius: 1.5px; background: #2a2a2a; transition: background .2s; }
.strength[data-level="1"] { color: #ffb4a8; }
.strength[data-level="1"] i:nth-child(-n+1) { background: #ffb4a8; }
.strength[data-level="2"] { color: var(--accent); }
.strength[data-level="2"] i:nth-child(-n+2) { background: var(--accent); }
.strength[data-level="3"] { color: #d9d9d9; }
.strength[data-level="3"] i:nth-child(-n+3) { background: linear-gradient(#b5b5b5, #e4e4e4); }
.strength[data-level="4"] { color: var(--green); }
.strength[data-level="4"] i { background: var(--green); }
.check { display: flex; gap: 9px; align-items: flex-start; color: var(--mute); font-size: 14px; line-height: 19px; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #d9d9d9; }
.form__status { min-height: 19px; color: #ffb4a8; font-size: 14px; line-height: 19px; }
.form__status.is-ok { color: #b9e6c9; }
.form__hint { color: var(--mute); font-size: 14.5px; line-height: 20px; }
.form__title { font-size: 21px; font-weight: 500; line-height: 26px; letter-spacing: -.2px; }
.form__link { justify-self: start; padding: 0; border: 0; background: none; color: var(--mute); cursor: pointer; font: 400 12px/1.4 var(--mono); text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; transition: color .2s; }
.form__link:hover { color: var(--text); }

/* ---------- sekcje ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 0; }
.section:not(.section--tight) + .section { padding-top: 0; }   /* dwie zwykłe sekcje obok siebie: jeden odstęp, nie dwa */

/* ---------- wygląd: dwa pasy miniatur jadące w przeciwne strony ---------- */
.looks { padding: 70px 0 120px; overflow: hidden; }
.belt { display: flex; width: max-content; animation: belt 80s linear infinite; }
.belt--rev { margin-top: clamp(22px, 3vw, 44px); animation-direction: reverse; }
.looks:not(.is-live) .belt { animation-play-state: paused; }
.looks__copy { margin-top: 96px; text-align: center; }
.looks__copy h2, .looks__copy .lead { margin-inline: auto; }
.looks__copy .lead { max-width: 600px; }

/* Miniatura bloga: wszystkie wymiary w em, więc karta skaluje się jednym font-size. */
.tpl { position: relative; flex: none; display: flex; flex-direction: column; width: 44em; height: 27.5em; margin-right: 3.4em; overflow: hidden; border-radius: .8em; background: var(--bg); color: var(--fg); font-size: clamp(7.4px, .72vw, 10.5px); line-height: 1.2; }
.tpl img { width: 100%; height: 100%; object-fit: cover; }
.tpl figure { position: relative; margin: 0; overflow: hidden; background: color-mix(in srgb, var(--fg) 14%, var(--bg)); }
.tpl h4 { font-weight: 600; line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.tpl p { font-size: .92em; line-height: 1.36; opacity: .78; }
.f-serif h4 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.f-anton h4 { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
.f-bold h4 { font-weight: 700; letter-spacing: -.05em; }
.tpl__nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.5em; padding: 1.3em 1.7em 1.1em; font: 500 .7em/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.tpl__nav b { margin-right: auto; font: 600 1.5em/1 var(--sans); letter-spacing: -.03em; text-transform: none; }
.f-serif .tpl__nav b { font: 400 1.9em/1 "Instrument Serif", Georgia, serif; letter-spacing: 0; }
.tpl__nav em { padding: .6em .95em; border-radius: 99em; background: var(--fg); color: var(--bg); font-style: normal; }
.tpl__tag { align-self: flex-start; padding: .4em .75em; border: 1px solid currentColor; border-radius: 99em; font: 500 .66em/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.tpl__meta { font: 400 .66em/1.35 var(--mono); text-transform: uppercase; opacity: .7; white-space: nowrap; }
.tpl__btn { align-self: flex-start; padding: .7em 1.05em; border-radius: .55em; background: var(--fg); color: var(--bg); font: 500 .68em/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.tpl__row { display: flex; align-items: center; justify-content: space-between; gap: 1.2em; }
.tpl__chip { position: absolute; z-index: 2; left: .9em; bottom: .9em; padding: .65em .85em; border-radius: .55em; background: var(--bg); color: var(--fg); box-shadow: 0 .4em 1.2em #00000033; font: 500 .66em/1.3 var(--mono); text-transform: uppercase; white-space: nowrap; }
.tpl__sticker { position: absolute; z-index: 3; display: grid; place-items: center; width: 7.6em; height: 7.6em; border-radius: 50%; background: var(--fg); color: var(--bg); font: 600 .74em/1.1 var(--mono); text-align: center; text-transform: uppercase; transform: rotate(12deg); }
.tpl ol { display: grid; align-content: start; }
.tpl li { display: grid; grid-template-columns: 1.6em 1fr; gap: 0 .5em; padding: .72em 0 .7em; border-top: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); }
.tpl li i { grid-row: span 2; font: 400 .66em/1.9 var(--mono); opacity: .6; font-style: normal; }
.tpl li b { font-size: 1.02em; font-weight: 500; line-height: 1.18; }
.tpl li span { margin-top: .3em; font: 400 .62em/1 var(--mono); text-transform: uppercase; opacity: .6; }

/* okładka: zdjęcie na całą kartę */
.tpl--cover { color: #fff; }
.tpl--cover > figure { position: absolute; inset: 0; }
.tpl--cover > figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#00000080, #0000 34%, #0000 42%, #000000d1); }
.tpl--cover .tpl__nav em { background: #fff; color: #111; }
.tpl--cover .tpl__body { position: relative; z-index: 2; display: grid; gap: 1em; margin-top: auto; padding: 1.7em; }
.tpl--cover .tpl__tag { justify-self: start; }
.tpl--cover h4 { max-width: 7.2em; font-size: 4.8em; }
.tpl--cover .tpl__btn { align-self: auto; background: var(--bg); color: var(--fg); }

/* dwie kolumny: tekst + zdjęcie */
.tpl--split .tpl__main, .tpl--arch .tpl__main { flex: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 1.8em; min-height: 0; padding: .5em 1.7em 1.6em; }
.tpl__copy { display: flex; flex-direction: column; gap: 1em; min-width: 0; min-height: 0; }
.tpl__copy .tpl__row { margin-top: auto; }
.tpl--split h4 { font-size: 3.7em; }
.tpl--split figure { border-radius: .7em; }

/* łuk: zdjęcie w łukowym oknie */
.tpl--arch .tpl__main { padding-bottom: 0; }
.tpl--arch .tpl__copy { padding-bottom: 1.6em; }
.tpl--arch h4 { font-size: 4.3em; }
.tpl--arch figure { align-self: end; height: 21em; margin: 0 1.2em 0 1.6em; border-radius: 99em 99em 0 0; }
.tpl--arch .tpl__sticker { right: 15.2em; bottom: 2.2em; transform: rotate(-10deg); }

/* magazyn: tytuł, zdjęcie i lista wpisów */
.tpl--mag h4 { padding: .1em .44em 0; font-size: 3.9em; }
.tpl--mag .tpl__main { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6em; min-height: 0; padding: 1.1em 1.7em 1.6em; }
.tpl--mag figure { border-radius: .5em; }
.tpl--mag .tpl__chip { left: .8em; top: .8em; bottom: auto; box-shadow: none; }

/* plakat: wielki napis i zdjęcie w kole */
.tpl--poster h4 { position: relative; z-index: 2; padding-top: .04em; font-size: var(--fs, 6em); text-align: center; white-space: nowrap; }
.tpl--poster figure { position: absolute; left: 50%; bottom: -2.6em; width: 19em; height: 19em; margin-left: -9.5em; border-radius: 50%; }
.tpl--poster .tpl__sticker { right: 4.6em; top: 12.4em; }
.tpl--poster .tpl__side { position: absolute; left: 1.7em; bottom: 4.2em; display: grid; justify-items: start; gap: .7em; width: 9.5em; }
.tpl--poster .tpl__side p { font-size: .84em; }
.tpl__ticker { position: absolute; z-index: 3; inset: auto 0 0; display: flex; gap: 2.2em; padding: .75em 1.7em; background: var(--fg); color: var(--bg); font: 500 .64em/1 var(--mono); text-transform: uppercase; white-space: nowrap; }

/* lista: wstęp ze zdjęciem i kolumna wpisów */
.tpl--list .tpl__main { flex: 1; display: grid; grid-template-columns: 1fr 1.12fr; gap: 2em; min-height: 0; padding: .5em 1.7em 1.6em; }
.tpl--list h4 { font-size: 3.4em; }
.tpl--list figure { flex: 1; min-height: 0; border-radius: .5em; }

.panel { border: 1.2px solid var(--line); background: var(--panel); }
.panel--pad { padding: 60px 70px 64px; }
.panel__head { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 54px 20px 44px; }
.chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; font-weight: 600; font-size: 22px; }
.chip--light { background: #ccc; color: var(--ink); }
.panel__title { display: flex; align-items: center; gap: 16px; }
.panel__title b { font-size: 21px; font-weight: 500; }
.panel__title i { width: 1px; height: 17px; background: #ffffff54; }
.panel__title span { color: #dadada; font: 400 16px/1 var(--mono); text-transform: uppercase; }

.browser { border-top: 1.2px solid var(--line); }
.browser__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 28px; border-bottom: 1.2px solid var(--line); color: var(--dim); font: 400 13px/1.3 var(--mono); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); text-transform: uppercase; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
.post { display: grid; grid-template-columns: 150px 1fr auto; align-items: baseline; gap: 20px; padding: 20px 28px; border-bottom: 1.2px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post span { color: var(--dim); font: 400 13px/1.3 var(--mono); text-transform: uppercase; }
.post h4 { font-size: 19px; font-weight: 400; line-height: 24px; }
.post--writing span:last-child { color: var(--accent); }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--text); animation: blink 1s steps(1) infinite; }

.process { display: flex; justify-content: space-between; gap: 40px; }
.process__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; max-width: 420px; }
.process__cta { display: grid; justify-items: start; gap: 17px; max-width: 290px; color: var(--soft); font-size: 16.4px; line-height: 22px; }
.steps { display: grid; gap: 35px; max-width: 400px; }
.steps li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 23px; }
.steps__n { color: var(--dim); font: 400 13px/23px var(--mono); }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 9px; top: 32px; bottom: -28px; width: 1px; background: #424242; }
.steps h3 { font: 500 17px/23px var(--mono); text-transform: uppercase; }
.steps p { margin-top: 10px; color: var(--soft); font-size: 16.7px; line-height: 21.3px; }

.planner { display: grid; grid-template-columns: 1fr 330px; align-items: start; gap: 56px; margin-top: 44px; }
.seg--dark { max-width: 300px; }
.plan-out { display: grid; gap: 22px; margin-top: 32px; }
.plan-out dt, .stats dt { font-size: 44px; font-weight: 500; line-height: 47px; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.plan-out dd, .stats dd { margin-top: 4px; color: var(--mute); font-size: 15.5px; line-height: 20px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal small { padding-bottom: 4px; color: var(--dim); font: 400 12px/1.2 var(--mono); text-align: center; text-transform: uppercase; }
.cal i { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px; color: var(--dim); font: 400 12px/1 var(--mono); transition: background .25s, color .25s, border-color .25s; }
.cal i.on { border-color: #c5c5c5; background: linear-gradient(#b5b5b5, #e4e4e4); color: #000; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 72px; padding-top: 34px; border-top: 1.2px solid var(--line); }

.faq { margin-top: 30px; border-top: 1.2px solid var(--line); }
.faq details { border-bottom: 1.2px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; list-style: none; font-size: 19px; line-height: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 400 18px/24px var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq p { max-width: 620px; padding: 0 0 22px; color: var(--mute); line-height: 23px; }

.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 720px; margin-top: 14px; }
.cta__mail { margin-top: 18px; color: var(--soft); font-size: 16px; }
.cta__mail span { font-family: var(--mono); font-size: 14px; }

.footer { padding: 26px 0 34px; border-top: 1.2px solid var(--line); color: #8e8e8e; font: 400 12.5px/1.6 var(--mono); text-transform: uppercase; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer a { text-underline-offset: 3px; }

/* ---------- okno plików cookie ---------- */
.cookies { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(360px, calc(100vw - 40px)); padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 13px; background: #101010f2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px #ffffff0a, 0 18px 50px #000000b3; animation: rise .7s cubic-bezier(.16, 1, .3, 1) backwards; }
.cookies[hidden] { display: none; }
.cookies__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookies .label { font-size: 13px; line-height: 18px; }
.cookies__dots { color: var(--dim); font: 400 11px/18px var(--mono); letter-spacing: -.5px; }
.cookies p { margin-top: 8px; color: var(--soft); font-size: 14.5px; line-height: 20px; }
.cookies p a { color: var(--text); text-underline-offset: 3px; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookies .btn--silver > span { padding: 7px 12px; }
.cookies .btn--dark { padding: 10px 14px; }

/* ---------- animacje ---------- */
@keyframes from-left { from { opacity: 0; transform: translateX(-60vw); } }
@keyframes from-right { from { opacity: 0; transform: translateX(60vw); } }
@keyframes fade { from { opacity: 0; } }
@keyframes mark-in { from { opacity: 0; transform: scale(.5); } }
@keyframes ping { 0% { opacity: .7; transform: none; } 32%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes rise { from { opacity: 0; filter: blur(10px); transform: translateY(14px); } }
@keyframes belt { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hand, .gate__bg, .mark, .mark::after, .hero > *, .badge i, .live i, .typed::after, .belt, .cookies { animation: none; }
  .looks { overflow-x: auto; }
}

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 991px) {
  .section { padding: 90px 0; }
  .panel--pad { padding: 46px 32px 50px; }
  .gate__inner { grid-template-columns: 1fr 360px; gap: 32px; }
  .gate__copy h2 { font-size: 36px; line-height: 39px; }
}

@media (max-width: 767px) {
  h1, .h2--xl { font-size: 46px; line-height: 49px; letter-spacing: -.9px; }
  h1 { font-size: 40px; line-height: 43px; letter-spacing: -.8px; }
  h2 { font-size: 36px; line-height: 39px; }
  .h2--sm { font-size: 30px; line-height: 33px; }
  .header { padding: 0 14px; }
  .header__rule, .nav { display: none; }
  .header__inner { gap: 10px; }
  .header__actions { gap: 6px; }
  .header__actions .btn { font-size: 12.5px; }
  .header__actions .btn--dark { padding: 9px 10px; }
  .header__actions .btn--silver > span { padding: 6px 7px 6px 9px; gap: 3px; }
  /* telefon: ręce są przypięte do dołu ekranu i skalują się z jego wysokością, żeby nie wchodziły na tekst */
  .stage { --w: min(62vw, 50vh); --cy: calc(100% - var(--w) * .281 - 25vh); --m: 50px; --g: calc(var(--m) / 2 + 9px); }
  /* Scena ma wysokość ekranu bez paska adresu (lvh), a ręce i treść panelu liczymy od góry w svh. Gdy pasek
     adresu chowa się w trakcie przewijania, nic się nie przesuwa i pod sceną nie zostaje pusty pas. */
  @supports (height: 1svh) {
    .stage { height: 100lvh; --w: min(62vw, 50svh); --cy: calc(100svh - var(--w) * .281 - 25svh); }
    .gate__inner { height: 100svh; }
  }
  .intro { height: 260vh; height: 260svh; }   /* dłuższa droga przewijania = spokojniejsze otwieranie panelu */
  .cookies { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
  /* telefon: bez rozmycia tła pod nagłówkiem — to najdroższy efekt przy przewijaniu */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cookies { background: #101010; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero { padding: clamp(84px, 14vh, 120px) 16px 0; }
  .hero h1 br { display: none; }
  /* telefon: taki sam widoczny odstęp nad nagłówkiem i pod nim (nagłówek ma u góry więcej światła w wierszu) */
  .hero h1 { margin-top: 22px; }
  .hero .actions { margin-top: 23px; }
  .hero__lead { font-size: 17px; line-height: 22px; }
  .gate__inner { grid-template-columns: 1fr; align-content: center; gap: 18px; padding: 64px 16px 16px; }
  .gate__copy h2 { font-size: 28px; line-height: 31px; letter-spacing: -.5px; }
  .gate__copy p { display: none; }
  .section { padding: 140px 0; }
  .section--tight { padding: 0; }   /* jak na komputerze: sekcja z panelem nie dokłada własnego odstępu */
  .planner { grid-template-columns: 1fr; }
  .looks { padding: 140px 0; }
  .looks__copy { margin-top: 56px; }
  .panel--pad { padding: 38px 20px 42px; }
  .post { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .browser__bar { flex-wrap: wrap; gap: 4px 12px; padding: 12px 20px; font-size: 12px; }
  .cta h2 { font-size: 38px; line-height: 41px; }
  .process { flex-direction: column; }
  .planner { gap: 36px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 54px; }
}

/* wąskie i niskie telefony */
@media (max-width: 360px) {
  .logo { font-size: 20px; }
  .header__actions .btn--silver svg { display: none; }
  .header__actions .btn--silver > span { padding-inline: 9px; }
  h1, .h2--xl { font-size: 34px; line-height: 37px; letter-spacing: -.6px; }
  .cta h2 { font-size: 33px; line-height: 36px; }
  .btn { font-size: 12.5px; }
  .wrap { padding: 0 16px; }
  .panel--pad { padding: 32px 16px 36px; }
}
@media (max-width: 340px) {
  .header { padding: 0 10px; }
  .header__inner { gap: 8px; }
  .logo { font-size: 17px; letter-spacing: -.6px; }
  .header__actions { gap: 5px; }
  .header__actions .btn { font-size: 11.5px; }
  .header__actions .btn--dark { padding: 8px; }
  .header__actions .btn--silver > span { padding-inline: 6px; }
}
@media (max-width: 767px) and (max-height: 640px) {
  /* na niskich ekranach nie ma miejsca na większy odstęp między tekstem a rękami */
  .hero { padding-top: 84px; }
  .hero .actions { margin-top: 23px; }
  .stage { --cy: calc(100% - var(--w) * .281 - 18vh); }
  @supports (height: 1svh) { .stage { --cy: calc(100svh - var(--w) * .281 - 18svh); } }
  h1 { font-size: 38px; line-height: 41px; letter-spacing: -.7px; }
  .gate .label { display: none; }
  .gate__copy h2 { margin-top: 0; font-size: 24px; line-height: 27px; }
  .gate__inner { gap: 12px; padding-top: 62px; }
  .auth { padding: 12px 14px; }
  .form { gap: 7px; margin-top: 10px; }
}

/* niskie okna: panel konta musi zmieścić formularz */
@media (max-height: 720px) {
  .gate__copy p { display: none; }
  .gate__inner { padding-top: 60px; }
  .form { gap: 9px; margin-top: 12px; }
  .field input { padding: 8px 12px; }
  .form__status { min-height: 0; }
}
