/* Wspólne style strony webinaru (live.html) i stron po zapisie (dzieki.html, dzieki-bardzo.html). */
@font-face { font-family: "Jersey 25"; font-weight: 400; font-display: swap; src: url(/fonts/jersey-25-latin-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: "Jersey 25"; font-weight: 400; font-display: swap; src: url(/fonts/jersey-25-latin.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: "IBM Plex Sans"; font-weight: 400 600; font-display: swap; src: url(/fonts/plex-sans-latin-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: "IBM Plex Sans"; font-weight: 400 600; font-display: swap; src: url(/fonts/plex-sans-latin.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: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/plex-mono-400-latin-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: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/plex-mono-400-latin.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: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url(/fonts/plex-mono-600-latin-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: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url(/fonts/plex-mono-600-latin.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 {
  --paper: #f0eade; --card: #f6f2e9; --white: #fffdf7; --ink: #1d1d1b; --ink-2: #57544d; --hair: #cdc5b4;
  --red: #ee302a; --red-btn: #d9281f; --red-ink: #c4201b; --px-ink: #060606; --green: #2f9b57; --warn: #e0a100;
  --f-pixel: "Jersey 25", "VT323", "Courier New", monospace;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
.todo { background: #ffe066; padding: 0 .3em; border-radius: 3px; }

/* Jeden ekran: nagłówek, treść, stopka mieszczą się w wysokości okna na komputerze. */
.screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.nav { border-bottom: 1px solid var(--ink); }
.nav .page { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; }
.logo { font-family: var(--f-pixel); font-size: 32px; line-height: 1; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo .ai { color: var(--red); }
.logo .cur { width: 7px; height: 22px; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav .when { font: 600 13px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.nav .when b { color: var(--red-ink); }
main { flex: 1; display: flex; align-items: center; }
main > .page { padding-block: clamp(20px, 3.5vh, 40px); }

h1 { font-family: var(--f-pixel); font-weight: 400; text-transform: uppercase; line-height: .82; }
h1 .ai { color: var(--red); }
.by { color: inherit; text-decoration: none; width: max-content; display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.by span { font-family: var(--f-pixel); font-size: 22px; line-height: 1; }
.by img { height: 20px; width: auto; }
.chip { display: inline-block; background: var(--red); color: #fff; font: 600 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px 3px; line-height: 1.3; }
.desc { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; max-width: 42ch; }

.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-grid; place-items: center; font: 600 15px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; padding: 14px 24px; border-radius: 999px; border: 0; background: var(--red-btn); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 3px 3px 0 var(--px-ink); transition: transform .12s steps(2), box-shadow .12s steps(2), background-color .15s ease; }
.btn:hover { background: var(--red); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--px-ink); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 26%; z-index: -1; background: linear-gradient(90deg, transparent 0 20%, rgba(255,255,255,.55) 20% 45%, transparent 45% 60%, rgba(255,255,255,.35) 60% 75%, transparent 75%); transform: skewX(-18deg); animation: shine 3.8s steps(14) infinite; }
@keyframes shine { 0%, 62% { left: -40%; } 100% { left: 130%; } }

input { font: inherit; font-size: 16px; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); width: 100%; min-width: 0; }
input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.fine { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }

/* Okienko jak na stronie głównej: belka z trzema lampkami. */
.win { background: var(--white); border: 1px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); overflow: hidden; }
.winbar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--ink); background: var(--card); font: 600 12px var(--f-mono); letter-spacing: .04em; }
.lamps { display: inline-flex; gap: 5px; }
.lamps i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); }
.lamps i:nth-child(1) { background: var(--red); } .lamps i:nth-child(2) { background: var(--warn); } .lamps i:nth-child(3) { background: var(--green); }
.winbar .wright { margin-left: auto; color: var(--ink-2); font-weight: 400; }

/* Plakietka Kuby, ta sama co w hero strony głównej. */
.idbadge { display: grid; justify-items: center; width: max-content; color: var(--ink); text-decoration: none; }
.id-strap { width: 4px; height: 40px; background: var(--px-ink); }
.id-card { display: grid; width: 176px; background: var(--white); border: 3px solid var(--px-ink); box-shadow: 6px 6px 0 var(--px-ink); padding: 10px; transform: rotate(3deg); transform-origin: top center; animation: idswing 5s ease-in-out infinite; }
@keyframes idswing { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-2deg); } }
.id-role { font: 600 12px var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--red-btn); color: #fff; padding: 4px 8px; text-align: center; }
.id-card img { width: 100%; height: 140px; object-fit: cover; object-position: 50% 30%; border: 3px solid var(--px-ink); margin: 10px 0 8px; }
.id-card b { font-family: var(--f-pixel); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; }
.id-sub { font: 600 12px var(--f-mono); font-style: normal; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.id-code { height: 14px; margin-top: 8px; background: repeating-linear-gradient(90deg, var(--px-ink) 0 2px, transparent 2px 4px, var(--px-ink) 4px 5px, transparent 5px 9px); }

.foot { border-top: 1px solid var(--ink); }
.foot .page { display: grid; gap: 8px; justify-items: center; text-align: center; padding-block: 16px 20px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.foot-legal, .foot-docs { margin: 0; max-width: 110ch; }
.foot a { color: inherit; }


@media (prefers-reduced-motion: reduce) { .logo .cur, .id-card, .btn::after { animation: none; } }
.host, .who { color: inherit; text-decoration: none; }
.host:hover b, .idbadge:hover b { color: var(--red-ink); }

/* Przepustka na webinar (strona zapisu i strony po zapisie). */
.pass-wrap { display: grid; justify-items: center; }
.pass-wrap .id-strap { height: 34px; }
.pass { width: 100%; background: var(--white); border: 3px solid var(--px-ink); box-shadow: 6px 6px 0 var(--px-ink); padding: 14px; transform: rotate(1.5deg); transform-origin: top center; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(1.5deg); } 50% { transform: rotate(-1deg); } }
.pass .id-role { display: block; }
.pass .dt { display: flex; justify-content: space-between; align-items: end; margin: 12px 0; padding-bottom: 12px; border-bottom: 2px dashed var(--hair); }
.pass .dt b { font-family: var(--f-pixel); font-weight: 400; font-size: 64px; line-height: .8; }
.pass .dt b.r { color: var(--red); }
.pass .dt small { display: block; font: 600 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.pass .dt div:last-child { text-align: right; }
.pass .who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pass .who img { width: 44px; height: 48px; object-fit: cover; object-position: 50% 25%; border: 2px solid var(--px-ink); }
.pass .who b { font-family: var(--f-pixel); font-weight: 400; font-size: 22px; line-height: 1; text-transform: uppercase; display: block; }
.pass .who i { font: 600 11px var(--f-mono); font-style: normal; text-transform: uppercase; color: var(--ink-2); }
.pass .stamp { display: block; width: max-content; max-width: 100%; margin: 14px auto 0; padding: 6px 14px 5px; border: 3px solid currentColor; color: var(--red-ink); font: 600 14px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg); }
.pass .stamp.ok { color: #1d7a42; }
@media (max-width: 900px) { .pass-wrap .id-strap { display: none; } .pass { transform: none; animation: none; } }
@media (prefers-reduced-motion: reduce) { .pass { animation: none; } }
