/* ---------------------------------------------------------------------------
   Landing idpass.pl — statyczna strona, niezależna od aplikacji (app.idpass.pl).
   Font Archivo (wariant ze zmienną szerokością) hostowany lokalnie — bez Google Fonts.
--------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  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;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
html,
body {
  margin: 0;
  background: #f2f4f7;
}
[hidden] {
  display: none !important;
}

.lp {
  --lp-ink: #0f1b2d;
  --lp-ink-2: #1a2a42;
  --lp-paper: #f2f4f7;
  --lp-white: #ffffff;
  --lp-muted: #556173;
  --lp-line: #d6dce4;
  --lp-lanyard: #f5b02e;
  --lp-z1: #e5484d;
  --lp-z2: #f5b02e;
  --lp-z3: #2f9e5b;
  --lp-z5: #2d6cdf;
  --lp-font: "Archivo Variable", ui-sans-serif, system-ui, -apple-system, sans-serif;

  min-height: 100%;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}
.lp ::selection {
  background: var(--lp-lanyard);
  color: var(--lp-ink);
}
.lp a {
  color: inherit;
  text-decoration: none;
}
.lp :focus-visible {
  outline: 3px solid var(--lp-z5);
  outline-offset: 3px;
  border-radius: 4px;
}
.lp-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 50;
  background: var(--lp-ink);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
}
.lp-skip:focus {
  left: 16px;
}

/* --- Typografia: Archivo, wąska szerokość dla nagłówków jak druk na passach --- */
.lp-h1,
.lp-h2,
.lp-h3,
.lp-wordmark {
  font-variation-settings: "wdth" 72;
  letter-spacing: -0.01em;
}
.lp-h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  font-weight: 800;
  margin: 0 0 28px;
  max-width: 12ch;
  text-wrap: balance;
}
.lp-h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 16px;
  max-width: 18ch;
  text-wrap: balance;
}
.lp-h3 {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 8px;
}
.lp-lead {
  font-size: 19px;
  color: var(--lp-muted);
  max-width: 34em;
  margin: 0 0 32px;
}
.lp-section-lead {
  color: var(--lp-muted);
  max-width: 36em;
  margin: 0;
}

/* --- Wordmark: kropka nad „i” to kwadracik w kolorze smyczy --- */
.lp-wordmark {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
}
.lp-wordmark-i {
  position: relative;
}
.lp-wordmark-i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.08em;
  width: 0.17em;
  height: 0.17em;
  transform: translateX(-50%);
  background: var(--lp-lanyard);
  border-radius: 1px;
}
.lp-wordmark-sm {
  font-size: 22px;
}

/* --- Przyciski --- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.lp-btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}
.lp-btn-ink {
  background: var(--lp-ink);
  color: #fff !important;
}
.lp-btn-ink:hover {
  background: var(--lp-ink-2);
}
.lp-btn-line {
  border-color: var(--lp-ink);
}
.lp-btn-line:hover {
  background: var(--lp-ink);
  color: #fff !important;
}
.lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

/* --- Nawigacja --- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--lp-paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--lp-line);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.lp-nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  color: var(--lp-muted);
}
.lp-nav-links a:hover {
  color: var(--lp-ink);
}

/* --- Hero --- */
.lp-hero {
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}
.lp-hero-copy {
  padding-top: 96px;
}
.lp-audience {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--lp-line);
  font-size: 15px;
  color: var(--lp-muted);
  max-width: 34em;
}

/* --- Identyfikator na smyczy (jedyny „głośny” element strony) --- */
.lp-badge-scene {
  display: flex;
  justify-content: center;
}
.lp-badge-swing {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0;
  animation: lp-swing 2.4s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@keyframes lp-swing {
  0% {
    transform: translateY(-40px) rotate(-9deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  40% {
    transform: translateY(0) rotate(5deg);
  }
  62% {
    transform: rotate(-2.5deg);
  }
  80% {
    transform: rotate(1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.lp-lanyard {
  width: 44px;
  height: 110px;
  background: var(--lp-lanyard);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
}
.lp-lanyard span {
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  color: var(--lp-ink);
  opacity: 0.75;
}
.lp-clip {
  width: 30px;
  height: 22px;
  margin-top: -2px;
  border: 4px solid #9aa4b2;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#c5ccd6, #aeb7c3);
  position: relative;
  z-index: 1;
}
.lp-badge {
  --b-bg: #1b1b1c;
  --b-tile: #444446;
  --b-photo: #3d3d3f;
  --b-text: #ffffff;
  --b-muted: #bdbdc2;
  --b-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  position: relative;
  width: 320px;
  margin-top: -14px;
  padding: 14px 26px 26px;
  background: var(--b-bg);
  color: var(--b-text);
  border-radius: 28px;
  box-shadow: 0 34px 60px -30px rgba(15, 27, 45, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lp-badge-top {
  position: relative;
  width: 100%;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lp-badge-hole {
  width: 34px;
  height: 10px;
  border-radius: 99px;
  background: #5a5a5d;
}
.lp-badge-no {
  position: absolute;
  right: -8px;
  top: 2px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--b-muted);
}
.lp-badge-event {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b-muted);
}
.lp-badge-photo {
  margin-top: 16px;
  width: 146px;
  height: 146px;
  border-radius: 18px;
  background: var(--b-photo);
  color: #59595c;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.lp-badge-photo svg {
  width: 104px;
}
.lp-badge-name {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}
.lp-badge-role {
  margin-top: 6px;
  font-size: 16px;
  color: var(--b-muted);
}
.lp-badge-zones {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 40px);
  gap: 8px;
  justify-content: center;
}
.lp-badge-zones span {
  width: 40px;
  height: 34px;
  border-radius: 7px;
  background: var(--b-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--b-mono);
  font-size: 16px;
  font-weight: 700;
}
.lp-badge-logo {
  margin-top: 26px;
  padding-top: 18px;
  width: 100%;
  border-top: 1px solid #2e2e30;
}
.lp .lp-wordmark-badge {
  font-size: 24px;
  color: #fff;
}

/* --- Pola stref w podglądzie stanowiska „Na miejscu” --- */
.lp-mock-zones {
  display: flex;
  gap: 6px;
}
.lp .z {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  font-variation-settings: "wdth" 72;
}
.lp .z1 {
  background: var(--lp-z1);
}
.lp .z2 {
  background: var(--lp-z2);
  color: var(--lp-ink);
}
.lp .z3 {
  background: var(--lp-z3);
}
.lp .z5 {
  background: var(--lp-z5);
}

/* --- Sekcje --- */
.lp-section {
  padding: 112px 0;
  border-top: 1px solid var(--lp-line);
}
.lp-steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 0;
}
/* 3 kolumny × 2 rzędy; pionowa linia między krokami w rzędzie */
.lp-step {
  position: relative;
  padding: 0 32px;
  border-left: 1px solid var(--lp-line);
}
.lp-step:nth-child(3n + 1) {
  padding-left: 0;
  border-left: none;
}
.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 16px;
}
.lp-step-num {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  font-variation-settings: "wdth" 62;
  color: var(--lp-lanyard);
  margin-bottom: 20px;
  -webkit-text-stroke: 0;
}

/* --- Pasek „Na miejscu” --- */
.lp-onsite {
  background: var(--lp-ink);
  color: #fff;
  padding: 112px 0;
}
.lp-onsite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.lp-on-dark {
  color: #fff;
}
.lp-onsite-text {
  color: #b9c3d1;
  max-width: 32em;
  margin: 0;
}
.lp-mock {
  background: #15171c;
  border: 1px solid #2a2e37;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #f4f5f7;
  font-size: 15px;
}
.lp-mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1c1f26;
  border: 1px solid var(--lp-lanyard);
  border-radius: 10px;
  padding: 12px 14px;
  color: #9aa1af;
}
.lp-mock-search span:first-of-type {
  color: #f4f5f7;
}
.lp-caret {
  width: 2px;
  height: 18px;
  margin-left: -8px;
  background: var(--lp-lanyard);
  animation: lp-blink 1.1s steps(1) infinite;
}
@keyframes lp-blink {
  50% {
    opacity: 0;
  }
}
.lp-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-mock-row-dim {
  opacity: 0.55;
  padding-top: 14px;
  border-top: 1px solid #2a2e37;
}
.lp-mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a2e37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.lp-mock-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.lp-mock-who span {
  color: #9aa1af;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: #2a2e37;
  color: #c9ced8;
  white-space: nowrap;
}
.lp-pill-ok {
  background: #0f2a1c;
  color: #38c26d;
}
.lp-mock .z {
  width: 32px;
  height: 32px;
  font-size: 18px;
}
.lp-mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-mock-btn {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: #1c1f26;
  border: 1px solid #2a2e37;
}
.lp-mock-btn-primary {
  background: var(--lp-lanyard);
  border-color: var(--lp-lanyard);
  color: #1a1300;
}

/* --- Funkcje --- */
.lp-features-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.lp-features-intro {
  position: sticky;
  top: 112px;
}
.lp-features {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.lp-feature {
  padding: 24px 0 28px;
  border-top: 2px solid var(--lp-ink);
}
.lp-feature dd {
  margin: 0;
  color: var(--lp-muted);
  font-size: 16px;
}

/* --- CTA --- */
.lp-cta {
  padding: 112px 0 120px;
  background: var(--lp-white);
  border-top: 1px solid var(--lp-line);
}
.lp-cta-inner .lp-section-lead {
  margin-bottom: 32px;
}
.lp-cta-mail {
  font-weight: 600;
  border-bottom: 2px solid var(--lp-lanyard);
  padding-bottom: 2px;
}

/* --- Stopka --- */
.lp-footer {
  background: var(--lp-paper);
  border-top: 1px solid var(--lp-line);
  font-size: 14px;
  color: var(--lp-muted);
}
.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.lp-footer-inner .lp-wordmark {
  color: var(--lp-ink);
}
.lp-footer-spacer {
  flex: 1;
}
.lp-footer a:hover {
  color: var(--lp-ink);
}

/* --- Responsywność --- */
@media (max-width: 960px) {
  .lp-hero-grid,
  .lp-onsite-grid,
  .lp-features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-hero-copy {
    padding-top: 56px;
  }
  .lp-features-intro {
    position: static;
  }
  .lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }
  .lp-step:nth-child(3n + 1) {
    padding-left: 32px;
    border-left: 1px solid var(--lp-line);
  }
  .lp-step:nth-child(2n + 1) {
    padding-left: 0;
    border-left: none;
  }
}
@media (max-width: 640px) {
  .lp {
    font-size: 16px;
  }
  .lp-wrap {
    padding: 0 16px;
  }
  .lp-nav-links {
    display: none;
  }
  .lp-nav-inner {
    justify-content: space-between;
    height: 64px;
  }
  .lp-section,
  .lp-onsite,
  .lp-cta {
    padding: 72px 0;
  }
  .lp-lead {
    font-size: 17px;
  }
  .lp-actions .lp-btn {
    flex: 1 1 auto;
  }
  .lp-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .lp-step,
  .lp-step:nth-child(3n + 1),
  .lp-step:nth-child(2n + 1) {
    padding: 0;
    border-left: none;
  }
  .lp-step-num {
    font-size: 52px;
    margin-bottom: 12px;
  }
  .lp-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-badge {
    width: 296px;
    padding: 14px 20px 22px;
  }
  .lp-lanyard {
    height: 72px;
  }
  .lp-lanyard span + span {
    display: none;
  }
  .lp-footer-spacer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-badge-swing,
  .lp-caret {
    animation: none;
  }
}

/* --- Formularz „Zostaw e-mail” (karta jak identyfikator z hero) --- */
.lp-sr,
.lp-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lp-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 64px;
  align-items: center;
}
.lp-form-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 36px 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(15, 27, 45, 0.35);
}
.lp-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--lp-lanyard);
}
.lp-cta {
  background: var(--lp-paper);
}
.lp-form {
  display: flex;
  flex-direction: column;
}
.lp-form-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lp .lp-input {
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--lp-line);
  border-radius: 10px;
  background: var(--lp-white);
  color: var(--lp-ink);
  font: inherit;
  font-size: 17px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lp .lp-input::placeholder {
  color: #9aa3b0;
}
.lp .lp-input:hover {
  border-color: #b8c1cd;
}
.lp .lp-input:focus,
.lp .lp-input:focus-visible {
  outline: none;
  border-color: var(--lp-ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-lanyard) 40%, transparent);
}
.lp .lp-input[aria-invalid="true"] {
  border-color: #c62f35;
}
.lp-form-submit {
  margin-top: 14px;
  height: 52px;
  border: none;
  border-radius: 10px;
  background: var(--lp-ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lp-form-submit:hover {
  background: var(--lp-ink-2);
}
.lp-form-submit:disabled {
  opacity: 0.7;
  cursor: default;
}
.lp-form-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--lp-muted);
}
.lp-form-error {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #c62f35;
}
.lp-form-done strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  margin-bottom: 6px;
}
.lp-form-done p {
  margin: 0;
  color: var(--lp-muted);
}
@media (max-width: 960px) {
  .lp-cta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .lp-form-card {
    padding: 30px 18px 18px;
  }
}

/* --- Podstrony tekstowe (polityka prywatności) --- */
.lp-doc {
  background: var(--lp-white);
  border-top: 1px solid var(--lp-line);
}
.lp-doc-inner {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 72px;
}
.lp-doc-inner h2 {
  margin-top: 36px;
}
.lp-doc-inner p {
  color: var(--lp-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.lp-doc-inner strong {
  color: var(--lp-ink);
}
.lp-doc-date {
  font-size: 14px;
  margin-top: 8px !important;
}
.lp-doc-back {
  margin-top: 40px !important;
  padding-top: 24px;
  border-top: 1px solid var(--lp-line);
}
