/*
 * Pleja: strony publiczne (moduł strony). Zmienne i typografia bazowa: app.css.
 * Projekt „nocne niebo” (29.09.2026): gwiazdy, scena z telefonem, taśma, kroki, kalendarz, cennik z ramką.
 *
 * Zasady ruchu:
 *  - stan końcowy każdego elementu jest jego stanem bazowym; animacje zaczynają „od zera” tylko przez
 *    klatki kluczowe z fill-mode backwards, więc przy prefers-reduced-motion (app.css wyłącza animacje)
 *    wszystko jest widoczne i nieruchome;
 *  - ukrycie przed pojawieniem się przy przewijaniu (.reveal) działa tylko z JS (.js) i bez reduced-motion;
 *  - dokumenty prawne (body.dokument) nie mają żadnych animacji w tle.
 */

/* ============ klatki kluczowe ============ */
@keyframes migotanie { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes wznies { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes unos { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes obrot { to { transform: rotate(360deg); } }
@keyframes obrot-wstecz { to { transform: rotate(-360deg); } }
@keyframes kreska { from { background-size: 0% .08em; } to { background-size: 100% .08em; } }
@keyframes tasma { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes zapal {
  0%, 8% { background-color: var(--kal-zgaszone); box-shadow: none; border-color: var(--linia-3); }
  14%, 100% { background-color: var(--zloto); box-shadow: 0 0 22px rgba(244, 182, 63, .55); border-color: var(--zloto); }
}
@keyframes powiadomienie {
  0%, 55% { opacity: 0; transform: translateY(16px) scale(.96); }
  62%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes postep { from { width: 0; } to { width: 100%; } }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(244, 182, 63, .4); } 70% { box-shadow: 0 0 0 18px rgba(244, 182, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 182, 63, 0); } }
@keyframes puls-zielony { 0% { box-shadow: 0 0 0 0 rgba(91, 228, 155, .5); } 70% { box-shadow: 0 0 0 10px rgba(91, 228, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 228, 155, 0); } }
@keyframes wyskocz { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes mrugaj { 50% { opacity: 0; } }

/* ============ pojawianie przy przewijaniu (app.js dodaje .is-in) ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) { opacity: 0; }
  .js .reveal.is-in { animation: wznies .9s var(--ease) backwards; }
}

/* ============ niebo z gwiazdami (strona główna) ============ */
body.glowna { position: relative; }
.niebo {
  position: absolute; left: 0; right: 0; top: 0; height: 1100px; z-index: 0; pointer-events: none; overflow: hidden;
  /* pod paskiem nawigacji bez gwiazd (kropka przy linku wyglądałaby jak błąd), niżej niebo gaśnie */
  -webkit-mask-image: linear-gradient(transparent 60px, #000 170px, #000 55%, transparent); mask-image: linear-gradient(transparent 60px, #000 170px, #000 55%, transparent);
}
.niebo::after {
  content: ""; position: absolute; left: 53%; top: -260px; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--poswiata-zloto) 0%, var(--poswiata-fiolet) 38%, transparent 70%);
}
.gwiazdy { display: block; width: 100%; height: 100%; opacity: var(--gwiazdy-krycie); }
.gwiazdy circle { fill: var(--gwiazda); opacity: .6; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .gwiazdy circle { animation: migotanie 3.6s ease-in-out infinite; }
  .gwiazdy .g1 { animation-delay: -.6s; } .gwiazdy .g2 { animation-delay: -1.3s; animation-duration: 4.2s; }
  .gwiazdy .g3 { animation-delay: -2s; } .gwiazdy .g4 { animation-delay: -2.7s; animation-duration: 3s; }
  .gwiazdy .g5 { animation-delay: -3.3s; animation-duration: 4.6s; }
}
.glowna main > :not(.niebo) { position: relative; z-index: 1; }

/* ============ hero ============ */
.hero { overflow-x: clip; }
.hero-in { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-text > * { margin: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--linia-3); border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--tekst-miekki); background: var(--pole);
}
.kropka-na-zywo { width: 8px; height: 8px; border-radius: 50%; background: var(--zielen); flex: none; }
.hero h1 { font-size: clamp(2.1rem, 1.05rem + 3.5vw, 3.7rem); line-height: 1.08; max-width: none; text-wrap: wrap; }
/* złota część hasła zawsze od nowej linii (jak w projekcie), kreska rysowana pod spodem */
.podkreslenie {
  color: var(--akcent);
  background-image: linear-gradient(var(--zloto), var(--zloto)); background-repeat: no-repeat;
  background-position: 0 92%; background-size: 100% .08em; padding-bottom: .12em;
}
.podkreslenie::before { content: "\A"; white-space: pre; }
.hero .lead { max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: .88rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: wznies .9s var(--ease) backwards; }
  .hero-text > :nth-child(1) { animation-delay: .05s; }
  .hero-text > :nth-child(2) { animation-delay: .15s; }
  .hero-text > :nth-child(3) { animation-delay: .3s; }
  .hero-text > :nth-child(4) { animation-delay: .45s; }
  .hero-text > :nth-child(5) { animation-delay: .6s; }
  .podkreslenie { animation: kreska 1.1s .9s var(--ease) backwards; }
  .kropka-na-zywo { animation: puls-zielony 2s infinite; }
  .scena { animation: wznies .9s .35s var(--ease) backwards; }
}
@media (max-width: 599px) {
  .hero-cta { display: grid; width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; padding-top: 56px; padding-bottom: 72px; }
  .hero-text { gap: 30px; }
  .hero-badge { font-size: .82rem; }
}

/* ---- scena: orbity, telefon, dymki (dekoracja z opisem aria-label) ---- */
.scena { position: relative; display: flex; flex-direction: column; gap: 18px; }
.scena-niebo { position: relative; height: 450px; }
.orbita { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.orbita-1 { width: 380px; height: 380px; margin: -190px 0 0 -190px; border: 1px dashed rgba(42, 40, 64, .8); }
.orbita-2 { width: 300px; height: 300px; margin: -150px 0 0 -150px; border: 1px solid rgba(42, 40, 64, .7); }
.o-gw { position: absolute; border-radius: 50%; }
.o-zloto { left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; background: var(--zloto); box-shadow: 0 0 18px var(--zloto); }
.o-blekit { left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--blekit); box-shadow: 0 0 14px var(--blekit); }
.o-jasne { right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--zloto-2); box-shadow: 0 0 16px var(--zloto-2); }
.telefon {
  position: absolute; left: 50%; top: 50%; width: 200px; height: 400px; margin: -200px 0 0 -100px; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, #2b1f4a 0%, #161226 55%, #0d0c17 100%);
  border: 1px solid #33304d; box-shadow: 0 40px 120px var(--cien-duzy), 0 0 0 7px #0f0e1a;
}
.telefon-play {
  position: absolute; left: 50%; top: 40%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center;
}
.telefon-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.telefon-opis { position: absolute; left: 16px; right: 16px; bottom: 58px; display: flex; flex-direction: column; gap: 6px; font-size: .72rem; line-height: 1.5; color: #d8d5ea; }
.telefon-opis b { font-size: .8rem; color: #fff; }
.kursor { color: var(--zloto); }
.telefon-pasek { position: absolute; left: 16px; right: 16px; bottom: 24px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .13); overflow: hidden; }
.telefon-pasek span { display: block; height: 100%; width: 62%; background: var(--zloto); }
.dymek { background: var(--dymek); border: 1px solid var(--linia-2); box-shadow: 0 20px 60px var(--cien); }
.dymek-toast { position: absolute; left: 0; top: 24px; padding: 12px 14px; border-radius: 16px; display: flex; align-items: center; gap: 12px; }
.ptaszek { width: 34px; height: 34px; border-radius: 10px; background: rgba(91, 228, 155, .14); color: var(--ok); display: flex; align-items: center; justify-content: center; flex: none; }
.ptaszek svg { width: 18px; height: 18px; }
.dymek-tekst { display: flex; flex-direction: column; line-height: 1.35; }
.dymek-tekst b { font-size: .85rem; color: var(--biel); }
.dymek-tekst span { font-size: .75rem; color: var(--tekst-4); }
.dymek-tydzien { order: -1; padding: 16px; border-radius: 18px; }
.dymek-tytul { margin: 0 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst-4); }
.tydzien { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 6px; }
.tydzien li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; color: var(--tekst-4); }
.tydzien i { display: block; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--linia-3); background: var(--kal-zgaszone); }
.tydzien li:nth-child(-n+4) i { background: var(--zloto); border-color: var(--zloto); }
@media (prefers-reduced-motion: no-preference) {
  .orbita-1 { animation: obrot 60s linear infinite; }
  .orbita-2 { animation: obrot-wstecz 38s linear infinite; }
  .telefon { animation: unos 6s ease-in-out infinite; }
  .telefon-play { animation: puls 2.4s infinite; }
  .kursor { animation: mrugaj 1s steps(1) infinite; }
  .telefon-pasek span { animation: postep 7s linear infinite; }
  .dymek-toast { animation: powiadomienie 7s infinite; }
  .tydzien i, .tydzien li:nth-child(-n+4) i { animation: zapal 7s infinite; }
  .tydzien li:nth-child(2) i { animation-delay: .7s; } .tydzien li:nth-child(3) i { animation-delay: 1.4s; }
  .tydzien li:nth-child(4) i { animation-delay: 2.1s; } .tydzien li:nth-child(5) i { animation-delay: 2.8s; }
  .tydzien li:nth-child(6) i { animation-delay: 3.5s; } .tydzien li:nth-child(7) i { animation-delay: 4.2s; }
}
@media (min-width: 600px) {
  .scena-niebo { height: 520px; }
  .orbita-1 { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
  .orbita-2 { width: 350px; height: 350px; margin: -175px 0 0 -175px; }
  .telefon { width: 230px; height: 460px; margin: -230px 0 0 -115px; border-radius: 36px; }
  .dymek-toast { left: 6%; top: 40px; }
}
@media (min-width: 960px) {
  .scena { display: block; height: 620px; }
  .scena-niebo { position: absolute; inset: 0; height: auto; }
  .orbita-1 { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
  .orbita-2 { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .telefon { width: 270px; height: 540px; margin: -270px 0 0 -135px; border-radius: 40px; box-shadow: 0 40px 120px var(--cien-duzy), 0 0 0 8px #0f0e1a; }
  .telefon-play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .telefon-play svg { width: 30px; height: 30px; }
  .telefon-opis { left: 18px; right: 18px; bottom: 112px; font-size: .74rem; }
  .telefon-opis b { font-size: .82rem; }
  .telefon-pasek { left: 18px; right: 18px; bottom: 30px; }
  .dymek-toast { left: 0; top: 70px; padding: 14px 16px; }
  .dymek-tydzien { position: absolute; right: 0; bottom: 36px; padding: 16px 18px; }
  .tydzien { gap: 8px; }
  .tydzien i { width: 26px; height: 26px; border-radius: 8px; }
}

/* ============ taśma ============ */
.tasma { border-top: 1px solid #1c1a2c; border-bottom: 1px solid #1c1a2c; padding: 18px 0; overflow: hidden; background: var(--tlo-2); }
.tasma-in { display: flex; width: max-content; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--linia-2); white-space: nowrap; }
.tasma-in span { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.tasma-in i { width: 10px; height: 10px; border-radius: 50%; background: var(--zloto); flex: none; }
@media (min-width: 720px) {
  .tasma { padding: 22px 0; }
  .tasma-in { font-size: 1.55rem; }
  .tasma-in span { gap: 56px; padding-right: 56px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tasma-in { animation: tasma 26s linear infinite; }
}

/* ============ sekcje ============ */
.sekcja { padding: 72px 0 8px; }
@media (min-width: 960px) {
  .sekcja { padding: 120px 0 16px; }
}
.sekcja h2 { margin-bottom: 20px; }
.sekcja-glowa { display: grid; gap: 12px 40px; margin-bottom: 36px; }
.sekcja-glowa h2 { margin: 0; max-width: 14em; }
.sekcja-glowa p { margin: 0; max-width: 24em; color: var(--tekst-4); font-size: 1.02rem; }
@media (min-width: 960px) {
  .sekcja-glowa { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 56px; }
}
.wiecej { margin: 28px 0 0; }
.more { font-weight: 700; }
.more::after { content: " →"; }
.nadtytul { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akcent); }
.statement { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.7; color: var(--tekst-2); max-width: 32em; }

/* karty */
.karta { position: relative; padding: 26px; border: 1px solid var(--linia); border-radius: var(--r-lg); background: var(--karta); }
.karta h3 { margin: 0 0 10px; color: var(--biel); }
.karta p { margin: 0; color: var(--tekst-3); }
.karta-cicha { background: var(--karta-2); border-radius: 22px; }
.karta-hover { transition: transform .35s var(--ease), border-color .35s, background-color .35s; }
.karta-hover:hover { transform: translateY(-6px); border-color: rgba(244, 182, 63, .4); background: var(--karta-3); }
@media (min-width: 960px) {
  .karta { padding: 32px; }
  .karta-cicha { padding: 30px; }
}

/* ---- kroki ---- */
.kroki-wrap { position: relative; }
.kroki { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kroki .karta { display: flex; flex-direction: column; gap: 14px; }
.kroki h3 { font-size: 1.35rem; margin: 0; }
.krok-nr {
  width: 56px; height: 56px; border-radius: 16px; background: var(--zloto); color: var(--na-zlocie);
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
}
.kroki-linia { display: none; }
@media (min-width: 900px) {
  .kroki { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .kroki-linia { display: block; position: absolute; left: 60px; right: 60px; top: 60px; height: 2px; background: var(--linia); }
  .kroki-linia span { display: block; height: 100%; width: 100%; background: var(--zloto); box-shadow: 0 0 12px var(--zloto); }
}
@media (prefers-reduced-motion: no-preference) {
  .krok-nr { animation: puls 2.6s infinite; }
  .kroki li:nth-child(2) .krok-nr { animation-delay: .8s; }
  .kroki li:nth-child(3) .krok-nr { animation-delay: 1.6s; }
  .kroki-linia span { animation: postep 4s ease-in-out infinite alternate; }
}

/* ---- funkcje ---- */
.funkcje { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.funkcje .karta { display: flex; flex-direction: column; gap: 12px; }
.funkcje h3 { font-size: 1.2rem; margin: 0; }
.funkcje p { font-size: .95rem; line-height: 1.65; }
.ikona {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(244, 182, 63, .08); border: 1px solid rgba(244, 182, 63, .2);
  color: var(--akcent); display: flex; align-items: center; justify-content: center;
}
.ikona svg { width: 22px; height: 22px; }
@media (min-width: 700px) { .funkcje { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .funkcje { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; } }

/* ---- kalendarz (ilustracja) ---- */
.kal-sekcja { display: grid; gap: 36px; align-items: center; }
.kal-tekst h2 { margin-bottom: 22px; }
.kal-tekst p { color: var(--tekst-3); font-size: 1.02rem; line-height: 1.7; margin: 0; }
.kal-tekst .nadtytul { color: var(--akcent); margin-bottom: 14px; }
.kal { margin: 0; padding: 14px; border-radius: 26px; border: 1px solid var(--linia); background: var(--karta-2); }
.kal-siatka { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.kal-siatka li { position: relative; height: 50px; border-radius: 9px; background: var(--kal-pole); border: 1px solid var(--kal-linia); display: flex; align-items: flex-end; padding: 3px; }
.kal-dzien { position: absolute; left: 6px; top: 3px; font-size: .62rem; font-weight: 700; color: var(--kal-dzien); }
.wpis {
  width: 100%; height: 19px; border-radius: 6px; font-size: .56rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  letter-spacing: -.01em; white-space: nowrap; overflow: hidden;
}
.wpis-o { background: var(--zielen); color: #06210f; }
.wpis-z { background: var(--zloto); color: var(--na-zlocie); }
.wpis-u { background: var(--koral); color: #2a0b04; }
.kal-legenda { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; font-size: .82rem; color: var(--tekst-4); }
.leg { display: inline-flex; align-items: center; gap: 8px; }
.leg::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.leg-o::before { background: var(--zielen); }
.leg-z::before { background: var(--zloto); }
.leg-u::before { background: var(--koral); }
.kal figcaption { margin-top: 10px; font-size: .82rem; color: var(--tekst-4); }
@media (min-width: 600px) {
  .kal { padding: 20px; }
  .kal-siatka { gap: 8px; }
  .kal-siatka li { height: 58px; border-radius: 12px; padding: 5px; }
  .kal-dzien { left: 8px; top: 5px; font-size: .66rem; }
  .wpis { height: 22px; font-size: .66rem; border-radius: 7px; justify-content: flex-start; padding: 0 7px; }
}
@media (min-width: 960px) {
  .kal-sekcja { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .kal { padding: 26px; }
  .kal-siatka { gap: 10px; }
  .kal-siatka li { height: 62px; padding: 6px; }
  .wpis { height: 24px; font-size: .68rem; padding: 0 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .kal:not(.is-in) .wpis { opacity: 0; }
  .kal.is-in .wpis { animation: wyskocz .6s var(--ease) backwards; animation-delay: calc(.4s + var(--i, 0) * 80ms); }
  .kal-siatka li:nth-child(2) { --i: 1; } .kal-siatka li:nth-child(4) { --i: 3; } .kal-siatka li:nth-child(5) { --i: 4; }
  .kal-siatka li:nth-child(8) { --i: 7; } .kal-siatka li:nth-child(10) { --i: 9; } .kal-siatka li:nth-child(13) { --i: 12; }
  .kal-siatka li:nth-child(15) { --i: 14; } .kal-siatka li:nth-child(17) { --i: 16; } .kal-siatka li:nth-child(19) { --i: 18; }
  .kal-siatka li:nth-child(21) { --i: 20; } .kal-siatka li:nth-child(23) { --i: 22; } .kal-siatka li:nth-child(25) { --i: 24; }
  .kal-siatka li:nth-child(27) { --i: 26; }
}

/* ---- Twoje treści, Twoje konta + Twoje dane ---- */
.panel-duzy {
  position: relative; overflow: hidden; padding: 28px 20px; border-radius: 28px; border: 1px solid var(--linia); background: var(--karta-2);
  display: grid; gap: 28px;
}
.panel-duzy::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px dashed rgba(244, 182, 63, .2); pointer-events: none;
}
.panel-duzy-tekst h2 { margin-bottom: 18px; }
.panel-duzy .statement { margin: 0; }
.zaufanie { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.zaufanie li {
  position: relative; padding: 14px 16px 14px 54px; border-radius: 16px; background: var(--wnetrze); border: 1px solid var(--linia);
  font-size: .96rem; line-height: 1.6; color: var(--tekst-miekki);
}
.zaufanie li::before {
  content: ""; position: absolute; left: 16px; top: 15px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(244, 182, 63, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4B63F' stroke-width='3'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (min-width: 960px) {
  .panel-duzy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; padding: 64px; border-radius: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .panel-duzy::before { animation: obrot 40s linear infinite; }
}
.dane { margin-top: 20px; padding: 26px 20px; border-radius: 24px; border: 1px solid var(--linia); }
.dane h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: 16px; }
.dane-lista { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px 32px; color: var(--tekst-3); }
.dane-lista li { position: relative; padding-left: 22px; }
.dane-lista li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--zloto); }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-weight: 700; }
@media (min-width: 800px) {
  .dane { padding: 36px 40px; }
  .dane-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- cennik (skrót na głównej + karta planu) ---- */
.cennik-sekcja { display: grid; gap: 36px; align-items: center; }
.cennik-sekcja .lead { margin-bottom: 14px; }
.cennik-uwaga { color: var(--tekst-4); line-height: 1.7; max-width: 30em; }
@media (min-width: 960px) {
  .cennik-sekcja { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
}
.plan-ramka { position: relative; border-radius: 30px; padding: 2px; overflow: hidden; isolation: isolate; max-width: 36rem; }
.plan-ramka::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; z-index: -1;
  background: conic-gradient(from 0deg, var(--zloto), var(--linia) 25%, var(--linia) 50%, var(--blekit) 70%, var(--linia) 85%, var(--zloto));
}
@media (prefers-reduced-motion: no-preference) {
  .plan-ramka::before { animation: obrot 8s linear infinite; }
}
.plan { position: relative; border-radius: 28px; background: var(--karta); padding: 28px 22px; display: flex; flex-direction: column; gap: 16px; }
.plan > * { margin: 0; }
.plan-name { font-size: .88rem; font-weight: 700; color: var(--akcent); letter-spacing: .06em; text-transform: uppercase; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.plan-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 2.6rem + 3vw, 5.2rem); line-height: 1; color: var(--biel); letter-spacing: -0.04em; }
.plan-period { color: var(--tekst-4); font-size: 1rem; }
.plan-includes { color: var(--tekst-2); }
.kropki { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--tekst-miekki); }
.kropki li { position: relative; padding-left: 22px; }
.kropki li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--zloto); }
.plan-cta { margin-top: 6px; }
@media (min-width: 720px) {
  .plan { padding: 44px; gap: 20px; }
}

/* ---- FAQ (natywny details) ---- */
.faq { border-top: 1px solid var(--linia); margin: 24px 0 0; }
.faq details { border-bottom: 1px solid var(--linia); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: 1.08rem; line-height: 1.4; color: var(--tekst);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linia-2);
  display: flex; align-items: center; justify-content: center; color: var(--akcent); font-size: 1.25rem; font-weight: 500; line-height: 1;
  transition: transform .3s var(--ease), border-color .3s;
}
.faq summary:hover::after { border-color: var(--zloto); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; max-width: 52rem; color: var(--tekst-3); line-height: 1.7; }
@media (min-width: 960px) {
  .faq summary { padding: 26px 0; font-size: 1.15rem; }
}

/* ---- zakończenie strony głównej ---- */
.sekcja-final { padding-bottom: 72px; }
@media (min-width: 960px) { .sekcja-final { padding-bottom: 96px; } }
.final {
  position: relative; overflow: hidden; text-align: center; border-radius: 30px; padding: 56px 20px;
  background: #100e1f; border: 1px solid #2a2840; display: flex; flex-direction: column; align-items: center;
}
.final > :not(.final-niebo) { position: relative; }
.final h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; max-width: 14em; margin: 0 0 18px; }
.final p { color: var(--tekst-2); margin: 0 0 24px; max-width: 32em; }
.final .note { margin: 0; color: var(--tekst-4); }
.final-niebo { position: absolute; inset: 0; pointer-events: none; }
@media (min-width: 960px) {
  .final { padding: 90px 64px; border-radius: 36px; }
  .final p { font-size: 1.15rem; }
}

/* ============ podstrony ============ */
.podstrona main::before {
  content: ""; position: absolute; right: -200px; top: -320px; width: 760px; height: 760px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--poswiata-zloto-2) 0%, var(--poswiata-fiolet-2) 40%, transparent 70%);
}
.podstrona main { position: relative; overflow-x: clip; }
.podstrona main > * { position: relative; z-index: 1; }
.page { padding-top: 40px; padding-bottom: 88px; }
.page-head { margin-bottom: 40px; }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.page-head .lead { margin-bottom: 8px; }
.page-cta { margin-top: 48px; }
.narrow > * { max-width: 52rem; }
.prose { max-width: var(--prose); }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--tekst-2); }
.split { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
  .split-pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .split-contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
.side { display: grid; gap: 16px; align-content: start; }

.feature-list { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 16px; }
.feature-list li { padding: 26px; border: 1px solid var(--linia); border-radius: 22px; background: var(--karta-2); }
.feature-list h2 { font-family: var(--font-body); font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature-list p { margin: 0; color: var(--tekst-3); max-width: 38em; }
@media (min-width: 900px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .feature-list li { padding: 30px; } }

/* listy ze znacznikami */
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li, .crosses li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--tekst-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--zloto); box-shadow: 0 0 10px rgba(244, 182, 63, .5); }
.crosses li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 14px; height: 2px; background: var(--koral); }

.panel { background: var(--karta); border: 1px solid var(--linia); border-radius: var(--r-lg); padding: 24px; }
.panel h2 { font-size: 1.3rem; }
.panel-quiet { background: var(--karta-2); }
.panel-warn { background: rgba(244, 182, 63, .07); border-color: rgba(244, 182, 63, .4); margin: 0; }
@media (min-width: 720px) { .panel { padding: 32px; } }

/* ścieżka ekranu publikacji */
.timeline { list-style: none; padding: 0; margin: 28px 0 56px; counter-reset: krok; max-width: 46rem; }
.timeline li { position: relative; padding: 0 0 30px 64px; counter-increment: krok; }
.timeline li::before {
  content: counter(krok); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; background: var(--karta); border: 1px solid var(--zloto); color: var(--akcent);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--linia); }
.timeline h3 { margin: 6px 0 6px; }
.timeline p { color: var(--tekst-3); margin: 0; }

.changelog { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--linia); }
.changelog li { position: relative; padding: 0 0 32px 28px; }
.changelog li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--zloto); box-shadow: 0 0 12px rgba(244, 182, 63, .6); }
.changelog time { font-weight: 700; color: var(--tekst-4); font-size: .92rem; }
.changelog h2 { font-family: var(--font-body); font-size: 1.3rem; letter-spacing: -0.01em; margin: 4px 0 8px; }
.changelog p { color: var(--tekst-2); }

.plain-steps { padding-left: 1.3em; margin: 0; color: var(--tekst-2); }
.plain-steps li { margin: 8px 0; }

/* ============ dokumenty prawne: spokojnie, bez animacji i bez tła z gwiazdami ============ */
.dokument .page { padding-top: 32px; }
.doc-page > * { max-width: 46rem; }
.doc-head { border-bottom: 1px solid var(--linia); padding-bottom: 22px; }
.doc-head h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.doc-meta { color: var(--tekst-4); margin: 0 0 6px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-weight: 700; }
.doc { color: var(--tekst-dok); line-height: 1.75; }
.doc h2 { font-family: var(--font-body); font-size: 1.35rem; letter-spacing: -0.01em; margin-top: 1.9em; }
.doc h3 { font-size: 1.1rem; }
.doc-note { background: var(--karta-2); border: 1px solid var(--linia); border-radius: var(--r-sm); padding: 12px 16px; max-width: var(--prose); }
.doc-toc { background: var(--karta); border: 1px solid var(--linia); border-radius: var(--r); padding: 20px 24px; margin: 0 0 40px; max-width: var(--prose); }
.doc-toc h2 { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; margin: 0 0 8px; }
.doc-toc ol { margin: 0; padding-left: 1.4em; columns: 2 17rem; column-gap: 32px; }
.doc-toc li { margin: 4px 0; break-inside: avoid; }
.doc section { scroll-margin-top: 16px; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc li > ul { margin-top: 6px; }
.annex { border-top: 1px solid var(--linia-2); padding-top: 12px; margin-top: 56px; }
.form-sample { border: 1px dashed var(--linia-2); border-radius: var(--r-sm); padding: 16px 20px; background: var(--karta-2); }
.form-sample p { margin: 0 0 10px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; border: 1px solid var(--linia); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 0; background: var(--karta-2); }
.table th, .table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--linia); }
.table tr:last-child td { border-bottom: 0; }
.table th { font-weight: 700; color: var(--biel); background: var(--karta-3); }
.retention { min-width: 38rem; }
.doc code { font-size: .88em; background: var(--karta-3); color: var(--akcent-2); padding: 1px 6px; border-radius: 5px; }

/* ============ motyw jasny: to, czego nie da się wyrazić samymi zmiennymi z app.css ============ */
/* Telefon na scenie i zakończenie strony głównej (.final.noc) zostają nocne: to „ekran” i „kawałek nieba”. */
:root[data-theme="light"] .orbita-1 { border-color: rgba(21, 19, 42, .16); }
:root[data-theme="light"] .orbita-2 { border-color: rgba(21, 19, 42, .12); }
:root[data-theme="light"] .tasma { border-color: var(--linia); }
:root[data-theme="light"] .tasma-in { color: #b9b5cd; }
:root[data-theme="light"] .zaufanie li::before {
  background: rgba(244, 182, 63, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5E00' stroke-width='3'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E") center / 14px no-repeat;
}
:root[data-theme="light"] .ikona { background: rgba(244, 182, 63, .14); border-color: rgba(244, 182, 63, .45); }
:root[data-theme="light"] .ptaszek { background: rgba(47, 191, 115, .14); }
:root[data-theme="light"] .panel-duzy::before { border-color: rgba(154, 106, 0, .25); }
