/* LoyalPRO: ciemny grafit jak instaPRO, złota pieczątka jako akcent nagrody, fioletowy gradient jak w rodzinie PRO.
   Układ: po lewej tekst rozdziałów, po prawej telefon przyklejony przy przewijaniu; na telefonie zmieniają się ekrany. */

@font-face { font-family: "Archivo"; 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"; 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; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/manrope-latin-ext-wght-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-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; }

:root {
  color-scheme: dark;
  --night: #121016;         /* tło: grafit z nutą fioletu */
  --night-2: #1b1822;       /* karty na ciemnym */
  --night-3: #26222f;       /* obramowania, wypełnienia */
  --line-d: rgba(255, 255, 255, 0.1);
  --on-d: #f5f3fa;          /* tekst na ciemnym */
  --on-d-soft: #b6b0c6;
  --violet: #8b5cff;        /* fiolet rodziny PRO */
  --gold: #ffb547;          /* złota pieczątka i nagroda */
  --paper: #f4f2f9;         /* jasny pas (pytania, podstrony) */
  --ink: #18151f;
  --ink-soft: #5c5770;
  --line-l: #dfdbe9;
  --grad: linear-gradient(135deg, #7b4dff 0%, #c45cff 52%, #ffb547 100%);
  --grad-btn: linear-gradient(135deg, #6a3df0 0%, #9a45e6 100%);
  --grad-v: linear-gradient(180deg, #8b5cff 0%, #c45cff 55%, #ffb547 100%);

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--on-d); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; font-weight: 500; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--night); color: var(--on-d); padding: 8px 12px; }
mark.todo { background: #fff1a8; color: #18151f; padding: 0 0.25em; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: flex-start; text-decoration: none; color: #fff; font-family: var(--display);
  font-weight: 850; font-stretch: 118%; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1; }
.logo-pro { margin-left: 4px; margin-top: -5px; transform: rotate(-9deg); font-size: 0.5em; font-weight: 800; font-stretch: 112%;
  letter-spacing: 0.08em; color: var(--gold); border: 2px solid var(--gold); border-radius: 6px; padding: 3px 5px 2px; line-height: 1; }
.logo-lg { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.logo-lg .logo-pro { border-width: 3px; border-radius: 9px; margin-left: 8px; margin-top: -8px; }

/* ---------- nagłówek ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(18, 16, 22, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line-d); }
.site-head .wrap { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; font-size: 0.92rem; font-weight: 650; color: var(--on-d-soft); }
.site-nav a:hover { color: #fff; }
.site-nav .btn { color: #fff; }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }
/* na telefonach pasek chowa się przy przewijaniu w dół i wraca przy przewijaniu w górę */
@media (max-width: 900px) {
  .site-head { transition: transform 260ms ease; }
  .head-hide .site-head { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .site-head { transition: none; } }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px;
  border-radius: 999px; font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0;
  transition: transform 140ms ease, filter 140ms ease, background-color 140ms ease; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn-grad { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -12px rgba(123, 77, 255, 0.8); }
.btn-grad:hover { filter: brightness(1.12); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-ink { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

/* ---------- historia z telefonem ---------- */
.story { position: relative; overflow: clip;
  background:
    radial-gradient(900px 520px at 85% 8%, rgba(123, 77, 255, 0.28), transparent 70%),
    radial-gradient(700px 500px at 10% 45%, rgba(196, 92, 255, 0.12), transparent 70%),
    radial-gradient(800px 600px at 90% 78%, rgba(255, 181, 71, 0.12), transparent 70%),
    var(--night); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "hero phone" "text phone"; column-gap: clamp(32px, 6vw, 88px); }
.chapter-hero { grid-area: hero; min-width: 0; }
.story-text { grid-area: text; min-width: 0; }
.phone-stage { display: grid; place-items: center; }
.phone-wrap { position: relative; }
.demo-cap, .demo-rail { display: none; }
/* pokaz na komórce: ekran sterowany przewijaniem, bez przejść CSS, które by się spóźniały */
.screen.scrub .scene, .screen.scrub .bcard, .screen.scrub .pass, .screen.scrub .banner, .screen.scrub .w-title,
.screen.scrub .sheet, .screen.scrub .nt-wrap, .screen.scrub .nt, .screen.scrub .slot i { transition: none !important; animation: none !important; }
.story-phone { grid-area: phone; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); align-self: start;
  height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); display: grid; place-items: center; z-index: 3; }

.chapter { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 28px; }
.ch-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.chapter-hero .ch-card { gap: 22px; }
.chapter-hero { min-height: calc(100svh - var(--head-h)); padding-block: 32px 48px; gap: 22px; }
.chapter h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 110%; line-height: 1.12; letter-spacing: -0.01em; }
.chapter p { color: var(--on-d-soft); max-width: 46ch; font-size: 1.08rem; }
.chapter .kicker { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-d); font-size: 0.85rem; font-weight: 700; color: var(--on-d); }
.chapter .kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); display: inline-block; }

.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 850; font-stretch: 116%; line-height: 1.02; letter-spacing: -0.03em; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--on-d-soft); max-width: 50ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-d-soft); font-size: 0.95rem; font-weight: 650; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--gold); }

.story-head { padding-top: 40px; display: grid; gap: 12px; max-width: 34ch; }
.story-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; font-stretch: 114%; line-height: 1.04; letter-spacing: -0.025em; }
.story-head p { color: var(--on-d-soft); font-size: 1.1rem; max-width: 46ch; }

/* kroki połączone linią */
.steps { position: relative; padding-left: 72px; }
.steps-track { position: absolute; left: 25px; width: 3px; border-radius: 3px; background: var(--night-3); top: 0; height: 0; }
.steps-fill { position: absolute; inset: 0; border-radius: 3px; background: var(--grad-v); transform-origin: 50% 0; transform: scaleY(0); }
.step-body { position: relative; display: grid; gap: 12px; }
.step-dot { position: absolute; left: -72px; top: -6px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 850; font-stretch: 118%; font-size: 1.25rem; color: var(--on-d-soft);
  background: var(--night); border: 2px dashed rgba(255, 255, 255, 0.22); transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms cubic-bezier(.2, .9, .3, 1.4); }
.step.is-done .step-dot { background: var(--grad); border: 2px solid transparent; color: #fff; transform: rotate(-8deg) scale(1.04); }
.step-last.is-done .step-dot { background: var(--gold); color: var(--ink); }

/* wiadomości */
.msg-tag { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.msg-tag span { font-size: 0.8rem; font-weight: 750; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--on-d-soft); }
.consent { margin: 8px 0 72px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 181, 71, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.25); max-width: 56ch; color: var(--on-d); font-size: 0.98rem; }

@media (max-width: 900px) {
  /* Na telefonie: najpierw hasło, potem pokaz na telefonie (przewijanie zmienia ekrany), potem tekst bez niczego nad nim. */
  .story-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "phone" "text"; column-gap: 0; }
  .story-phone { position: relative; top: auto; height: calc(100svh + 9 * 38svh); display: block; z-index: auto; }
  .phone-stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 10px 0 14px; }
  .demo-cap { display: grid; gap: 2px; text-align: center; max-width: 32ch; min-height: 3.4em; }
  .demo-cap b { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.15rem; }
  .demo-cap span { color: var(--on-d-soft); font-size: 0.95rem; line-height: 1.4; }
  .demo-rail { display: block; position: absolute; left: -26px; top: 10%; bottom: 10%; width: 3px; border-radius: 3px; background: var(--night-3); }
  .demo-rail b { position: absolute; inset: 0; border-radius: 3px; background: var(--grad-v); transform-origin: 50% 0; transform: scaleY(0); }
  .demo-rail i { position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.22); }
  .chapter { min-height: auto; justify-content: flex-start; padding-block: 8px; }
  .chapter-hero { padding-block: 28px 8px; }
  .step-body, .msg .ch-card { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-d); border-radius: 20px; padding: 16px; }
  .chapter h3 { font-size: 1.32rem; }
  .chapter p { font-size: 1rem; }
  .story-head { padding-top: 28px; }
  .story-head h2 { font-size: 1.85rem; }
  .consent { margin-bottom: 40px; }
  .steps { padding-left: 64px; }
  .step-dot { left: -64px; width: 46px; height: 46px; font-size: 1.1rem; }
  .steps-track { left: 21px; }
}
}

/* ---------- telefon ---------- */
.phone-float { animation: phone-float 7s ease-in-out infinite; will-change: transform; }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .phone-float { animation: none; } }
.phone { --w: min(340px, calc((100svh - var(--head-h) - 56px) * 0.4839)); width: var(--w); aspect-ratio: 300 / 620; position: relative;
  border-radius: calc(var(--w) * 0.175); padding: calc(var(--w) * 0.036);
  background: linear-gradient(150deg, #6b6773 0%, #2c2a33 22%, #1a1820 60%, #3d3a45 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2), inset 0 0 0 4px #0c0b10, 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 120px -30px rgba(123, 77, 255, 0.55); }
@media (max-width: 900px) { .phone { --w: min(270px, calc((100svh - 190px) * 0.4839)); } }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3742; }
.phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * 0.2) 0 #3a3742; }
.phone::after { right: -3px; top: 30%; height: 14%; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.14); clip-path: inset(0 round calc(var(--w) * 0.14)); background: #000;
  font-family: var(--body); color: #fff; font-size: calc(var(--w) * 0.043); container-type: inline-size; }
.island { position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); width: 34%; height: 4.6%; border-radius: 99px; background: #000; z-index: 20; }
.statusbar { position: absolute; inset: 0 0 auto; height: 9%; z-index: 19; display: flex; justify-content: space-between; align-items: center;
  padding: 0 8.5% 0 10%; font-weight: 700; font-size: 0.95em; color: #fff; transition: color 300ms ease; }
.statusbar .sb-icons { display: flex; gap: 4px; align-items: center; }
.statusbar svg { height: 0.85em; width: auto; }
.screen.light .statusbar { color: #111; }
.home-ind { position: absolute; bottom: 1.4%; left: 50%; transform: translateX(-50%); width: 36%; height: 0.75%; border-radius: 99px; background: rgba(255, 255, 255, 0.85); z-index: 20; transition: background 300ms; }
.screen.light .home-ind { background: rgba(0, 0, 0, 0.75); }

.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 450ms ease, visibility 450ms; }
.scene.on { opacity: 1; visibility: visible; }

/* Portfel */
.sc-wallet { background: #000; }
.w-title { position: absolute; top: 10%; left: 6%; right: 6%; display: flex; justify-content: space-between; align-items: center; }
.w-title b { font-size: 2.05em; font-weight: 800; letter-spacing: -0.01em; }
.w-plus { width: 1.9em; height: 1.9em; border-radius: 50%; background: #1c1c1f; display: grid; place-items: center; color: #fff; font-size: 1em; font-weight: 700; }
.w-stack { position: absolute; left: 4.5%; right: 4.5%; top: 19%; bottom: 3%; }
.bcard { position: absolute; left: 0; right: 0; height: 37%; border-radius: 0.95em; padding: 0.8em 1em; font-weight: 700; font-size: 0.82em;
  display: flex; justify-content: space-between; transition: transform 600ms cubic-bezier(.2, .8, .2, 1), opacity 500ms ease; }
.bcard small { display: block; font-weight: 600; opacity: 0.75; font-size: 0.85em; }
.bcard-1 { top: 0; background: linear-gradient(135deg, #3f74ff, #1b3c9a); }
.bcard-2 { top: 11%; background: linear-gradient(135deg, #6a6675, #2a2830); }
.chip { width: 1.9em; height: 1.4em; border-radius: 0.3em; background: linear-gradient(135deg, #e8d29a, #b7944b); }

.pass { position: absolute; left: 0; right: 0; top: 22%; border-radius: 0.95em; padding: 0.9em 0.9em 1em; background: #1f3d36; color: #f3f1ea;
  display: grid; gap: 0.65em; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45); transition: top 650ms cubic-bezier(.2, .8, .2, 1); }
.pass-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5em; }
.pass-org { display: flex; align-items: center; gap: 0.5em; font-weight: 800; font-size: 0.98em; }
.pass-logo { width: 1.75em; height: 1.75em; border-radius: 50%; background: #f2b33d; color: #1f3d36; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 0.95em; }
.pass-field { text-align: right; line-height: 1.15; }
.pass-label { font-size: 0.58em; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; font-weight: 700; }
.pass-value { font-size: 1.15em; font-weight: 800; font-variant-numeric: tabular-nums; }
.pass-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.45em; padding: 0.7em 0.6em; border-radius: 0.7em; background: rgba(0, 0, 0, 0.22); justify-items: center; }
.slot { width: 2.15em; height: 2.15em; border-radius: 50%; border: 1.5px dashed rgba(243, 241, 234, 0.45); position: relative; }
.slot i { position: absolute; inset: -2px; border-radius: 50%; opacity: 0; transform: rotate(var(--r, 0deg));
  background: radial-gradient(circle, #f2b33d 0 30%, #18302a 32% 50%, #f2b33d 52% 64%, #18302a 66% 100%); }
.slot.full i { opacity: 0.95; }
.slot.thump i { animation: thump 380ms cubic-bezier(.2, .9, .3, 1.35) both; }
@keyframes thump { 0% { transform: scale(1.9) rotate(var(--r, 0deg)); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(var(--r, 0deg)); opacity: 0.95; } }
.pass-fields { display: flex; justify-content: space-between; }
.pass-fields .pass-field:first-child { text-align: left; }
.pass-fields .pass-value { font-size: 0.92em; font-weight: 700; }
.pass-qr { justify-self: center; width: 40%; aspect-ratio: 1; background: #fff; border-radius: 0.6em; padding: 0.5em; }
.pass-qr svg { display: block; width: 100%; height: 100%; }
.pass-reward { background: #f2b33d; color: #1f3d36; border-radius: 0.6em; padding: 0.55em 0.7em; text-align: center; font-weight: 800; font-size: 0.95em; display: none; }
.sc-wallet[data-state="reward"] .pass-reward { display: block; }
.sc-wallet[data-state="reward"] .pass-qr { width: 30%; }
.sc-wallet[data-state="open"] .bcard, .sc-wallet[data-state="stamp"] .bcard, .sc-wallet[data-state="reward"] .bcard { transform: translateY(-40%); opacity: 0; }
.sc-wallet[data-state="open"] .pass, .sc-wallet[data-state="stamp"] .pass, .sc-wallet[data-state="reward"] .pass { top: 0; }
.sc-wallet[data-state="open"] .w-title, .sc-wallet[data-state="stamp"] .w-title, .sc-wallet[data-state="reward"] .w-title { opacity: 0; }
.w-title { transition: opacity 400ms ease; }

.banner { position: absolute; left: 3.5%; right: 3.5%; top: 8.6%; z-index: 25; border-radius: 1.2em; padding: 0.7em 0.8em; display: grid; grid-template-columns: 2.3em minmax(0, 1fr); gap: 0.6em;
  background: rgba(40, 38, 48, 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-170%); opacity: 0; transition: transform 500ms cubic-bezier(.2, .8, .2, 1), opacity 300ms ease; }
.banner.show { transform: translateY(0); opacity: 1; }
.app-ic { width: 2.3em; height: 2.3em; border-radius: 0.55em; display: grid; place-items: center; }
.app-ic svg { width: 62%; height: 62%; }
.ic-wallet { background: linear-gradient(160deg, #2b2b30, #0d0d10); color: #fff; }
.ic-sms { background: linear-gradient(160deg, #5be16f, #27b33b); color: #fff; }
.nt-head { display: flex; justify-content: space-between; font-size: 0.78em; opacity: 0.7; font-weight: 600; }
.nt-title { font-weight: 800; font-size: 0.9em; line-height: 1.25; }
.nt-body { font-size: 0.86em; line-height: 1.3; }

/* skan kodu */
.sc-scan { background: radial-gradient(120% 80% at 50% 30%, #5d4a3a 0%, #2a211b 55%, #120e0b 100%); }
.scan-stand { position: absolute; left: 22%; right: 22%; top: 20%; aspect-ratio: 0.72; border-radius: 0.6em; background: #f7f3ea; color: #1f3d36;
  display: grid; justify-items: center; align-content: start; gap: 0.5em; padding: 0.9em 0.7em; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.scan-stand b { font-family: var(--display); font-stretch: 112%; font-size: 0.82em; text-align: center; line-height: 1.15; }
.scan-stand .pass-qr { width: 82%; padding: 0; background: transparent; }
.scan-stand small { font-size: 0.62em; font-weight: 700; opacity: 0.8; text-align: center; }
.scan-frame { position: absolute; left: 16%; right: 16%; top: 16%; aspect-ratio: 0.72; }
.scan-frame i { position: absolute; width: 18%; aspect-ratio: 1; border: 0.28em solid #ffd84a; }
.scan-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 0.8em; }
.scan-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 0.8em; }
.scan-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 0.8em; }
.scan-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 0.8em; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #f2f2f7; color: #111; border-radius: 1.4em 1.4em 0 0; padding: 1.1em 1.1em 2.2em;
  display: grid; gap: 0.75em; transform: translateY(105%); transition: transform 600ms cubic-bezier(.2, .8, .2, 1) 350ms; }
.sc-scan.on .sheet { transform: translateY(0); }
.sheet-grab { justify-self: center; width: 14%; height: 0.3em; border-radius: 99px; background: #c7c7cc; }
.sheet-row { display: flex; gap: 0.75em; align-items: center; }
.mini-pass { width: 3.6em; height: 2.4em; border-radius: 0.45em; background: #1f3d36; display: grid; place-items: center; flex: none; }
.mini-pass span { width: 1em; height: 1em; border-radius: 50%; background: #f2b33d; }
.sheet-row b { display: block; font-size: 0.98em; }
.sheet-row small { color: #6c6c70; font-weight: 600; font-size: 0.82em; }
.sheet-btn { background: #000; color: #fff; border-radius: 0.8em; padding: 0.8em; text-align: center; font-weight: 800; font-size: 0.95em; }
.sheet-note { text-align: center; color: #6c6c70; font-size: 0.72em; font-weight: 600; }

/* ekran blokady */
.sc-lock { background: radial-gradient(90% 60% at 20% 15%, rgba(123, 77, 255, 0.85), transparent 70%), radial-gradient(90% 70% at 90% 85%, rgba(255, 181, 71, 0.7), transparent 70%), radial-gradient(70% 50% at 80% 30%, rgba(196, 92, 255, 0.6), transparent 70%), #17121f; }
.lock-date { position: absolute; top: 11.5%; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 0.95em; opacity: 0.9; }
.lock-time { position: absolute; top: 14%; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 600; font-stretch: 100%; font-size: 4.6em; line-height: 1; letter-spacing: -0.02em; }
.notifs { position: absolute; left: 3.5%; right: 3.5%; top: 33%; display: grid; gap: 0; }
.nt-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms cubic-bezier(.2, .8, .2, 1); }
.nt-wrap > div { overflow: hidden; }
.nt-wrap.show { grid-template-rows: 1fr; }
.nt { margin-bottom: 0.55em; border-radius: 1.2em; padding: 0.7em 0.8em; display: grid; grid-template-columns: 2.3em minmax(0, 1fr); gap: 0.6em;
  background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; transform: scale(0.94); transition: opacity 400ms ease 120ms, transform 400ms ease 120ms; }
.nt-wrap.show .nt { opacity: 1; transform: none; }
.nt .nt-body span { color: #ffe2a6; }
.ic-letter { color: #fff; font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 1em; }

/* profil w aplikacji społecznościowej */
.sc-social { background: #fff; color: #111; }
.so-top { position: absolute; top: 9.5%; left: 5%; right: 5%; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.05em; }
.so-top span { display: flex; gap: 0.7em; }
.so-top i { width: 1.1em; height: 1.1em; border: 2px solid #111; border-radius: 0.3em; display: inline-block; }
.so-head { position: absolute; top: 16.5%; left: 5%; right: 5%; display: grid; grid-template-columns: 4.6em 1fr; gap: 1em; align-items: center; }
.so-avatar { width: 4.6em; height: 4.6em; border-radius: 50%; padding: 0.22em; background: conic-gradient(from 200deg, #f9a03f, #e1306c, #7b4dff, #f9a03f); }
.so-avatar span { width: 100%; height: 100%; border-radius: 50%; border: 0.18em solid #fff; background: #1f3d36; color: #f2b33d; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 1.5em; }
.so-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 0.78em; line-height: 1.25; }
.so-stats b { display: block; font-size: 1.2em; }
.so-bio { position: absolute; top: 31%; left: 5%; right: 5%; display: grid; gap: 0.25em; font-size: 0.86em; line-height: 1.35; }
.so-link { display: inline-flex; align-items: center; gap: 0.4em; color: #3a4cc9; font-weight: 800; position: relative; justify-self: start; padding: 0.15em 0.4em; margin-left: -0.4em; border-radius: 0.5em; }
.sc-social.on .so-link { animation: linkpulse 1.6s ease 600ms 2; }
@keyframes linkpulse { 0%, 100% { background: transparent; } 40% { background: rgba(58, 76, 201, 0.14); } }
.so-btns { position: absolute; top: 47%; left: 5%; right: 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.so-btns span { background: #efeff4; border-radius: 0.6em; padding: 0.55em; text-align: center; font-weight: 800; font-size: 0.85em; }
.so-btns span:first-child { background: #3a6cf4; color: #fff; }
.so-grid { position: absolute; top: 55%; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.so-grid span { background: #ddd; }
.so-grid span:nth-child(1) { background: linear-gradient(135deg, #6b4a32, #3a2618); }
.so-grid span:nth-child(2) { background: linear-gradient(135deg, #e9d8c0, #b99a74); }
.so-grid span:nth-child(3) { background: linear-gradient(135deg, #1f3d36, #2e5a4f); }
.so-grid span:nth-child(4) { background: linear-gradient(135deg, #c9a27a, #8a5a35); }
.so-grid span:nth-child(5) { background: linear-gradient(135deg, #f2b33d, #c98a1c); }
.so-grid span:nth-child(6) { background: linear-gradient(135deg, #5a3b28, #2b1b10); }
.so-grid span:nth-child(7) { background: linear-gradient(135deg, #d8c4aa, #a8865f); }
.so-grid span:nth-child(8) { background: linear-gradient(135deg, #2e5a4f, #1f3d36); }
.so-grid span:nth-child(9) { background: linear-gradient(135deg, #8a5a35, #4a2e1a); }

.booting .bcard, .booting .pass { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .scene, .bcard, .pass, .banner, .sheet, .nt-wrap, .nt, .step-dot, .w-title { transition: none !important; }
  .slot.thump i, .sc-social.on .so-link { animation: none !important; }
}

/* ---------- pakiety ---------- */
.plans-sec { position: relative; padding-block: clamp(64px, 8vw, 96px);
  background: radial-gradient(800px 500px at 50% 0%, rgba(123, 77, 255, 0.22), transparent 70%), linear-gradient(180deg, #17141d 0%, var(--night) 100%); border-top: 1px solid var(--line-d); }
.sec-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 850; font-stretch: 114%; letter-spacing: -0.025em; line-height: 1.05; }
.sec-head p { color: var(--on-d-soft); font-size: 1.12rem; max-width: 54ch; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { min-width: 0; padding: 30px 26px 26px; border-radius: 28px; background: rgba(52, 50, 60, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; }
.plan-hl { position: relative; padding: 3px; border-radius: 28px; background: var(--grad); box-shadow: 0 24px 70px -20px rgba(196, 92, 255, 0.45); display: flex; }
.plan-hl > .plan { flex-grow: 1; background: #1e1b25; box-shadow: none; border-radius: 25px; }
.plan-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 7px 18px; border-radius: 999px; background: var(--grad);
  color: #1a1420; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; }
.plan-name { font-family: var(--display); font-weight: 850; font-stretch: 118%; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.plan-hl .plan-name { color: #d48bff; }
.plan-year .plan-name { color: var(--gold); }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-family: var(--display); font-weight: 850; font-stretch: 112%; font-size: 3.1rem; line-height: 1; letter-spacing: -0.02em; }
.plan-price span { color: var(--on-d-soft); font-weight: 700; }
.plan-chip { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 0.9rem; font-weight: 800; }
.plan-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.plan-desc { margin-top: 14px; color: var(--on-d-soft); font-size: 0.98rem; line-height: 1.5; }
.plan hr { width: 100%; border: 0; height: 1px; background: rgba(255, 255, 255, 0.1); margin: 20px 0 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; }
.plan li, .incl li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 11px; align-items: start; font-size: 0.98rem; line-height: 1.42; color: #e6e3ee; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.tick svg { width: 13px; height: 13px; }
.plan .btn { margin-top: auto; }
.incl { margin-top: 40px; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.incl h3 { font-size: 1.2rem; font-weight: 800; font-stretch: 108%; margin-bottom: 18px; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.plans-note { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; color: var(--on-d-soft); font-size: 0.95rem; font-weight: 600; max-width: 80ch; }
.plans-note svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 30px; } .incl ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pytania i kontakt (jasny pas) ---------- */
.light { background: var(--paper); color: var(--ink); color-scheme: light; }
.faq-sec { padding-block: clamp(56px, 7vw, 88px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-sec h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 850; font-stretch: 114%; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 20px; color: var(--ink); }
.faq { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 750; font-size: 1.06rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid #6a3df0; border-bottom: 2.5px solid #6a3df0; transform: rotate(45deg); transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }
.contact-card { position: sticky; top: calc(var(--head-h) + 24px); border-radius: 28px; padding: 28px; background: var(--night); color: var(--on-d); display: grid; gap: 18px;
  background-image: radial-gradient(500px 300px at 100% 0%, rgba(123, 77, 255, 0.35), transparent 70%); }
.contact-card h3 { font-size: 1.6rem; font-weight: 850; font-stretch: 112%; line-height: 1.1; }
.contact-card p { color: var(--on-d-soft); }
.c-line { display: grid; gap: 2px; }
.c-line small { color: var(--on-d-soft); font-weight: 650; font-size: 0.85rem; }
.c-line .big { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 1.45rem; overflow-wrap: anywhere; }
.c-line .big a { text-decoration: none; }
.c-line .big a:hover { color: var(--gold); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .contact-card { position: static; } }

/* ---------- stopka ---------- */
.site-foot { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 15% 0%, rgba(123, 77, 255, 0.22), transparent 70%), radial-gradient(600px 360px at 95% 100%, rgba(255, 181, 71, 0.12), transparent 70%), #0d0b10; border-top: 1px solid var(--line-d); }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 44px 36px; border-bottom: 1px solid var(--line-d); }
.foot-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 850; font-stretch: 114%; letter-spacing: -0.02em; line-height: 1.06; max-width: 20ch; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 44px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand p { color: var(--on-d-soft); max-width: 36ch; }
.punchcard { display: flex; gap: 6px; align-items: center; }
.punchcard span { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.25); position: relative; }
.punchcard span::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: radial-gradient(circle, transparent 50%, var(--violet) 53%, var(--violet) 66%, transparent 69%), radial-gradient(circle, var(--violet) 0 26%, transparent 28%);
  opacity: 0; transform: scale(1.8) rotate(-12deg); transition: opacity 240ms ease, transform 300ms cubic-bezier(.2, .9, .3, 1.4); transition-delay: calc(var(--i) * 110ms); }
.punchcard.in span::after { opacity: 1; transform: scale(1) rotate(-12deg); }
.punchcard span:last-child { border-color: rgba(255, 181, 71, 0.6); display: grid; place-items: center; }
.punchcard span:last-child::after { background: var(--gold); }
.punchcard span:last-child svg { position: relative; z-index: 1; width: 14px; height: 14px; color: #1a1420; opacity: 0; transition: opacity 200ms ease 1.1s; }
.punchcard.in span:last-child svg { opacity: 1; }
.punch-caption { color: var(--on-d-soft); font-size: 0.88rem; font-weight: 650; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 0.95rem; }
.foot-col strong { font-family: var(--display); font-stretch: 110%; font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.foot-col a { color: var(--on-d-soft); text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-col span { color: var(--on-d-soft); }
.foot-bottom { border-top: 1px solid var(--line-d); padding-block: 22px 30px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.82rem; color: #8a8499; }
.foot-bottom address { font-style: normal; }
@media (max-width: 900px) { .foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .punchcard span::after, .punchcard span:last-child svg { transition: none; } }

/* ---------- podstrony z tekstem ---------- */
.doc { background: var(--paper); color: var(--ink); color-scheme: light; }
.doc .wrap { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 88px); }
.doc a { color: #5a32e0; text-underline-offset: 0.18em; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 850; font-stretch: 114%; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); }
.doc-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: 32px; }
.doc .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.doc-body { max-width: 66ch; display: grid; gap: 16px; }
.doc-body h2 { font-size: 1.45rem; margin-top: 24px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.doc-body h3 { margin-top: 8px; font-size: 1.1rem; font-family: var(--body); font-weight: 800; color: var(--ink); }
.doc-body ul, .doc-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.doc-body li::marker { color: #6a3df0; }
.doc-meta { font-size: 0.9rem; color: var(--ink-soft); }
.toc { background: #fff; border-radius: 18px; padding: 18px 22px; display: grid; gap: 8px; box-shadow: inset 0 0 0 1px var(--line-l); }
.toc strong { font-size: 0.9rem; }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; font-size: 0.98rem; }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-l); background: #fff; }
.doc-body table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line-l); }
.doc-body th { background: #faf9fd; font-weight: 800; }
.doc-body tr:last-child td { border-bottom: 0; }
.help-box { background: var(--night); color: var(--on-d); border-radius: 22px; padding: 22px 24px; display: grid; gap: 6px; background-image: radial-gradient(400px 240px at 100% 0%, rgba(123, 77, 255, 0.35), transparent 70%); }
.help-box a { color: #fff; }
.help-box .big { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 1.4rem; overflow-wrap: anywhere; }
.help-box .big a { text-decoration: none; }
.qa { display: grid; gap: 6px; }
.not-found { display: grid; gap: 18px; justify-items: start; max-width: 52ch; }
.not-found .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-l); background: #fff; }
