/* PLEOFON. Flat dark surfaces, generous type, the app's blue and red. */
:root {
  --bg: #080808; --ink: #F4F1EA; --dim: #AAA9A4;
  --edge: rgba(244,241,234,.2); --soft: rgba(244,241,234,.11);
  --blue: #0000FF; --red: #FF0000;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--blue); color: white; }
:where(a,button,summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.wrap { width: 100%; max-width: 1300px; padding-inline: 40px; margin-inline: auto; }
.wrap.narrow { max-width: 850px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--soft); background: rgba(8,8,8,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.topbar-inner { max-width: 1300px; padding: 12px 40px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 30px; border-radius: 8px; }
.brand-name { font-size: .875rem; font-weight: 650; letter-spacing: .19em; }
.topnav { display: flex; gap: 28px; margin-left: auto; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--dim); }
.topnav a:hover { color: var(--ink); }
.topbar-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.segswitch { position: relative; display: flex; gap: 2px; }
.segswitch button { position: relative; z-index: 2; border: 0; background: none; min-width: 44px; min-height: 44px; padding: 8px 10px; font-size: .875rem; font-weight: 600; color: var(--dim); cursor: pointer; }
.segswitch button[aria-pressed="true"] { color: var(--bg); }
.segpill { position: absolute; z-index: 1; inset-block: 4px; border-radius: 7px; background: var(--ink); transition: left .25s var(--ease), width .25s var(--ease); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid var(--edge); border-radius: 999px; font-size: .9375rem; line-height: 1.4; text-align: center; transition: background .2s, border-color .2s; }
.btn:hover { background: rgba(244,241,234,.08); border-color: var(--ink); }
.btn-primary { color: var(--bg); background: var(--ink); border-color: var(--ink); font-weight: 550; }
/* Jedyne wezwanie do dzialania w naglowku ma byc w dominancie, a nie
   bialym prostokatem obok przelacznika jezyka. */
.btn-key.btn-primary { background: var(--blue); border-color: var(--blue);
                       color: #fff; font-weight: 600; }
.btn-key.btn-primary:hover { background: #1b1bff; border-color: #1b1bff; }
.btn-primary:hover { background: #fff; }
.btn-key { font-size: .875rem; }
.btn.big { padding: 16px 26px; }
/* Znak systemu w przycisku pobierania: w kolorze napisu, nie w barwach marki. */
.znak-os { width: 1.05em; height: 1.05em; flex-shrink: 0; margin-right: 10px; }
.ukryty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Pasek pod menu: biały, niski, przewija się w kółko. Siedzi WEWNĄTRZ
   nagłówka, więc przykleja się razem z nim i przechodzi na podstrony
   (tam `#premiera` zamienia się w `/#premiera`). Tor ma dwie identyczne
   połowy, animacja przesuwa o jedną, więc szew jest niewidoczny. */
.ticker { display: block; overflow: hidden; background: var(--ink); color: var(--bg); }
.ticker-tor { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-tor span { padding: 5px 28px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker-tor span::after { content: '●'; margin-left: 56px; font-size: .5rem; vertical-align: 2px; opacity: .45; }
.ticker:hover .ticker-tor { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.hero { padding: 100px 0 76px; }
.hero-copy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: end; }
.display { max-width: 13ch; font-size: clamp(3.5rem,6.7vw,6rem); letter-spacing: -.065em; line-height: .97; text-wrap: balance; }
.hero-aside { max-width: 480px; }
.lede { color: var(--dim); font-size: 1.1875rem; line-height: 1.65; margin-bottom: 28px; }
.band { padding: 110px 0; border-top: 1px solid var(--soft); }
h2 { max-width: 19ch; font-size: clamp(2.6rem,5vw,4.25rem); line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; }
.lead { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 80px; margin-bottom: 64px; }
.sub { max-width: 48ch; color: var(--dim); font-size: 1.125rem; line-height: 1.65; }
.app-showcase { position: relative; }
.app-showcase-hero { margin-top: 65px; perspective: 1800px; }
.app-showcase-detail { margin-bottom: 52px; }
.app-shot { position: relative; }
.app-shot img { width: 100%; display: block; }
.app-showcase-hero .app-shot { transform: rotateX(var(--tilt-x, 1.5deg)) rotateY(var(--tilt-y, -2deg)); transition: transform .65s var(--ease); }
.app-showcase-hero.is-moving .app-shot { transition-duration: .12s; }
.motion-stage { isolation: isolate; }
.app-showcase figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 22px; margin-top: 16px; border-top: 1px solid var(--soft); }
.app-showcase figcaption strong { font-size: 1rem; font-weight: 500; }
.app-showcase figcaption > span { font-size: .875rem; color: var(--dim); text-align: right; }
.workflow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.workflow-step { border-top: 1px solid var(--edge); padding-top: 24px; }
.workflow-step h3, .feature-list h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 14px; }
.workflow-step p, .feature-list p { font-size: 1rem; line-height: 1.65; color: var(--dim); max-width: 46ch; }
/* The portraits are the focal point. No cards or decorative labels. */
.models-band { padding-bottom: 100px; }
.model-stage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; padding-block: 36px 55px; border-top: 1px solid var(--edge); }
.model-portrait { position: relative; min-width: 0; }
.model-portrait h3 { position: relative; z-index: 2; font-size: clamp(5rem,10.5vw,9rem); letter-spacing: -.075em; line-height: 1; }
.model-portrait h3 span { color: #8893ff; }
.model-portrait img { width: 100%; max-width: 580px; margin: -12px auto -20px; animation: model-float 7s ease-in-out infinite; }
.model-story { padding-top: 54px; max-width: 460px; }
.model-story .model-line { color: var(--ink); font-size: clamp(2rem,3.2vw,3rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 28px; font-weight: 550; }
.model-story > p { color: var(--dim); font-size: 1.125rem; line-height: 1.65; }
.chase-stage { grid-template-columns: 1fr 1.2fr; }
.chase-stage .model-portrait { order: 2; }
.chase-stage .model-story { order: 1; }
.chase-stage .model-portrait img { animation-delay: -3.5s; }
@keyframes model-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.system-block { border-top: 1px solid var(--edge); padding-top: 48px; }
.system-heading { font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 32px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mode-card { border-top: 3px solid var(--blue); padding-top: 25px; }
.mode-red { border-color: var(--red); }
.mode-card h4 { font-size: 1rem; line-height: 1.4; letter-spacing: .02em; }
.mode-blue h4 { color: #99a3ff; }
.mode-red h4 { color: #ff8e8e; }
.mode-equation { font-size: 1.5rem; font-weight: 550; letter-spacing: -.03em; margin: 14px 0; }
.mode-card > p:last-child { color: var(--dim); font-size: 1rem; max-width: 49ch; }
.beta-band { background: #EEECE5; color: #10100f; border: 0; }
.beta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.beta-band .sub { margin-top: 26px; color: #55554f; }
.beta-facts { border-top: 1px solid #bcbcb5; }
.beta-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 30px; padding-block: 30px; }
.beta-metrics p { display: flex; flex-direction: column; }
.beta-metrics b { font-weight: 600; font-size: clamp(2.6rem,4.7vw,4.3rem); line-height: 1.15; letter-spacing: -.055em; white-space: nowrap; }
.beta-metrics span { font-size: 1rem; line-height: 1.5; color: #55554f; margin-top: 12px; }
.beta-note { border-top: 1px solid #bcbcb5; padding-top: 20px; font-size: 1rem; color: #55554f; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 65px; }
.feature-list article { border-top: 1px solid var(--edge); padding-top: 24px; }
.feature-list .ikona { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px; }
.handoff .lead { margin-bottom: 0; align-items: start; }
.handoff-copy h3 { margin-top: 32px; margin-bottom: 10px; font-size: 1.375rem; line-height: 1.3; letter-spacing: -.025em; }
.faq { margin-top: 40px; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--soft); }
.faq summary { position: relative; padding: 24px 38px 24px 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 22px; font-size: 1.5rem; color: var(--dim); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 24px; color: var(--dim); font-size: 1rem; }
.closer { padding-block: 120px; border-top: 1px solid var(--soft); text-align: center; }
.closer-mark { width: 64px; margin: 0 auto 32px; border-radius: 16px; }
.closer-h { margin: 0 auto 30px; font-size: clamp(3.5rem,8vw,6.5rem); line-height: .98; letter-spacing: -.06em; }
.closer-p { max-width: 43ch; margin-inline: auto; color: var(--dim); font-size: 1.125rem; }
/* Cennik: dwa PELNE bloki w dominancie programu.
   Ten sam wyglad tutaj i na /pricing — czlowiek, ktory trafi na podstrone
   z linku, ma zobaczyc to samo, co widzial na stronie glownej, a nie drugi
   cennik o tej samej tresci. Stad te reguly sa przepisane takze do Workera. */
/* Jedno wezwanie do dzialania na cala sekcje, NAD kartami.
   Karty przestaly byc wyborem do klikniecia, bo plan wybiera sie w aplikacji
   przy pierwszym uruchomieniu; ich rola to powiedziec, co jest w ktorym, a nie
   udawac dwie drogi, z ktorych jedna i tak prowadzi do tego samego pliku. */
/* Wezwanie w naglowku strony: bialy, bo to jedyne miejsce, gdzie dominanta
   jest juz zajeta przez przycisk w pasku. Prowadzi na dol strony, a nie wprost
   do pliku: kto jest na samej gorze, nie wie jeszcze, co pobiera. */
.hero-cta { margin-top: 26px; }
.plan-akcja { margin-top: 40px; text-align: center; }
.btn-pobierz { background: var(--blue); border-color: var(--blue); color: #fff;
               font-weight: 600; padding-inline: 40px; }
.btn-pobierz:hover { background: #1b1bff; border-color: #1b1bff; color: #fff; }
.pobierz-systemy { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.plan-druczek { margin: 14px auto 0; color: var(--dim); font-size: .875rem; }
.plany { display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
         max-width: 820px; margin: 40px auto 0; text-align: left;
         align-items: stretch; }
.plan { display: flex; flex-direction: column;
        background: var(--blue); border-radius: 18px; padding: 30px 28px 28px; }
.plan h3 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 12px; color: #fff; }
.plan .kwota { font-size: clamp(2.2rem,3.6vw,2.9rem); letter-spacing: -.055em;
               line-height: 1; font-weight: 600; margin-bottom: 24px; color: #fff; }
/* Na czystym #0000FF bialy tekst jest czytelny, ale pelna biel na wszystkim
   robi sciane. Tresc pomocnicza schodzi wiec do przygaszonej bieli, a nie do
   szarosci — szarosc na niebieskim wyglada jak wylaczona. */
.plan .okres { font-size: 1rem; letter-spacing: -.01em; font-weight: 400;
               color: rgba(255,255,255,.72); }
/* JEDNO zdanie na kartę zamiast listy.
   Lista czterech pozycji wyglada jak porownywarka i zmusza do czytania czterech
   linijek po to, zeby znalezc jedna roznice, ktora naprawde jest: limit. */
.plan-podpis { margin: 0; padding-top: 18px;
               border-top: 1px solid rgba(255,255,255,.22);
               color: rgba(255,255,255,.9); font-size: .9375rem; line-height: 1.5; }
.plan-podpis.mocny { color: #fff; font-size: 1.125rem; font-weight: 600;
                     letter-spacing: -.02em; line-height: 1.35; }
/* `margin-top:auto` wyrownuje przyciski w obu kartach niezaleznie od tego,
   ile pozycji ma lista. Bez tego „Wkrotce" wisi wyzej niz „Pobierz" i widac
   to od razu, bo karty stoja obok siebie. */
.plan-cta { margin-top: auto; width: 100%; }
/* Bialy prostokat dostaje PRZYCISK, a nie kazdy element w tym miejscu:
   blok "wlaczasz w aplikacji" tez ma klase .plan-cta, bo ma stac w tej samej
   linii co przycisk obok, i przy szerszej regule wychodzil z tego bialy
   prostokat z bialym napisem w srodku. */
.plan a.plan-cta { background: #fff; border-color: #fff; color: var(--blue);
                   font-weight: 600; }
.plan a.plan-cta:hover { background: #fff; border-color: #fff; }
/* Plan platny nie ma przycisku, bo nie kupuje sie go na stronie: zakup
   zaczyna sie w aplikacji, ktora jedyna wie, do ktorego konta przypisac plan.
   Przycisk w tym miejscu obiecywalby wiec cos, czego strona nie umie zrobic,
   a "Wkrotce" mowilo dodatkowo nieprawde, bo plan istnieje. Zamiast przycisku
   stoi tu instrukcja, w tym samym miejscu i tej samej wysokosci. */
.plan .plan-wapce { border: 1px dashed rgba(255,255,255,.45); border-radius: 999px;
                    padding: 12px 20px; text-align: center; }
.plan .plan-wapce b { display: block; color: #fff; font-size: .9375rem;
                      font-weight: 600; line-height: 1.35; }
.plan .plan-wapce span { display: block; margin-top: 2px; font-size: .8125rem;
                         color: rgba(255,255,255,.72); }
/* Znacznik mowi JEDNO: skad sie bierze ten plan. To jedyna roznica, ktorej
   nie widac z listy funkcji, a od niej zalezy, co czlowiek ma zaraz zrobic. */
.plan-znacznik { align-self: flex-start; margin-bottom: 14px; padding: 5px 12px;
                 border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
                 font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
                 color: rgba(255,255,255,.82); }
.plan-nota { margin: 26px auto 0; max-width: 48ch; color: var(--dim); font-size: .875rem; }
@media (max-width: 720px) { .plany { grid-template-columns: 1fr; gap: 18px; } }
.foot { border-top: 1px solid var(--soft); padding-block: 28px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: .875rem; letter-spacing: .12em; }
/* W stopce stoi znak PLEOFONICA (biala tasma), nie ikona aplikacji:
   stopka mowi o wydawcy, a nie o programie, ktory jest opisany wyzej. */
.foot-brand .foot-pleofonica { border-radius: 0; }
.foot-note { color: var(--dim); font-size: .875rem; }
/* Cennik i dokumenty musza byc osiagalne ze strony glownej: tego wymaga
   przeglad domeny u operatora platnosci, a i tak jest to jedyne miejsce,
   w ktorym ktos ich szuka. */
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { font-size: .875rem; color: var(--dim); }
.foot-links a:hover { color: var(--ink); }
@media (max-width: 1050px) {
 .topnav { gap: 16px; }
 .topbar-inner { gap: 20px; }
 .btn-key { display: none; }
 .hero-copy, .lead, .beta-layout { gap: 40px; }
 .model-stage { gap: 40px; }
 .display { font-size: clamp(3rem,6.7vw,5rem); }
}
@media (max-width: 760px) {
 html { scroll-padding-top: 110px; }
 .wrap { padding-inline: 24px; }
 .topbar-inner { padding: 10px 24px; }
 .topnav { display: none; }
 .hero { padding: 56px 0; }
 .hero-copy,.lead,.beta-layout { grid-template-columns: minmax(0,1fr); gap: 26px; }
 .display { font-size: clamp(3rem,8.8vw,4.5rem); max-width: 15ch; }
 .hero-aside { max-width: 580px; }
 .lede { font-size: 1.125rem; margin-bottom: 24px; }
 .band { padding-block: 72px; }
 .lead { margin-bottom: 40px; }
 h2 { font-size: clamp(2.25rem,6.8vw,3.5rem); }
 .sub { font-size: 1.0625rem; }
 .workflow { grid-template-columns: 1fr; gap: 26px; }
 .app-showcase-hero { margin-top: 42px; }
 .app-showcase-hero .app-shot { transform: none; }
 .app-showcase figcaption { display: block; padding-top: 16px; }
 .app-showcase figcaption strong, .app-showcase figcaption > span { display: block; text-align: left; }
 .app-showcase figcaption > span { margin-top: 6px; }
 .model-stage,.chase-stage { grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 32px 42px; }
 .model-portrait h3 { font-size: clamp(5rem,17vw,8rem); }
 .model-portrait img { max-width: 440px; margin: -8px auto -20px; }
 .chase-stage .model-portrait, .chase-stage .model-story { order: initial; }
 .model-story { padding-top: 12px; max-width: 560px; }
 .model-story .model-line { font-size: 2rem; margin-bottom: 18px; }
 .model-story > p { font-size: 1.0625rem; }
 .mode-grid,.feature-list { grid-template-columns: minmax(0,1fr); gap: 30px; }
 .system-block { padding-top: 32px; }
 .beta-layout { gap: 38px; }
 .beta-metrics b { font-size: clamp(2.5rem,7vw,3.5rem); }
 .closer { padding-block: 80px; }
 .closer-h { font-size: clamp(3.2rem,10vw,5rem); }
}
@media (max-width: 400px) {
 .wrap { padding-inline: 20px; }
 .topbar-inner { padding-inline: 20px; }
 .brand-name { font-size: .8125rem; letter-spacing: .14em; }
 .beta-metrics { gap: 16px; }
 .beta-metrics b { font-size: 2.35rem; }
 .foot-inner { display: block; }
 .foot-note { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .ticker-tor { animation: none !important; }
 *,*::before,*::after { animation: none !important; transition: none !important; }
 .app-showcase-hero .app-shot { transform: none; }
}

