/* Fraunces i Manrope – licencja SIL Open Font License 1.1 (pliki w assets/fonty) */
@font-face{font-family:'Fraunces';font-style:italic;font-weight:600;font-display:swap;src:url(fonty/fraunces-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:600;font-display:swap;src:url(fonty/fraunces-italic-latin.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}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url(fonty/fraunces-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url(fonty/fraunces-normal-latin.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}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonty/manrope-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonty/manrope-normal-latin.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}

/* =====================================================================
   LUMINAO – STRONA „WKRÓTCE” (kolory i fonty jak na nowej stronie)
   ===================================================================== */
:root {
  --granat: #0C1830; --granat-ciemny: #070F1F; --zloto: #E8B95A; --zloto-jasne: #FFE7A3; --krem: #FBF4E4;
  --tekst-jasny: rgba(251, 244, 228, 0.8);
  --szeryf: "Fraunces", Georgia, "Times New Roman", serif;
  --bezszeryf: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--granat-ciemny); }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; position: relative; overflow-x: hidden;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 60% at 50% 0%, #142A52 0%, rgba(12, 24, 48, 0) 62%), linear-gradient(180deg, var(--granat) 0%, var(--granat) 70%, #0A1428 100%);
  color: var(--krem); font-family: var(--bezszeryf); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1 { font-family: var(--szeryf); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 em { font-style: italic; color: var(--zloto); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--zloto); outline-offset: 3px; border-radius: 6px; }

/* ---------- tło: niebo, gwiazdy, świetliki, las ---------- */
.tlo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.niebo, .swietliki { position: absolute; inset: 0; }
.niebo i {
  position: absolute; border-radius: 50%; background: #FFF6DA; box-shadow: 0 0 6px 1px rgba(255, 236, 180, 0.55);
  opacity: var(--min, .3); animation: migotanie var(--c, 4s) ease-in-out var(--o, 0s) infinite;
}
@keyframes migotanie { 0%, 100% { opacity: var(--min, .3); transform: scale(.85); } 50% { opacity: var(--max, 1); transform: scale(1); } }
.blask {
  position: absolute; left: 50%; top: 40px; width: 560px; height: 560px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 90, 0.22) 0%, rgba(232, 185, 90, 0.06) 45%, rgba(12, 24, 48, 0) 70%);
  animation: puls 7s ease-in-out infinite;
}
@keyframes puls { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
.swietliki span {
  position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%;
  background: var(--zloto-jasne); box-shadow: 0 0 12px 4px rgba(255, 214, 120, 0.55);
  animation: dryf var(--c, 12s) ease-in-out var(--o, 0s) infinite, swiecenie 3.2s ease-in-out var(--o, 0s) infinite;
}
@keyframes dryf { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(var(--dx), var(--dy)); } 66% { transform: translate(calc(var(--dx) * -0.6), calc(var(--dy) * 0.5)); } }
@keyframes swiecenie { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.las { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; }

/* ---------- góra ---------- */
.gora { position: relative; z-index: 2; display: flex; justify-content: center; padding: 22px 16px 6px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--krem); }
.logo svg { width: 24px; height: 24px; fill: none; stroke: var(--zloto); stroke-width: 1.6; stroke-linejoin: round; }
.logo span { font-family: var(--szeryf); font-size: 24px; font-weight: 600; }

/* ---------- główna część (najpierw telefon) ---------- */
.glowna {
  position: relative; z-index: 2; flex: 1;
  width: 100%; max-width: 1120px; margin: 0 auto; padding: 14px 16px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.tresc { text-align: center; max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.nadtytul {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--zloto);
}
.nadtytul::before, .nadtytul::after { content: ""; width: 22px; height: 1px; background: currentColor; }
@media (max-width: 479px) {
  .nadtytul { font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; }
  .nadtytul::before, .nadtytul::after { display: none; }
}
h1 { margin: 14px 0 16px; font-size: clamp(32px, 8.6vw, 60px); text-wrap: balance; }
h1 em { white-space: nowrap; }
.start {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--szeryf); font-weight: 600; font-style: italic; font-size: clamp(21px, 5.4vw, 26px); color: var(--zloto-jasne);
}
.ksiezyc { width: 1.3em; height: 1.3em; flex: none; }
.opis { margin-top: 12px; color: var(--tekst-jasny); font-size: 17px; max-width: 30em; }
.akcje { margin-top: 26px; width: 100%; display: flex; justify-content: center; }
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 14px;
  background: var(--zloto); color: var(--granat); box-shadow: 0 12px 32px rgba(232, 185, 90, 0.3);
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.przycisk:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232, 185, 90, 0.45); background: #F0C76E; }
.przycisk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- książka 3D (jak na stronie) ---------- */
.ksiazka-miejsce { position: relative; display: flex; justify-content: center; padding: 6px 18px 4px 0; }
.ksiazka-scena { perspective: 1600px; animation: unoszenie 6s ease-in-out infinite; }
@keyframes unoszenie { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ksiazka3d {
  position: relative; width: min(62vw, 250px); aspect-ratio: 1 / 1;
  transform: rotateY(-22deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s ease;
}
.ksiazka3d:hover { transform: rotateY(-12deg) rotateX(4deg); }
.ksiazka3d::after { /* kartki */
  content: ""; position: absolute; right: -10px; top: 6px; bottom: 6px; width: 12px; border-radius: 0 5px 5px 0;
  background: repeating-linear-gradient(0deg, #F4EBD6 0 2px, #D9CBAA 2px 3px); transform: translateZ(-6px);
}
.okladka {
  position: absolute; inset: 0; overflow: hidden; border-radius: 4px 10px 10px 4px; background: #13284D;
  box-shadow: 30px 40px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(232, 185, 90, 0.35);
  container-type: inline-size;
}
.okladka img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.okladka-cien {
  position: absolute; left: 0; right: 0; top: 0; height: 44%;
  background: linear-gradient(180deg, rgba(7, 17, 42, 0.6) 0%, rgba(7, 17, 42, 0.28) 55%, rgba(7, 17, 42, 0) 100%);
}
.okladka-grzbiet {
  position: absolute; left: 0; top: 0; bottom: 0; width: 6%; z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0));
}
.okladka-napisy { position: absolute; left: 0; right: 0; top: 4.2%; z-index: 1; padding: 0 8%; text-align: center; }
.okladka-marka {
  display: inline-flex; align-items: center; gap: .375em;
  font-family: var(--szeryf); font-weight: 600; font-size: 3.8cqi; line-height: 1; color: var(--krem); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.okladka-marka svg { width: 1em; height: 1em; fill: none; stroke: var(--zloto); stroke-width: 1.6; stroke-linejoin: round; }
.okladka-imie {
  margin: 1.6cqi 0 0; font-family: var(--szeryf); font-style: italic; font-weight: 600; font-size: 15cqi; line-height: 1.1;
  background: linear-gradient(90deg, #E8B95A 0%, #FFF1C9 25%, #E8B95A 50%, #FFF1C9 75%, #E8B95A 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: polysk 5s linear infinite; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
@keyframes polysk { to { background-position: 200% 50%; } }
.okladka-tytul { font-family: var(--szeryf); font-weight: 600; font-size: 7.4cqi; line-height: 1.15; color: var(--krem); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }

/* ---------- stopka ---------- */
.stopka { position: relative; z-index: 2; padding: 26px 16px calc(22px + env(safe-area-inset-bottom)); text-align: center; font-size: 14px; color: rgba(251, 244, 228, 0.65); }
.stopka a { color: var(--zloto); text-decoration: none; font-weight: 600; }
.stopka a:hover { text-decoration: underline; }

/* ---------- formularz zapisu (lista startowa) ---------- */
[hidden] { display: none !important; }
.niewidoczne { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pulapka { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.zapis {
  position: relative; overflow: hidden; margin-top: 30px; width: 100%; max-width: 540px; text-align: left;
  padding: 24px 18px 20px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(19, 40, 77, 0.72), rgba(10, 21, 40, 0.78));
  border: 1px solid rgba(232, 185, 90, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.zapis::before { /* złota poświata w rogu */
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 185, 90, 0.2), rgba(232, 185, 90, 0) 70%);
}
.zapis h2 { margin: 0; font-family: var(--szeryf); font-weight: 600; font-size: 25px; line-height: 1.15; letter-spacing: -0.01em; }
.zapis-rabat { font-style: italic; color: var(--zloto); white-space: nowrap; }
.zapis-opis { margin-top: 8px; color: var(--tekst-jasny); font-size: 15.5px; line-height: 1.55; }
.zapis-formularz { margin-top: 18px; }
.zapis-wiersz { display: grid; gap: 10px; }
.zapis-wiersz input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px;
  border: 1px solid rgba(232, 185, 90, 0.38); background: rgba(7, 15, 31, 0.65); color: var(--krem);
  font: inherit; font-size: 16px; /* 16 px: iPhone nie powiększa strony przy pisaniu */
  transition: border-color .2s ease, box-shadow .2s ease;
}
.zapis-wiersz input::placeholder { color: rgba(251, 244, 228, 0.45); }
.zapis-wiersz input:focus { outline: none; border-color: var(--zloto); box-shadow: 0 0 0 3px rgba(232, 185, 90, 0.25); }
.zapis-wiersz input[aria-invalid="true"] { border-color: #F2998C; box-shadow: 0 0 0 3px rgba(242, 153, 140, 0.2); }
.zapis-przycisk { width: 100%; min-height: 54px; border: 0; cursor: pointer; font-family: inherit; }
.zapis-przycisk:disabled { cursor: wait; opacity: .75; transform: none; }
.wysylanie .zapis-przycisk-tekst::after { content: "…"; }
.zgoda { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 16px; cursor: pointer; }
.zgoda input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.zgoda-pole {
  width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid rgba(232, 185, 90, 0.7);
  background: rgba(7, 15, 31, 0.6); position: relative; transition: background .15s ease, border-color .15s ease;
}
.zgoda-pole::after { /* ptaszek */
  content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 6px; height: 11px;
  border: solid var(--granat); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease;
}
.zgoda input:checked + .zgoda-pole { background: var(--zloto); border-color: var(--zloto); }
.zgoda input:checked + .zgoda-pole::after { transform: rotate(45deg) scale(1); }
.zgoda input:focus-visible + .zgoda-pole { outline: 2px solid var(--zloto); outline-offset: 3px; }
.zgoda input[aria-invalid="true"] + .zgoda-pole { border-color: #F2998C; box-shadow: 0 0 0 3px rgba(242, 153, 140, 0.2); }
.zgoda-tekst { font-size: 14px; line-height: 1.55; color: var(--tekst-jasny); }
.zapis-blad {
  margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.45;
  color: #FFC9BF; background: rgba(242, 120, 100, 0.12); border: 1px solid rgba(242, 153, 140, 0.35);
}
.zapis-info { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: rgba(251, 244, 228, 0.6); }
.zapis-info a, .zgoda-tekst a { color: var(--zloto); text-underline-offset: 2px; }
.zapis-dzieki { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; outline: none; }
.zapis-dzieki .ksiezyc { width: 40px; height: 40px; margin-top: -4px; }
.zapis-dzieki-tekst { font-size: 16.5px; line-height: 1.55; color: var(--krem); }
@media (min-width: 480px) {
  .zapis { padding: 28px 28px 24px; }
  .zapis h2 { font-size: 28px; }
  .zapis-wiersz { grid-template-columns: 1fr auto; }
  .zapis-przycisk { width: auto; padding: 0 24px; }
}

/* ---------- strona „Polityka prywatności” ---------- */
.dokument { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 800px; margin: 0 auto; padding: 8px 16px 70px; }
.powrot { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 16px; color: var(--zloto); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.powrot:hover { text-decoration: underline; text-underline-offset: 3px; }
.dokument-karta {
  padding: 28px 20px 22px; border-radius: 22px;
  background: rgba(10, 21, 40, 0.8); border: 1px solid rgba(232, 185, 90, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dokument h1 { margin: 0; font-size: clamp(30px, 7.4vw, 44px); }
.dokument .data { margin-top: 8px; color: rgba(251, 244, 228, 0.6); font-size: 14px; }
.dokument h2 {
  margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid rgba(232, 185, 90, 0.18);
  font-family: var(--szeryf); font-weight: 600; font-size: clamp(21px, 5vw, 25px); line-height: 1.2;
}
.dokument h3 { margin: 20px 0 6px; font-size: 16.5px; font-weight: 700; color: var(--zloto-jasne); }
.dokument p, .dokument li { color: var(--tekst-jasny); font-size: 16px; line-height: 1.7; }
.dokument p { margin: 0 0 12px; }
.dokument .lista-kreski { list-style: none; margin: 0 0 12px; padding: 0; }
.dokument .lista-kreski li { margin: 0 0 4px; }
.dokument a { color: var(--zloto); text-underline-offset: 2px; }
.stopka a + a, .stopka span { margin-left: 2px; }

/* ---------- komputer: tekst z lewej, książka z prawej ---------- */
@media (min-width: 900px) {
  .gora { justify-content: flex-start; max-width: 1120px; width: 100%; margin: 0 auto; padding: 30px 32px 0; }
  .glowna { flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 56px; padding: 30px 32px 90px; }
  .tresc { text-align: left; align-items: flex-start; }
  .akcje { justify-content: flex-start; }
  .nadtytul::after { display: none; }
  .ksiazka3d { width: 380px; }
  .ksiazka-miejsce { padding-right: 30px; align-self: flex-start; margin-top: 40px; }
  .dokument-karta { padding: 48px 56px 40px; }
  .strona-polityki .gora { max-width: 800px; padding-left: 16px; padding-right: 16px; }
  .blask { left: auto; right: 4%; top: 80px; transform: none; width: 700px; height: 700px; }
  .las { height: 170px; }
}

/* spokojna wersja bez animacji */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .niebo i { opacity: var(--max, .8); }
  .swietliki span { opacity: .8; }
}
