/* okdate: baza, układ, komponenty i sekcje landingu.
   Wymaga tokens.css. Bez frameworka, gotowe do importu do CMS. */

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink-soft);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--c-ink); font-weight: 780; letter-spacing: var(--tracking-head); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-accent); color: var(--c-on-accent); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: var(--sp-4); top: -100px; z-index: var(--z-skip);
  background: var(--c-ink); color: var(--c-paper); padding: 12px 18px; border-radius: var(--r-control);
  font-weight: 650; text-decoration: none;
}
.skip:focus { top: var(--sp-3); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-paper-2); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-soft); max-width: var(--measure); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-head); font-weight: 780; letter-spacing: var(--tracking-head); color: var(--c-ink); text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 720; color: var(--c-ink); }
.sec-head { display: grid; gap: var(--sp-4); max-width: 46rem; margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.small { font-size: var(--fs-small); }
.muted { color: var(--c-ink-muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: baseline; gap: 0.08em;
  font-weight: 800; font-size: 1.5rem; letter-spacing: -0.045em; line-height: 1;
  color: var(--c-ink); text-decoration: none;
}
.logo__dot { width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--c-accent); display: inline-block; }

/* ---------- Przyciski i linki ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; background: none; cursor: pointer;
  font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 2px; border-radius: var(--r-pill); }
.btn--primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn--primary:hover { background: var(--c-accent-strong); }
.btn--ghost { border-color: var(--c-line-strong); color: var(--c-ink); background: var(--c-surface); }
.btn--ghost:hover { border-color: var(--c-ink); }
.btn--sm { --btn-h: 44px; padding: 0 20px; font-size: 0.9688rem; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.85; }
.btn .icon { width: 20px; height: 20px; }

.link {
  color: var(--c-ink); font-weight: 620; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 4px; text-decoration-color: var(--c-line-strong);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--dur-fast) ease, text-decoration-color var(--dur-fast) ease;
}
.link:hover { color: var(--c-accent-text); text-decoration-color: currentColor; }
.link .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Odznaki i chipy ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 26px; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 640; line-height: 1.2; letter-spacing: 0; white-space: nowrap;
}
.badge .icon { width: 15px; height: 15px; }
.badge--ok { background: var(--c-ok-tint); color: var(--c-ok); }
.badge--paid { background: var(--c-paid-tint); color: var(--c-on-paid); }
.badge--paid .icon { color: var(--c-paid); }
.badge--accent { background: var(--c-accent-tint); color: var(--c-accent-text); }
.badge--line { border: 1px solid var(--c-line-strong); color: var(--c-ink-soft); padding-inline: 9px; }
.badge--glass { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge--ink { background: var(--c-ink); color: var(--c-paper); }

.countdown { display: inline-flex; align-items: center; gap: 5px; color: var(--c-accent-text); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.countdown .icon { width: 16px; height: 16px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line-strong); background: var(--c-surface); color: var(--c-ink);
  font-size: var(--fs-small); font-weight: 620; cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--c-ink); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.chip--static { cursor: default; min-height: 36px; padding: 0 14px; }

.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; background: var(--c-surface-2); }
.avatar--lg { width: 56px; height: 56px; }
.avatar--sm { width: 32px; height: 32px; }

/* ---------- Bilet (motyw przewodni) ---------- */
.ticket { position: relative; filter: var(--ticket-edge); color: var(--c-ink-soft); }
.ticket__main, .ticket__stub { background: var(--c-surface); position: relative; }
.ticket__main {
  border-radius: var(--r-card) var(--r-card) 0 0;
  padding: 20px 22px 18px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000 100%) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000 100%) right / 51% 100% no-repeat;
}
.ticket__stub {
  border-radius: 0 0 var(--r-card) var(--r-card);
  padding: 16px 22px 18px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000 100%) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000 100%) right / 51% 100% no-repeat;
}
.ticket__stub::before {
  content: ""; position: absolute; top: 0; left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px);
  border-top: 2px dashed var(--c-line);
}
.ticket__host > span:not([class]) { white-space: nowrap; }
.ticket__host { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: var(--fs-small); font-weight: 640; color: var(--c-ink); }
.ticket__host .badge { margin-left: 2px; }
.ticket__kind {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-paper-2); color: var(--c-ink);
}
.ticket__kind .icon { width: 20px; height: 20px; }
.ticket__title { font-size: 1.25rem; line-height: 1.22; font-weight: 720; letter-spacing: -0.02em; color: var(--c-ink); text-wrap: balance; }
.ticket__desc { margin-top: 6px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink-soft); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs-small); color: var(--c-ink-soft); line-height: 1.3; }
.meta__item { display: inline-flex; align-items: center; gap: 6px; }
.meta__item .icon { width: 17px; height: 17px; color: var(--c-ink-muted); }
.meta__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: var(--fs-small); }
.meta__row .countdown { margin-left: auto; }

.ticket--lift { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) { .ticket--lift:hover { transform: translateY(-2px); } }
.ticket--compact .ticket__main { padding: 14px 16px 12px; }
.ticket--compact .ticket__stub { padding: 12px 16px 14px; }
.ticket--compact .ticket__title { font-size: 1.0625rem; }
.ticket--compact .meta, .ticket--compact .meta__row { font-size: 0.8125rem; }
.ticket--compact .meta { gap: 6px 10px; }
.ticket--compact .meta__row { margin-top: 8px; gap: 6px; }
.ticket--compact .badge { min-height: 22px; padding: 2px 8px; font-size: 0.75rem; }
.ticket--compact { --notch: 9px; }

/* Rozdarcie biletu przy wejściu na stronę */
@media (prefers-reduced-motion: no-preference) {
  .ticket--tear .ticket__stub { transform-origin: 88% 0; animation: tear 1100ms var(--ease-spring) 900ms both; }
  @keyframes tear {
    0% { transform: none; }
    100% { transform: translateY(4px) rotate(-1.2deg); }
  }
}

/* Bilet ze zdjęciem okazji */
.ticket--photo .ticket__main { padding: 8px 8px 18px; }
.ticket__media { position: relative; aspect-ratio: 16 / 9; border-radius: 13px; overflow: hidden; margin-bottom: 14px; background: var(--c-paper-2); }
.ticket__img { width: 100%; height: 100%; object-fit: cover; }
.ticket--photo .ticket__title, .ticket--photo .ticket__desc { padding-inline: 14px; }
.ticket--photo .ticket__host { position: absolute; left: 10px; bottom: 10px; margin: 0; gap: 8px; padding: 4px 12px 4px 4px; font-size: 13px; font-weight: 650; color: #FFFFFF; }
.ticket--photo .ticket__host .avatar { width: 28px; height: 28px; }
.ticket__ok { width: 16px; height: 16px; color: #7EE2B3; }
.ticket--photo .ticket__kind { position: absolute; top: 10px; right: 10px; margin: 0; width: 36px; height: 36px; color: #FFFFFF; }
.ticket--photo .ticket__kind .icon { width: 18px; height: 18px; }

/* ---------- Formularz zapisu ---------- */
.signup { max-width: 34rem; }
.signup__label { display: block; font-size: var(--fs-small); font-weight: 650; color: var(--c-ink); margin-bottom: 8px; }
.signup__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.input {
  width: 100%; height: 52px; padding: 0 22px;
  border: 1px solid var(--c-line); border-radius: var(--r-pill);
  background: var(--c-surface); color: var(--c-ink); font-size: 1.0625rem;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.input::placeholder { color: var(--c-ink-muted); opacity: 1; }
.input:hover { border-color: var(--c-line-strong); }
.input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-color: var(--c-accent); border-radius: var(--r-pill); }
.input[aria-invalid="true"] { border-color: var(--c-accent); }
.input--highlight {
  animation: inputGlow 1.4s ease-out;
}
@keyframes inputGlow {
  0% { box-shadow: 0 0 0 5px var(--c-accent-tint), 0 0 0 1.5px var(--c-accent); }
  100% { box-shadow: none; }
}
.signup__error { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: var(--fs-small); font-weight: 560; color: var(--c-accent-text); }
.signup__error:empty { display: none; }
.signup__error .icon { width: 18px; height: 18px; margin-top: 2px; }
.signup__help { margin-top: 10px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink-muted); }
.signup__help a { color: var(--c-ink-soft); text-underline-offset: 3px; }
.signup__help a:hover { color: var(--c-accent-text); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: center; gap: 12px; margin-top: 14px; cursor: pointer; font-size: var(--fs-small); font-weight: 560; color: var(--c-ink); min-height: 44px; }
.check input { appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--c-line-strong); border-radius: 6px; background: var(--c-surface); display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.check input::after { content: ""; width: 11px; height: 6px; border: solid var(--c-on-accent); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform var(--dur-fast) var(--ease-spring); }
.check input:checked { background: var(--c-accent); border-color: var(--c-accent); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* Stan po zapisie: odcinek biletu */
.joined { max-width: 34rem; }
.joined .ticket__main { padding: 20px 22px 18px; }
.joined .joined__title { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 760; letter-spacing: -0.02em; color: var(--c-ink); }
.joined__title .icon { width: 26px; height: 26px; color: var(--c-ok); }
.joined p { margin-top: 6px; font-size: var(--fs-small); }
.joined .joined__q { font-size: var(--fs-small); font-weight: 650; color: var(--c-ink); margin: 0 0 10px; padding: 0; }
.joined fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.joined__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.joined .joined__thanks { margin-top: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--c-ok); }
@media (prefers-reduced-motion: no-preference) {
  .joined { animation: pop 520ms var(--ease-spring) both; }
  @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
}

/* ---------- Telefon: zdjęcie na cały ekran, interfejs w szkle ---------- */
.phone {
  position: relative; width: clamp(300px, 23vw, 320px); aspect-ratio: 9 / 19.2; container: phone / inline-size;
  background: linear-gradient(145deg, #2E2852 0%, #14112A 55%, #0B0916 100%); border-radius: var(--r-phone); padding: 8px;
  box-shadow: var(--sh-3), inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 3px rgba(0, 0, 0, 0.4);
}
.phone__screen { position: relative; isolation: isolate; height: 100%; border-radius: calc(var(--r-phone) - 8px); overflow: hidden; background: #1A1730; color: #FFFFFF; display: flex; flex-direction: column; }
.phone__island { position: absolute; top: 10px; left: 50%; width: 31%; height: 24px; transform: translateX(-50%); border-radius: var(--r-pill); background: #05040A; z-index: 10; pointer-events: none; }
.phone__status { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 13px 24px 0; font-size: 12px; font-weight: 700; letter-spacing: 0; color: #FFFFFF; pointer-events: none; }
.phone__status span:last-child { display: inline-flex; gap: 4px; align-items: center; }
.phone__status .icon { width: 14px; height: 14px; }
.phone__top { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 12px 0; pointer-events: none; }
.phone__title { font-size: 13px; font-weight: 720; letter-spacing: -0.01em; padding: 7px 12px; white-space: nowrap; }
.phone__filter { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 650; padding: 6px 10px 6px 8px; white-space: nowrap; }
.phone__filter .icon { width: 14px; height: 14px; color: #7EE2B3; }

/* Talia kart okazji w telefonie */
.phone__deck { position: absolute; inset: 0; overflow: hidden; border-radius: calc(var(--r-phone) - 8px); z-index: 1; }
.phone__card {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: calc(var(--r-phone) - 8px); overflow: hidden;
  transition: transform 520ms cubic-bezier(0.25, 1, 0.5, 1), opacity 420ms ease;
  pointer-events: none; opacity: 0; transform: scale(0.94);
}
.phone__card[data-active="true"] { z-index: 3; opacity: 1; transform: scale(1); pointer-events: auto; }
.phone__card[data-active="false"] { z-index: 1; opacity: 0; transform: scale(0.94); pointer-events: none; }
.phone__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; }
.phone__card-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 22, 0.55) 0%, rgba(10, 8, 22, 0) 19%, rgba(10, 8, 22, 0) 40%, rgba(10, 8, 22, 0.52) 62%, rgba(10, 8, 22, 0.88) 100%);
}
.phone__card .phone__bottom {
  margin-top: auto; display: grid; gap: 10px; padding: 0 10px 76px;
  position: relative; z-index: 2;
}
.phone__who { padding: 0 4px; }
.phone__name { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 780; letter-spacing: -0.02em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }
.phone__name .icon { width: 20px; height: 20px; color: #7EE2B3; }
.phone__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.phone__tag { font-size: 11px; font-weight: 650; padding: 4px 10px; }
.phone .ticket { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32)); }

/* Przyciemnienie / przygaszenie tła pod pieczęcią reakcji */
.phone__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 24, 0.68);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.phone__card.show-stamp-ok::after,
.phone__card.show-stamp-skip::after,
.phone__card.show-stamp-super::after {
  opacity: 1;
}

/* Glassmorphism badges reakcji (Wchodzę w to, Pomiń, Super) */
.phone__stamp {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  transition: opacity 200ms ease, transform 300ms var(--ease-spring);
}
.phone__stamp .icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.phone__stamp--ok {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.46) 0%, rgba(22, 163, 74, 0.24) 100%);
  border: 1.5px solid rgba(187, 247, 208, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 16px 40px rgba(22, 163, 74, 0.5);
  color: #FFFFFF;
}
.phone__stamp--skip {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.32) 0%, rgba(220, 38, 38, 0.18) 100%);
  border: 1.5px solid rgba(255, 205, 215, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 16px 40px rgba(220, 38, 38, 0.4);
  color: #FFFFFF;
}
.phone__stamp--super {
  background: linear-gradient(135deg, rgba(217, 36, 91, 0.52) 0%, rgba(184, 26, 75, 0.30) 100%);
  border: 1.5px solid rgba(255, 215, 225, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 16px 40px rgba(217, 36, 91, 0.55);
  color: #FFFFFF;
}
.phone__card.show-stamp-ok .phone__stamp--ok {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-2deg);
}
.phone__card.show-stamp-skip .phone__stamp--skip {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(2deg);
}
.phone__card.show-stamp-super .phone__stamp--super {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Animacje odlatywania kart */
.phone__card.is-flying-ok {
  transform: translate3d(125%, 12px, 0) rotate(16deg) !important;
  opacity: 0 !important;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease !important;
}
.phone__card.is-flying-skip {
  transform: translate3d(-125%, 12px, 0) rotate(-16deg) !important;
  opacity: 0 !important;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease !important;
}
.phone__card.is-flying-super {
  transform: translate3d(0, -125%, 0) scale(1.06) !important;
  opacity: 0 !important;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease !important;
}

/* Przyciski w doku telefonu */
.phone__dock {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 7px; border-radius: var(--r-pill);
  z-index: 10;
}
.pbtn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 0; background: none; cursor: pointer; padding: 0; outline: none;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease, background var(--dur-fast) ease;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.pbtn:hover { transform: scale(1.08); }
.pbtn:active, .pbtn.is-pressed { transform: scale(0.88); }
.pbtn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.pbtn .icon { width: 22px; height: 22px; pointer-events: none; }

.pbtn--skip {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(220, 38, 38, 0.10) 100%);
  color: #FFB3C1;
  border: 1px solid rgba(255, 180, 195, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 16px rgba(10, 8, 22, 0.3);
}
.pbtn--skip:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.32) 0%, rgba(220, 38, 38, 0.22) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}
.pbtn--skip.is-pressed {
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.7);
}

.pbtn--super {
  width: 44px; height: 44px;
  background: var(--c-accent);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 16px rgba(217, 36, 91, 0.4);
}
.pbtn--super:hover {
  background: var(--c-accent-strong);
  box-shadow: 0 8px 22px rgba(217, 36, 91, 0.6);
}
.pbtn--super.is-pressed {
  box-shadow: 0 0 24px rgba(217, 36, 91, 0.85);
}
.pbtn--super .icon { width: 20px; height: 20px; }

.pbtn--go {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 20px rgba(22, 163, 74, 0.45);
  position: relative;
}
.pbtn--go:hover {
  background: linear-gradient(135deg, #2ED36B 0%, #15803D 100%);
  box-shadow: 0 8px 26px rgba(22, 163, 74, 0.65);
}
.pbtn--go.is-pressed {
  box-shadow: 0 0 26px rgba(34, 197, 94, 0.9);
}
.pbtn--go .icon { width: 26px; height: 26px; }
.pbtn--go .tap-ring {
  position: absolute; inset: -6px; border-radius: 50%; border: 2.5px solid #22C55E;
  opacity: 0; pointer-events: none;
}
.pbtn--go.is-pulsing .tap-ring {
  animation: tapPulse 800ms ease-out;
}
@keyframes tapPulse {
  0% { transform: scale(0.85); opacity: 0.95; }
  100% { transform: scale(1.65); opacity: 0; }
}

@container phone (max-width: 290px) {
  .phone .ticket__desc { display: none; }
  .phone__title { font-size: 12px; }
}

/* ---------- Nawigacja: pływająca kapsuła ze szkła ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-nav); padding-top: 12px; pointer-events: none; }
.nav__inner {
  pointer-events: auto; height: 60px; display: flex; align-items: center; gap: var(--sp-5);
  padding: 0 8px 0 22px; border-radius: var(--r-pill);
  background: var(--c-nav); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--c-nav-line);
  box-shadow: inset 0 1px 0 var(--c-nav-hi), 0 10px 30px -20px rgba(29, 24, 56, 0.35);
  transition: box-shadow var(--dur) ease;
}
.nav.is-stuck .nav__inner { box-shadow: inset 0 1px 0 var(--c-nav-hi), 0 16px 40px -18px rgba(29, 24, 56, 0.42); }
.nav__cta { border-radius: var(--r-pill); }
.nav__links { display: flex; gap: 4px; list-style: none; margin-left: var(--sp-4); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-control); text-decoration: none; font-size: var(--fs-small); font-weight: 600; color: var(--c-ink-soft); transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.nav__links a:hover { color: var(--c-ink); background: var(--c-paper-2); }
.nav__links a[aria-current="page"] { color: var(--c-ink); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }
.lang { display: flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 2px; }
.lang a { display: grid; place-items: center; min-width: 44px; min-height: 40px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; color: var(--c-ink-muted); letter-spacing: 0.02em; }
.lang a[aria-current="true"] { background: var(--c-ink); color: var(--c-paper); }
.lang a:not([aria-current]):hover { color: var(--c-ink); }
@media (max-width: 899px) { .nav__links { display: none; } }
@media (max-width: 519px) { .nav__cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: center; padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__copy { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.hero__title { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -0.04em; font-weight: 800; }
.hero__title .line { display: block; white-space: nowrap; }
:root[lang="en"] .hero__title { font-size: clamp(2.5rem, 1rem + 3.7vw, 4.25rem); }
.hpill {
  display: inline-block; width: 1.42em; height: 0.72em; margin: 0 0.06em; border-radius: var(--r-pill); overflow: hidden;
  vertical-align: -0.02em; box-shadow: var(--sh-2); background: var(--c-paper-2);
}
.hpill img { width: 100%; height: 100%; object-fit: cover; }
.hpill--a { transform: rotate(-4deg); }
.hpill--b { transform: rotate(3deg); }
.hero__pills { display: none; gap: 8px; margin-top: -4px; }
.hero__pills span { width: 84px; height: 40px; border-radius: var(--r-pill); overflow: hidden; box-shadow: var(--sh-1); background: var(--c-paper-2); }
.hero__pills span:nth-child(1) { transform: rotate(-3deg); }
.hero__pills span:nth-child(3) { transform: rotate(3deg); }
.hero__pills img { width: 100%; height: 100%; object-fit: cover; }
.hero .lead { max-width: 33rem; }
.hero__visual { position: relative; display: grid; justify-items: center; align-items: center; }
.hero__back { position: absolute; width: min(300px, 88%); left: -12%; bottom: 8%; transform: rotate(-8deg); z-index: 0; }
.hero__visual .phone { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-load] { animation: rise 820ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
  .js .hero__back { animation: drift 1200ms var(--ease-out) 300ms both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes drift { from { opacity: 0; transform: translate(30px, 20px) rotate(-2deg); } to { opacity: 1; transform: rotate(-8deg); } }
}
@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin-top: var(--sp-5); }
  .hero__back { left: 2%; bottom: 10%; width: min(260px, 60%); }
}
@media (max-width: 599px) {
  .hpill { display: none; }
  .hero__pills { display: flex; }
  .hero__title .line { white-space: normal; }
  .hero__back { display: none; }
  .signup__row { grid-template-columns: minmax(0, 1fr); }
  .signup__row .btn { width: 100%; }
}

/* ---------- Okazje ---------- */
.occ-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px clamp(1.5rem, 3vw, 2.75rem); align-items: start; max-width: 1080px; }
.occ-grid > :nth-child(even) { margin-top: 64px; }
.occ-grid > :nth-child(3) { margin-top: -24px; }
@media (max-width: 767px) {
  .occ-grid {
    display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 28px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .occ-grid::-webkit-scrollbar { display: none; }
  .occ-grid > * { flex: 0 0 min(86%, 360px); scroll-snap-align: start; margin-top: 0 !important; }
  .occ-grid .ticket__kind { display: none; }
}

/* ---------- Jak to działa ---------- */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.how__aside { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: var(--sp-5); }
.how__aside .sec-head { margin-bottom: 0; }
.aside-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-card); background: var(--c-paper-2); font-size: var(--fs-small); line-height: 1.55; max-width: 26rem; }
.aside-note .icon { width: 24px; height: 24px; color: var(--c-accent-text); margin-top: 1px; }
.aside-note strong { color: var(--c-ink); font-weight: 680; }
.steps { list-style: none; display: grid; gap: clamp(3rem, 2rem + 4vw, 5.5rem); }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 20px; }
.step__num { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--c-accent); color: var(--c-accent-text); display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; line-height: 1; }
.step__body { display: grid; gap: 10px; padding-top: 8px; }
.step__body p { max-width: 34rem; }
.demo { position: relative; margin-top: 14px; max-width: 30rem; padding: 18px; border-radius: var(--r-card); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-2); display: grid; gap: 14px; color: var(--c-ink); }
.demo__label { font-size: var(--fs-xs); font-weight: 650; color: var(--c-ink-muted); margin-bottom: 8px; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.demo__chips .chip--static { pointer-events: none; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: var(--r-control); background: var(--c-surface-2); border: 1px solid var(--c-line); }
.seg span { display: grid; place-items: center; min-height: 38px; border-radius: 9px; font-size: var(--fs-small); font-weight: 620; color: var(--c-ink-soft); }
.seg .is-on { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--sh-2); }
.demo__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.demo__foot .meta__item { font-weight: 600; color: var(--c-ink); }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: var(--fs-small); font-weight: 650; }
button.mini-btn { height: 44px; padding: 0 16px; border: 0; font: inherit; font-size: var(--fs-small); font-weight: 650; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease, opacity var(--dur) ease; }
button.mini-btn:active { transform: translateY(1px); }
button.mini-btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
button.mini-btn:disabled, button.mini-btn[aria-disabled="true"] { opacity: 0.45; cursor: default; transform: none; }
button.mini-btn--ghost { border: 1.5px solid var(--c-line-strong); background: transparent; color: var(--c-ink); }
button.mini-btn--ink:hover:not(:disabled) { background: var(--c-ink-soft); }
button.mini-btn--accent:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--c-accent); color: var(--c-on-accent); }
button.mini-btn--ghost:hover:not(:disabled):not([aria-disabled="true"]) { border-color: var(--c-ink); }
.mini-btn--ink { background: var(--c-ink); color: var(--c-paper); }
.mini-btn--accent { background: var(--c-accent-tint); color: var(--c-accent-text); }
.mini-btn--ghost { border: 1.5px solid var(--c-line-strong); color: var(--c-ink); }
.mini-btn .icon { width: 18px; height: 18px; }
.person { display: flex; align-items: center; gap: 12px; }
.person__name { font-weight: 720; font-size: 1.0625rem; letter-spacing: -0.015em; }
.person__sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.bubble { padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--c-surface-2); font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink-soft); }
.demo__actions { display: flex; gap: 8px; }
.facts { list-style: none; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--c-ink-soft); }
.facts .icon { width: 20px; height: 20px; color: var(--c-ink); }

/* Podglądy do wypróbowania: tworzenie okazji, wybór chętnych, klepnięte spotkanie.
   Bez JS działają wybory w formularzu; reszta ożywa po załadowaniu skryptu. */
.demo__try { position: absolute; top: 14px; right: 14px; z-index: 2; display: none; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: var(--r-pill); background: var(--c-accent-tint); color: var(--c-accent-text); font-size: var(--fs-xs); font-weight: 680; pointer-events: none; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.js .demo__try { display: inline-flex; }
.demo__try .icon { width: 16px; height: 16px; transform-origin: 40% 90%; }
.demo.is-used .demo__try { opacity: 0; transform: translateY(-4px); }
.demo__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.demo__stage { display: grid; }
.demo__view { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear 0s; }
.demo__view[inert] { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--dur-fast) linear, transform var(--dur-fast) linear, visibility 0s linear var(--dur-fast); }

.chip--pick { position: relative; min-height: 40px; padding: 0 14px; -webkit-tap-highlight-color: transparent; }
.chip--pick::after { content: ""; position: absolute; inset: -3px -2px; }
.chip--pick input, .seg--live input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip--pick:has(input:checked) { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.chip--pick:has(input:focus-visible), .seg--live label:has(input:focus-visible) { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.seg--live { position: relative; isolation: isolate; }
.seg__thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 9px; background: var(--c-surface); box-shadow: var(--sh-2); transition: transform 460ms var(--ease-spring); }
.seg--live label { position: relative; display: grid; place-items: center; min-height: 40px; padding-inline: 6px; border-radius: 9px; font-size: var(--fs-small); font-weight: 620; color: var(--c-ink-soft); text-align: center; cursor: pointer; transition: color var(--dur-fast) ease; -webkit-tap-highlight-color: transparent; }
.seg--live label:has(input:checked) { color: var(--c-ink); }
.seg--live:has(label:nth-of-type(2) input:checked) .seg__thumb { transform: translateX(100%); }
.seg--live:has(label:nth-of-type(3) input:checked) .seg__thumb { transform: translateX(200%); }

.demo__ok { display: flex; align-items: center; gap: 8px; font-weight: 720; letter-spacing: -0.01em; color: var(--c-ink); }
.demo__ok .icon { width: 22px; height: 22px; color: var(--c-accent-text); }
.demo .demo__sub { margin-top: -8px; font-size: var(--fs-small); color: var(--c-ink-muted); }
.demo__ticket { --notch: 9px; }
.demo__ticket .ticket__main, .demo__ticket .ticket__stub { background: var(--c-surface-2); }
button.link { padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-small); font-weight: 650; min-height: 44px; cursor: pointer; justify-self: start; }
button.link:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
button.link:hover .icon { transform: rotate(-30deg); }

.demo__count { display: flex; gap: 6px; margin: 0; }
.demo__count span { font-variant-numeric: tabular-nums; color: var(--c-ink-soft); }
.deck { display: grid; padding-bottom: 16px; }
.cand { --spread: 1; position: relative; grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; padding: 14px; border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 6px 18px -12px rgba(29, 24, 56, 0.35); transform-origin: 50% 100%; transform: translateY(calc(var(--pos, 0) * var(--spread) * 8px)) scale(calc(1 - var(--pos, 0) * var(--spread) * 0.04)); z-index: calc(5 - var(--pos, 0)); }
.cand[data-pos="1"] { --pos: 1; }
.cand[data-pos="2"] { --pos: 2; }
.cand[data-pos="1"] > *, .cand[data-pos="2"] > * { opacity: 0; }
.cand.is-leaving { z-index: 9; }
.cand.is-out-yes { transform: translateX(118%) rotate(9deg); opacity: 0; }
.cand.is-out-res { transform: translateY(42px) scale(0.86); opacity: 0; }
.cand.is-gone { visibility: hidden; }
.cand__stamp { position: absolute; top: 14px; right: 14px; padding: 3px 12px; border: 2px solid currentColor; border-radius: 10px; background: var(--c-surface); font-weight: 800; font-size: 0.9375rem; opacity: 0; transform: rotate(-12deg) scale(1.3); }
.cand__stamp--yes { color: var(--c-accent-text); }
.cand__stamp--res { color: var(--c-ink-muted); }
.cand.is-stamp-yes .cand__stamp--yes, .cand.is-stamp-res .cand__stamp--res { opacity: 1; transform: rotate(-12deg) scale(1); }
.deck__done { grid-area: 1 / 1; display: grid; align-content: center; justify-items: start; gap: 6px; padding: 18px; border-radius: 16px; border: 1.5px dashed var(--c-line-strong); color: var(--c-ink); font-weight: 650; transition: opacity var(--dur) var(--ease-out) 120ms; }
.deck__done[inert] { opacity: 0; visibility: hidden; transition: none; }
.tray { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--c-line); }
.tray__row { display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: var(--fs-xs); font-weight: 650; color: var(--c-ink-muted); }
.tray__label { min-width: 4.75rem; flex: none; }
.tray__slots { display: flex; flex-wrap: wrap; gap: 6px; }
.tray__empty { width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed var(--c-line-strong); }
.tray__chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border-radius: var(--r-pill); background: var(--c-surface-2); color: var(--c-ink); font-size: var(--fs-xs); font-weight: 680; }
.tray__chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.tray__chip--yes { background: var(--c-accent-tint); color: var(--c-accent-text); }

.demo__badge { justify-self: start; }
.facts li [data-out] { display: inline-block; }
.facts li.is-done { color: var(--c-ink); font-weight: 650; }
.facts li.is-done .icon { color: var(--c-ok); }

@media (prefers-reduced-motion: no-preference) {
  .cand { transition: transform 560ms var(--ease-spring), opacity var(--dur) var(--ease-out); }
  .cand > * { transition: opacity var(--dur) var(--ease-out) 90ms; }
  .cand.is-out-yes { transition: transform 600ms var(--ease-out), opacity 420ms ease 160ms; }
  .cand.is-out-res { transition: transform 480ms var(--ease-out), opacity 380ms ease 60ms; }
  .cand__stamp { transition: opacity 140ms ease, transform 300ms var(--ease-spring); }
  .tray__chip { animation: land 460ms var(--ease-spring) both; }
  .is-swap { animation: swap 380ms var(--ease-out) both; }
  .demo__posted:not([inert]) .demo__ticket { animation: print 680ms var(--ease-spring) 80ms both; }
  .demo__posted:not([inert]) .demo__ok .icon { animation: pop 520ms var(--ease-spring) 40ms both; }
  .facts li.is-done .icon { animation: pop 520ms var(--ease-spring) both; }

  /* Wejście: chipy, talia kart i fakty pojawiają się po kolei, potem podpowiedź „Wypróbuj” */
  .js .step:not(.is-in) .chip--pick, .js .step:not(.is-in) .facts li { opacity: 0; }
  .js .step.is-in .chip--pick { animation: chip-in 520ms var(--ease-out) backwards; animation-delay: calc(var(--k, 0) * 55ms + 320ms); }
  .js .step.is-in .facts li { animation: chip-in 560ms var(--ease-out) backwards; animation-delay: calc(var(--k, 0) * 140ms + 360ms); }
  .js .step:not(.is-in) .cand { --spread: 0; }
  .js .step.is-in .demo__try { animation: try-in 520ms var(--ease-spring) 1000ms backwards; }
  .js .step.is-in .demo:not(.is-used) .demo__try .icon { animation: tap 1.5s ease-in-out 1.6s 3; }
  @keyframes chip-in { from { opacity: 0; transform: translateY(8px); } }
  @keyframes try-in { from { opacity: 0; transform: translateY(-6px) scale(0.9); } }
  @keyframes tap { 0%, 100% { transform: none; } 35% { transform: translateY(-3px) rotate(-10deg); } 55% { transform: translateY(1px) rotate(0deg); } }
  @keyframes land { from { opacity: 0; transform: translateY(-12px) scale(0.8); } }
  @keyframes swap { from { opacity: 0; transform: translateY(7px); } }
  @keyframes print { from { opacity: 0; transform: translateY(22px) rotate(-2.5deg) scale(0.95); } }
  @keyframes pop { from { transform: scale(0.4); } }
}
@media (max-width: 899px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how__aside { position: static; }
}
@media (max-width: 479px) {
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__num { width: 42px; height: 42px; font-size: 1.125rem; }
}

/* ---------- Randki od lokali ---------- */
.venue { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.venue__media { position: relative; padding-bottom: 40px; padding-right: 32px; }
.venue__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 75%; border-radius: var(--r-panel); background: var(--c-paper-2); }
.venue__ticket { position: absolute; right: 0; bottom: 0; width: min(340px, 78%); transform: rotate(2.5deg); }
.venue__copy { display: grid; gap: var(--sp-5); }
.venue__copy .sec-head { margin-bottom: 0; }
.nlist { list-style: none; display: grid; gap: 14px; counter-reset: n; }
.nlist li { counter-increment: n; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--c-ink); font-weight: 600; }
.nlist li::before { content: counter(n); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink); color: var(--c-paper); font-weight: 760; font-size: 0.9375rem; }
.nlist li span { padding-top: 4px; }
.note { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--c-ink-soft); }
.note .icon { width: 20px; height: 20px; color: var(--c-ok); }
@media (max-width: 899px) {
  .venue { grid-template-columns: minmax(0, 1fr); }
  .venue__media { padding: 0; max-width: 34rem; }
  .venue__img { aspect-ratio: 5 / 4; }
  .venue__ticket { position: relative; width: auto; margin: -72px 16px 0; transform: rotate(1.5deg); }
}

/* ---------- Wesele: zdjęcie na pełną szerokość, lista w szkle ---------- */
.wed-band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: min(100svh, 880px); padding-block: clamp(5rem, 3rem + 6vw, 8rem); background: #161329; color: #FFFFFF; }
.wed-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; z-index: -2; }
.wed-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18, 15, 34, 0.88) 0%, rgba(18, 15, 34, 0.64) 38%, rgba(18, 15, 34, 0.16) 66%, rgba(18, 15, 34, 0.05) 100%),
              linear-gradient(0deg, rgba(18, 15, 34, 0.55) 0%, rgba(18, 15, 34, 0) 32%);
}
.wed { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wed__copy { display: grid; gap: var(--sp-5); color: rgba(255, 255, 255, 0.86); }
.wed__copy .h2 { color: #FFFFFF; }
.wed__copy .lead { color: rgba(255, 255, 255, 0.86); }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 560; }
.ticks .icon { width: 22px; height: 22px; margin-top: 3px; color: #FF8FB0; }
.applist { background: var(--c-surface); color: var(--c-ink); border-radius: var(--r-card); box-shadow: var(--sh-3); padding: 8px; }
.applist__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 12px 12px 14px; }
.applist__head strong { font-size: 1.0625rem; font-weight: 740; letter-spacing: -0.015em; }
.applist__head .muted { display: block; font-size: var(--fs-xs); font-weight: 560; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 650; color: var(--c-ink); }
.toggle__track { width: 40px; height: 24px; border-radius: var(--r-pill); background: var(--c-ok); position: relative; flex: none; }
.toggle__track::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; }
:root[data-theme="dark"] .toggle__track { background: #1F8A5B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toggle__track { background: #1F8A5B; } }
.app { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px; border-radius: 14px; }
.app + .app { border-top: 1px solid var(--c-line); border-radius: 0 0 14px 14px; }
.app--super { background: var(--c-paid-tint); border-radius: 14px; }
.app--super + .app { border-top-color: transparent; }
.app__name { font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.app__name .icon { width: 17px; height: 17px; color: var(--c-ok); }
.app__quote { grid-column: 2 / -1; font-size: var(--fs-small); color: var(--c-ink-soft); line-height: 1.45; }
.app--super .app__quote { color: var(--c-on-paid); }
.applist--glass {
  color: #FFFFFF; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.applist--glass .muted { color: rgba(255, 255, 255, 0.72); }
.applist--glass .toggle { color: #FFFFFF; }
.applist--glass .toggle__track { background: #1F8A5B; }
.applist--glass .app + .app { border-top-color: rgba(255, 255, 255, 0.14); }
.applist--glass .app--super { background: rgba(233, 161, 0, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 214, 120, 0.35); }
.applist--glass .app__name .icon { color: #7EE2B3; }
.applist--glass .app__quote, .applist--glass .app--super .app__quote { color: rgba(255, 255, 255, 0.88); }
.applist--glass .badge--line { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wed-band__img { animation: band-drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes band-drift { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
  }
}
@media (max-width: 899px) {
  .wed { grid-template-columns: minmax(0, 1fr); }
  .wed-band { min-height: 0; padding-top: clamp(15rem, 62vw, 26rem); }
  .wed-band__img { height: clamp(24rem, 100vw, 38rem); bottom: auto; object-position: 60% 50%; }
  .wed-band::before { background: linear-gradient(180deg, rgba(22, 19, 41, 0) 0%, rgba(22, 19, 41, 0.15) clamp(6rem, 30vw, 12rem), rgba(22, 19, 41, 0.86) clamp(16rem, 70vw, 28rem), #161329 clamp(24rem, 100vw, 38rem)); }
}
@media (max-width: 479px) {
  .app { grid-template-columns: auto minmax(0, 1fr); }
  .app > .badge { grid-column: 2; justify-self: start; }
}

/* ---------- Weryfikacja ---------- */
.verify__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem); list-style: none; max-width: 1040px; }
.vpoint { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.vpoint__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c-surface); color: var(--c-ink); box-shadow: var(--sh-1); border: 1px solid var(--c-line); }
.vpoint__icon .icon { width: 26px; height: 26px; }
.vpoint p { font-size: 1.0625rem; }
.vpoint strong { display: block; color: var(--c-ink); font-weight: 720; letter-spacing: -0.01em; margin-bottom: 2px; }
.verify__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.price-stub { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: var(--r-control); background: var(--c-paid-tint); color: var(--c-on-paid); font-weight: 640; font-size: var(--fs-small); }
.price-stub .icon { width: 22px; height: 22px; color: var(--c-paid); }
.price-stub b { font-weight: 800; font-size: 1.0625rem; white-space: nowrap; }
@media (max-width: 767px) { .verify__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Słowność: ekran blokady z powiadomieniem w szkle ---------- */
.word { display: grid; justify-items: center; text-align: center; }
.push { width: min(100%, 420px); padding: 14px 16px 16px; border-radius: 22px; background: var(--c-surface); box-shadow: var(--sh-3); border: 1px solid var(--c-line); text-align: left; color: var(--c-ink); }
.push__top { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--c-ink-muted); font-weight: 600; }
.push__app { width: 22px; height: 22px; border-radius: 7px; background: var(--c-ink); display: grid; place-items: center; }
.push__app i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.push__top span:last-child { margin-left: auto; }
.push__title { margin-top: 8px; font-weight: 720; font-size: 1.0625rem; letter-spacing: -0.01em; }
.push__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.push__actions span { display: grid; place-items: center; min-height: 42px; border-radius: 12px; font-weight: 650; font-size: var(--fs-small); }
.push__yes { background: var(--c-ok-tint); color: var(--c-ok); }
.push__no { background: var(--c-surface-2); color: var(--c-ink-soft); }
.lock { position: relative; isolation: isolate; overflow: hidden; width: 100%; max-width: 1080px; aspect-ratio: 16 / 8; border-radius: var(--r-panel); display: grid; justify-items: center; align-content: center; gap: 20px; padding: 32px 20px; color: #FFFFFF; background: #120F22; }
.lock__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.lock::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(75% 65% at 50% 45%, rgba(10, 8, 22, 0.12), rgba(10, 8, 22, 0.62)); }
.lock__time { font-size: clamp(3.75rem, 2rem + 6vw, 7rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.push.glass { border-radius: 26px; width: min(100%, 440px); color: #FFFFFF; }
.push.glass .push__top { color: rgba(255, 255, 255, 0.75); }
.push.glass .push__app { background: #FFFFFF; }
.push__btn { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); border-radius: 14px; }
.lock__badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; font-weight: 680; font-size: var(--fs-small); }
.lock__badge .icon { width: 20px; height: 20px; color: #FF8FB0; }
.lock__badge--l { left: 6%; top: 18%; transform: rotate(-4deg); }
.lock__badge--r { right: 6%; bottom: 16%; transform: rotate(3deg); }
@media (max-width: 767px) {
  .lock { aspect-ratio: auto; min-height: 520px; padding: 44px 16px; }
  .lock__badge { position: static; transform: none; }
}

/* ---------- Ceny ---------- */
.prices { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 18px; max-width: 1080px; }
.price { border-radius: var(--r-card); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: grid; gap: 10px; align-content: start; }
.price--free { grid-row: span 2; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-1); align-content: space-between; min-height: 360px; }
.price--paid { background: var(--c-paid-tint); color: var(--c-on-paid); }
.price > .price__big { font-size: clamp(5rem, 3rem + 9vw, 9.5rem); line-height: 0.9; font-weight: 800; letter-spacing: -0.06em; color: var(--c-ink); }
.price > .price__amt { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--c-ink); }
.price > .price__name { display: flex; align-items: center; gap: 8px; font-weight: 720; font-size: 1.125rem; letter-spacing: -0.01em; }
.price__name .icon { width: 22px; height: 22px; color: var(--c-paid); }
.price--paid p { font-size: var(--fs-small); line-height: 1.5; }
.price--free p { font-size: 1.125rem; color: var(--c-ink); font-weight: 600; max-width: 22rem; }
.price__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.price__chips .chip { pointer-events: none; }
@media (max-width: 767px) {
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price--free { grid-row: auto; min-height: 0; gap: 18px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 18px 0; cursor: pointer; font-size: 1.1875rem; font-weight: 680; letter-spacing: -0.015em; color: var(--c-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-accent-text); }
.faq__item summary:focus-visible { outline-offset: 4px; }
.faq__plus { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-line); color: var(--c-ink); transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.faq__plus .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--c-ink); border-color: var(--c-ink); color: var(--c-paper); }
.faq__a { padding: 0 52px 24px 0; max-width: var(--measure); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: rise 420ms var(--ease-out) both; }
}
@media (max-width: 899px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .faq__a { padding-right: 0; }
}

/* ---------- Końcowe wezwanie ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--c-paper-2); border: 1px solid var(--c-line); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 1rem + 5vw, 5rem); }
.cta__copy { display: grid; gap: var(--sp-5); }
.cta__copy .sec-head { margin-bottom: 0; }
.cta__art { position: relative; min-height: 420px; }
.cta__photo { position: absolute; width: 58%; filter: var(--ticket-edge); }
.cta__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-card); background: var(--c-surface-2);
  -webkit-mask: radial-gradient(circle 11px at 0 72%, #0000 97%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 72%, #0000 97%, #000 100%) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 72%, #0000 97%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 72%, #0000 97%, #000 100%) right / 51% 100% no-repeat; }
.cta__photo:nth-child(1) { left: 0; top: 4%; transform: rotate(-6deg); }
.cta__photo:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); width: 50%; }
.cta__photo:nth-child(3) { left: 22%; bottom: 0; transform: rotate(-1.5deg); width: 54%; }
.cta__photo:nth-child(3) img { aspect-ratio: 4 / 3; -webkit-mask: none; mask: none; }
@media (max-width: 899px) {
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta__art { min-height: 300px; max-width: 26rem; width: 100%; margin-inline: auto; order: -1; }
}
@media (max-width: 479px) {
  .cta { border-radius: var(--r-card); padding: 28px 18px; }
  .cta__art { min-height: 240px; }
}

/* ---------- Stopka ---------- */
.footer { border-top: 1px solid var(--c-line); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2.5rem; font-size: var(--fs-small); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 2.5rem; }
.footer__brand p { margin-top: 12px; color: var(--c-ink); font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.01em; }
.footer__links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--c-ink-soft); }
.footer__links a:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__store { display: grid; gap: 10px; align-content: start; color: var(--c-ink-soft); }
.footer__store strong { color: var(--c-ink); font-weight: 680; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); color: var(--c-ink-muted); }
@media (max-width: 767px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Podstrona: Bezpieczeństwo ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-head h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: var(--lh-tight); letter-spacing: -0.04em; font-weight: 800; max-width: 16ch; }
.page-head .lead { margin-top: var(--sp-5); }
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: var(--section-y); }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; gap: 2px; list-style: none; border-left: 2px solid var(--c-line); }
.toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--c-ink-muted); font-size: var(--fs-small); font-weight: 600; }
.toc a:hover { color: var(--c-ink); }
.toc a.is-active { color: var(--c-ink); border-left-color: var(--c-accent); }
.doc__body { display: grid; gap: clamp(3rem, 2rem + 3vw, 4.5rem); max-width: 46rem; }
.doc__sec { display: grid; gap: var(--sp-4); scroll-margin-top: calc(var(--nav-h) + 24px); }
.doc__sec h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.1; }
.doc__sec ul { list-style: none; display: grid; gap: 12px; }
.doc__sec ul li { display: flex; gap: 12px; align-items: flex-start; }
.doc__sec ul li .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--c-accent-text); }
.vsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.vsteps li { padding: 18px; border-radius: var(--r-card); background: var(--c-surface); border: 1px solid var(--c-line); display: grid; gap: 10px; color: var(--c-ink); font-weight: 600; font-size: var(--fs-small); line-height: 1.45; }
.vsteps li .icon { width: 26px; height: 26px; color: var(--c-ink); }
.vsteps li:last-child { background: var(--c-ok-tint); border-color: transparent; color: var(--c-ok); }
.vsteps li:last-child .icon { color: var(--c-ok); }
.callout { padding: 22px 24px; border-radius: var(--r-card); background: var(--c-paper-2); display: grid; gap: 14px; justify-items: start; }
.callout--alert { background: var(--c-accent-tint); color: var(--c-ink); }
.callout strong { color: var(--c-ink); }
@media (max-width: 899px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 599px) { .vsteps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Szkło ----------
   Przybliżenie wyglądu Liquid Glass z iOS za pomocą backdrop-filter.
   Apple nie udostępnia oficjalnej wersji na web. Przy ograniczonej przezroczystości tło jest pełne. */
.glass {
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px -10px rgba(8, 6, 18, 0.45);
}
.glass--pill { border-radius: var(--r-pill); }
@media (prefers-reduced-transparency: reduce) {
  .glass, .applist--glass { background: rgba(22, 19, 41, 0.9); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__inner { background: var(--c-paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Wejścia przy przewijaniu ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .venue__ticket[data-reveal] { transform: translateY(24px) rotate(6deg); }
  .js .venue__ticket[data-reveal].is-in { transform: rotate(2.5deg); }
}

/* ---------- Druk ---------- */
@media print {
  .nav, .hero__visual, .cta__art, .skip { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
