/* latin — podstawowy zakres (ASCII itd.) */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-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;
}
/* latin-ext — polskie znaki: ą ć ę ł ń ó ś ź ż */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-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;
}

:root {
  --braz-ciemny: #17181b;
  --braz-glebia: #101114;
  --marmur: #f1f0ec;
  --braz-poler: #cda36b;
  --braz: #80542a;
  --kosc: #edebe5;
  --patyna: #e2ddd0;
  --tekst-c: #e6e4de;
  --tekst-c-2: #a0a09a;
  --tekst-j: #1d1e20;
  --tekst-j-2: #5e6065;
  --font: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* zaokrąglenia subpikselowe nie mogą dawać przewijania w bok; clip (w przeciwieństwie do hidden) nie psuje position: sticky */
html, body { overflow-x: clip; }
/* jawne tło korzenia: Safari 26 (iOS) bierze z niego kolor zastępczy pod swoimi paskami (theme-color ignoruje) */
html { background: var(--braz-ciemny); }
body { margin: 0; background: var(--braz-ciemny); color: var(--tekst-c); font: 400 1.0625rem/1.6 var(--font); }
h1, h2, h3 { font-weight: 650; line-height: 1.06; letter-spacing: -0.018em; margin: 0; text-wrap: balance; }
p { margin: 0; }

header.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center;
  padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 1.25rem 0.65rem; }
/* tło menu w warstwie ::before: Safari 26 na iPhonie bierze kolor pasków z tła elementów przyklejonych (fixed/sticky),
   przez co malował pod dolnym paskiem pas w kolorze menu; warstwy ::before nie próbkuje, a menu wygląda tak samo */
header.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, #0b0c0e 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.wordmark { font-weight: 650; font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: 0.005em; color: var(--kosc); text-decoration: none; }
.wordmark b { font-weight: 800; color: var(--braz-poler); margin-left: 0.16em; } /* węższy odstęp niż spacja */
.nav a.cta { color: var(--braz-ciemny); background: var(--braz-poler); text-decoration: none; font-weight: 650; font-size: 0.9rem;
  padding: 0.45rem 0.95rem; border-radius: 99px; }
.nav a.cta:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--braz-poler); outline-offset: 3px; }
.nav a.cta:hover, .demo-btn:hover { filter: brightness(1.1); }
.w-btn:hover { background: rgba(127, 127, 127, 0.12); }
.t-head:hover .t-krotko, .t-head:hover .t-plus { color: var(--kosc); }

/* scena K4: hero → wjazd w ekran → Ordiflor na pełnym ekranie */
.scena { position: relative; }
.scena .lep { position: sticky; top: 0; height: 100svh; overflow: hidden; }
/* jeden ekran wysokości: kroki sceny zmieniają się w miejscu, bez przewijania strony (komputer i telefon).
   Scena sięga do dolnej krawędzi ekranu (100lvh: na iPhonie także pod pływający pasek Safari), a jej zawartość zostaje
   w widocznej części (lep 100svh); bez przyklejenia, bo element sticky przy krawędzi Safari 26 zamienia w jednolity pas */
#s-hero { height: 100lvh; background: #000; }
#s-hero .lep { position: relative; background: #000; --kh: min(56.25vw, 100svh); }
/* na komputerze przód laptopa jest ucięty dolną krawędzią kadru (jak u Apple), więc kadr stoi na dole ekranu */
.kadr { position: absolute; left: 50%; bottom: 0; width: min(100vw, calc(100svh * 16 / 9)); aspect-ratio: 16 / 9; transform: translateX(-50%); }
#plotno { width: 100%; height: 100%; display: block; }
.hero-tekst { position: absolute; left: 0; right: 0; top: calc(100svh - var(--kh) * 0.95); z-index: 2; display: grid;
  justify-items: center; text-align: center; padding: 0 1.25rem; pointer-events: none; animation: pojaw 1.1s 0.2s cubic-bezier(.2,.7,.2,1) backwards;
  transition: opacity 0.45s, transform 0.45s cubic-bezier(.2,.7,.2,1); }
.hero-tekst h1, .hero-tekst h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); color: var(--kosc); }
.hero-tekst .pod { margin-top: 0.9rem; max-width: 40rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--tekst-c-2); }
.wjazd-tekst { opacity: 0; animation: none; }
@keyframes pojaw { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Ordiflor na ekranie: projekt 1600 × 1000 w kolorach prawdziwej aplikacji (Barlow, granat #315786, logo zieleń + karmin);
   JS skaluje go na prostokąt ekranu z renderu */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.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: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.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: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.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: 700; font-display: swap; src: url("../fonts/manrope-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.app-ramka { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; transform-origin: 0 0; opacity: 0; pointer-events: none; z-index: 1; }
.app-ramka.aktywna { pointer-events: auto; }
/* rogi jak w ekranie z renderu: promień ze studio/ekran-promien.json (domyślnie 1,8% szerokości) */
.app-ramka:not(.pion) .app { border-radius: var(--app-r, 29px); }
/* krok „Aplikacje webowe”: Ordiflor składa się na ekranie laptopa z napisanego kodu (pasek, zakładki, wiersze po kolei) */
.app-ramka.sklada .app { animation: sklad-tlo 0.3s ease-out backwards; }
/* tylko widok Magazyn (o nim jest kod): przełączenie modułu w trakcie nie odpala składania w Kasie ani w Fakturach */
.app-ramka.sklada .of-gora, .app-ramka.sklada [data-widok="0"] .of-pod, .app-ramka.sklada [data-widok="0"] .of-akcje,
.app-ramka.sklada [data-widok="0"] .of-wiersz, .app-ramka.sklada [data-widok="0"] .of-tab thead, .app-ramka.sklada [data-widok="0"] .of-panel {
  animation: sklad 0.34s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
.app-ramka.sklada [data-widok="0"] .of-tab tbody tr { animation: sklad-tlo 0.3s ease-out backwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
@keyframes sklad { from { opacity: 0; transform: translateY(10px); } }
@keyframes sklad-tlo { from { opacity: 0; } }

/* krok 0: edytor z kodem na ekranie laptopa (rozpięty na czworokącie ekranu z renderu, jak aplikacja) */
.kod-ramka { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; transform-origin: 0 0; opacity: 0; pointer-events: none; z-index: 1;
  transition: opacity 0.35s; }
.kod { --kod-tlo: #0f1114; --kod-pasek: #15181c; --kod-linia: #23272d; height: 100%; display: grid; grid-template-rows: 64px 1fr 48px;
  background: var(--kod-tlo); border-radius: var(--app-r, 29px); overflow: hidden; color: #d9dde4; }
.kod-karty { display: flex; align-items: flex-end; gap: 2px; padding-left: 24px; background: var(--kod-pasek); border-bottom: 1px solid var(--kod-linia); }
.kod-karty span { height: 52px; padding: 0 30px; font: 500 21px/52px var(--font); color: #7d8592; }
.kod-karty .on { background: var(--kod-tlo); color: #e6e1d6; box-shadow: inset 0 2px 0 var(--braz-poler); }
.kod-pole { display: grid; grid-template-columns: 104px 1fr; padding-top: 26px;
  font: 400 24px/38px ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.kod-nr, .kod-tresc { margin: 0; font: inherit; white-space: pre; }
.kod-nr { padding-right: 34px; text-align: right; color: #4a505a; }
.kod-nr b { font-weight: inherit; color: #9aa1ad; }
.kod-stan { display: flex; justify-content: space-between; align-items: center; padding: 0 28px; background: var(--kod-pasek);
  border-top: 1px solid var(--kod-linia); font: 400 18px/1 var(--font); color: #7d8592; }
.kod-stan .trwa { color: #e3c584; }
.kod-stan .ok { color: #a8c58f; }
.kod .k-k { color: #d19a66; }
.kod .k-s { color: #a8c58f; }
.kod .k-t { color: #7fb0e8; }
.kod .k-a { color: #e3c584; }
.kod .k-f { color: #efe9dc; }
.kod .k-c { color: #6b7280; font-style: italic; }
.kod-kursor { display: inline-block; width: 3px; height: 30px; margin-left: 1px; vertical-align: -6px; background: #e6e1d6; animation: kod-mig 1.1s steps(1) infinite; }
.kod-ramka.pisze .kod-kursor { animation: none; }
@keyframes kod-mig { 50% { opacity: 0; } }
.app { --of-tlo: #f8f8fa; --of-jasne: #fbfcfd; --of-pasek: #e3e4e7; --of-naglowek: #e6e8ea; --of-linia: #dcdee2; --of-tekst: #1d1f22;
  --of-tekst-2: #5c5e60; --of-granat: #315786; --of-ciemny: #2f3134;
  width: 100%; height: 100%; background: var(--of-tlo); color: var(--of-tekst); display: grid; grid-template-rows: 76px 1fr; overflow: hidden;
  font: 400 17px/1.4 "Barlow", var(--font); color-scheme: light; }
.app b, .app strong { font-weight: 600; }
.of-gora { display: flex; align-items: flex-end; gap: 22px; padding: 0 30px; background: var(--of-jasne); }
.of-logo { display: flex; align-items: center; gap: 6px; align-self: center; }
.of-znak { width: 36px; height: 36px; }
.of-d { fill: #075438; }
.of-p { fill: #d91b68; }
.of-slowo { font: 700 31px/1 "Manrope", var(--font); letter-spacing: -0.02em; color: #075438; }
.of-slowo b { color: #d91b68; font-weight: 700; }
.of-firma { align-self: center; padding-left: 16px; border-left: 1px solid var(--of-linia); font-size: 15px; color: var(--of-tekst-2); }
.of-menu { display: flex; gap: 2px; margin-left: 14px; }
.of-menu span, .of-menu button { padding: 14px 18px 17px; font: 500 19px/1 "Barlow", var(--font); color: #3a3c40; border: 0; background: none; border-radius: 12px 12px 0 0; }
.of-menu button { cursor: pointer; }
.of-menu button:hover:not(.on) { background: #eef0f2; }
.of-menu button.on { background: var(--of-pasek); color: var(--of-tekst); font-weight: 600; }
.of-menu button:focus-visible { outline: 3px solid var(--of-granat); outline-offset: -3px; }
.of-user { margin-left: auto; align-self: center; font-weight: 600; font-size: 17px; }
.app-widoki { position: relative; min-height: 0; }
.widok { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.widok.on { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.of-pod { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 42px; background: var(--of-pasek); }
.of-pod span { padding: 9px 16px 10px; font-weight: 600; font-size: 16px; color: var(--of-ciemny); background: #eceef0; border-radius: 10px 10px 0 0; }
.of-pod span.on { background: var(--of-tlo); }
.of-str { padding: 22px 28px; display: grid; align-content: start; gap: 14px; min-height: 0; overflow: hidden; }
.of-akcje, .of-wiersz { display: flex; align-items: center; gap: 12px; }
.of-h { font-size: 27px; font-weight: 600; margin-right: auto; }
.of-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border: 1.5px solid var(--of-ciemny); border-radius: 7px;
  background: #fff; font-weight: 600; font-size: 16px; white-space: nowrap; }
.of-btn.of-gl { background: var(--of-granat); border-color: var(--of-granat); color: #fff; }
.of-seg { display: inline-flex; border: 1.5px solid var(--of-ciemny); border-radius: 7px; overflow: hidden; }
.of-seg > * { padding: 8px 18px; font-size: 16px; }
.of-seg b { font-weight: 700; }
.of-seg span { color: var(--of-tekst-2); border-left: 1px solid #c9ccd1; }
.of-chip { margin-left: auto; font-size: 14px; font-weight: 600; color: #6f5124; background: #f4ead9; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.of-chip.of-szary { margin-left: 0; color: var(--of-tekst); background: var(--of-naglowek); border-radius: 6px; }
.of-szukaj { flex: 1; padding: 9px 14px; border: 1px solid #b8bbc0; border-radius: 6px; background: #fff; color: #6b6d70; font-size: 16px; }
.of-select { padding: 8px 14px; border: 1px solid #b8bbc0; border-radius: 6px; background: #fff; font-size: 16px; min-width: 240px; }
.of-mag { display: grid; grid-template-columns: 1fr 330px; gap: 16px; align-items: start; min-height: 0; }
table.of-tab { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--of-jasne); border: 1px solid var(--of-linia); border-radius: 10px;
  overflow: hidden; font-size: 15px; font-variant-numeric: tabular-nums; }
.of-tab th { background: var(--of-naglowek); color: var(--of-ciemny); font-weight: 600; font-size: 14px; text-align: left; padding: 11px 14px; }
.of-tab td { padding: 10px 14px; border-top: 1px solid #e7e8eb; vertical-align: middle; }
.of-tab td small { display: block; color: var(--of-tekst-2); font-size: 13px; }
.of-tab .n { text-align: right; }
.of-tab tr.on td { background: #eef2f8; }
.of-ch { display: inline-block; width: 18px; height: 18px; border: 1.5px solid #6b6e73; border-radius: 4px; vertical-align: middle; }
.of-panel { background: var(--of-jasne); border: 1px solid var(--of-linia); border-radius: 10px; padding: 18px 20px; }
.of-ph { font-size: 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.of-ph i { font-style: normal; color: var(--of-tekst-2); }
.of-zakl { display: flex; gap: 6px; margin: 12px 0 10px; border-bottom: 1px solid var(--of-linia); }
.of-zakl > * { padding: 8px 14px; font-size: 16px; }
.of-zakl b { border: 1px solid var(--of-linia); border-bottom-color: var(--of-tlo); border-radius: 6px 6px 0 0; margin-bottom: -1px; background: var(--of-tlo); }
.of-panel .of-zakl b { border-bottom-color: var(--of-jasne); background: var(--of-jasne); }
.of-zakl span { color: var(--of-tekst-2); }
.of-panel dl { margin: 0; display: grid; }
.of-panel dt { font-size: 14px; color: var(--of-tekst-2); margin-top: 9px; }
.of-panel dd { margin: 0; font-size: 17px; }
/* kasa */
.of-meta { color: var(--of-tekst-2); font-size: 15px; }
.of-prawo { margin-left: auto; }
.of-kasa { display: grid; grid-template-columns: 1.2fr 1fr 0.85fr; gap: 16px; align-items: start; min-height: 0; }
.of-karta { background: var(--of-jasne); border: 1px solid var(--of-linia); border-radius: 12px; padding: 16px; display: grid; gap: 12px; align-content: start; }
.of-pigulki { display: flex; flex-wrap: wrap; gap: 7px; }
.of-pigulki > * { padding: 5px 11px; border: 1.5px solid var(--of-ciemny); border-radius: 6px; font-size: 14px; font-weight: 500; }
.of-pigulki b { background: var(--of-granat); border-color: var(--of-granat); color: #fff; }
.of-towary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.of-towar { border: 1px solid var(--of-linia); border-radius: 8px; overflow: hidden; background: #fff; display: grid; align-content: start; gap: 1px; padding-bottom: 8px; }
.of-towar > b, .of-towar > small, .of-cena { padding: 0 9px; }
.of-foto { position: relative; display: block; aspect-ratio: 5 / 4; background: #eef0ec; margin-bottom: 6px; }
.of-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-serce { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; font-style: normal; }
.of-serce::after { content: "♡"; font-size: 15px; line-height: 1; color: var(--of-ciemny); }
.of-serce.on::after { content: "♥"; color: #9c1f3a; }
.of-towar > b { font-size: 14px; line-height: 1.2; min-height: 2.4em; }
.of-towar > small { font-size: 12px; color: var(--of-tekst-2); }
.of-cena { display: flex; justify-content: space-between; align-items: center; margin: 3px 0 2px; }
.of-cena b { font-size: 16px; }
.of-cena em { font-style: normal; font-size: 12px; font-weight: 600; border: 1.5px solid var(--of-ciemny); border-radius: 5px; padding: 2px 6px; }
.of-kh { font-size: 21px; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.of-kh small { font-size: 14px; font-weight: 400; color: var(--of-tekst-2); }
.of-klient { background: var(--of-naglowek); border-radius: 8px; padding: 10px 14px; display: grid; }
.of-klient small { color: var(--of-tekst-2); font-size: 14px; }
.of-poz { display: grid; grid-template-columns: 1fr auto 86px; gap: 10px; align-items: center; padding: 7px 2px; border-bottom: 1px solid #e7e8eb; font-size: 15px; }
.of-poz small { display: block; color: var(--of-tekst-2); font-size: 13px; }
.of-poz .n { text-align: right; }
.of-ilosc { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.of-ilosc i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #b8bbc0; border-radius: 5px; font-weight: 500; }
.of-2 > * { flex: 1; }
.of-dok { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.of-dok > * { text-align: center; padding: 12px 6px; border: 1.5px solid #c9ccd1; border-radius: 8px; font-size: 15px; }
.of-dok b { border-color: var(--of-granat); background: var(--of-naglowek); }
.of-suma { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 15px; color: var(--of-tekst-2); padding-bottom: 10px; border-bottom: 1px solid var(--of-linia); }
.of-zaplata { display: flex; justify-content: space-between; align-items: baseline; }
.of-zaplata span { font-size: 18px; }
.of-zaplata b { font-size: 34px; font-weight: 700; color: var(--of-granat); font-variant-numeric: tabular-nums; }
.of-platnosci { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.of-platnosci span { display: flex; justify-content: space-between; align-items: center; padding: 12px; border: 1.5px solid var(--of-ciemny); border-radius: 8px; font-weight: 600; }
.app kbd { font: 600 12px/1 ui-monospace, Menlo, monospace; border: 1px solid #8f9297; border-radius: 4px; padding: 3px 5px; color: #45474b; }
.of-final { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 8px; background: var(--of-granat); color: #fff; font-weight: 600; font-size: 18px; }
.app .of-final kbd { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
/* faktury i KSeF */
.of-zakl3 { margin: 0; }
.of-ksef { font-size: 15px; color: var(--of-tekst-2); white-space: nowrap; }
.of-ksef b { color: var(--of-tekst); }
.of-ksef b.zle { color: #a1261d; }
.of-fv td small { font: 12px/1.3 ui-monospace, Menlo, monospace; margin-top: 4px; }
.of-pil { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; background: #eceef0; color: #3a3c40; white-space: nowrap; }
.of-pil.ok { background: #dcefe3; color: #1a6337; }
.of-pil.cz { background: #fbefd2; color: #6e500f; }
.of-pil.wys { background: #e1ebf7; color: #24497a; }
.of-pil.zle { background: #fbe1df; color: #a1261d; }

/* Ordiflor na telefonie: własny układ zamiast pomniejszonego */
.app-ramka.pion { left: 0.75rem; right: 0.75rem; top: calc(4rem + env(safe-area-inset-top, 0px)); bottom: calc(12rem + env(safe-area-inset-bottom, 0px));
  width: auto; height: auto; transform: none; }
.pion .app { grid-template-rows: auto 1fr; font-size: 14px; border-radius: 18px; }
.pion .of-gora { flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 10px 12px 0; }
.pion .of-znak { width: 24px; height: 24px; }
.pion .of-slowo { font-size: 22px; }
.pion .of-firma, .pion .of-user, .pion .of-menu span, .pion .of-pod { display: none; }
.pion .of-menu { order: 3; flex: 1 1 100%; margin: 6px 0 0; overflow-x: auto; }
.pion .of-menu button { font-size: 15px; padding: 10px 14px 12px; min-height: 44px; }
.pion .of-str { padding: 12px; gap: 10px; }
.pion .of-h { font-size: 20px; }
.pion .of-akcje .of-btn, .pion .of-seg span, .pion .of-select, .pion .of-wiersz .of-btn:not(.of-gl), .pion .of-panel, .pion .of-kasa-top, .pion .of-pigulki,
.pion .of-kasa > .of-karta:nth-child(2), .pion .of-dok, .pion .of-suma, .pion .of-platnosci, .pion .of-zakl3, .pion .of-ksef,
.pion [data-widok="2"] .of-str > .of-wiersz { display: none; }
.pion .of-mag, .pion .of-kasa { grid-template-columns: 1fr; gap: 10px; }
.pion .of-tab { font-size: 13px; }
.pion .of-tab th, .pion .of-tab td { padding: 8px 10px; }
.pion [data-widok="0"] .of-tab :is(th, td):is(:nth-child(1), :nth-child(3), :nth-child(4), :nth-child(6), :nth-child(7)) { display: none; }
.pion [data-widok="2"] .of-tab :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(6)) { display: none; }
.pion .of-towary { grid-template-columns: repeat(2, 1fr); }
.pion .of-towar:nth-child(n + 5) { display: none; }
.pion .of-karta { padding: 10px; gap: 8px; }
.pion .of-zaplata b { font-size: 24px; }
.pion .of-final { font-size: 15px; padding: 11px 12px; }

/* znak Ordiflor na stronie: prawdziwe logo; na ciemnym tle odcienie z ciemnej wersji logo */
.of-marka { display: flex; align-items: center; gap: 0.35em; }
.of-marka .of-znak { width: 1.25em; height: 1.25em; }
.of-marka .of-slowo { font-size: 1em; }

/* podpisy modułów na ekranie */
.podpis { position: absolute; left: clamp(1rem, 4vw, 3rem); bottom: calc(clamp(1rem, 4vh, 2.5rem) + env(safe-area-inset-bottom, 0px));
  width: min(26rem, calc(100vw - 2rem)); display: grid; pointer-events: none; z-index: 3; }
.podpis-k { grid-area: 1 / 1; background: rgba(16, 17, 20, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 18px; padding: 1.1rem 1.3rem; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.4s; }
.podpis-k.on { opacity: 1; transform: none; }
.podpis-k h3 { font-size: 1.35rem; color: var(--kosc); }
.podpis-k p { margin-top: 0.4rem; color: var(--tekst-c-2); }
.kroki { position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: calc(clamp(1.6rem, 5vh, 3rem) + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 0.5rem; opacity: 0; transition: opacity 0.4s; z-index: 3; }
.kroki.on { opacity: 1; }
.kroki i { width: 2.2rem; height: 0.25rem; border-radius: 99px; background: #3a3d43; }
.kroki i.on { background: var(--braz-poler); }

@media (max-aspect-ratio: 1/1) {
  /* kadr 4:5 ma u góry ok. 30% czerni: laptop zaczyna się ok. 50svh − 2,5vw, napis stoi tuż nad nim */
  .kadr { width: 100vw; aspect-ratio: 4 / 5; bottom: auto; top: calc(50svh - 40vw); }
  .hero-tekst { top: auto; bottom: calc(50svh + 2.5vw + 1.5rem); }
  .podpis { left: 0.75rem; right: 0.75rem; width: auto; }
  .kroki { display: none; }
}

/* makieta Ordiflor */
.mock { background: #1e2023; border: 1px solid #33363b; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,0.8); font-size: clamp(0.62rem, 1.45vw, 0.95rem); }
.mock-top { display: flex; align-items: center; gap: 0.7em; padding: 0.65em 1em; background: #141619;
  border-bottom: 1px solid #2c2f34; color: var(--kosc); font-weight: 650; }
.mock-top .kropki { display: flex; gap: 0.35em; }
.mock-top .kropki i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #3e4147; }
.mock-top .adres { margin-left: auto; color: var(--tekst-c-2); font-weight: 400; font-size: 0.85em; }
.mock-cia { display: grid; grid-template-columns: 11em 1fr; min-height: 24em; }
.mock-nav { background: #141619; border-right: 1px solid #2c2f34; padding: 0.8em 0; }
.mock-nav a { display: block; padding: 0.5em 1.1em; color: var(--tekst-c-2); text-decoration: none; }
.mock-nav a.on { color: var(--braz-ciemny); background: var(--braz-poler); font-weight: 650; }
.mock-main { padding: 1em 1.2em 1.2em; }
.mock-main .mock-h { font-size: 1.25em; font-weight: 650; color: var(--kosc); letter-spacing: 0; line-height: 1.15; }
.kafle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7em; margin: 0.9em 0; }
.kafel { background: #24262a; border: 1px solid #33363b; border-radius: 8px; padding: 0.7em 0.9em; }
.kafel small { color: var(--tekst-c-2); display: block; }
.kafel b { font-size: 1.5em; font-weight: 800; color: var(--kosc); font-variant-numeric: tabular-nums; }
.kafel b em { font-style: normal; color: var(--braz-poler); }
table.mt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mt th, .mt td { text-align: left; padding: 0.45em 0.6em; border-bottom: 1px solid #2c2f34; color: var(--tekst-c); }
.mt th { color: var(--tekst-c-2); font-weight: 500; }
.mt td.n, .mt th.n { text-align: right; }
.mt .ok { color: #9fc49a; } .mt .zle { color: #d99a7c; }
.pasek { height: 0.5em; border-radius: 99px; background: #2c2f34; overflow: hidden; }
.pasek i { display: block; height: 100%; background: var(--braz-poler); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.slupki { display: flex; align-items: flex-end; gap: 0.45em; height: 7em; margin-top: 0.8em; }
.slupki i { flex: 1; background: linear-gradient(180deg, var(--braz-poler), var(--braz)); border-radius: 3px 3px 0 0;
  transform-origin: bottom; transform: scaleY(0.08); transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.mock .dane-info { color: var(--tekst-c-2); font-size: 0.8em; padding: 0.6em 1.2em 0.8em; }

/* ostatni krok sceny: zaproszenie na pokaz Ordiflor; komputer: duża karta na środku nad przygaszonym Ordiflorem */
.cta-of { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 4.5rem 1.25rem 1.5rem;
  background: rgba(4, 5, 7, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.45s; }
.cta-of.on { opacity: 1; pointer-events: auto; }
.cta-karta { width: min(40rem, 100%); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.5rem, 3vw, 2.6rem); border-radius: 22px;
  background: rgba(16, 17, 20, 0.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transform: translateY(16px); transition: transform 0.5s cubic-bezier(.2, .7, .2, 1); }
.cta-of.on .cta-karta { transform: none; }
.cta-karta .of-marka { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.01em; }
.cta-karta .of-d { fill: #8fddb4; }
.cta-karta .of-p { fill: #ff8cb8; }
.cta-karta .of-slowo { color: #8fddb4; }
.cta-karta .of-slowo b { color: #ff8cb8; }
.cta-karta h3 { margin-top: 0.7rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--kosc); }
.cta-karta .cta-dlugi, .cta-karta .cta-krotki { margin-top: 0.8rem; color: var(--tekst-c-2); font-size: 1.1rem; }
.cta-karta .cta-krotki { display: none; }
.cta-przyciski { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; }
.cta-karta .demo-btn { margin-top: 0; background: var(--braz-poler); color: var(--braz-ciemny); }
.cta-karta .demo-btn:focus-visible { outline-color: var(--braz-poler); }
.cta-karta .tel-link { color: var(--kosc); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--braz-poler); padding: 0.6rem 0 0.2rem; }
.cta-karta .tel-link:hover { color: var(--braz-poler); }
.kontakt .kto { font-size: 1rem; color: #55565a; }

/* marmur: oferta */
.jasna { background: var(--marmur); color: var(--tekst-j); padding: clamp(4rem, 10vh, 7rem) 1.25rem; }
.jasna .srodek { max-width: 62rem; margin-inline: auto; }
.jasna h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--tekst-j); }
.jasna .wstep { margin-top: 1.1rem; color: var(--tekst-j-2); font-size: 1.15rem; max-width: 40rem; }
.oferta { margin-top: 3rem; border-top: 2px solid var(--tekst-j); }
.of { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 0.6rem 2.5rem; padding: 1.6rem 0;
  border-bottom: 1px solid #d7d6d1; }
.of h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.01em; }
.of h3 span { color: var(--braz); font-weight: 650; }
.of p { color: var(--tekst-j-2); max-width: 36rem; }

/* technologie */
.tech { background: var(--braz-glebia); padding: clamp(4rem, 10vh, 7rem) 1.25rem; }
.tech .srodek { max-width: 62rem; margin-inline: auto; }
.tech h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--kosc); }
.tech .wstep { margin-top: 1.1rem; color: var(--tekst-c-2); font-size: 1.15rem; max-width: 40rem; }
.tech-lista { margin-top: 3rem; border-top: 2px solid var(--braz-poler); }
.t { border-bottom: 1px solid #2c2f34; opacity: 0; transform: translateX(-10px); transition: opacity 0.6s, transform 0.6s; }
.t.on { opacity: 1; transform: none; }
.t-head { display: grid; grid-template-columns: minmax(11rem, 17rem) 1fr auto; gap: 0.4rem 2.5rem; align-items: baseline;
  width: 100%; text-align: left; padding: 1.5rem 0; margin: 0; background: none; border: 0; color: inherit; font: inherit;
  cursor: pointer; }
.t .nazwa { font: 700 clamp(1.25rem, 3vw, 1.9rem)/1.2 var(--mono); color: var(--tekst-c-2); letter-spacing: -0.02em;
  transition: color 0.6s; min-height: 1.2em; }
.t.on .nazwa { color: var(--braz-poler); }
.t.pisze .nazwa::after { content: "▌"; color: var(--braz-poler); animation: kursor 0.8s steps(1) infinite; }
@keyframes kursor { 50% { opacity: 0; } }
.t-krotko { color: var(--tekst-c-2); max-width: 36rem; transition: color 0.6s; }
.t.on .t-krotko { color: var(--tekst-c); }
.t-plus { color: var(--braz-poler); font: 500 1.6rem/1 var(--mono); transition: transform 0.35s; align-self: center; }
.t[aria-expanded] .t-plus { display: inline-block; }
.t.otwarty .t-plus { transform: rotate(45deg); }
.t-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(.2,.7,.2,1); }
.t-body > div { overflow: hidden; }
.t-body p { color: var(--tekst-c-2); max-width: 42rem; padding: 0 0 1.5rem; }
.t-body p b { color: var(--braz-poler); font-weight: 650; }
.t.otwarty .t-body { grid-template-rows: 1fr; }

/* wstęp sekcji ofertowej na ciemnym */
.sekcja-wstep { background: var(--braz-ciemny); padding: clamp(4rem, 10vh, 7rem) 1.25rem 1rem; }
.sekcja-wstep .srodek { max-width: 62rem; margin-inline: auto; }
.sekcja-wstep h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--kosc); }
.sekcja-wstep .wstep { margin-top: 1.1rem; color: var(--tekst-c-2); font-size: 1.15rem; max-width: 40rem; }

/* strony internetowe (jasna) */
.www-rzad { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem 3.5rem; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid #d7d6d1; }
.www-rzad h3 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.018em; }
.www-rzad .h-seo { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.018em; }
.www-rzad :is(h3, h2) em { font-style: normal; color: var(--braz); }
.www-rzad p { margin-top: 0.8rem; color: var(--tekst-j-2); max-width: 32rem; }
.www-rzad ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--tekst-j-2); display: grid; gap: 0.45rem; }
.fon { justify-self: center; width: min(15.5rem, 70vw); aspect-ratio: 9 / 18.5; background: #fdfcfa; border: 1px solid #d7d6d1;
  border-radius: 2.2rem; box-shadow: 0 30px 70px -30px rgba(29, 30, 32, 0.35); padding: 0.55rem; display: grid; }
.fon-ekran { border-radius: 1.7rem; overflow: hidden; background: #f7f5f1; display: grid; grid-template-rows: auto 1fr auto auto; }
.fon-top { display: flex; justify-content: space-between; padding: 0.6rem 0.9rem 0.3rem; font-size: 0.72rem; font-weight: 650; color: var(--tekst-j); }
.fon-top span:last-child { color: var(--tekst-j-2); font-weight: 400; }
.fon img { width: 86%; max-width: 100%; margin: auto; display: block; }
@keyframes lewituj { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-0.55rem) rotate(1.2deg); } }
.fon-info { padding: 0 0.9rem 0.65rem; }
.fon-info b { display: block; font-size: 0.9rem; color: var(--tekst-j); letter-spacing: -0.01em; }
.fon-info small { color: var(--tekst-j-2); font-variant-numeric: tabular-nums; }
.fon-cta { margin: 0 0.7rem 0.7rem; text-align: center; background: var(--braz); color: var(--marmur); font-weight: 650;
  font-size: 0.88rem; padding: 0.7rem; border-radius: 0.9rem; }
.fon-podpis { text-align: center; font-size: 0.85rem; color: var(--tekst-j-2); margin-top: 0.8rem; }
.mini-tabela { justify-self: stretch; border-top: 2px solid var(--tekst-j); font-variant-numeric: tabular-nums; }
.mini-tabela div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 0; border-bottom: 1px solid #d7d6d1;
  color: var(--tekst-j-2); }
.mini-tabela div b { color: var(--tekst-j); font-weight: 650; white-space: nowrap; }
.seo-list { justify-self: stretch; display: grid; gap: 0.6rem; }
.seo-list div { display: flex; gap: 0.7rem; align-items: baseline; color: var(--tekst-j-2); }
.seo-list i { font-style: normal; color: var(--braz); font-weight: 800; }

/* strony www: scena z urządzeniami (jasna) */
#s-www { height: 220svh; background: var(--marmur); }
#s-www .lep { background: var(--marmur); display: grid; align-content: center; justify-items: center; gap: clamp(1.2rem, 4vh, 2.8rem);
  padding-top: 3.6rem; color: var(--tekst-j); }
.www-wstep { width: min(94vw, 1180px); }
.www-wstep h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--tekst-j); }
.www-wstep .wstep { margin-top: 0.8rem; color: var(--tekst-j-2); font-size: 1.1rem; max-width: 40rem; }
.www-uklad { width: min(94vw, 1180px); display: grid; grid-template-columns: minmax(16rem, 2fr) 3fr; gap: 3rem; align-items: center; color: var(--tekst-j); }
.www-teksty { display: grid; }
.www-tekst { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity 0.45s, transform 0.45s; }
.www-tekst.on { opacity: 1; transform: none; }
.www-tekst h3 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); color: var(--tekst-j); }
.www-tekst h3 em { font-style: normal; color: var(--braz); }
.www-tekst p { margin-top: 1rem; color: var(--tekst-j-2); font-size: 1.1rem; max-width: 26rem; }
.www-scena { position: relative; display: grid; align-items: center; justify-items: stretch; min-height: 50svh; width: 100%; min-width: 0; }
.urzadzenie { grid-area: 1 / 1; width: 100%; display: grid; justify-items: center; align-items: center; opacity: 0; transition: opacity 0.45s, transform 0.45s; }
.urzadzenie.on { opacity: 1; }
.okno { width: min(100%, 40rem); justify-self: center; background: #fdfcfa; border: 1px solid #d7d6d1; border-radius: 0.9rem; overflow: hidden;
  box-shadow: 0 34px 80px -32px rgba(29, 30, 32, 0.4); transform: scale(0.96); }
.urzadzenie.on .okno { transform: none; }
.okno-bar { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.9rem; border-bottom: 1px solid #e4e2dc; }
.okno-bar .kropki { display: flex; gap: 0.33rem; }
.okno-bar .kropki i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #d0cec7; }
.okno-bar span { font: 0.74rem/1 var(--mono); color: var(--tekst-j-2); background: #f1efe9; border-radius: 99px; padding: 0.3rem 0.8rem; }
.duet { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 0; width: 100%; }
.duet { justify-self: center; }
.duet .fon { width: min(12.5rem, 40vw); z-index: 2; }
.tablet { width: min(24rem, 52vw); aspect-ratio: 4 / 3; background: #fdfcfa; border: 1px solid #d7d6d1; border-radius: 1.3rem;
  box-shadow: 0 30px 70px -30px rgba(29, 30, 32, 0.35); padding: 0.55rem; margin-left: -2.2rem;
  transform: translateX(120%); opacity: 0; will-change: transform, opacity; }
.tablet-ekran { height: 100%; border-radius: 0.85rem; overflow: hidden; background: #f7f5f1; }
/* wspólna mini-strona w urządzeniach */
.ministrona { font-size: 0.8rem; height: 100%; display: grid; grid-template-rows: auto 1fr; }
.ministrona .ms-nav { display: flex; justify-content: space-between; align-items: center; padding: 0.7em 1.1em;
  background: var(--braz-glebia); color: var(--kosc); font-weight: 650; }
.ministrona .ms-nav span { color: var(--tekst-c-2); font-weight: 400; font-size: 0.85em; }
.ministrona .ms-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1em; padding: 1.1em 1.3em; }
.ministrona .ms-hero img { width: auto; max-width: min(100%, 9.5rem); max-height: 11rem; height: auto; margin-inline: auto; display: block; }
.ministrona .ms-h { margin: 0; font-size: 1.25em; font-weight: 800; letter-spacing: -0.015em; color: var(--tekst-j); line-height: 1.15; }
.ministrona .ms-hero p { margin: 0.4em 0 0; color: var(--tekst-j-2); font-size: 0.9em; }
.ministrona .ms-btn { display: inline-block; margin-top: 0.8em; background: var(--braz); color: var(--marmur); font-weight: 650;
  font-size: 0.85em; padding: 0.5em 1em; border-radius: 99px; }
.fon .ministrona { font-size: 0.62rem; }
.fon .ministrona .ms-hero { grid-template-columns: 1fr; text-align: center; }
.okno .ministrona { min-height: 16rem; }

/* przegląd i przyspieszanie: wyścig ładowania */
.wyscig { justify-self: stretch; display: grid; gap: 1rem; border-top: 2px solid var(--tekst-j); padding-top: 1.3rem; }
.w-rzad { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr auto; gap: 1rem; align-items: center; color: var(--tekst-j-2); }
.w-rzad b { color: var(--tekst-j); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tor { height: 0.6rem; border-radius: 99px; background: #e2e0da; overflow: hidden; }
.tor i { display: block; height: 100%; width: 0; border-radius: 99px; }
.tor .wolny { background: #b9b6ae; }
.tor .szybki { background: var(--braz); }
.wyscig.start .wolny { width: 100%; transition: width 4.8s linear; }
.wyscig.start .szybki { width: 25%; transition: width 1.2s cubic-bezier(.1,.7,.2,1); }
.w-btn { justify-self: start; background: none; border: 1px solid var(--tekst-j); color: var(--tekst-j); font: 650 0.88rem/1 var(--font);
  min-height: 44px; padding: 0 1.1rem; border-radius: 99px; cursor: pointer; }
.wyscig small { color: var(--tekst-j-2); }

/* opieka (ciemna) */
.opieka-s { background: var(--braz-ciemny); padding: clamp(4rem, 10vh, 7rem) 1.25rem; }
.opieka-s .srodek { max-width: 62rem; margin-inline: auto; }
.opieka-s h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--kosc); }
.opieka-s .wstep { margin-top: 1.1rem; color: var(--tekst-c-2); font-size: 1.15rem; max-width: 40rem; }
.op-siatka { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; }
.op { border-top: 2px solid var(--braz-poler); padding-top: 1rem; }
.op b { font-size: 1.15rem; color: var(--kosc); letter-spacing: -0.01em; }
.op p { margin-top: 0.4rem; color: var(--tekst-c-2); }

/* nasze produkty (jasna) */
.produkty { background: var(--marmur); color: var(--tekst-j); padding: clamp(4rem, 10vh, 7rem) 1.25rem; }
.produkty .srodek { max-width: 62rem; margin-inline: auto; }
.produkty h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.produkt { margin-top: 2.6rem; border-top: 2px solid var(--tekst-j); padding-top: 1.6rem;
  display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 1rem 2.5rem; align-items: start; }
.produkt .nazwa-p { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; }
.produkt p { color: var(--tekst-j-2); max-width: 34rem; }
.demo-btn { display: inline-block; margin-top: 1.1rem; background: var(--braz); color: var(--marmur); text-decoration: none;
  font-weight: 650; padding: 0.75rem 1.4rem; border-radius: 99px; }
.demo-btn:focus-visible { outline: 2px solid var(--tekst-j); outline-offset: 3px; }
.demo-info { font-size: 0.9rem; margin-top: 0.6rem; color: var(--tekst-j-2); }

/* odsłanianie przy wejściu w kadr (wspólne) */
.odslon { opacity: 0; transform: translateY(20px); transition: opacity 0.65s cubic-bezier(.2,.7,.2,1), transform 0.65s cubic-bezier(.2,.7,.2,1); }
.odslon.on { opacity: 1; transform: none; }

/* urządzenia: miękki cień podłogi i wjazd */
.www-scena .podloga { position: absolute; left: 50%; bottom: 6%; width: 70%; height: 3.5rem; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(29, 30, 32, 0.22), transparent 70%); filter: blur(6px); pointer-events: none; }
.urzadzenie .okno, .duet .fon, .tablet { will-change: transform; }
.urzadzenie[data-krok="0"] .okno { transform: translateY(26px) scale(0.95); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.urzadzenie[data-krok="0"].on .okno { transform: none; }
.duet .fon { transform: translateY(34px); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.urzadzenie.on .fon { transform: none; }

/* przyspieszanie po ciemnej stronie, z wielkim licznikiem */
.szybkosc { background: var(--braz-glebia); padding: clamp(4rem, 12vh, 8rem) 1.25rem; }
.szybkosc .srodek { max-width: 62rem; margin-inline: auto; display: grid; gap: 2.2rem; }
.szybkosc h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--kosc); }
.szybkosc .wstep { color: var(--tekst-c-2); font-size: 1.15rem; max-width: 40rem; margin-top: -1rem; }
.licznik { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; }
.licznik b { font-size: clamp(4.4rem, 13vw, 9rem); font-weight: 800; letter-spacing: -0.04em; color: var(--braz-poler);
  font-variant-numeric: tabular-nums; line-height: 1; }
.licznik span { color: var(--tekst-c-2); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 16rem; }
.szybkosc .wyscig { border-top: 1px solid #2c2f34; padding-top: 1.6rem; }
.szybkosc .w-rzad { color: var(--tekst-c-2); }
.szybkosc .w-rzad b { color: var(--kosc); font-size: 1rem; }
.szybkosc .tor { background: #24262a; }
.szybkosc .tor .wolny { background: #4a4d53; }
.szybkosc .tor .szybki { background: var(--braz-poler); }
.szybkosc .w-btn { border-color: var(--tekst-c-2); color: var(--tekst-c); }
.szybkosc .wyscig small { color: var(--tekst-c-2); }

/* seo: ptaszki wchodzą kolejno */
.seo-list div { opacity: 0; transform: translateX(-12px); transition: opacity 0.55s, transform 0.55s; }
.seo-list.on div { opacity: 1; transform: none; }
.seo-list div:nth-child(2) { transition-delay: 0.12s; }
.seo-list div:nth-child(3) { transition-delay: 0.24s; }
.seo-list div:nth-child(4) { transition-delay: 0.36s; }

/* opieka: pozycje wchodzą kolejno, kreska rośnie */
.op { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.6s; border-top: 0; position: relative; padding-top: 1.1rem; }
.op::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--braz-poler); transition: width 0.8s cubic-bezier(.2,.7,.2,1); }
.op-siatka.on .op { opacity: 1; transform: none; }
.op-siatka.on .op::before { width: 100%; }
.op-siatka .op:nth-child(2), .op-siatka.on .op:nth-child(2)::before { transition-delay: 0.12s; }
.op-siatka .op:nth-child(3), .op-siatka.on .op:nth-child(3)::before { transition-delay: 0.24s; }
.op-siatka .op:nth-child(4), .op-siatka.on .op:nth-child(4)::before { transition-delay: 0.36s; }

/* produkty: laptop jako zdjęcie produktu */
.produkt-scena { position: relative; justify-self: center; width: min(100%, 30rem); }
.produkt-scena { background: #000; border-radius: 1.2rem; overflow: hidden; }
.produkt-scena img { width: 100%; height: auto; display: block; }


/* patyna: kontakt */
.kontakt { background: var(--patyna); color: var(--tekst-j); padding: clamp(4rem, 12vh, 8rem) 1.25rem; }
.kontakt .srodek { max-width: 62rem; margin-inline: auto; display: grid; gap: 1.3rem; justify-items: start; }
.kontakt h2 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.kontakt p { color: #55565a; font-size: 1.15rem; max-width: 36rem; }
.kontakt .adres { font-weight: 750; font-size: clamp(1.3rem, 3.4vw, 2rem); color: var(--tekst-j); letter-spacing: -0.01em; text-decoration: none; border-bottom: 2px solid var(--braz); }
.kontakt .adres:hover { color: var(--braz); }
footer { background: var(--braz-glebia); color: var(--tekst-c-2); padding: 2rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: 0.88rem; }
footer .srodek { max-width: 62rem; margin-inline: auto; display: grid; gap: 0.4rem; }
footer .uwaga { color: #838480; }

/* strony www K4: żywy przykładowy sklep; telefon i tablet obok siebie, w grafitowych ramkach jak laptop */
.okno { width: min(100%, 42rem); }
.okno .ministrona { height: 19rem; min-height: 0; }
.ministrona { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; height: 100%; background: #f7f5f1; color: var(--tekst-j); }
.ministrona .ms-nav b { margin-right: auto; }
.ms-kosz { display: inline-flex; align-items: center; gap: 0.45em; color: var(--tekst-c-2); font-weight: 400; font-size: 0.85em; margin-left: 1em; }
.ms-kosz i { font-style: normal; min-width: 1.6em; height: 1.6em; padding: 0 0.3em; border-radius: 99px; display: grid; place-items: center; background: #34363a;
  color: var(--kosc); font-weight: 650; transition: background 0.3s, color 0.3s, transform 0.35s cubic-bezier(.2,.7,.2,1); }
.ministrona.dodane .ms-kosz i { background: var(--braz-poler); color: var(--braz-ciemny); transform: scale(1.2); }
.ms-widoki { position: relative; }
.ms-widok { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.45s cubic-bezier(.2,.7,.2,1); }
.ms-widok.on { opacity: 1; transform: none; }
.ministrona .ms-hero { height: 100%; }
.ministrona .ms-btn { transition: filter 0.25s, transform 0.25s; }
.ministrona .ms-btn.cel, .ms-dodaj.cel { filter: brightness(1.18); transform: scale(1.05); }
.ms-katalog { padding: 1em 1.3em; overflow: hidden; }
.ms-tresc { display: grid; gap: 0.7em; transition: transform 0.8s cubic-bezier(.45,.05,.25,1); }
.ms-k-tytul { font-weight: 650; font-size: 1.05em; }
.ms-siatka { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; }
.ms-karta { background: #fff; border: 1px solid #e4e1da; border-radius: 0.8em; padding: 0.6em; display: grid; gap: 0.2em; justify-items: start;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s; }
.ms-karta img { width: 100%; height: 6em; object-fit: contain; }
.ms-karta b { font-size: 0.95em; letter-spacing: -0.01em; }
.ms-karta span { color: var(--tekst-j-2); font-size: 0.85em; }
.ms-karta.cel { transform: translateY(-4px); box-shadow: 0 14px 26px -16px rgba(29, 30, 32, 0.45); }
.ms-karta .ms-dodaj { margin-top: 0.35em; background: var(--braz); color: var(--marmur); font-weight: 650; padding: 0.35em 0.85em; border-radius: 99px; transition: filter 0.25s, transform 0.25s; }
.w-patyna { filter: hue-rotate(110deg) saturate(0.55) brightness(0.95); }
.w-mosiadz { filter: sepia(0.5) saturate(1.5) hue-rotate(-14deg) brightness(1.1); }
.w-p09 { transform: rotate(90deg); }
.w-grafit { transform: rotate(90deg); filter: grayscale(1) brightness(0.6) contrast(1.15); }
.w-p12 { transform: scaleX(-1) rotate(-20deg); }
.ms-toast { position: absolute; left: 50%; bottom: 0.9em; margin: 0; transform: translate(-50%, 160%); background: #1d1e21; color: var(--kosc);
  font-size: 0.85em; padding: 0.55em 1em; border-radius: 99px; white-space: nowrap; transition: transform 0.45s cubic-bezier(.2,.7,.2,1); z-index: 2; }
.ministrona.dodane .ms-toast { transform: translate(-50%, 0); }
/* wskaźnik: kursor w przeglądarce, kółko dotyku na telefonie i tablecie.
   Kontener tylko się przesuwa; kliknięcie animuje obrazek (::before), żeby nie zmieniać pozycji wskaźnika. */
.ms-wskaznik { position: absolute; left: 0; top: 0; width: 18px; height: 18px; opacity: 0; pointer-events: none; z-index: 3;
  transition: transform 0.8s cubic-bezier(.45,.05,.25,1), opacity 0.25s; }
.ms-wskaznik::before { content: ""; position: absolute; inset: 0; }
.ms-okno .ms-wskaznik::before { background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 1l12.5 7.6-5.4 1.2 2.9 6.2-2.3 1-2.9-6.3-4 3.8z' fill='%231d1e21' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform-origin: 2px 1px; }
.ms-okno.gra .ms-wskaznik { opacity: 1; }
.ms-fon .ms-wskaznik, .ms-tablet .ms-wskaznik { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.ms-fon .ms-wskaznik::before, .ms-tablet .ms-wskaznik::before { border-radius: 50%; background: rgba(29, 30, 32, 0.16); border: 2px solid rgba(29, 30, 32, 0.4); }
.ms-fon.dotyk .ms-wskaznik, .ms-tablet.dotyk .ms-wskaznik { opacity: 1; }
.ms-wskaznik.klik::before { animation: ms-klik 0.4s ease-out; }
@keyframes ms-klik { 40% { transform: scale(0.75); } }
/* telefon: jedna kolumna, duże karty (lista do przewinięcia); tablet: dwie kolumny */
.ms-fon { font-size: 0.62rem; }
.ms-fon .ms-hero { grid-template-columns: 1fr; text-align: center; align-content: center; }
.ms-fon .ms-hero img { order: -1; max-height: 8rem; }
.ms-fon .ms-opis { display: none; }
.ms-fon .ms-katalog { padding: 0.9em; }
.ms-fon .ms-siatka { grid-template-columns: 1fr; gap: 0.6em; }
.ms-fon .ms-karta img { height: 5.5em; }
.ms-tablet { font-size: 0.66rem; }
.ms-tablet .ms-siatka { grid-template-columns: repeat(2, 1fr); }
.ms-tablet .ms-karta img { height: 4.6em; }
/* ramki urządzeń i ich wjazd: telefon od dołu, tablet z boku, oba w całości widoczne */
.fon { background: #1d1e21; border: 1px solid #3a3c41; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); padding: 0.42rem; }
.fon-ekran { display: block; background: #f7f5f1; }
.tablet { background: #1d1e21; border: 1px solid #3a3c41; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); padding: 0.5rem; margin-left: 0; width: min(25rem, 44vw); }
.tablet-ekran { background: #f7f5f1; }
.duet { grid-template-columns: auto auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.duet .fon { width: min(12rem, 26vw); }
.duet .tablet { transform: translateX(36px); opacity: 0; transition: transform 0.75s 0.18s cubic-bezier(.2,.7,.2,1), opacity 0.5s 0.18s; }
.urzadzenie.on .tablet { transform: none; opacity: 1; }
.ms-pauza { position: absolute; right: 0; bottom: -2.4rem; background: none; border: 1px solid #c9c6be; color: var(--tekst-j-2);
  font: 500 0.85rem/1 var(--font); min-height: 44px; padding: 0 1rem; border-radius: 99px; cursor: pointer; }
.ms-pauza:hover { color: var(--tekst-j); border-color: var(--tekst-j-2); }
.ms-pauza:focus-visible { outline: 2px solid var(--tekst-j); outline-offset: 3px; }

@media (max-width: 860px) {
  .mod-uklad { grid-template-columns: 1fr; gap: 1.6rem; align-content: center; }
  .mod-tekst p { font-size: 1rem; }
  .mock-cia { grid-template-columns: 1fr; }
  .mock-nav { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #2c2f34; }
  .of { grid-template-columns: 1fr; }
  .t-head { grid-template-columns: 1fr auto; }
  .t-head .t-krotko { grid-column: 1 / -1; }
  .t-head .t-plus { grid-row: 1; grid-column: 2; }
  .www-rzad { grid-template-columns: 1fr; }
  .www-uklad { grid-template-columns: 1fr; gap: 1.6rem; align-content: center; }
  .www-tekst p { font-size: 1rem; }
  .www-scena { min-height: 40svh; }
  .www-wstep .wstep { display: none; }
  /* urządzenia jako miniatura: układ w środku jak na komputerze, całość pomniejszona */
  .duet .fon { width: 13rem; }
  .ms-pauza { position: static; justify-self: end; margin-top: 0.75rem; }
  .tablet { width: 25rem; }
  /* telefon i tablet po kolei, każde osobno i większe */
  #s-www { height: 300svh; }
  .duet.tylko-fon .tablet, .duet.tylko-tablet .fon { display: none; }
  .duet.tylko-fon, .duet.tylko-tablet { grid-template-columns: auto; }
  .duet.tylko-fon .fon { animation: ms-wjazd-dol 0.7s cubic-bezier(.2,.7,.2,1); }
  .duet.tylko-tablet .tablet { animation: ms-wjazd-bok 0.7s cubic-bezier(.2,.7,.2,1); }
  .okno { width: 42rem; max-width: none; }
  /* skalę miniatury liczy skrypt z dostępnej szerokości (skalujUrzadzenia) */
  .op-siatka, .produkt { grid-template-columns: 1fr; }
  .kafle { grid-template-columns: repeat(3, 1fr); }
}
/* telefon i tablet (dotyk): sekcja stron na jeden ekran; przeglądarka przyciąga ją do górnej krawędzi i nie przelatuje
   jej jednym rzutem palca, a urządzenia zmieniają się ruchem palca (jeden ruch = jedno urządzenie, jak w scenie z laptopem) */
@media (max-width: 860px) and (max-aspect-ratio: 1/1) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  /* sięga ok. 6rem poniżej ekranu: pod pływającym paskiem Safari 26 widać jeszcze tło sekcji, nie następny blok */
  #s-www { height: calc(100lvh + 6rem); scroll-snap-align: start; scroll-snap-stop: always; }
  /* stoi w miejscu; sticky przy dolnej krawędzi dawał w Safari 26 pas pod paskiem. Stały układ: nagłówek i opis u góry,
     urządzenie w polu o stałej wysokości (skalę dobiera skrypt), przycisk pauzy na dole; przy zmianie urządzenia nic nie skacze */
  #s-www .lep { position: relative; align-content: stretch; grid-template-rows: auto minmax(0, 1fr); gap: 1rem;
    padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 0 1rem; }
  .www-uklad { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; min-height: 0; gap: 1rem; }
  .www-scena { min-height: 0; align-self: stretch; grid-template-rows: minmax(0, 1fr) auto; }
  .www-teksty { align-self: start; }
}
/* ekrany dotykowe: scena z laptopem sięga ok. 6rem poniżej ekranu, pod pływający pasek Safari 26 (tam ma być jej czerń,
   nie początek następnej sekcji); zawartość sceny zostaje w widocznej części */
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  #s-hero { height: calc(100lvh + 6rem); }
}
@keyframes ms-wjazd-dol { from { opacity: 0; transform: translateY(30px); } }
@keyframes ms-wjazd-bok { from { opacity: 0; transform: translateX(36px); } }
/* niskie okno w poziomie (telefon poziomo, duże powiększenie): sekcja WWW bez przypinania, oba kroki jeden pod drugim;
   niski telefon w pionie ma tryb „jeden ruch = jedno urządzenie” (blok wyżej) */
@media (max-height: 560px) and (min-aspect-ratio: 1001/1000) {
  #s-www { height: auto; }
  #s-www .lep { position: static; height: auto; overflow: visible; padding: 4.5rem 0 4rem; }
  .www-tekst, .urzadzenie { opacity: 1; transform: none; grid-area: auto; }
  .www-teksty, .www-scena { display: grid; gap: 2rem; }
  .duet .tablet { transform: none; opacity: 1; }
  .ms-pauza { position: static; justify-self: end; }
  .duet.tylko-tablet .fon { display: grid; }
  .duet.tylko-fon .tablet { display: block; }
  .duet.tylko-fon, .duet.tylko-tablet { grid-template-columns: auto auto; }
}
@media (prefers-reduced-motion: reduce) {
  .kod-ramka { display: none; }
  #s-hero { height: auto; }
  #s-hero .lep { position: static; height: auto; overflow: visible; display: grid; gap: 2rem; justify-items: center; padding: 5.5rem 0 4rem; }
  .kadr { position: relative; left: auto; top: auto; bottom: auto; transform: none; order: 2; }
  .hero-tekst { position: static; order: 1; animation: none; }
  .wjazd-tekst { opacity: 1; order: 3; margin-top: 2rem; }
  .app-ramka, .app-ramka.pion { position: relative; inset: auto; order: 4; opacity: 1; pointer-events: auto; width: min(94vw, 62rem); height: 36rem; transform: none; }
  .podpis { position: static; order: 5; width: min(94vw, 62rem); display: grid; gap: 1rem; }
  .podpis-k { grid-area: auto; opacity: 1; transform: none; }
  .kroki { display: none; }
  .cta-of { position: static; order: 6; inset: auto; display: block; padding: 0; background: none; opacity: 1; pointer-events: auto; width: min(94vw, 62rem); }
  .cta-karta { transform: none; transition: none; }
  .widok, .widok.on { transition: none; }
  #s-www { height: auto; }
  #s-www .lep { position: static; height: auto; padding: 5rem 0 4rem; }
  .www-wstep .wstep { display: block; }
  .www-tekst, .urzadzenie { opacity: 1; transform: none; grid-area: auto; }
  .www-teksty, .www-scena { display: grid; gap: 2rem; }
  .tablet { transform: none; opacity: 1; }
  .ms-pauza { display: none; }
  .t { opacity: 1; transform: none; }
  .t .nazwa { color: var(--braz-poler); } .t-krotko { color: var(--tekst-c); }
  .t.pisze .nazwa::after { content: none; }
  .t-body, .t-plus { transition: none; }
  .wyscig .wolny, .wyscig.start .wolny { width: 100%; transition: none; }
  .wyscig .szybki, .wyscig.start .szybki { width: 25%; transition: none; }
  .odslon, .seo-list div, .op { opacity: 1; transform: none; transition: none; }
  .op::before { width: 100%; transition: none; }
  .urzadzenie[data-krok="0"] .okno, .duet .fon { transform: none; transition: none; }
  .duet .fon, .duet .tablet { animation: none; }
  .pasek i { transition: none; }
}

/* produkcja: skip-link i odnośnik w stopce */
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 40; background: var(--braz-poler); color: var(--braz-ciemny);
  font-weight: 650; text-decoration: none; padding: 0.55rem 1.1rem; border-radius: 99px; }
.skip:focus { top: calc(0.75rem + env(safe-area-inset-top, 0px)); }
footer a { color: var(--tekst-c-2); text-underline-offset: 3px; display: inline-block; padding: 0.7rem 0; }
footer a:hover { color: var(--kosc); }

/* telefon (pion): wjazd kamery, aż ekran laptopa zajmie prawie całą szerokość; potem Magazyn, Kasa i Faktury */
@media (max-aspect-ratio: 1/1) and (prefers-reduced-motion: no-preference) {
  /* podpis modułu pod ekranem laptopa (--pod-ekranem: dolna krawędź ekranu po wjeździe, liczona w JS) */
  .podpis { top: calc(var(--pod-ekranem, 66svh) + 1rem); bottom: auto; }
  /* zaproszenie na pokaz: pod ekranem laptopa, w miejscu podpisu modułu, krótko i bez przygaszania aplikacji */
  .cta-of { inset: auto 0.75rem auto 0.75rem; top: calc(var(--pod-ekranem, 66svh) + 1rem); display: block; padding: 0; background: none; }
  .cta-karta { width: auto; padding: 1.1rem 1.3rem; border-radius: 18px; transform: translateY(12px); }
  .cta-karta .of-marka { font-size: 1.05rem; }
  .cta-karta h3 { margin-top: 0.4rem; font-size: 1.35rem; }
  .cta-karta .cta-dlugi { display: none; }
  .cta-karta .cta-krotki { display: block; margin-top: 0.4rem; font-size: 1rem; }
  .cta-przyciski { margin-top: 0.85rem; gap: 0.5rem 1rem; }
  /* klawiatura pod ekranem przygasa, gdy wchodzi aplikacja: na pierwszym planie zostają ekran i podpis */
  #s-hero .lep::after { content: ""; position: absolute; left: 0; right: 0; top: var(--pod-ekranem, 100%); bottom: 0; z-index: 1;
    pointer-events: none; opacity: 0; transition: opacity 0.6s;
    /* pełna czerń ok. 57vw pod ekranem, czyli na dolnej krawędzi renderu po podjeździe kadru */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82) 6rem, #000 57vw); }
  #s-hero .lep.przygas::after { opacity: 1; }
}
/* niski telefon (np. iPhone SE z paskami Safari): zaproszenie bez zdania, żeby zmieściło się pod ekranem laptopa */
@media (max-aspect-ratio: 1/1) and (max-height: 600px) and (prefers-reduced-motion: no-preference) {
  .cta-karta .cta-krotki { display: none; }
}
