/* ---------- Tokens ---------- */
:root {
  --ultra: #7936E6;        /* hero field, brand violet */
  --ultra-light: #9552F0;
  --ultra-deep: #5C1ADE;
  --ink: #0D1033;
  --paper: #F4F2FB;
  --white: #FFFFFF;
  --sun: #F0C334;          /* logo dot / star yellow */
  --coral: #FF5B4A;        /* map pin */
  --mint: #36D9A6;
  --muted: #565A7A;
  --line: rgba(13, 16, 51, .12);

  --f-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --f-body: "Onest", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --section-y: clamp(36px, 4.5vw, 64px); /* vertical padding of each section */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 60px; } /* keep section titles clear of the fixed nav */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -.025em; line-height: 1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

.eyebrow {
  font: 500 13px/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sun);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow--ink { color: var(--ultra); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--f-body);
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 -2px rgba(13,16,51,.25); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--sun { --bg: var(--sun); --fg: var(--ink); }
.btn--small { padding: 12px 20px; font-size: 15px; }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; color: var(--white);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--ink { color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-solid { background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 30px rgba(13,16,51,.08); }
.brand { display: inline-grid; text-decoration: none; }
.brand__logo { grid-area: 1 / 1; height: 22px; width: auto; transition: opacity .4s var(--ease); }
.brand__logo--dark { opacity: 0; }
.nav.is-solid .brand__logo--light { opacity: 0; }
.nav.is-solid .brand__logo--dark { opacity: 1; }
.nav__links { display: flex; gap: 30px; }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; box-shadow: inset 0 0 0 1.5px currentColor; place-content: center; gap: 4px; }
.nav__toggle span { display: block; width: 16px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Below wide desktop the links move into a dropdown */
@media (max-width: 1240px) {
  .nav__toggle { display: inline-grid; }
  .nav__links {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 2px;
    padding: 10px;
    border-radius: 24px;
    background: var(--white); color: var(--ink);
    box-shadow: 0 24px 50px -20px rgba(13,16,51,.35);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 16px; border-radius: 14px; font-size: 16px; opacity: 1; }
  .nav__links a:hover { background: var(--paper); }
}
@media (max-width: 480px) {
  .nav__end .btn { display: none; }
}
.nav__lang { padding: 8px 10px; border-radius: 999px; font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-decoration: none; opacity: .85; box-shadow: inset 0 0 0 1.5px currentColor; }
.nav__lang:hover { opacity: 1; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, var(--ultra-light) 0%, var(--ultra) 50%, var(--ultra-deep) 100%);
  color: var(--white);
  padding: clamp(100px, 13vh, 140px) 0 clamp(56px, 8vh, 90px);
  border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
}
.hero__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero__title {
  margin: 18px 0 22px;
  font-size: clamp(40px, 4.8vw, 74px);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  line-height: .92;
  letter-spacing: -.045em;
}
.route { position: relative; display: inline-block; color: var(--sun); }
.route svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .4em; overflow: visible; }
.route path { fill: none; stroke: var(--sun); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 14; }
.hero__lead { max-width: 40ch; font-size: clamp(16px, 1.25vw, 18px); color: rgba(255,255,255,.82); }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }

/* ---------- Demo (signature) ---------- */
.demo { margin: 0; position: relative; }
.demo__card {
  position: relative; z-index: 1;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 2px 0 rgba(255,255,255,.4) inset, 0 40px 80px -20px rgba(45, 8, 110, .55);
}
.demo__head { display: flex; align-items: center; gap: 14px; }
.demo__avatar { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--sun); font: 800 22px/1 var(--f-display); }
.demo__name { font: 700 18px/1.2 var(--f-display); }
.demo__meta { font-size: 13px; color: var(--muted); }
.demo__stars { color: var(--sun); letter-spacing: 1px; margin-right: 4px; }
.demo__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: #E7FBF4; color: #0B7A57; font: 500 12px/1 var(--f-mono); }
.demo__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.demo__tabs { position: relative; display: flex; gap: 22px; margin: 20px 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.demo__tab { padding: 0 0 12px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: color .3s; }
.demo__tab:not(.is-active):hover { color: var(--ink); }
.demo__tab.is-active { color: var(--ultra); }
.demo__bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 64px; border-radius: 3px; background: var(--ultra); transition: transform .5s var(--ease), width .5s var(--ease); }
.demo__bar i { display: block; height: 100%; width: 0; background: var(--sun); border-radius: 3px; }
.demo__bar.is-running i { animation: progress var(--scene-ms, 5200ms) linear forwards; }
@keyframes progress { to { width: 100%; } }

.demo__stage { position: relative; height: 350px; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.scene.is-active { opacity: 1; visibility: visible; }

.chip { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font: 500 12px/1.2 var(--f-mono); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--mint); position: relative; flex: none; }
.chip i::after { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.scene.is-done .chip { opacity: 1; transform: none; }

/* review scene */
.review { padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); transform: translateY(14px); opacity: 0; transition: all .5s var(--ease); }
.scene.is-active .review { transform: none; opacity: 1; }
.review__top { display: flex; align-items: center; gap: 10px; }
.review__ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: var(--white); font-weight: 600; font-size: 14px; }
.review__who { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; line-height: 1.2; }
.review__who small { font-weight: 400; color: var(--muted); font-size: 12px; }
.review__stars { margin: 8px 0 4px; color: #D5D7E6; font-size: 18px; letter-spacing: 2px; }
.review__stars span { transition: color .2s, transform .3s var(--ease); display: inline-block; }
.scene.is-active .review__stars span { color: var(--sun); animation: star-pop .45s var(--ease) both; }
.scene.is-active .review__stars span:nth-child(2) { animation-delay: .5s; }
.scene.is-active .review__stars span:nth-child(3) { animation-delay: .6s; }
.scene.is-active .review__stars span:nth-child(4) { animation-delay: .7s; }
.scene.is-active .review__stars span:nth-child(5) { animation-delay: .8s; }
.scene.is-active .review__stars span:nth-child(1) { animation-delay: .4s; }
@keyframes star-pop { from { transform: scale(0) rotate(-40deg); color: #D5D7E6; } }
.review__text { font-size: 14px; }
.reply { margin-left: 22px; padding: 12px 16px; border-left: 3px solid var(--ultra); }
.reply__label { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ultra); margin-bottom: 6px; }
.reply__text { font-size: 14px; min-height: 4.8em; white-space: pre-line; }
.reply__text.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ultra); animation: blink .8s steps(1) infinite; }

/* media scene */
/* laid out like the "Zdjęcia i filmy" panel of a Business Profile */
.gmedia__head { display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 var(--f-body); }
.gmedia__back { font-size: 18px; line-height: 1; }
.gmedia__more { margin-left: auto; font-size: 18px; line-height: 1; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px; height: 258px; }
.tile { position: relative; border-radius: 6px; opacity: 0; transform: translateY(-24px) scale(.92); }
.scene.is-active .tile { animation: drop .5s var(--ease) forwards; }
.scene.is-active .t2 { animation-delay: .2s; }
.scene.is-active .t3 { animation-delay: .4s; }
.scene.is-active .t4 { animation-delay: .6s; }
.scene.is-active .t5 { animation-delay: .8s; }
.scene.is-active .t6 { animation-delay: 1s; }
.scene.is-active .t7 { animation-delay: 1.2s; }
.scene.is-active .t8 { animation-delay: 1.4s; }
.scene.is-active .t9 { animation-delay: 1.6s; }
.t7 { background: linear-gradient(150deg, #D9CCFF, var(--ultra-light)); }
.t8 { background: linear-gradient(140deg, #FFD9C4, #FF9E7A); }
.t9 { background: linear-gradient(150deg, #2C6B7A, #12333D); }
@keyframes drop { to { opacity: 1; transform: none; } }
.t1 { background: linear-gradient(140deg, #FFB199, var(--coral)); }
.t2 { background: linear-gradient(160deg, var(--ultra-light), var(--ultra-deep)); }
.t3 { background: linear-gradient(130deg, #FFE08A, #FFB21E); }
.t4 { background: linear-gradient(150deg, #9FF0D5, var(--mint)); }
.t5 { background: linear-gradient(140deg, #2B2F5E, var(--ink)); }
.t6 { background: linear-gradient(140deg, #FF8A7C, #C93A8B); }
.tile { overflow: hidden; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile::before { /* delete button, top right */
  content: ""; position: absolute; z-index: 2; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(32,33,36,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 7h12l-1 13H7zM9 4h6l1 2H8z' fill='%23fff'/%3E%3C/svg%3E") center/12px no-repeat;
}
.tile--video::after { /* play button */
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 30px; height: 30px; translate: -50% -50%;
  border-radius: 50%; background: rgba(32,33,36,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") center/16px no-repeat;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}
.tile__views { /* view count over a bottom shade, like Google's media grid */
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 4px;
  padding: 14px 6px 5px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  color: var(--white); font: 600 10px/1 var(--f-body); white-space: nowrap;
}
.tile__views::before {
  content: ""; width: 12px; height: 12px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6 5 2 12 2 12s4 7 10 7 10-7 10-7-4-7-10-7zm0 11a4 4 0 110-8 4 4 0 010 8z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* post scene */
/* post scene: list of profile posts, the new one slides in on top */
.gposts { display: grid; }
.gposts__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font: 700 15px/1.2 var(--f-display); }
.gposts__add { padding: 6px 11px; border-radius: 999px; background: var(--ultra); color: var(--white); font: 600 11px/1 var(--f-body); }
.gpost { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: start; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.gpost:last-child { border-bottom: 0; }
.gpost__img { position: relative; width: 58px; height: 58px; border-radius: 10px; }
.gpost__img.g1 { background: linear-gradient(150deg, var(--sun), var(--coral)); }
.gpost__img.g2 { background: linear-gradient(160deg, #2B2F5E, var(--ink)); }
.gpost__img.g3 { background: linear-gradient(140deg, #9FF0D5, var(--mint)); }
.gpost__img--video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; border: 2px solid var(--white); background: rgba(0,0,0,.25); }
.gpost__img--video::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; translate: -30% -50%; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--white); }
.gpost__text { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gpost__cta { margin-top: 4px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.gpost__cta::before { content: "🔗"; font-size: 10px; filter: grayscale(1); }
.gpost__meta { max-width: 96px; font-size: 11px; line-height: 1.35; color: var(--ink); }
.gpost__meta small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }

.gpost--new { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; border-radius: 12px; transition: max-height .6s var(--ease) .5s, padding .6s var(--ease) .5s, opacity .5s var(--ease) .7s; }
.scene.is-active .gpost--new { max-height: 130px; padding-top: 10px; padding-bottom: 10px; opacity: 1; animation: gpost-flash 2.4s ease-out 1.1s both; }
@keyframes gpost-flash { 0% { background: rgba(240,195,52,.28); } 100% { background: transparent; } }

.demo__caption { margin-top: 26px; text-align: center; font: 400 12px/1.4 var(--f-mono); color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; }
.section-head__lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 56ch; }

.products { padding: calc(var(--section-y) + 24px) 0 var(--section-y); }
.product {
  --accent: var(--coral);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: 26px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(13,16,51,.25); }
.product--mint { --accent: var(--mint); }
.product--sun { --accent: var(--sun); }
.product:nth-of-type(even) .product__visual { order: 2; }
.product__visual {
  aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--accent);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.product__tag { font: 500 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 10px; }
.product__tag::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: var(--accent); }
.product h3 { margin: 14px 0 16px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 750; line-height: 1.02; }
.product__body > p:not(.product__tag) { color: var(--muted); }
.product__list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.product__list li { position: relative; padding-left: 30px; font-weight: 500; }
.product__list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.product__list li::after { content: ""; position: absolute; left: 6.5px; top: calc(.32em + 4px); width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* product mini visuals */
/* Base styles show the finished state; loops run only while .is-playing (in view) */
.pv-line { display: block; height: 10px; border-radius: 5px; background: #E3E5F2; transform-origin: left center; }
.pv-line--short { width: 60%; }
.pv-line--mid { width: 80%; }
.pv-badge {
  position: absolute; top: 9%; right: 8%; z-index: 2;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 500 12px/1 var(--f-mono);
  box-shadow: 0 12px 24px -10px rgba(13,16,51,.5);
  opacity: 0;
}

/* Opinie: review arrives, stars light up, reply writes itself, gets published */
.pv-review { position: relative; width: 70%; background: var(--white); border-radius: 16px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 20px 40px -20px rgba(13,16,51,.4); transform: rotate(-3deg); }
.pv-review__stars { color: var(--sun); font-size: 26px; letter-spacing: 3px; }
.pv-review__stars i { font-style: normal; display: inline-block; }
.pv-reply { position: relative; display: grid; gap: 8px; margin: 6px 0 0 18px; padding-left: 12px; border-left: 3px solid var(--ultra); }
.pv-reply .pv-line { background: #DCCBFB; }
.pv-sent { justify-self: start; margin-top: 4px; padding: 6px 10px; border-radius: 999px; background: #E7FBF4; color: #0B7A57; font: 500 11px/1 var(--f-mono); }

.is-playing .pv-badge--coral { animation: pv-badge 6s var(--ease) infinite; }
.is-playing .pv-review { animation: pv-float 6s ease-in-out infinite; }
.is-playing .pv-review__stars i { animation: pv-star 6s var(--ease) infinite; }
.is-playing .pv-review__stars i:nth-child(2) { animation-delay: .1s; }
.is-playing .pv-review__stars i:nth-child(3) { animation-delay: .2s; }
.is-playing .pv-review__stars i:nth-child(4) { animation-delay: .3s; }
.is-playing .pv-review__stars i:nth-child(5) { animation-delay: .4s; }
.is-playing .pv-a { animation: pv-grow-a 6s var(--ease) infinite; }
.is-playing .pv-b { animation: pv-grow-b 6s var(--ease) infinite; }
.is-playing .pv-c { animation: pv-grow-c 6s steps(14) infinite; }
.is-playing .pv-d { animation: pv-grow-d 6s steps(12) infinite; }
.is-playing .pv-sent { animation: pv-sent 6s var(--ease) infinite; }

@keyframes pv-badge { 0%, 2% { opacity: 0; transform: translateY(-8px) scale(.8); } 7%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes pv-float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-6px); } }
@keyframes pv-star { 0%, 8% { transform: scale(0) rotate(-45deg); } 14%, 90% { transform: none; } 96%, 100% { transform: scale(0); } }
@keyframes pv-grow-a { 0%, 16% { transform: scaleX(0); } 26%, 92% { transform: none; } 98%, 100% { transform: scaleX(0); } }
@keyframes pv-grow-b { 0%, 22% { transform: scaleX(0); } 30%, 92% { transform: none; } 98%, 100% { transform: scaleX(0); } }
@keyframes pv-grow-c { 0%, 38% { transform: scaleX(0); } 52%, 92% { transform: none; } 98%, 100% { transform: scaleX(0); } }
@keyframes pv-grow-d { 0%, 52% { transform: scaleX(0); } 64%, 92% { transform: none; } 98%, 100% { transform: scaleX(0); } }
@keyframes pv-sent { 0%, 66% { opacity: 0; transform: translateY(6px) scale(.9); } 72%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* Zdjęcia i wideo: folder uploads, tiles drop into the gallery */
.pv-media { width: min(70%, 340px); display: grid; gap: 12px; }
.pv-upload { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--white); box-shadow: 0 14px 30px -18px rgba(13,16,51,.45); font: 500 12px/1 var(--f-mono); }
.pv-upload__icon { width: 18px; height: 14px; border-radius: 3px; background: var(--ink); position: relative; flex: none; }
.pv-upload__icon::before { content: ""; position: absolute; left: 2px; top: -3px; width: 8px; height: 4px; border-radius: 2px 2px 0 0; background: var(--ink); }
.pv-upload__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-upload__bar { margin-left: auto; width: 30%; min-width: 50px; height: 6px; border-radius: 3px; background: #E3E5F2; overflow: hidden; }
.pv-upload__bar i { display: block; height: 100%; width: 100%; background: var(--mint); border-radius: 3px; transform-origin: left; }
.pv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv-tiles span { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.55); position: relative; }
.pv-tiles span:nth-child(3n+1) { background: var(--white); }
.pv-tiles .v { background: var(--ink); }
.pv-tiles .v::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--mint); }

.is-playing .pv-upload__bar i { animation: pv-bar 6s linear infinite; }
.is-playing .pv-tiles span { animation: pv-drop 6s var(--ease) infinite; }
.is-playing .pv-tiles span:nth-child(2) { animation-delay: .3s; }
.is-playing .pv-tiles span:nth-child(3) { animation-delay: .6s; }
.is-playing .pv-tiles span:nth-child(4) { animation-delay: .9s; }
.is-playing .pv-tiles span:nth-child(5) { animation-delay: 1.2s; }
.is-playing .pv-tiles span:nth-child(6) { animation-delay: 1.5s; }
.is-playing .pv-tiles .v::after { animation: pv-pulse 1.2s ease-in-out infinite; }

@keyframes pv-bar { 0% { transform: scaleX(0); } 45%, 90% { transform: none; } 100% { transform: scaleX(0); } }
@keyframes pv-drop { 0%, 6% { opacity: 0; transform: translateY(-36px) scale(.8) rotate(-6deg); } 14% { opacity: 1; transform: translateY(4px) scale(1.02); } 18%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes pv-pulse { 50% { scale: 1.25; } }

/* Wpisy: calendar days get scheduled, then the post goes live */
.pv-calwrap { position: relative; width: min(74%, 380px); }
.pv-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 18px; background: var(--white); border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(13,16,51,.4); transform: rotate(2deg); }
.pv-cal span { aspect-ratio: 1; border-radius: 6px; background: #EEEFF7; }
.pv-cal .pv-cal__head { aspect-ratio: auto; background: none; text-align: center; font: 500 10px/1 var(--f-mono); color: var(--muted); padding-bottom: 2px; }
.pv-cal .on { background: var(--ultra); }
.pv-postcard {
  position: absolute; right: -8%; bottom: -14%;
  display: flex; align-items: center; gap: 10px;
  width: 62%; padding: 10px; border-radius: 14px;
  background: var(--white); box-shadow: 0 20px 40px -16px rgba(13,16,51,.5);
  transform: rotate(-3deg);
}
.pv-postcard__img { width: 38px; height: 38px; flex: none; border-radius: 9px; background: linear-gradient(150deg, var(--sun), var(--coral)); }
.pv-postcard__lines { flex: 1; display: grid; gap: 6px; }
.pv-postcard__lines .pv-line { height: 7px; }
.pv-postcard__ok { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 700; }

.is-playing .pv-cal .on { animation: pv-day 7s var(--ease) infinite; }
.is-playing .pv-cal .on:nth-child(12) { animation-delay: .5s; }
.is-playing .pv-cal .on:nth-child(16) { animation-delay: 1s; }
.is-playing .pv-cal .on:nth-child(19) { animation-delay: 1.5s; }
.is-playing .pv-cal .on:nth-child(23) { animation-delay: 2s; }
.is-playing .pv-cal .on:nth-child(26) { animation-delay: 2.5s; }
.is-playing .pv-postcard { animation: pv-post 7s var(--ease) infinite; }
.is-playing .pv-postcard__ok { animation: pv-ok 7s var(--ease) infinite; }

@keyframes pv-day { 0%, 4% { background: #EEEFF7; transform: scale(.6); } 9% { background: var(--sun); transform: scale(1.15); } 14%, 86% { background: var(--ultra); transform: none; } 94%, 100% { background: #EEEFF7; transform: scale(.6); } }
@keyframes pv-post { 0%, 46% { opacity: 0; transform: translateY(24px) rotate(-3deg) scale(.9); } 54%, 88% { opacity: 1; transform: rotate(-3deg); } 96%, 100% { opacity: 0; transform: translateY(10px) rotate(-3deg); } }
@keyframes pv-ok { 0%, 58% { transform: scale(0); } 64% { transform: scale(1.3); } 68%, 88% { transform: none; } 96%, 100% { transform: scale(0); } }

/* statement */
.statement { padding: var(--section-y) 0; }
.statement__text { margin-top: 16px; font: 600 clamp(26px, 3.2vw, 44px)/1.12 var(--f-display); letter-spacing: -.03em; max-width: 24ch; }
.statement__lead { margin-top: 18px; max-width: 62ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.statement__cta { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.benefits { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* USP row: open columns with icons, deliberately unlike the pricing cards */
.benefits { gap: 0; }
.benefit { padding: 6px clamp(18px, 2.5vw, 34px); border-left: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; border-left: 0; }
.benefit__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--ultra-light), var(--ultra-deep));
  box-shadow: 0 12px 24px -12px rgba(92, 26, 222, .6);
}
.benefit__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin-bottom: 10px; font-size: 22px; font-weight: 750; line-height: 1.15; }
.benefit p { color: var(--muted); font-size: 15px; }
.statement__text em { font-style: normal; color: var(--white); background: var(--ultra); padding: 0 .18em; border-radius: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* process */
.process { padding: var(--section-y) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.step:not(:last-child)::after { /* route between steps */
  content: ""; position: absolute; top: 46px; right: -18px; width: 18px; border-top: 3px dotted var(--ultra);
}
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ultra); color: var(--white); font: 700 18px/1 var(--f-display); }
.step:last-child .step__n { background: var(--sun); color: var(--ink); }
.step h3 { margin: 22px 0 10px; font-size: 22px; font-weight: 700; }
.step p { color: var(--muted); font-size: 15px; }

/* pricing */
.pricing { padding: var(--section-y) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  --accent: var(--coral);
  display: flex; flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(13,16,51,.25); }
.plan--mint { --accent: var(--mint); }
.plan--sun { --accent: var(--sun); }
.plan__tag { font: 500 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan h3 { margin: 12px 0 18px; font-size: 26px; font-weight: 750; line-height: 1.05; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font: 800 clamp(44px, 5vw, 60px)/1 var(--f-display); letter-spacing: -.04em; }
.plan__price span { color: var(--muted); font-weight: 500; }
.plan__list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 500; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.plan__list li::after { content: ""; position: absolute; left: 5.5px; top: calc(.3em + 3.5px); width: 4px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }

.plan--bundle {
  grid-column: 1 / -1;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap;
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(160deg, var(--ultra-light) 0%, var(--ultra) 50%, var(--ultra-deep) 100%);
  color: var(--white);
  border: 0;
}
.plan--bundle .plan__tag { color: var(--sun); }
.plan--bundle h3 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-bottom: 12px; }
.plan__note { color: rgba(255,255,255,.8); max-width: 44ch; }
.plan__bundle-price { display: grid; gap: 14px; justify-items: start; }
.plan--bundle .plan__price b { font-size: clamp(56px, 7vw, 88px); color: var(--sun); }
.plan--bundle .plan__price span { color: rgba(255,255,255,.75); }
.plan__was { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.plan__was s { margin-right: 8px; color: rgba(255,255,255,.6); font-weight: 500; }

/* faq */
.faq { padding: var(--section-y) 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0;
  font: 650 clamp(18px, 2vw, 22px)/1.25 var(--f-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font: 400 22px/1 var(--f-body); transition: transform .35s var(--ease), background .35s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); border-color: var(--sun); }
.faq details p { padding: 0 60px 26px 0; color: var(--muted); max-width: 64ch; }

/* contact */
.contact {
  margin: var(--section-y) clamp(8px, 2vw, 24px) 0;
  padding: clamp(50px, 6vw, 84px) 0;
  background: linear-gradient(160deg, var(--ultra-light) 0%, var(--ultra) 50%, var(--ultra-deep) 100%);
  color: var(--white);
  border-radius: clamp(28px, 5vw, 64px);
}
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { margin: 18px 0 20px; font-size: clamp(34px, 4vw, 56px); font-weight: 800; }
.contact__copy p:not(.eyebrow) { color: rgba(255,255,255,.72); max-width: 40ch; }
.contact__direct { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__direct li { display: grid; gap: 4px; }
.contact__direct span { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.contact__direct a { font: 700 clamp(20px, 2vw, 26px)/1.2 var(--f-display); letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere; }
.contact__direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.field em { font-style: normal; color: rgba(255,255,255,.6); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--white); font: 400 16px/1.4 var(--f-body);
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: rgba(255,255,255,.1); }
.field.is-invalid input { border-color: #FFD8D2; box-shadow: 0 0 0 2px rgba(255,91,74,.55); }

.picks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.picks legend { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); margin-bottom: 10px; padding: 0; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.pick input:checked + span { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.pick input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.8); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sun); flex: none; }
.consent.is-invalid span { color: #FFD8D2; text-decoration: underline wavy rgba(255,91,74,.8); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-size: 14px; }
.form__status { font-weight: 600; }
.form__status.is-ok { color: #B8FFE6; }
.form__status.is-err { color: #FFD8D2; }

/* footer */
.footer { padding: clamp(44px, 5vw, 72px) 0 36px; }
.footer__inner { display: grid; gap: 40px; }.footer__big { font: 800 clamp(32px, 4.4vw, 64px)/.95 var(--f-display); letter-spacing: -.045em; color: var(--ultra); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); transition: background .3s var(--ease), transform .3s var(--ease); }
.footer__social a:hover { background: var(--ultra); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; fill: currentColor; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a, .footer__link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover, .footer__link-btn:hover { color: var(--ink); }
.footer__meta {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
/* ---------- Document pages (cookie policy) ---------- */
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.doc-head__logo { height: 24px; width: auto; }
.doc { padding-top: clamp(30px, 5vw, 60px); padding-bottom: var(--section-y); }
.doc h1 { margin: 14px 0 18px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; }
.doc__lead { color: var(--muted); font-size: 18px; max-width: 60ch; }
.doc__declaration { margin-top: 36px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow-x: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .demo.reveal { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .demo { max-width: 460px; width: 100%; margin: 20px auto 0; }
  .product { grid-template-columns: 1fr; }
  .product:nth-of-type(even) .product__visual { order: 0; }
  .product__visual { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .plans { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; gap: 30px; }
  .benefit { padding: 0; border-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { inset: 10px 10px auto; padding-left: 16px; }
  .demo__card { transform: none; padding: 18px; }
  .demo__stage { height: 390px; }
  .tiles { height: 296px; }
  .gpost { grid-template-columns: 50px 1fr; }
  .gpost__img { width: 50px; height: 50px; }
  .gpost__meta { grid-column: 2; max-width: none; margin-top: -6px; color: var(--muted); }
  .gpost__meta small { display: inline; margin-left: 6px; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
