/* ==========================================================================
   Pomeo, style główne
   Kolory marki są zdefiniowane wyłącznie w :root (sekcja TOKENY).
   Po otrzymaniu identyfikacji wizualnej wystarczy podmienić --accent i resztę tokenów.
   ========================================================================== */

/* ---------- Font (Plus Jakarta Sans, lokalnie, licencja OFL) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- TOKENY ---------- */
:root {
  /* Kolory bazowe, do podmiany po otrzymaniu identyfikacji */
  --bg: #ffffff;
  --surface: #f5f5f3;
  --surface-2: #ededea;
  --line: rgba(12, 12, 14, 0.08);
  --line-2: rgba(12, 12, 14, 0.14);
  --text: #0c0c0e;
  --text-2: #5d5d64;
  --muted: #8d8d94;
  --on-dark: #ffffff;
  --accent: #ff5b26;
  --accent-soft: rgba(255, 91, 38, 0.12);
  --ok: #15a34a;
  --error: #d93a3a;
  --shadow: 0 24px 48px -28px rgba(12, 12, 14, 0.22);

  /* Typografia */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Układ */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 24px;
  --header-h: 76px;
  --section-y: clamp(96px, 12vw, 180px);

  /* Ruch */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
  background: var(--bg);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }
::selection { background: var(--text); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: var(--on-dark); font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.soft { font-style: normal; color: var(--muted); }

/* ---------- Elementy wspólne ---------- */
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-title {
  font-size: clamp(38px, 5.6vw, 88px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 16ch;
  text-wrap: balance;
}
.section-lead {
  margin-top: 24px;
  max-width: 54ch;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--text-2);
}

.link-underline {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  padding-bottom: 2px;
}
.link-underline:hover { animation: underline 0.7s var(--ease-in-out); }
@keyframes underline {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  50% { background-size: 0 1px; background-position: 100% 100%; }
  50.01% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  padding-block: 8px;
}
.link-arrow::after {
  content: '';
  width: 22px; height: 1px; background: currentColor;
  transition: width 0.5s var(--ease-out);
}
.link-arrow:hover::after { width: 40px; }

/* Przyciski */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  background: var(--text); color: var(--on-dark);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.35s, transform 0.35s var(--ease-out);
}
.btn:hover { background: #2a2a2e; }
.btn:active { transform: scale(0.98); }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { --h: 42px; padding: 0 20px; font-size: 15px; }
.btn--big { --h: 60px; padding: 0 30px; font-size: 17px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Tagi */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; line-height: 1.3;
  color: var(--text-2);
}

/* ---------- Nagłówek ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease-out), background-color 0.4s, border-color 0.4s;
}
.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.header__inner > .logo { margin-right: auto; }
.logo {
  display: inline-flex; align-items: baseline;
  font-size: 26px; font-weight: 700; letter-spacing: -0.06em; line-height: 1;
}
.logo__dot {
  width: 0.27em; height: 0.27em; border-radius: 50%;
  background: var(--accent);
  margin-left: 0.08em;
  transition: transform 0.5s var(--ease-out);
}
.logo:hover .logo__dot { transform: translateY(-0.35em); }
.nav__list { display: flex; gap: 34px; }
.nav__link { font-size: 15px; color: var(--text-2); transition: color 0.25s; }
.nav__link:hover, .nav__link.is-current { color: var(--text); }

.burger {
  display: none;
  position: relative; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-2);
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Menu mobilne */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.4s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(38px, 11vw, 68px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s, transform 0.7s var(--ease-out);
}
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.15s; }
.menu__foot a { font-size: 18px; color: var(--text-2); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(16px, 3vh, 32px));
  padding-bottom: clamp(24px, 4vh, 40px);
}
.hero__title {
  font-size: clamp(40px, 4.3vw, 68px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: inline-block; }
.line > .rotator { display: inline-grid; color: var(--accent); }
.rotator__item { grid-area: 1 / 1; }
.js .rotator__item { transform: translateY(110%); transition: transform 0.9s var(--ease-out); }
.js .rotator__item.is-active { transform: none; }
.js .rotator__item.is-leaving { transform: translateY(-110%); }
.js .rotator__item.no-t { transition: none; }
.hero__side { margin-top: clamp(24px, 3vh, 36px); }
.hero__lead { font-size: clamp(16px, 1.15vw, 18px); color: var(--text-2); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }

/* Tablica z kropek */
.stage {
  --step: 7px;
  position: relative;
  height: min(76svh, 720px);
  min-height: 420px;
  border-radius: calc(var(--radius) + 6px);
  background-color: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.js .stage {
  background-image: radial-gradient(circle, rgba(12, 12, 14, 0.1) 0 0.9px, transparent 1.3px);
  background-size: var(--step) var(--step);
  background-position: 0 0;
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.stage__mark {
  position: absolute; inset: 0 0 56px;
  display: grid; place-items: center;
  font-size: clamp(64px, 9vw, 168px);
  font-weight: 800;
  letter-spacing: -0.05em;
  user-select: none;
}
.stage.has-particles .stage__mark { opacity: 0; }
.stage__nav {
  position: absolute; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); bottom: clamp(18px, 2.2vw, 28px);
  display: none;
  gap: clamp(10px, 1.6vw, 20px);
}
.stage.has-particles .stage__nav { display: flex; }
.stage__btn {
  position: relative;
  flex: 1;
  padding-top: 12px;
  text-align: left;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}
.stage__btn::before, .stage__btn::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.stage__btn::after { background: var(--text); transform-origin: left; transform: scaleX(var(--p, 0)); }
.stage__btn:hover, .stage__btn.is-active { color: var(--text); }
.stage__btn:focus-visible { outline-offset: 6px; }

/* Wejście hero */
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.js .hero__title .line:nth-child(2) > span { transition-delay: 0.07s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: 0.14s; }
.js .hero__title .line:nth-child(4) > span { transition-delay: 0.21s; }
.js.is-loaded .hero__title .line > span { transform: none; }
.js [data-fade] { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out) 0.35s, transform 1.1s var(--ease-out) 0.35s; }
.js.is-loaded [data-fade] { opacity: 1; transform: none; }
.js .stage[data-fade] { transform: scale(0.98); transition-delay: 0.1s; }
.js.is-loaded .stage[data-fade] { transform: none; }

/* ---------- Podejście ---------- */
.intro { border-top: 1px solid var(--line); }
.manifesto {
  font-size: clamp(28px, 3.9vw, 58px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 24ch;
  text-wrap: pretty;
}
.js .manifesto .word { opacity: 0.14; transition: opacity 0.5s; }
.js .manifesto .word.is-lit { opacity: 1; }
.pillars {
  margin-top: clamp(64px, 9vw, 128px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.pillar { padding-top: 24px; border-top: 1px solid var(--line-2); }
.pillar h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.pillar p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

/* ==========================================================================
   USŁUGI
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card {
  grid-column: span 5;
  display: flex; flex-direction: column;
  min-height: 500px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.card--wide { grid-column: span 7; }
.card__visual {
  flex: 1;
  min-height: 220px;
  display: grid; place-items: center;
  margin-bottom: 28px;
  position: relative;
}
.card__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.card__body p { margin-top: 12px; color: var(--text-2); max-width: 48ch; }

/* Wspólne tło mini-ilustracji */
.v-browser, .v-uptime, .v-shop__grid b, .v-shop__cart, .v-shop__toast, .v-social__bubble, .v-browser__score { background: var(--bg); }

/* --- Przeglądarka --- */
.v-browser {
  position: relative;
  width: min(100%, 440px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.v-browser__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.v-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-2); }
.v-browser__bar span { flex: 1; height: 14px; margin-left: 10px; border-radius: 7px; background: var(--surface); max-width: 60%; }
.v-browser__body { display: grid; gap: 10px; padding: 14px; }
.v-browser__hero {
  height: 78px; border-radius: 8px;
  background: linear-gradient(110deg, var(--accent-soft), var(--surface) 40%, var(--accent-soft) 80%);
  background-size: 220% 100%;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.v-browser__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-browser__row b { height: 46px; border-radius: 6px; background: var(--surface); }
.v-browser__lines { display: grid; gap: 7px; }
.v-browser__lines i { height: 6px; border-radius: 3px; background: var(--surface-2); }
.v-browser__lines i:nth-child(1) { width: 92%; }
.v-browser__lines i:nth-child(2) { width: 74%; }
.v-browser__lines i:nth-child(3) { width: 48%; }
.v-browser__score {
  position: absolute; right: 12px; bottom: 12px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 6px 16px -6px rgba(12, 12, 14, 0.2);
}
.v-browser__score svg { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); transform: rotate(-90deg); fill: none; stroke-width: 3; }
.v-browser__score circle { stroke: var(--surface-2); }
.v-browser__score .v-score { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 1; }
.v-browser__score span { font-size: 14px; font-weight: 600; color: var(--ok); }
.card.is-in .v-browser__row b,
.card.is-in .v-browser__lines i { animation: build 0.8s var(--ease-out) both; }
.card.is-in .v-browser__hero { animation: build 0.8s var(--ease-out) 0.2s both, shimmer 5s linear 1s infinite; }
.card.is-in .v-browser__row b:nth-child(1) { animation-delay: 0.35s; }
.card.is-in .v-browser__row b:nth-child(2) { animation-delay: 0.42s; }
.card.is-in .v-browser__row b:nth-child(3) { animation-delay: 0.49s; }
.card.is-in .v-browser__lines i:nth-child(1) { animation-delay: 0.6s; }
.card.is-in .v-browser__lines i:nth-child(2) { animation-delay: 0.66s; }
.card.is-in .v-browser__lines i:nth-child(3) { animation-delay: 0.72s; }
.card.is-in .v-score { animation: score 1.8s var(--ease-out) 0.6s both; }
@keyframes build { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
@keyframes score { from { stroke-dashoffset: 97.4; } }

/* --- Sklep --- */
.v-shop { position: relative; width: min(100%, 340px); padding: 10px 70px 30px 0; }
.v-shop__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v-shop__grid b { position: relative; aspect-ratio: 1.25; border-radius: 12px; border: 1px solid var(--line); }
.v-shop__grid b::before { content: ''; position: absolute; left: 12px; bottom: 22px; width: 45%; height: 6px; border-radius: 3px; background: var(--surface-2); }
.v-shop__grid b::after { content: ''; position: absolute; left: 12px; bottom: 10px; width: 24%; height: 6px; border-radius: 3px; background: var(--text); opacity: 0.75; }
.v-shop__grid b:nth-child(2) { background: var(--accent-soft); border-color: transparent; }
.v-shop__grid b:nth-child(2)::after { background: var(--accent); opacity: 1; }
.v-shop__cart {
  position: absolute; right: 0; top: 10px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -6px rgba(12, 12, 14, 0.2);
}
.v-shop__cart svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v-shop__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent); color: var(--on-dark);
  font-size: 11px; font-weight: 700;
}
.v-shop__toast {
  position: absolute; left: 50%; bottom: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px; white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: var(--shadow);
}
.v-shop__toast i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.card.is-in .v-shop__badge { animation: badge 3.2s var(--ease-out) 0.6s infinite both; }
.card.is-in .v-shop__toast { animation: toast 3.2s var(--ease-out) 0.6s infinite both; }
@keyframes badge { 0% { transform: scale(0); } 12% { transform: scale(1.25); } 20%, 100% { transform: scale(1); } }
@keyframes toast {
  0% { opacity: 0; transform: translate(-50%, 14px); }
  12%, 78% { opacity: 1; transform: translate(-50%, 0); }
  92%, 100% { opacity: 0; transform: translate(-50%, -6px); }
}

/* --- Uptime --- */
.v-uptime {
  width: min(100%, 360px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.v-uptime__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.v-uptime__status { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.v-uptime__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.v-uptime__pct { color: var(--ok); font-weight: 600; }
.v-uptime__pulse { width: 100%; height: auto; margin: 14px 0; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v-uptime__track { stroke: var(--surface-2); stroke-width: 1.5; }
.v-uptime__run { stroke: var(--ok); stroke-width: 2; stroke-dasharray: 22 78; stroke-dashoffset: 100; }
.card.is-in .v-uptime__run { animation: run 2.4s linear infinite; }
@keyframes run { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.v-uptime__bars { display: flex; gap: 3px; height: 26px; align-items: flex-end; }
.v-uptime__bars i { flex: 1; height: 100%; border-radius: 2px; background: var(--ok); opacity: 0.8; transform-origin: bottom; }
.v-uptime__bars i:nth-child(13) { opacity: 0.25; height: 60%; }
.card.is-in .v-uptime__bars i { animation: bar 0.7s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 30ms + 0.3s); }
@keyframes bar { from { transform: scaleY(0); } }

/* --- Automatyzacje --- */
.v-flow { width: min(100%, 460px); height: auto; overflow: visible; }
.v-flow__line { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.v-flow__dash { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 94; stroke-dashoffset: 100; opacity: 0; }
.card.is-in .v-flow__dash { animation: packet 2.6s var(--ease-in-out) infinite; }
.card.is-in .v-flow__dash--b { animation-delay: 1.3s; }
@keyframes packet {
  0% { stroke-dashoffset: 100; opacity: 0; }
  8%, 88% { opacity: 1; }
  100% { stroke-dashoffset: 6; opacity: 0; }
}
.v-flow__node rect { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.v-flow__node path { fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-flow__node--end rect { stroke: var(--accent); }
.v-flow__node--end path { stroke: var(--accent); }

/* --- Wykres --- */
.v-chart { width: min(100%, 460px); color: var(--accent); }
.v-chart__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 13px; color: var(--text-2); }
.v-chart__delta { color: var(--ok); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-chart svg { width: 100%; height: auto; overflow: visible; }
.v-chart__line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.card.is-in .v-chart__line { animation: draw 2s var(--ease-out) 0.3s both; }
.card.is-in .v-chart__area { animation: fade 1.6s var(--ease-out) 0.9s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
.v-chart__axis { display: flex; justify-content: space-between; margin-top: 12px; }
.v-chart__axis i { width: 1px; height: 6px; background: var(--line-2); }

/* --- Social --- */
.v-social { position: relative; width: min(100%, 320px); display: grid; gap: 10px; padding-bottom: 8px; }
.v-social__bubble {
  display: inline-flex; align-items: center; gap: 10px;
  width: max-content; max-width: 100%;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 8px 20px -14px rgba(12, 12, 14, 0.3);
}
.v-social__bubble i { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.v-social__bubble--1 i { background: linear-gradient(135deg, var(--accent), #ffb37a); }
.v-social__bubble--2 { margin-left: 34px; }
.v-social__bubble--2 i { background: linear-gradient(135deg, #d4d4d9, #8d8d94); }
.v-social__bubble--3 { margin-left: 12px; }
.v-social__bubble--3 i { background: linear-gradient(135deg, #8be0ad, var(--ok)); }
.v-social__count {
  position: absolute; right: 0; top: -6px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--text); color: var(--on-dark);
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.v-social__count svg { width: 14px; height: 14px; fill: var(--accent); }
.card.is-in .v-social__bubble { animation: bubble 6s var(--ease-out) infinite both; }
.card.is-in .v-social__bubble--2 { animation-delay: 0.6s; }
.card.is-in .v-social__bubble--3 { animation-delay: 1.2s; }
@keyframes bubble {
  0% { opacity: 0; transform: translateY(12px) scale(0.92); }
  8%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* ==========================================================================
   PROCES
   ========================================================================== */
.steps {
  --p: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.steps::before, .steps::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 6px; height: 1px;
  background: var(--line-2);
}
.steps::after { background: var(--text); transform-origin: left; transform: scaleX(var(--p)); }
.step { position: relative; padding-top: 48px; }
.step__dot {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  transition: background-color 0.5s, border-color 0.5s;
}
.step.is-active .step__dot { background: var(--text); border-color: var(--text); }
.step__num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 8px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--text-2); max-width: 32ch; }
.js .step { opacity: 0.35; transition: opacity 0.6s; }
.js .step.is-active { opacity: 1; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.section-head--sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; margin-bottom: 0; }
.accordion { border-top: 1px solid var(--line-2); }
.acc { border-bottom: 1px solid var(--line-2); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: clamp(20px, 2.2vw, 28px);
  list-style: none;
  cursor: pointer;
  font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.acc summary:hover i { border-color: var(--text); }
.acc summary i::before, .acc summary i::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px;
  background: var(--text); border-radius: 1px;
  transition: background-color 0.3s;
}
.acc summary i::after { transform: rotate(90deg); }
.acc[open]:not(.is-closing) summary i { transform: rotate(135deg); background-color: var(--text); border-color: var(--text); }
.acc[open]:not(.is-closing) summary i::before, .acc[open]:not(.is-closing) summary i::after { background: var(--on-dark); }
.acc__body { overflow: hidden; }
.acc__body p { padding-bottom: 26px; color: var(--text-2); max-width: 62ch; font-size: 17px; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact { border-top: 1px solid var(--line); }
.contact__title {
  font-size: clamp(46px, 8.4vw, 148px);
  line-height: 0.94; font-weight: 500; letter-spacing: -0.045em;
  max-width: 12ch;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 34ch; }
.contact__mail { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.big-link {
  font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15;
  background: linear-gradient(var(--text), var(--text)) no-repeat 0 100% / 0 2px;
  padding-bottom: 4px;
  transition: background-size 0.6s var(--ease-out);
  overflow-wrap: anywhere;
}
.big-link:hover { background-size: 100% 2px; }
.copy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; color: var(--text-2);
  transition: border-color 0.3s, color 0.3s;
}
.copy:hover { border-color: var(--text); color: var(--text); }
.copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact__note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; max-width: 40ch; }

/* Formularz */
.form {
  padding: clamp(24px, 4vw, 48px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
}
.form__chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg);
  font-size: 14px; line-height: 1.2; color: var(--text-2);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
  user-select: none;
}
.chip:hover span { border-color: var(--text); color: var(--text); }
.chip input:checked + span { background: var(--text); border-color: var(--text); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.field { position: relative; margin-top: 24px; }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 24px 0 10px;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: linear-gradient(var(--text), var(--text)) no-repeat 0 100% / 0 1px;
  font-size: 17px; line-height: 1.5;
  outline: none;
  transition: background-size 0.6s var(--ease-out), border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { background-size: 100% 1px; }
.field label {
  position: absolute; left: 0; top: 24px;
  color: var(--text-2); font-size: 17px; line-height: 1.5;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.45s var(--ease-out), color 0.3s;
}
.field label small { font-size: 0.8em; color: var(--muted); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(0.76);
}
.field input:focus + label, .field textarea:focus + label { color: var(--text); }
.field__error { display: block; font-size: 13px; color: var(--error); margin-top: 6px; }
.field__error:empty { margin-top: 0; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { position: relative; display: flex; gap: 14px; margin-top: 28px; font-size: 14px; color: var(--text-2); line-height: 1.55; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.consent__box {
  position: relative; flex: none;
  width: 20px; height: 20px; margin-top: 1px;
  border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--bg);
  transition: background-color 0.25s, border-color 0.25s;
}
.consent__box::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--on-dark); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.consent input:checked + .consent__box { background: var(--text); border-color: var(--text); }
.consent input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--text); outline-offset: 3px; }
.consent.is-invalid .consent__box { border-color: var(--error); }
.consent a { color: var(--text); }
.field__error--consent { padding-left: 34px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.form__status { font-size: 15px; color: var(--text-2); max-width: 40ch; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--error); }

/* ==========================================================================
   STOPKA
   ========================================================================== */
.footer { padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--text-2); font-size: 15px; max-width: 26ch; }
.footer__head { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.footer__cols ul { display: grid; gap: 8px; }
.footer__cols ul a { color: var(--text-2); transition: color 0.25s; }
.footer__cols ul a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(56px, 7vw, 96px);
  padding-block: 24px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer__bottom a:hover { color: var(--text); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 130;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text); color: var(--on-dark);
  font-size: 14px; font-weight: 500;
  transform: translate(-50%, 200%);
  opacity: 0; visibility: hidden;
  transition: transform 0.6s var(--ease-out), opacity 0.4s, visibility 0s 0.6s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 0.6s var(--ease-out), opacity 0.4s, visibility 0s; }

/* ---------- Animacje wejścia ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 0.04em 0.12em 0; margin: 0 -0.04em -0.12em 0;
}
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.045s);
}
.js [data-split].is-in .w > span { transform: none; }

/* Zabezpieczenie: gdy skrypt się nie wczyta, pokaż wszystko po chwili */
.js:not(.js-ready) [data-reveal],
.js:not(.js-ready) [data-fade],
.js:not(.js-ready) .hero__title .line > span { animation: failsafe-show 0.01s 2s forwards; }
@keyframes failsafe-show { to { opacity: 1; transform: none; } }

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1100px) {
  .card, .card--wide { grid-column: span 6; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; align-items: start; }
  .stage { order: -1; height: min(48svh, 400px); min-height: 290px; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .section-head--sticky { position: static; margin-bottom: 8px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --radius: 20px; }
  .bento { gap: 12px; }
  .card, .card--wide { grid-column: 1 / -1; min-height: 0; }
  .card__visual { min-height: 200px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before, .steps::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p)); }
  .step { padding-top: 0; padding-left: 40px; }
  .step__dot { top: 3px; }
  .form__row { grid-template-columns: 1fr; }
  .stage__label { display: none; }
  .stage__btn { padding-top: 0; height: 14px; }
  .stage__btn::before, .stage__btn::after { top: 6px; }
}

@media (max-width: 520px) {
  .pillars, .footer__cols { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .v-shop { padding-right: 62px; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .card .card__visual * { animation: none !important; }
  .v-flow__dash { opacity: 0 !important; }
}

/* ==========================================================================
   PODSTRONY (polityka prywatności, 404)
   ========================================================================== */
.page { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: var(--section-y); }
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.legal .updated { margin-top: 18px; color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 52px; font-size: clamp(21px, 2vw, 26px); font-weight: 500; letter-spacing: -0.025em; }
.legal p, .legal li { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal .link-arrow { text-decoration: none; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.notfound__code { font-size: clamp(120px, 28vw, 340px); font-weight: 800; letter-spacing: -0.07em; line-height: 0.85; }
.notfound__code span { color: var(--accent); }
.notfound p { margin: 24px auto 36px; max-width: 40ch; color: var(--text-2); font-size: 18px; }
