/* Llavero — strona produktu. Styl „editorial”: krem, granat, złoto; szeryfowe nagłówki, dużo powietrza. */
@font-face { font-family: "Play"; src: url(fonty/playfair-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Play"; src: url(fonty/playfair-latin-ext.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Play"; src: url(fonty/playfair-cyrillic.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Man"; src: url(fonty/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }
@font-face { font-family: "Man"; src: url(fonty/manrope-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Man"; src: url(fonty/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0400-04FF; }

:root {
  --krem: #f7f2e9; --krem2: #efe6d6; --papier: #fffcf6;
  --granat: #0f2236; --granat2: #183452; --tusz: #1a2430; --szary: #5d6977; --szary2: #8a94a0;
  --zloto: #b07f2e; --zloto2: #d8b26a;
  --linia: rgba(15, 34, 54, .09); --linia2: rgba(15, 34, 54, .16);
  --sprezyna: cubic-bezier(.32, .72, 0, 1);
  --r: 28px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--krem); color: var(--tusz); font: 400 17px/1.6 "Man", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Play", Georgia, serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(34px, 4.4vw, 62px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--zloto); }
p { margin: 0; }
.w { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sekcja { padding: clamp(88px, 12vw, 168px) 0; }
.oczko { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--zloto);
  padding: 7px 14px; border-radius: 999px; background: rgba(176, 127, 46, .08); box-shadow: inset 0 0 0 1px rgba(176, 127, 46, .18); margin-bottom: 26px; }
.oczko::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--zloto); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--szary); max-width: 640px; margin-top: 22px; }

/* nawigacja: pływająca wyspa */
.nav { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 252, 246, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--linia), 0 18px 40px -24px rgba(15, 34, 54, .35); transition: transform .8s var(--sprezyna); }
.marka { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Play", serif; font-size: 23px; font-weight: 500; color: var(--granat); margin-right: auto; }
.marka svg { width: 28px; height: 28px; color: var(--zloto); }
.nav-linki { display: flex; gap: 2px; }
.nav-linki a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--szary); padding: 9px 14px; border-radius: 999px; transition: color .5s var(--sprezyna), background .5s var(--sprezyna); }
.nav-linki a:hover { color: var(--granat); background: rgba(15, 34, 54, .05); }
.jezyk { appearance: none; border: 0; background: rgba(15, 34, 54, .05); color: var(--granat); font: 600 13px "Man", sans-serif; padding: 10px 30px 10px 14px; border-radius: 999px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230f2236' fill='none' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

/* przyciski: pigułka z ikoną w kółku */
.guzik { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 8px 8px 24px; border-radius: 999px;
  background: var(--granat); color: #fff; transition: transform .6s var(--sprezyna), background .6s var(--sprezyna); white-space: nowrap; }
.guzik:active { transform: scale(.98); }
.guzik .ik { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: transform .6s var(--sprezyna); }
.guzik:hover .ik { transform: translate(3px, -2px) scale(1.05); }
.guzik .ik svg { width: 16px; height: 16px; }
.guzik.jasny { background: transparent; color: var(--granat); box-shadow: inset 0 0 0 1px var(--linia2); }
.guzik.jasny .ik { background: rgba(15, 34, 54, .06); }
.guzik.zloty { background: var(--zloto2); color: var(--granat); }
.guzik.zloty .ik { background: rgba(15, 34, 54, .1); }
.guzik.maly { font-size: 14px; padding: 6px 6px 6px 18px; }
.guzik.maly .ik { width: 32px; height: 32px; }

/* ramki „dwa obrysy” */
.rama { padding: 7px; border-radius: var(--r); background: rgba(15, 34, 54, .045); box-shadow: inset 0 0 0 1px var(--linia); }
.rama > .wn { border-radius: calc(var(--r) - 7px); overflow: hidden; background: var(--papier); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 30px 60px -40px rgba(15, 34, 54, .45); }
.przegl { background: #e9e4da; }
.przegl .pasek { display: flex; gap: 6px; padding: 11px 14px; align-items: center; }
.przegl .pasek i { width: 9px; height: 9px; border-radius: 50%; background: #cfc6b6; }
.przegl .pasek span { margin-left: 12px; font-size: 11.5px; color: #7a7266; background: rgba(255, 255, 255, .7); padding: 3px 14px; border-radius: 999px; }
.tel { border-radius: 38px; padding: 7px; background: #11161c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 40px 70px -40px rgba(15, 34, 54, .7); position: relative; }
.tel img { border-radius: 31px; }
.tel::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; border-radius: 12px; background: #11161c; z-index: 1; }
.podpis { font-size: 13px; color: var(--szary2); margin-top: 14px; text-align: center; }

/* hero */
.hero { padding: 168px 0 96px; position: relative; overflow: hidden; }
.hero .w { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero .dowod-m { margin-top: 26px; font-size: 14px; color: var(--szary); display: flex; align-items: center; gap: 10px; }
.hero .dowod-m b { color: var(--granat); }
.hero .kropka { width: 8px; height: 8px; border-radius: 50%; background: #3aa76d; box-shadow: 0 0 0 4px rgba(58, 167, 109, .15); }
.kompozycja { position: relative; }
.kompozycja .lap { transform: rotate(-1.2deg); }
.kompozycja .tel { position: absolute; width: 24%; right: -2%; bottom: -14%; transform: rotate(2.5deg); }

/* pasek liczb */
.liczby { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linia2); border-bottom: 1px solid var(--linia2); }
.liczby > div { padding: 34px 26px; }
.liczby > div + div { border-left: 1px solid var(--linia); }
.liczby b { display: block; font-family: "Play", serif; font-weight: 500; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--granat); }
.liczby span { display: block; margin-top: 10px; font-size: 14px; color: var(--szary); }

/* pakiet: bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 64px; }
.bento .k { grid-column: span 7; }
.bento .k:nth-child(2), .bento .k:nth-child(3) { grid-column: span 5; }
.bento .k > .wn { height: 100%; padding: 34px 34px 0; display: flex; flex-direction: column; }
.bento .k p { color: var(--szary); margin-top: 12px; max-width: 46ch; }
.bento .k .wiz { margin-top: auto; padding-top: 30px; }
.bento .k .wiz img { border-radius: 14px 14px 0 0; box-shadow: 0 -1px 0 var(--linia), 0 20px 50px -30px rgba(15, 34, 54, .5); }
.bento .k .wiz.tele { display: flex; justify-content: center; }
.bento .k .wiz.tele .tel { width: 56%; margin-bottom: -60px; }
.bento .k .wiz.tele.nisko { max-height: 360px; overflow: hidden; }
.nr { font-family: "Play", serif; color: var(--zloto); font-size: 15px; letter-spacing: .1em; margin-bottom: 18px; }

/* funkcje: redakcyjne rzędy */
.funkcja { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.funkcja + .funkcja { margin-top: clamp(100px, 13vw, 180px); }
.funkcja.odwr .tekst { order: 2; }
.funkcja ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.funkcja li { padding-left: 30px; position: relative; color: var(--tusz); }
.funkcja li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 1.5px; background: var(--zloto); }
.korzysc { margin-top: 30px; padding: 18px 22px; border-radius: 18px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linia); font-size: 15.5px; }
.korzysc b { color: var(--zloto); font-weight: 700; margin-right: 6px; }
.duo { display: grid; grid-template-columns: .42fr 1fr; gap: 18px; align-items: end; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.para-zdjec { display: grid; gap: 16px; }

/* przed/po — suwak */
.porown { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; cursor: ew-resize; user-select: none; touch-action: pan-y; }
.porown img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.porown .po { clip-path: inset(0 0 0 var(--x, 50%)); }
.porown .uchwyt { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); }
.porown .uchwyt::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--granat);
  display: grid; place-items: center; font-size: 18px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.porown .et { position: absolute; top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(15, 34, 54, .78); color: #fff; }
.porown .et.l { left: 14px; } .porown .et.p { right: 14px; background: var(--zloto2); color: var(--granat); }

/* oszczędności: ciemna sekcja */
.ciemna { background: var(--granat); color: #eef1f5; position: relative; overflow: hidden; }
.ciemna::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216, 178, 106, .16), transparent); pointer-events: none; }
.ciemna .lead { color: #aebccb; }
.ciemna .oczko { background: rgba(216, 178, 106, .1); color: var(--zloto2); box-shadow: inset 0 0 0 1px rgba(216, 178, 106, .25); }
.ciemna .oczko::before { background: var(--zloto2); }
.kalk { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 64px; position: relative; }
.kalk .rama { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.kalk .rama > .wn { background: rgba(255, 255, 255, .03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); padding: 40px; }
.suwak-et { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: #c4cfdb; }
.suwak-et output { font-family: "Play", serif; font-size: 44px; color: #fff; }
input[type=range] { width: 100%; margin: 22px 0 36px; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--zloto2) var(--p, 20%), rgba(255, 255, 255, .15) var(--p, 20%)); outline: none; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(216, 178, 106, .3); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.wyniki { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wyniki b { display: block; font-family: "Play", serif; font-weight: 500; font-size: clamp(46px, 5vw, 72px); line-height: 1; color: var(--zloto2); font-variant-numeric: tabular-nums; }
.wyniki span { display: block; margin-top: 10px; color: #aebccb; font-size: 14.5px; }
.zal { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; font-size: 14.5px; }
.zal li { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zal li span:last-child { color: #fff; text-align: right; }
.zal-t { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--zloto2); font-weight: 700; }

/* dowód */
.dowod { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dowod .cta { margin-top: 34px; }

/* start */
.kroki { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; counter-reset: k; }
.kroki .wn { padding: 34px; height: 100%; }
.kroki .wn::before { counter-increment: k; content: "0" counter(k); font-family: "Play", serif; font-size: 44px; color: var(--zloto); display: block; margin-bottom: 18px; line-height: 1; }
.kroki p { color: var(--szary); margin-top: 10px; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--linia2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: "Play", serif; font-size: 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: "Man", sans-serif; font-weight: 300; font-size: 28px; color: var(--zloto); transition: transform .6s var(--sprezyna); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--szary); max-width: 62ch; }

/* koniec */
.koniec { text-align: center; }
.koniec h2 { max-width: 16ch; margin-inline: auto; }
.koniec .pudelko { width: min(560px, 100%); margin: 0 auto -10px; }
.koniec .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.stopka { padding: 40px 0 56px; border-top: 1px solid var(--linia2); font-size: 14px; color: var(--szary); }
.stopka .w { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stopka nav { display: flex; gap: 14px; flex-wrap: wrap; }
.stopka nav a { text-decoration: none; }
.stopka nav a[aria-current] { color: var(--granat); font-weight: 600; }

/* wejście przy przewijaniu */
.js .wej { opacity: 0; transform: translateY(42px); filter: blur(8px); transition: opacity 1s var(--sprezyna), transform 1.1s var(--sprezyna), filter 1s var(--sprezyna); }
.js .wej.jest { opacity: 1; transform: none; filter: none; }
.hero .wej { animation: wjazd 1.1s var(--sprezyna) both; } .hero .wej.o2 { animation-delay: .15s; }
.js .hero .wej { opacity: 1; transform: none; filter: none; transition: none; }
@keyframes wjazd { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.wej.o1 { transition-delay: .08s; } .wej.o2 { transition-delay: .16s; } .wej.o3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .wej, .hero .wej { opacity: 1; transform: none; filter: none; transition: none; animation: none; } html { scroll-behavior: auto; } }

/* telefon */
@media (max-width: 980px) {
  .nav-linki { display: none; }
  .hero { padding-top: 130px; }
  .hero .w, .funkcja, .dowod, .faq, .kalk { grid-template-columns: 1fr; }
  .funkcja.odwr .tekst { order: 0; }
  .kompozycja { margin-top: 20px; margin-right: 8%; }
  .bento .k, .bento .k:nth-child(2), .bento .k:nth-child(3) { grid-column: span 12; }
  .kroki { grid-template-columns: 1fr; }
  .liczby { grid-template-columns: 1fr 1fr; }
  .liczby > div:nth-child(3) { border-left: 0; }
  .liczby > div:nth-child(n+3) { border-top: 1px solid var(--linia); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .w { width: calc(100% - 32px); }
  .nav { padding-left: 16px; }
  .nav .guzik { display: none; }
  .bento .k > .wn { padding: 26px 22px 0; }
  .kalk .rama > .wn { padding: 26px; }
  .wyniki { grid-template-columns: 1fr; }
  .duo { grid-template-columns: .5fr 1fr; gap: 10px; }
  .trio { gap: 8px; }
  .tel { border-radius: 26px; padding: 5px; } .tel img { border-radius: 22px; } .tel::before { top: 11px; height: 12px; }
  .kompozycja .tel { right: -6%; }
  .faq summary { font-size: 19px; }
}

/* pozostałe aplikacje UnitedAI */
.uai { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--linia); font-size: 13px; color: var(--szary2); }
.uai span { margin-right: 6px; }
.uai img { width: 30px; height: 30px; border-radius: 8px; transition: transform .5s var(--sprezyna); }
.uai a:hover img { transform: translateY(-2px) scale(1.06); }
.uai-link { margin-left: 4px; text-decoration: none; font-weight: 600; color: var(--granat); }
