/* Urośnij — podstrony: artykuły, spis artykułów, O nas, 404, /pobierz/ (ładowane po style.css).
   Ten sam język co strona główna: czerń z granatem, wielkie pewne nagłówki, mało ozdobników, ruch razem z przewijaniem.
   Wszystkie klasy mają własne przedrostki (pg-, art-, hub-, ab-, nf-, acard), a tokeny są zawężone do body.sub,
   więc strony prawne (.legal-*, .support-*, .mini-nav, .button*, .status-pill, .eyebrow, .page-head) zostają bez zmian. */

@property --on { syntax: "<number>"; inherits: true; initial-value: 0; }

.sub {
  --s-page: var(--page, #02050b);
  --s-card: var(--white, #0a1322);
  --s-ink: var(--ink, #f2f6fb);
  --s-ink-2: var(--ink-2, #aab8cc);
  --s-ink-3: var(--ink-3, #8090a7);
  --s-text: #c9d4e3;
  --s-line: var(--line, rgba(160, 190, 230, 0.1));
  --s-line-2: var(--line-2, rgba(160, 190, 230, 0.2));
  --s-blue-ink: var(--blue-ink, #8ccfff);
  --s-sky: var(--sky, #1ab2ff);
  --s-hh: var(--header-h, 72px);
  --s-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --s-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --s-panel: radial-gradient(70% 90% at 85% 60%, rgba(26, 150, 255, 0.38), transparent 65%), linear-gradient(160deg, #0d1c36, #060f21);
  --s-tile: linear-gradient(165deg, #0c1729, #070d19);
}
.sub svg use { pointer-events: none; }
.sub main sup { position: relative; top: -0.48em; vertical-align: baseline; line-height: 0; }
/* Maski wierszy SplitText: zapas z prawej, bo Safari mierzy wiersz o kilka pikseli węziej niż go potem rysuje. */
.sub [data-hero-title] > div, .sub [data-split] > div { margin-right: -0.14em; padding-right: 0.14em; }

/* ---------- Wspólne: okruszki, baner, napisy, przyciski ---------- */

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0; padding: 0; list-style: none; color: var(--s-ink-3); font-size: 0.875rem; }
.crumbs li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs li + li::before { content: ""; flex: none; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.55; }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: var(--s-ink-2); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--s-ink); }
.crumbs [aria-current] span { display: block; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .crumbs li:nth-child(n + 3)[aria-current] { display: none; } }

.pg-hero { position: relative; isolation: isolate; padding: calc(var(--s-hh) + clamp(20px, 3vw, 40px)) 0 clamp(48px, 6vw, 96px); }
.pg-hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: min(980px, 130%); background: radial-gradient(56% 64% at 20% 0%, rgba(26, 140, 255, 0.26), transparent 70%), radial-gradient(36% 46% at 92% 6%, rgba(0, 190, 255, 0.08), transparent 70%); pointer-events: none; }
.pg-hero__in { display: grid; gap: clamp(18px, 2.2vw, 28px); margin-top: clamp(28px, 5vw, 72px); }
.pg-hero__lead { max-width: 40rem; color: var(--s-ink-2); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; letter-spacing: -0.012em; }
.pg-kicker { display: inline-flex; align-items: center; gap: 12px; justify-self: start; color: var(--s-blue-ink); font-size: 0.98rem; font-weight: 650; letter-spacing: -0.01em; }
.pg-kicker::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--s-sky); box-shadow: 0 0 0 4px rgba(26, 178, 255, 0.18); }
.pg-kicker a { color: inherit; text-decoration: none; transition: color 0.2s; }
.pg-kicker a:hover { color: var(--s-ink); }
.pg-giant { max-width: 11ch; font-size: clamp(3.3rem, 10.5vw, 9.6rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.062em; text-wrap: balance; background: linear-gradient(180deg, #fff 42%, #9fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.07em; }

/* Safari nie rysuje tekstu z gradientem (background-clip: text) rodzica, gdy SplitText podzieli tytuł na wiersze
   będące osobnymi warstwami. Po podziale gradient dostaje każdy wiersz, przesunięty tak, że całość wygląda jak jeden. */
.pg-giant > div > div, .pg-get__title > div > div { background: linear-gradient(180deg, #fff 0, #fff 0.8em, #9fd4ff 1.95em) 0 0 / 100% 2em no-repeat, #9fd4ff; -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-giant > div:nth-child(2) > div { background-position: 0 -0.92em, 0 0; }
.pg-giant > div:nth-child(3) > div { background-position: 0 -1.84em, 0 0; }
.pg-get__title > div:nth-child(2) > div { background-position: 0 -0.9em, 0 0; }
.pg-giant:has(> div), .pg-get__title:has(> div) { background: none; }
.pg-giant > div:only-child > div, .pg-get__title > div:only-child > div { background-image: linear-gradient(180deg, #fff 42%, #9fd4ff); background-size: 100% 100%; background-position: 0 0; }

.pg-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-pills a { display: inline-flex; align-items: center; min-height: 46px; padding-inline: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-ink); font-size: 0.95rem; font-weight: 650; text-decoration: none; transition: background-color 0.3s, box-shadow 0.3s; }
.pg-pills a:hover { background: rgba(26, 178, 255, 0.1); box-shadow: inset 0 0 0 1px var(--s-sky); }

.pg-more { display: inline-flex; align-items: center; justify-self: start; gap: 10px; min-height: 50px; padding: 0 20px 0 24px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-ink); font-size: 0.98rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background-color 0.3s, box-shadow 0.3s; }
.pg-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--s-expo); }
.pg-more:hover { background: rgba(26, 178, 255, 0.08); box-shadow: inset 0 0 0 1px var(--s-sky); }
.pg-more:hover svg { transform: translateX(4px); }

.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding-inline: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-ink); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; transition: transform 0.3s var(--s-ease), background-color 0.3s, box-shadow 0.3s; }
.pg-btn:hover { transform: translateY(-2px); background: rgba(26, 178, 255, 0.1); box-shadow: inset 0 0 0 1px var(--s-sky); }
.pg-btn--light { background: #fff; color: #02050b; box-shadow: none; }
.pg-btn--light:hover { background: #e4f3ff; box-shadow: 0 18px 40px -18px rgba(120, 200, 255, 0.6); }

/* ---------- Ramka „Pobierz” (koniec artykułu, spis, O nas) ---------- */

.pg-cta { position: relative; isolation: isolate; display: grid; overflow: hidden; margin-top: clamp(88px, 11vw, 150px); border-radius: clamp(28px, 3vw, 40px); background: var(--s-panel); box-shadow: inset 0 0 0 1px rgba(120, 190, 255, 0.16), 0 50px 90px -40px rgba(0, 0, 0, 0.95); view-timeline: --cta block; }
.pg-cta__text { display: grid; gap: 22px; align-content: center; justify-items: start; padding: clamp(32px, 5.5vw, 80px) clamp(24px, 5.5vw, 80px) 8px; }
.pg-cta__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--s-ink-2); font-size: 0.98rem; font-weight: 650; }
.pg-cta__brand img { width: 28px; height: 28px; border-radius: 8px; }
.pg-cta__title { max-width: 11ch; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.055em; text-wrap: balance; }
.pg-cta__lead { max-width: 27rem; color: var(--s-ink-2); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; }
.pg-cta .stores { margin-top: 6px; }
.pg-cta__visual { position: relative; display: flex; justify-content: center; height: clamp(300px, 74vw, 380px); margin-top: 36px; }
.pg-cta__visual .device { width: min(290px, 64vw); flex: none; rotate: -6deg; }
@media (min-width: 900px) {
  .pg-cta { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: 600px; }
  .pg-cta__text { padding-bottom: clamp(32px, 5.5vw, 80px); }
  .pg-cta__visual { height: auto; margin: 0; }
  .pg-cta__visual .device { position: absolute; top: 72px; width: 300px; }
}

/* ---------- Pobierz Urośnij (404 i /pobierz/) ---------- */

.pg-get { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(110px, 16vh, 190px); text-align: center; background: radial-gradient(70% 55% at 50% 100%, rgba(26, 140, 255, 0.4), transparent 72%); view-timeline: --get block; }
.pg-get__in { display: grid; justify-items: center; gap: 26px; }
.pg-get__title { font-size: clamp(3.4rem, 12.5vw, 11rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.065em; background: linear-gradient(180deg, #fff 40%, #9fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.07em; }
.pg-get__lead { max-width: 30rem; color: var(--s-ink-2); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; }
.pg-get .stores { justify-content: center; }
.pg-qr { display: none; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; max-width: 320px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-ink-2); font-size: 0.86rem; line-height: 1.35; text-align: left; }
.pg-qr img { width: 72px; height: 72px; padding: 5px; border-radius: 10px; background: #fff; image-rendering: pixelated; }
@media (min-width: 960px) and (hover: hover) { .pg-qr { display: grid; } }
.pg-get__phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 44px); height: clamp(240px, 34vw, 440px); margin-top: clamp(56px, 9vh, 100px); overflow: hidden; }
.pg-get__phones .device { width: clamp(124px, 17vw, 250px); flex: none; margin-top: 70px; }
.pg-get__phones .device:nth-child(2) { width: clamp(146px, 19vw, 270px); margin-top: 0; z-index: 2; }
main:has(> .pg-get:last-child) + .footer { margin-top: 0; }
.dl .pg-get { padding-top: calc(var(--s-hh) + clamp(56px, 11vh, 130px)); }

/* ---------- Karty artykułów ---------- */

.acards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.acards > li { display: flex; min-width: 0; }
@media (min-width: 720px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .acards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acard { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; width: 100%; min-height: 270px; padding: 28px 28px 26px; overflow: hidden; border-radius: 26px; background: var(--s-tile); box-shadow: inset 0 0 0 1px var(--s-line); color: var(--s-ink); text-decoration: none; transition: transform 0.6s var(--s-expo), box-shadow 0.4s; }
.acard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 75% at 100% 0%, rgba(26, 150, 255, 0.3), transparent 65%); opacity: 0; transition: opacity 0.5s; }
.acard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--s-ink-3); font-size: 0.86rem; }
.acard__cat { color: var(--s-blue-ink); font-weight: 650; }
.acard__title { max-width: 22ch; font-size: clamp(1.32rem, 1.75vw, 1.6rem); font-weight: 750; line-height: 1.14; letter-spacing: -0.032em; text-wrap: balance; }
.acard__desc { max-width: 52ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--s-ink-2); font-size: 0.97rem; line-height: 1.55; }
.acard__go { display: grid; place-items: center; width: 46px; height: 46px; margin-top: auto; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--s-line-2); transition: background-color 0.35s, box-shadow 0.35s, color 0.35s, transform 0.6s var(--s-expo); }
.acard__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(77, 179, 255, 0.45), 0 30px 60px -30px rgba(26, 140, 255, 0.55); }
.acard:hover::before { opacity: 1; }
.acard:hover .acard__go { background: #fff; box-shadow: none; color: #02050b; transform: translateX(4px); }
@media (min-width: 720px) and (max-width: 1039px) { .acards--3 > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 719px) { .acard { min-height: 0; gap: 12px; padding: 24px 22px 26px; border-radius: 22px; } .acard__go { display: none; } }

/* ---------- Artykuł: baner ---------- */

.art-hero__title { max-width: 19ch; font-size: clamp(2.2rem, 5vw, 4.7rem); font-weight: 800; line-height: 1; letter-spacing: -0.052em; text-wrap: balance; }
.art-hero__lead { max-width: 44rem; color: #d5dfeb; font-size: clamp(1.12rem, 1.55vw, 1.4rem); line-height: 1.58; letter-spacing: -0.012em; }
.art-hero__lead .cite { color: var(--s-blue-ink); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 6px; color: var(--s-ink-3); font-size: 0.92rem; }
.art-meta > * { display: inline-flex; align-items: center; gap: 9px; }
.art-meta svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--s-sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art-meta a { color: inherit; text-decoration: none; transition: color 0.2s; }
.art-meta a:hover { color: var(--s-ink); }
.art-meta .art-meta__by { gap: 11px; color: var(--s-ink); font-weight: 650; }
.art-meta__by img { width: 32px; height: 32px; border-radius: 9px; }

/* ---------- Artykuł: układ, spis treści ---------- */

.art-body { display: grid; gap: 28px; }
.art-main { min-width: 0; }
.art-aside { display: none; }
@media (max-width: 999px) { .art-main { max-width: 44rem; } }
@media (min-width: 1000px) {
  .art-body { grid-template-columns: minmax(0, 43rem) minmax(200px, 272px); justify-content: space-between; column-gap: clamp(40px, 5vw, 64px); }
  .art-aside { display: block; }
  .art-tocm { display: none; }
}
.art-toc { position: sticky; top: calc(var(--s-hh) + 36px); }
.art-toc__title { margin-bottom: 14px; color: var(--s-ink); font-size: 0.92rem; font-weight: 700; }
.art-toc__list { position: relative; display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.art-toc__list li.is-num { counter-increment: toc; }
.art-toc__list a { --on: 0; position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 7px 0; color: var(--s-ink-3); font-size: 0.9rem; line-height: 1.4; text-decoration: none; transition: color 0.25s; }
.art-toc__list a::before { content: ""; color: var(--s-ink-3); font-size: 0.76rem; font-weight: 650; font-variant-numeric: tabular-nums; opacity: 0.8; }
.art-toc__list li.is-num a::before { content: counter(toc, decimal-leading-zero); }
.art-toc__list a:hover { color: var(--s-ink); }
.art-aside .art-toc__list { max-height: calc(100vh - var(--s-hh) - 150px); overflow-y: auto; padding-left: 30px; scrollbar-width: none; }
.art-aside .art-toc__list::before, .art-aside .art-toc__list::after { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 1px; background: var(--s-line-2); }
.art-aside .art-toc__list::after { width: 2px; left: 7.5px; border-radius: 2px; background: linear-gradient(var(--s-sky), #0b6bff); transform: scaleY(var(--line, 0)); transform-origin: 50% 0; }
.art-aside .art-toc__list a::after { content: ""; position: absolute; left: -25px; top: calc(7px + 0.7em); width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(26, 178, 255, 0.28); translate: 0 -50%; scale: var(--on); opacity: var(--on); }
.art-toc__top { display: inline-flex; align-items: center; min-height: 40px; margin-top: 14px; color: var(--s-ink-3); font-size: 0.86rem; text-decoration: none; transition: color 0.2s; }
.art-toc__top:hover { color: var(--s-ink); }

/* Spis na telefonie: zwinięta lista */
.art-tocm details { border-radius: 20px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--s-line-2); }
.art-tocm summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; color: var(--s-ink); font-weight: 650; cursor: pointer; list-style: none; }
.art-tocm summary::-webkit-details-marker { display: none; }
.art-tocm summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--s-sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-tocm summary svg:last-child { stroke: var(--s-ink-2); transition: transform 0.35s var(--s-ease); }
.art-tocm details[open] summary svg:last-child { transform: rotate(180deg); }
.art-tocm__n { margin-left: auto; color: var(--s-ink-3); font-size: 0.9rem; font-weight: 500; }
.art-tocm .art-toc__list { padding: 2px 18px 14px; }
.art-tocm .art-toc__list a { padding: 9px 0; border-top: 1px solid var(--s-line); color: var(--s-ink-2); font-size: 0.98rem; }

/* Aktywna część w spisie: przeglądarki z animacjami sterowanymi przewijaniem (bez JS). */
@supports (timeline-scope: --a) and (animation-range: cover) {
  .art-body { timeline-scope: --s1, --s2, --s3, --s4, --s5, --s6, --s7, --s8, --s9, --s10, --s11, --s12; }
  .prose > .art-sec { view-timeline-inset: 32% 67%; }
  .prose > .art-sec:nth-child(1) { view-timeline-name: --s1; }
  .prose > .art-sec:nth-child(2) { view-timeline-name: --s2; }
  .prose > .art-sec:nth-child(3) { view-timeline-name: --s3; }
  .prose > .art-sec:nth-child(4) { view-timeline-name: --s4; }
  .prose > .art-sec:nth-child(5) { view-timeline-name: --s5; }
  .prose > .art-sec:nth-child(6) { view-timeline-name: --s6; }
  .prose > .art-sec:nth-child(7) { view-timeline-name: --s7; }
  .prose > .art-sec:nth-child(8) { view-timeline-name: --s8; }
  .prose > .art-sec:nth-child(9) { view-timeline-name: --s9; }
  .prose > .art-sec:nth-child(10) { view-timeline-name: --s10; }
  .prose > .art-sec:nth-child(11) { view-timeline-name: --s11; }
  .prose > .art-sec:nth-child(12) { view-timeline-name: --s12; }
  .art-aside .art-toc__list a { color: color-mix(in srgb, var(--s-ink) calc(var(--on) * 100%), var(--s-ink-3)); animation: toc-on linear none; animation-range: cover 0% cover 100%; }
  .art-aside .art-toc__list a:hover { color: var(--s-ink); }
  .art-aside .art-toc__list li:nth-child(1) a { animation-timeline: --s1; }
  .art-aside .art-toc__list li:nth-child(2) a { animation-timeline: --s2; }
  .art-aside .art-toc__list li:nth-child(3) a { animation-timeline: --s3; }
  .art-aside .art-toc__list li:nth-child(4) a { animation-timeline: --s4; }
  .art-aside .art-toc__list li:nth-child(5) a { animation-timeline: --s5; }
  .art-aside .art-toc__list li:nth-child(6) a { animation-timeline: --s6; }
  .art-aside .art-toc__list li:nth-child(7) a { animation-timeline: --s7; }
  .art-aside .art-toc__list li:nth-child(8) a { animation-timeline: --s8; }
  .art-aside .art-toc__list li:nth-child(9) a { animation-timeline: --s9; }
  .art-aside .art-toc__list li:nth-child(10) a { animation-timeline: --s10; }
  .art-aside .art-toc__list li:nth-child(11) a { animation-timeline: --s11; }
  .art-aside .art-toc__list li:nth-child(12) a { animation-timeline: --s12; }
}
@keyframes toc-on { 0% { --on: 0; } 2%, 98% { --on: 1; } 100% { --on: 0; } }

/* ---------- Artykuł: W skrócie ---------- */

.art-kp { position: relative; overflow: hidden; padding: clamp(26px, 3.6vw, 44px); border-radius: clamp(24px, 2.6vw, 32px); background: radial-gradient(90% 120% at 100% 0%, rgba(26, 150, 255, 0.24), transparent 60%), linear-gradient(160deg, #0d1c36, #071021); box-shadow: inset 0 0 0 1px rgba(120, 190, 255, 0.16); }
.art-tocm + .art-kp { margin-top: 16px; }
.art-kp h2 { margin-bottom: 20px; color: var(--s-blue-ink); font-size: 1rem; font-weight: 700; letter-spacing: -0.005em; }
.art-kp ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.art-kp li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; color: var(--s-ink); font-size: clamp(1.04rem, 1.3vw, 1.14rem); line-height: 1.58; }
.art-kp li svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(26, 178, 255, 0.16); fill: none; stroke: var(--s-sky); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; translate: 0 -1px; }
.art-kp li span { padding-top: 1px; }

/* ---------- Artykuł: treść ---------- */

.prose { counter-reset: sec; }
.art-sec { padding-top: clamp(56px, 7vw, 96px); }
.art-sec > * + * { margin-top: 1.25rem; }
.art-sec > .art-h2 + * { margin-top: 1.4rem; }
.art-sec.is-num { counter-increment: sec; }
.art-h2 { color: var(--s-ink); font-size: clamp(1.8rem, 3.1vw, 2.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.042em; text-wrap: balance; scroll-margin-top: 28px; }
.art-sec.is-num .art-h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 16px; color: var(--s-sky); font-size: 0.9rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.art-sec p { max-width: 68ch; color: var(--s-text); font-size: 1.125rem; line-height: 1.78; }
.art-sec strong { color: var(--s-ink); font-weight: 650; }
.art-sec a:not(.cite), .art-note a { color: var(--s-blue-ink); text-decoration: underline; text-decoration-color: rgba(77, 179, 255, 0.45); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s, text-decoration-color 0.2s; }
.art-sec a:not(.cite):hover, .art-note a:hover { color: #fff; text-decoration-color: currentColor; }
.art .cite { position: relative; padding: 0 1px; color: var(--s-blue-ink); text-decoration: none; transition: color 0.2s; }
.art .cite::after { content: ""; position: absolute; inset: -12px -5px; }
.art .cite:hover { color: #fff; }
.art-list { display: grid; gap: 12px; max-width: 68ch; margin-bottom: 0; padding: 0; list-style: none; }
.art-list li { position: relative; padding-left: 36px; color: var(--s-text); font-size: 1.125rem; line-height: 1.7; }
ul.art-list li::before { content: ""; position: absolute; left: 9px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--s-sky); box-shadow: 0 0 0 4px rgba(26, 178, 255, 0.14); }
ol.art-list { counter-reset: li; }
ol.art-list li { counter-increment: li; }
ol.art-list li::before { content: counter(li); position: absolute; left: 0; top: 0.2em; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: rgba(26, 178, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(77, 179, 255, 0.4); color: var(--s-ink); font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Tabele: przewijane w swojej ramce, z cieniem przy krawędzi, za którą jest więcej */
.art-table { margin-block: 2rem !important; overflow-x: auto; overscroll-behavior-x: contain; border-radius: 22px; background:
  linear-gradient(90deg, #0a1322 30%, rgba(10, 19, 34, 0)) left center / 48px 100% no-repeat local,
  linear-gradient(270deg, #0a1322 30%, rgba(10, 19, 34, 0)) right center / 48px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgba(140, 207, 255, 0.22), transparent) left center / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgba(140, 207, 255, 0.22), transparent) right center / 14px 100% no-repeat scroll,
  #0a1322; box-shadow: inset 0 0 0 1px var(--s-line); scrollbar-width: thin; scrollbar-color: rgba(160, 190, 230, 0.25) transparent; }
.art-table:focus-visible { outline-offset: 2px; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.art-table.is-wide table { min-width: 38rem; }
.art-table.is-tight th:not(:first-child), .art-table.is-tight td:not(:first-child) { white-space: nowrap; }
.art-table caption { padding: 20px 22px 6px; color: var(--s-ink-3); font-size: 0.86rem; line-height: 1.45; text-align: left; caption-side: top; }
.art-table th, .art-table td { padding: 14px 22px; text-align: left; vertical-align: top; }
.art-table th { border-bottom: 1px solid var(--s-line-2); color: var(--s-ink-2); font-size: 0.86rem; font-weight: 650; }
.art-table td { border-bottom: 1px solid var(--s-line); color: var(--s-text); }
.art-table td:first-child { color: var(--s-ink); font-weight: 600; }
.art-table tbody tr:last-child td { border-bottom: 0; }
.art-table tbody tr { transition: background-color 0.2s; }
.art-table tbody tr:hover { background-color: rgba(77, 179, 255, 0.06); }
.art-table .cite { font-size: 0.7em; }

/* Wykres liniowy (np. średni wzrost według wieku). Kolory serii sprawdzone walidatorem palety
   (ciemne tło, daltonizm, kontrast); tożsamość serii niesie też etykieta na końcu linii i legenda. */
.chart { --c1: #1a9be6; --c2: #d95926; margin-block: 2rem !important; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: radial-gradient(80% 60% at 50% 0%, rgba(26, 140, 255, 0.1), transparent 70%), #0a1322; box-shadow: inset 0 0 0 1px var(--s-line); }
.chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 26px; }
.chart figcaption b { color: var(--s-ink); font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; }
.chart .chart__legend { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; color: var(--s-ink-2); font-size: 0.88rem; }
.chart .chart__legend li { display: flex; align-items: center; gap: 8px; padding: 0; }
.chart__legend i { width: 16px; height: 3px; border-radius: 2px; background: var(--c); }
.chart .chart__s1 { --c: var(--c1); }
.chart .chart__s2 { --c: var(--c2); }
.chart__plot { position: relative; height: clamp(240px, 46vw, 360px); margin: 0 112px 30px 40px; }
.chart__plot svg, .chart__draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__y, .chart__x, .chart__end { position: absolute; color: var(--s-ink-3); font-size: 0.8rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart__y { left: -12px; transform: translate(-100%, -50%); }
.chart__x { top: calc(100% + 12px); transform: translateX(-50%); }
.chart__end { left: calc(100% + 14px); display: grid; gap: 4px; color: var(--s-ink-2); font-size: 0.82rem; transform: translateY(-50%); }
.chart__end b { color: var(--s-ink); font-size: 0.85rem; font-weight: 700; }
.chart__end b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--c); }
.chart__dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #0a1322; transform: translate(-50%, -50%); pointer-events: none; }
.chart__col { position: absolute; top: 0; bottom: 0; z-index: 1; }
.chart__col::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgba(255, 255, 255, 0.3); opacity: 0; transition: opacity 0.15s; }
.chart__col::after { content: attr(data-tip); position: absolute; top: -8px; left: var(--x); z-index: 2; padding: 9px 12px; border-radius: 12px; background: #13213a; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--s-line-2); color: var(--s-ink); font-size: 0.8rem; line-height: 1.5; white-space: pre; font-variant-numeric: tabular-nums; opacity: 0; transform: translate(-50%, -100%); pointer-events: none; transition: opacity 0.15s; }
.chart__col.is-start::after { transform: translate(-12px, -100%); }
.chart__col.is-end::after { transform: translate(calc(-100% + 12px), -100%); }
.chart__col:hover::before, .chart__col:hover::after { opacity: 1; }
.chart .chart__axis { max-width: none; margin: 0; color: var(--s-ink-3); font-size: 0.82rem; text-align: center; }
.chart .chart__note { max-width: none; margin: 10px 0 0; color: var(--s-ink-3); font-size: 0.84rem; line-height: 1.5; }
@media (max-width: 560px) {
  .chart { padding: 18px 14px 16px; border-radius: 20px; }
  .chart__plot { margin: 0 88px 30px 32px; }
  .chart__end { left: calc(100% + 10px); font-size: 0.76rem; }
  .chart__y { left: -8px; }
  .chart__dot { width: 5px; height: 5px; box-shadow: none; }
}

/* Pytania i odpowiedzi */
.art-faq__list { margin-top: 1.8rem !important; border-top: 1px solid var(--s-line-2); interpolate-size: allow-keywords; }
.art-q { border-bottom: 1px solid var(--s-line-2); }
.art-q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding-block: 20px; color: var(--s-ink); font-size: clamp(1.06rem, 1.4vw, 1.2rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; cursor: pointer; list-style: none; transition: color 0.2s; }
.art-q summary::-webkit-details-marker { display: none; }
.art-q summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-ink); transition: transform 0.45s var(--s-ease), background-color 0.3s, box-shadow 0.3s, color 0.3s; }
.art-q summary i::before, .art-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.art-q summary i::after { transform: rotate(90deg); }
.art-q summary:hover i { box-shadow: inset 0 0 0 1px var(--s-sky); }
.art-q[open] summary i { background: #fff; box-shadow: none; color: #02050b; transform: rotate(45deg); }
.art-q__a { padding: 0 58px 26px 0; }
.art-q__a p { color: var(--s-text); font-size: 1.07rem; line-height: 1.72; }
@supports selector(::details-content) {
  .art-q::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.5s var(--s-ease), content-visibility 0.5s allow-discrete; }
  .art-q[open]::details-content { block-size: auto; }
}

/* Źródła (odnośniki [n] w tekście prowadzą do #zrodlo-n) */
.art-src { display: grid; gap: 2px; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: src; }
.art-src li { counter-increment: src; border-radius: 14px; scroll-margin-top: 28vh; transition: background-color 0.4s, box-shadow 0.4s; }
.art-src a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 3px 0; padding: 12px 14px 12px 0; color: var(--s-ink); font-size: 0.97rem; line-height: 1.45; text-decoration: none; }
.art-src a::before { content: "[" counter(src) "]"; grid-row: span 2; padding-right: 12px; color: var(--s-sky); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; line-height: 1.7; }
.art-src__t { overflow-wrap: anywhere; transition: color 0.2s; }
.art-src__h { color: var(--s-ink-3); font-size: 0.84rem; }
.art-src a:hover .art-src__t { color: var(--s-blue-ink); text-decoration: underline; text-decoration-color: rgba(77, 179, 255, 0.5); text-underline-offset: 0.2em; }
.art-sec .art-src a { color: var(--s-ink); text-decoration: none; }
.art-src li:target { background: rgba(26, 178, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(77, 179, 255, 0.4); }

/* Zastrzeżenie */
.art-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; margin-top: clamp(48px, 6vw, 72px); padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--s-line); color: var(--s-ink-3); font-size: 0.95rem; line-height: 1.6; }
.art-note svg { width: 22px; height: 22px; fill: none; stroke: var(--s-ink-2); stroke-width: 1.8; stroke-linecap: round; translate: 0 1px; }

/* Czytaj dalej */
.art-rel { padding-top: clamp(80px, 10vw, 140px); }
.art-rel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.art-rel__title { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.055em; }

@media (max-width: 640px) {
  .art-table th, .art-table td { padding: 12px 14px; }
  .art-table table { font-size: 0.94rem; }
  .art-table caption { padding: 16px 16px 4px; }
  .art-sec p, .art-list li { font-size: 1.0625rem; line-height: 1.72; }
  .art-list li { padding-left: 32px; }
  .art-q__a { padding-right: 0; }
  .art-meta { gap: 10px 20px; font-size: 0.88rem; }
  .art-meta .art-meta__by { flex-basis: 100%; }
}

/* ---------- Spis artykułów ---------- */

.hub-hero__in { max-width: 48rem; }
.hub-hero .pg-giant { max-width: 10ch; }
.hub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(22px, 2.6vw, 32px) 0 0; border-top: 1px solid var(--s-line); list-style: none; }
@media (min-width: 1000px) {
  .hub-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 64px; align-items: end; }
  .hub-stats { grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; border: 0; }
  .hub-stats li { padding-block: 22px; border-top: 1px solid var(--s-line); }
}
.hub-stats b { display: block; font-size: clamp(2.4rem, 5.4vw, 4.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #9fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hub-stats span { display: block; margin-top: 10px; color: var(--s-ink-3); font-size: clamp(0.82rem, 1.1vw, 1rem); line-height: 1.35; }

.hub-list { position: relative; padding-top: clamp(40px, 5vw, 72px); }
.hub-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.hub-list__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: clamp(26px, 3vw, 40px); }
.hub-list__title { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.055em; }
.hub-cats__list { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter, 20px)); padding: 2px var(--gutter, 20px); overflow-x: auto; list-style: none; scrollbar-width: none; scroll-padding-inline: var(--gutter, 20px); }
.hub-cats__list::-webkit-scrollbar { display: none; }
.hub-cats__list li { flex: none; }
.hub-cats a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-ink-2); font-size: 0.95rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: color 0.25s, background-color 0.25s, box-shadow 0.25s; }
.hub-cats a span { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--s-ink); font-size: 0.8rem; font-variant-numeric: tabular-nums; transition: background-color 0.25s, color 0.25s; }
.hub-cats a:hover { background: rgba(26, 178, 255, 0.1); box-shadow: inset 0 0 0 1px var(--s-sky); color: var(--s-ink); }
@media (min-width: 1200px) { .hub-cats__list { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }

/* Wybrana kategoria (kotwica #cat-… w adresie): pozostałe karty znikają, wybrany przycisk jest biały */
.hub:not(:has(.hub-anchor:target)) .hub-cats a[data-cat="wszystkie"],
.hub:has(#wszystkie:target) .hub-cats a[data-cat="wszystkie"],
.hub:has(#cat-nauka:target) .hub-cats a[data-cat="nauka"],
.hub:has(#cat-dla-rodzicow:target) .hub-cats a[data-cat="dla-rodzicow"],
.hub:has(#cat-sen:target) .hub-cats a[data-cat="sen"],
.hub:has(#cat-odzywianie:target) .hub-cats a[data-cat="odzywianie"],
.hub:has(#cat-ruch:target) .hub-cats a[data-cat="ruch"],
.hub:has(#cat-postawa:target) .hub-cats a[data-cat="postawa"],
.hub:has(#cat-mity:target) .hub-cats a[data-cat="mity"] { background: #fff; box-shadow: none; color: #02050b; }
.hub:not(:has(.hub-anchor:target)) .hub-cats a[data-cat="wszystkie"] span,
.hub:has(#wszystkie:target) .hub-cats a[data-cat="wszystkie"] span,
.hub:has(#cat-nauka:target) .hub-cats a[data-cat="nauka"] span,
.hub:has(#cat-dla-rodzicow:target) .hub-cats a[data-cat="dla-rodzicow"] span,
.hub:has(#cat-sen:target) .hub-cats a[data-cat="sen"] span,
.hub:has(#cat-odzywianie:target) .hub-cats a[data-cat="odzywianie"] span,
.hub:has(#cat-ruch:target) .hub-cats a[data-cat="ruch"] span,
.hub:has(#cat-postawa:target) .hub-cats a[data-cat="postawa"] span,
.hub:has(#cat-mity:target) .hub-cats a[data-cat="mity"] span { background: rgba(2, 5, 11, 0.1); color: #02050b; }
.hub:has(#cat-nauka:target) .hub-grid > li:not([data-cat="nauka"]),
.hub:has(#cat-dla-rodzicow:target) .hub-grid > li:not([data-cat="dla-rodzicow"]),
.hub:has(#cat-sen:target) .hub-grid > li:not([data-cat="sen"]),
.hub:has(#cat-odzywianie:target) .hub-grid > li:not([data-cat="odzywianie"]),
.hub:has(#cat-ruch:target) .hub-grid > li:not([data-cat="ruch"]),
.hub:has(#cat-postawa:target) .hub-grid > li:not([data-cat="postawa"]),
.hub:has(#cat-mity:target) .hub-grid > li:not([data-cat="mity"]) { display: none; }
.hub:has(.hub-anchor:target) .hub-grid > li { animation: card-in 0.8s var(--s-expo) both; }
@keyframes card-in { from { translate: 0 28px; filter: opacity(0); } to { translate: 0 0; filter: none; } }

@media (min-width: 1040px) { .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) {
  .hub-grid > .is-featured { grid-column: span 2; }
  .hub:has(.hub-anchor:not(#wszystkie):target) .hub-grid > .is-featured { grid-column: auto; }
}
@media (min-width: 720px) and (max-width: 1039px) { .hub:not(:has(.hub-anchor:not(#wszystkie):target)) .hub-grid > li:last-child:nth-child(even) { grid-column: 1 / -1; } }
.hub-grid > .is-featured .acard { background: var(--s-panel); box-shadow: inset 0 0 0 1px rgba(120, 190, 255, 0.2); }
.acard__flag { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--s-ink); font-weight: 650; }
@media (min-width: 720px) {
  .hub:not(:has(.hub-anchor:not(#wszystkie):target)) .hub-grid > .is-featured .acard { min-height: 340px; padding: clamp(30px, 3.4vw, 44px); }
  .hub:not(:has(.hub-anchor:not(#wszystkie):target)) .hub-grid > .is-featured .acard__title { max-width: 17ch; font-size: clamp(1.9rem, 3.3vw, 3.1rem); line-height: 1.02; letter-spacing: -0.048em; }
  .hub:not(:has(.hub-anchor:not(#wszystkie):target)) .hub-grid > .is-featured .acard__desc { max-width: 44ch; font-size: 1.06rem; -webkit-line-clamp: 4; }
}

/* ---------- O nas ---------- */

.ab-hero__icon { display: none; }
@media (min-width: 1000px) {
  .ab-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); gap: 48px; align-items: center; }
  .ab-hero__icon { position: relative; display: grid; place-items: center; justify-self: end; width: min(100%, 290px); margin: 40px 24px 0 0; }
  .ab-hero__icon::before { content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 160, 255, 0.45), transparent); filter: blur(30px); }
  .ab-hero__icon img { width: 100%; border-radius: 23%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 50px 90px -30px rgba(0, 60, 160, 0.8); rotate: -8deg; }
}
.ab-hero__lead { max-width: 46rem; color: #d5dfeb; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.5; }
.ab-row { display: grid; gap: 28px; padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--s-line); }
.ab-row__title { max-width: 12ch; font-size: clamp(2.2rem, 4.2vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.052em; text-wrap: balance; }
.ab-row__body { display: grid; gap: 20px; align-content: start; min-width: 0; color: var(--s-text); font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.65; }
.ab-row__body a:not(.pg-more) { color: var(--s-blue-ink); text-decoration-color: rgba(77, 179, 255, 0.45); text-underline-offset: 0.2em; transition: color 0.2s; }
.ab-row__body a:not(.pg-more):hover { color: #fff; }
@media (min-width: 1000px) {
  .ab-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 72px; align-items: start; }
  .ab-row__title { position: sticky; top: calc(var(--s-hh) + 36px); }
}
.ab-person { display: flex; align-items: center; gap: 16px; justify-self: start; padding: 16px 24px 16px 16px; border-radius: 24px; background: var(--s-tile); box-shadow: inset 0 0 0 1px var(--s-line); scroll-margin-top: 120px; }
.ab-person__mono { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #2bbcff 0%, #128fff 55%, #0b6bff 100%); color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.ab-person p { display: grid; gap: 2px; }
.ab-person b { display: block; color: var(--s-ink); font-size: 1.12rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.3; }
.ab-person p span { color: var(--s-ink-3); font-size: 0.94rem; line-height: 1.4; }
.ab-rules { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: rule; }
@media (min-width: 640px) { .ab-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .ab-rules li { gap: 18px; min-height: 0; padding: 22px; border-radius: 22px; } }
.ab-rules li { counter-increment: rule; display: grid; align-content: space-between; gap: 34px; min-height: clamp(150px, 16vw, 210px); padding: 26px 26px 28px; border-radius: 26px; background: var(--s-tile); box-shadow: inset 0 0 0 1px var(--s-line); }
.ab-rules li::before { content: counter(rule, decimal-leading-zero); color: var(--s-sky); font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ab-rules p { color: var(--s-ink); font-size: 1.06rem; font-weight: 550; line-height: 1.5; letter-spacing: -0.01em; }
.ab-nots { display: grid; margin: 0; padding: 0; list-style: none; }
.ab-nots li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; align-items: start; padding-block: 22px; border-bottom: 1px solid var(--s-line); }
.ab-nots li:first-child { padding-top: 4px; }
.ab-nots svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); fill: none; stroke: var(--s-ink-2); stroke-width: 2.2; stroke-linecap: round; }
.ab-nots p { padding-top: 5px; color: var(--s-ink); font-size: clamp(1.12rem, 1.7vw, 1.4rem); font-weight: 650; line-height: 1.4; letter-spacing: -0.02em; }
.ab-big { max-width: 28ch; color: var(--s-ink); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 650; line-height: 1.32; letter-spacing: -0.03em; }
.ab-big a { overflow-wrap: anywhere; }
.ab-docs { color: var(--s-ink-3); font-size: 1rem; }
.ab-docs a { color: var(--s-ink-2) !important; }

/* ---------- 404 ---------- */

.nf-hero { display: grid; align-items: center; min-height: min(100svh, 960px); text-align: center; }
.nf-hero::before { background: radial-gradient(60% 60% at 50% 0%, rgba(26, 140, 255, 0.32), transparent 72%); height: 100%; }
.nf-hero__in { display: grid; justify-items: center; gap: 26px; }
.nf-hero .pg-kicker { justify-self: center; }
.nf-hero .pg-giant { max-width: 9ch; margin-inline: auto; }
.nf-hero .pg-hero__lead { max-width: 32rem; }
.nf-hero .pg-actions { justify-content: center; margin-top: 6px; }
.nf .pg-get { padding-top: clamp(56px, 8vh, 96px); }
.nf .pg-get__title { font-size: clamp(2.8rem, 8vw, 6.6rem); }

/* ---------- Ruch sterowany przewijaniem (bez JS; przy „ogranicz ruch” stan końcowy) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .chart__draw { animation: chart-wipe linear both; animation-timeline: view(); animation-range: entry 25% cover 50%; }
    .pg-cta__visual .device { animation: cta-rise linear both; animation-timeline: --cta; animation-range: entry 0% cover 55%; }
    .nf .pg-get__phones .device { animation: get-rise linear both; animation-timeline: --get; animation-range: entry 10% cover 60%; }
    .nf .pg-get__phones .device:nth-child(2) { animation-range: entry 0% cover 50%; }
  }
  .ab-hero__icon { animation: icon-in 1.6s var(--s-expo) 0.45s both; }
  @supports (animation-timeline: scroll()) {
    .ab-hero__icon img { animation: icon-drift linear both; animation-timeline: scroll(root); animation-range: 0 720px; }
  }
  .dl .pg-get__phones .device { animation: get-in 1.6s var(--s-expo) 0.7s both; }
  .dl .pg-get__phones .device:nth-child(2) { animation-delay: 0.55s; }
}
@keyframes chart-wipe { from { clip-path: inset(-14px 100% -14px -14px); } to { clip-path: inset(-14px -14px -14px -14px); } }
@keyframes cta-rise { from { translate: 0 26%; rotate: 3deg; } to { translate: 0 0; rotate: -6deg; } }
@keyframes get-rise { from { translate: 0 42%; } to { translate: 0 0; } }
@keyframes icon-in { from { opacity: 0; scale: 0.82; translate: 0 50px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes icon-drift { from { rotate: -8deg; translate: 0 0; } to { rotate: 3deg; translate: 0 -70px; } }
@keyframes get-in { from { translate: 0 60%; opacity: 0; } to { translate: 0 0; opacity: 1; } }

@media print { .chart__draw, .pg-cta__visual .device, .pg-get__phones .device, .ab-hero__icon, .ab-hero__icon img { animation: none !important; } }

/* ---------- Telefon ---------- */

@media (max-width: 560px) {
  .pg-cta .stores, .pg-get .stores { flex-wrap: nowrap; width: 100%; max-width: 420px; gap: 10px; }
  .pg-cta .store, .pg-get .store { flex: 1 1 0; justify-content: center; min-height: 56px; padding-inline: 10px 14px; gap: 9px; }
  .pg-cta .store__txt, .pg-get .store__txt { font-size: 1rem; }
  .nf-hero { min-height: min(86svh, 760px); }
  .nf-hero .pg-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .nf-hero .pg-actions .pg-btn--light { grid-column: 1 / -1; }
  .pg-pills a { min-height: 42px; padding-inline: 15px; font-size: 0.875rem; }
  .pg-pills { gap: 8px; }
  .hub-stats { gap: 12px; }
}
