/* Travel Gallery - strona wizytowka. Kolory jak w aplikacji (ciemny motyw, akcent #4ea3ff). */
:root {
  --bg: #0f1217;
  --bg2: #151a21;
  --bg3: #1c222b;
  --line: #2a323d;
  --txt: #e8edf3;
  --txt2: #aab4c0;
  --txt3: #7d8896;
  --acc: #4ea3ff;
  --acc2: #2b7fd4;
  --green: #3ecf8e;
  --orange: #ff9f43;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.08rem; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 800px; }
.muted { color: var(--txt2); }
.small { font-size: .86rem; }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------- naglowek ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 18, 23, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(42, 50, 61, .6);
}
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--txt); font-weight: 650; font-size: 1.2rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-box { display: flex; align-items: center; gap: 4px 12px; min-width: 0; }
.top .by { font-size: 1.2rem; }
.acc { color: var(--acc); }
/* dopisek "by Kwappy" z kaczuszka (link do kwappy.com) - obok nazwy w naglowku i w stopce */
.by { display: inline-flex; align-items: center; gap: 7px; color: var(--txt3); font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.by > a, .by > span { display: inline-flex; align-items: center; gap: 7px; color: var(--txt2); }
.by > a:hover { color: var(--txt); text-decoration: none; }
.by > a:hover b { text-decoration: underline; }
.by img { flex: none; }
.by b { font-weight: 650; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--txt2); padding: 6px 11px; border-radius: 8px; font-size: .94rem; }
.nav a:hover { color: var(--txt); background: var(--bg3); text-decoration: none; }
.lang { border: 1px solid var(--line); color: var(--txt); padding: 5px 11px; border-radius: 999px; font-size: .88rem; white-space: nowrap; }
.lang:hover { border-color: var(--acc); text-decoration: none; }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu span, .menu span::before, .menu span::after {
  content: ""; position: absolute; left: 10px; width: 20px; height: 2px; background: var(--txt); border-radius: 2px; transition: transform .2s;
}
.menu span { top: 19px; }
.menu span::before { left: 0; top: -6px; }
.menu span::after { left: 0; top: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(78, 163, 255, .20), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(62, 207, 142, .10), transparent 60%);
}
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.kicker { color: var(--acc); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 750; margin-bottom: 20px; }
.lead { color: var(--txt2); font-size: 1.12rem; max-width: 36em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.note { color: var(--txt3); font-size: .9rem; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 12px;
  background: var(--bg3); color: var(--txt); border: 1px solid var(--line);
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; border-color: var(--acc); transform: translateY(-1px); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: #04121f; }
.btn.primary:hover { background: #6cb4ff; }
.btn.disabled { opacity: .55; cursor: default; transform: none; }
.btn .ic { width: 19px; height: 19px; }

.hero-art { position: relative; padding-bottom: 40px; }
.hero-web .shot figcaption, .hero-phone .shot figcaption { display: none; }
.hero-phone { position: absolute; right: -8px; bottom: 0; width: 30%; min-width: 130px; }

/* ---------- statystyki ---------- */
.stats { padding: 8px 0 40px; }
.stats ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats li { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stats b { display: block; font-size: 1.8rem; font-weight: 750; color: var(--txt); letter-spacing: -.02em; }
.stats span { color: var(--txt2); font-size: .92rem; }

/* ---------- sekcje ---------- */
.sec { padding: 80px 0; }
.sec.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-lead { color: var(--txt2); font-size: 1.08rem; max-width: 46em; margin: 12px 0 36px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feat { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat h3 { margin: 14px 0 8px; }
.feat p { color: var(--txt2); font-size: .95rem; }
.feat-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(78, 163, 255, .12); color: var(--acc); border: 1px solid rgba(78, 163, 255, .25);
}

.badge {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; margin-left: 6px;
  padding: 2px 8px 2px 6px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  color: var(--orange); background: rgba(255, 159, 67, .12); border: 1px solid rgba(255, 159, 67, .3);
}
.badge .ic { width: 12px; height: 12px; }

/* nabor testerow (test zamkniety Google Play) */
.beta-sec { padding: 8px 0 56px; }
.beta {
  border: 1px solid rgba(62, 207, 142, .45); border-radius: calc(var(--radius) + 4px); padding: 32px;
  background: linear-gradient(150deg, rgba(62, 207, 142, .10), rgba(78, 163, 255, .06) 45%, var(--bg2) 80%);
}
.beta .kicker { color: var(--green); }
.beta .sec-lead { margin-bottom: 24px; }
.beta-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.beta-steps li { display: flex; gap: 14px; background: rgba(15, 18, 23, .6); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.beta-steps .num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #04121f; font-weight: 700;
}
.beta-steps h3 { margin-bottom: 6px; }
.beta-steps p { color: var(--txt2); font-size: .93rem; margin-bottom: 14px; }

/* tryby pracy: telefon / PC / OneDrive */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mode.main { border-color: rgba(78, 163, 255, .55); box-shadow: 0 0 0 1px rgba(78, 163, 255, .25) inset; }
.mode-tag { margin: 16px 0 4px; color: var(--acc); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mode h3 { margin-bottom: 8px; }
.mode p:last-child { color: var(--txt2); font-size: .95rem; }

/* darmowa / Premium */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.plan { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan h3 { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; }
.plan-sub { color: var(--txt3); margin: 4px 0 18px; font-size: .92rem; }
.plan.premium { border-color: rgba(255, 159, 67, .5); background: linear-gradient(160deg, rgba(255, 159, 67, .09), var(--bg2) 55%); }
.plan.premium h3 .ic { color: var(--orange); width: 22px; height: 22px; }
.plan.premium .checks .ic { color: var(--orange); }
.plan-note { margin-top: 16px; max-width: 52em; }

/* ---------- zrzuty ---------- */
.shot { margin: 0; }
.shot figcaption { margin-top: 14px; }
.shot figcaption strong { display: block; font-size: 1rem; }
.shot figcaption span { display: block; color: var(--txt2); font-size: .9rem; margin-top: 4px; }
.frame { position: relative; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom img { width: 100%; }
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 16px; color: var(--txt3); font-size: .88rem;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #1a2029, #12161c);
}
.ph code { color: var(--acc); word-break: break-all; }

/* telefon */
.shot-phone .frame { border-radius: 30px; border: 7px solid #262c35; background: #0b0d10; }
.shot-phone .frame::before {
  content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; width: 11px; height: 11px; margin-left: -5px;
  border-radius: 50%; background: #05070a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .04);
}
.shot-phone .zoom img, .shot-phone .ph { aspect-ratio: 9 / 20; object-fit: cover; object-position: top; }
.phones {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 26px;
  overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory;
  scrollbar-color: var(--line) transparent;
}
.phones .shot { scroll-snap-align: start; }

/* przegladarka */
.shot-web .frame { border-radius: 12px; border: 1px solid var(--line); }
.shot-web .bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #1e242d; border-bottom: 1px solid var(--line); }
.shot-web .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a434f; }
.shot-web .zoom img, .shot-web .ph { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.webs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 30px; }
.webs .shot:first-child { grid-column: 1 / -1; }

/* okno serwera */
.videos { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.vid { margin: 0; }
.vid video { display: block; width: 100%; height: auto; background: #000; }
.vid figcaption { margin-top: 14px; }
.vid figcaption strong { display: block; font-size: 1rem; }
.vid figcaption span { display: block; color: var(--txt2); font-size: .9rem; margin-top: 4px; }
.vid-web .frame { border-radius: 12px; border: 1px solid var(--line); }
.vid-web .bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #1e242d; border-bottom: 1px solid var(--line); }
.vid-web .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a434f; }
.vid-web video { aspect-ratio: 16 / 10; }
.vid-phone .frame { border-radius: 30px; border: 7px solid #262c35; }
.vid-phone video { aspect-ratio: 720 / 1604; }
@media (max-width: 820px) { .videos { grid-template-columns: 1fr; } .vid-phone { max-width: 320px; margin: 0 auto; } }
.server { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.server .sec-lead { margin-bottom: 22px; }
.shot-server .frame { border-radius: 10px; border: 1px solid var(--line); }
.shot-server .zoom img { width: 100%; }
.shot-server .ph { aspect-ratio: 4 / 3; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--txt2); }
.checks .ic { color: var(--green); width: 20px; height: 20px; margin-top: 3px; }

/* jak to dziala */
.how { list-style: none; margin: 36px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.how li { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.how .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--acc); color: #04121f; font-weight: 750; margin-bottom: 14px;
}
.how h3 { margin-bottom: 8px; }
.how p { color: var(--txt2); font-size: .95rem; }
.privacy {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(62, 207, 142, .08), rgba(78, 163, 255, .08)); border: 1px solid var(--line);
}
.privacy .feat-ic { background: rgba(62, 207, 142, .12); color: var(--green); border-color: rgba(62, 207, 142, .3); }
.privacy h3 { margin-bottom: 6px; }
.privacy p { color: var(--txt2); }

/* pobieranie */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.dl-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; justify-items: start; }
.dl-card h3 { margin-top: 4px; }
.dl-card.req { background: transparent; }
.sha { font-size: .78rem; color: var(--txt3); width: 100%; }
.sha span { display: block; }
.sha code { word-break: break-all; color: var(--txt2); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--txt3); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--txt2); padding: 0 0 20px; }

/* stopka */
.foot { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--txt3); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.foot-brand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--txt2); font-size: 1.05rem; font-weight: 600; }
.foot .by { font-size: inherit; font-weight: 400; }
.foot .copy { color: var(--txt3); font-weight: 400; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--txt2); }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 50; background: rgba(5, 7, 10, .94);
  display: flex; align-items: center; justify-content: center; padding: 24px 64px;
}
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; border-radius: 8px; box-shadow: var(--shadow); }
.lb figcaption { color: var(--txt2); text-align: center; max-width: 60em; font-size: .95rem; }
.lb button {
  position: absolute; background: rgba(28, 34, 43, .85); color: var(--txt); border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer;
}
.lb button:hover { border-color: var(--acc); }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; margin-top: -22px; }
.lb-next { right: 12px; top: 50%; margin-top: -22px; }

/* ---------- strony tekstowe (polityka prywatnosci) ---------- */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--txt2); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; }

/* ---------- poradniki (guides.php): krok = tekst + zrzut z ramkami w miejscach do dotkniecia ---------- */
.guides .wrap { max-width: 1000px; }
.g-toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 26px 0 8px; }
.g-toc a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); color: var(--txt); font-weight: 600; line-height: 1.3; }
.g-toc a:hover { border-color: var(--acc); text-decoration: none; }
.g-toc .ic { color: var(--acc); }
.guide { padding-top: 40px; }
.doc .guide h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0 0 10px; }
.guide h2 .ic { width: 28px; height: 28px; color: var(--acc); }
.g-lead { max-width: 760px; }
.g-step { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 36px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.g-step:last-child { border-bottom: 0; }
.g-step.pc { grid-template-columns: minmax(0, 1fr); }
.g-step h3 { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; margin-bottom: 8px; }
.g-n { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: #04121f; font-size: .95rem; font-weight: 700; }
.g-step code { background: var(--bg3); padding: 1px 6px; border-radius: 5px; color: var(--txt); }
.g-marks { list-style: none; counter-reset: m; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.g-marks li { counter-increment: m; display: flex; align-items: center; gap: 10px; color: var(--txt); font-size: .93rem; }
.g-marks li::before { content: counter(m); display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #1d1206; font-size: .78rem; font-weight: 700; }
.g-shot { position: relative; display: block; background: #000; box-shadow: var(--shadow); }
.g-shot.phone { border: 6px solid #0b0e12; border-radius: 28px; outline: 1px solid var(--line); }
.g-shot.pc { border: 1px solid var(--line); border-radius: 10px; max-width: calc(100% - 28px); margin-left: 28px; justify-self: start; }
.g-shot img { width: 100%; border-radius: 22px; }
.g-shot.pc img { border-radius: 9px; }
.g-shot .hl { position: absolute; border: 3px solid var(--orange); border-radius: 10px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 18px rgba(255, 159, 67, .55); animation: g-pulse 2.4s ease-in-out infinite; pointer-events: none; }
.g-shot .hl b { position: absolute; top: 50%; left: -27px; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #1d1206; font-size: .75rem; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.g-shot.pc .hl { border-width: 2px; border-radius: 6px; }
@keyframes g-pulse { 50% { box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 4px rgba(255, 159, 67, .2); } }
@media (max-width: 720px) {
  .g-step { grid-template-columns: minmax(0, 1fr); }
  .g-shot.phone { width: min(78%, 300px); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .g-shot .hl { animation: none; } }
/* dok jak na stronie glownej (home.css), ale zawsze widoczny i zawsze na dole: strona glowna + 3 poradniki */
.has-dock { padding-bottom: 72px; }
.dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 80; display: flex; gap: 2px; padding: 6px; border-radius: 999px;
  background: rgba(21, 26, 33, .88); border: 1px solid var(--line); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: var(--shadow); transform: translateX(-50%);
}
.dock-bar { position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px; overflow: hidden; }
.dock-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--acc), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }
.dk { display: flex; align-items: center; gap: 0; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; color: var(--txt2); transition: background .3s, color .3s, gap .3s; }
.dk:hover { background: var(--bg3); color: var(--txt); text-decoration: none; gap: 8px; }
.dk .ic { width: 20px; height: 20px; }
.dk span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .88rem; font-weight: 600; transition: max-width .45s cubic-bezier(.2, .7, .2, 1); }
.dk:hover span, .dk.on span { max-width: 11em; }
.dk.on { background: var(--acc); color: #04121f; gap: 8px; }
.dk.home { padding: 0 9px; }
@media (max-width: 720px) {
  .dk span, .dk.on span, .dk:hover span { max-width: 0; }
  .dk.on, .dk:hover { gap: 0; }
  .dk { padding: 0 11px; }
}

/* ---------- male ekrany ---------- */
@media (max-width: 980px) {
  .hero-in, .server { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-art { max-width: 640px; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: 1fr 1fr; }
  .dl-card.req { grid-column: 1 / -1; }
}
@media (max-width: 1140px) {
  .menu { display: block; margin-left: auto; }
  .nav {
    position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 14px;
    background: var(--bg2); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 6px; font-size: 1rem; }
  .lang { order: 3; }
  .menu { order: 4; margin-left: 0; }
  .brand-box { margin-right: auto; }
}
@media (max-width: 820px) {
  .webs { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .modes, .plans, .beta-steps { grid-template-columns: 1fr; }
  .beta { padding: 22px; }
}
/* na telefonie obok nazwy nie ma miejsca (jezyk + menu) - dopisek schodzi pod nazwe */
@media (max-width: 600px) {
  .brand { font-size: 1.05rem; }
  .brand img { width: 30px; height: 30px; }
  .brand-box { flex-direction: column; align-items: flex-start; gap: 0; }
  .top .by { margin-left: 40px; font-size: .82rem; gap: 5px; }
  .top .by img { width: 18px; height: 18px; }
}
@media (max-width: 560px) {
  .sec { padding: 56px 0; }
  .dl { grid-template-columns: 1fr; }
  .stats b { font-size: 1.5rem; }
  .hero-phone { width: 34%; min-width: 0; right: 0; }
  .shot-phone .frame { border-width: 5px; border-radius: 22px; }
  .phones { grid-auto-columns: 62%; gap: 18px; }
  .lb { padding: 16px 8px 70px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .menu span { transition: none; }
}
.webs .shot:last-child:nth-child(even) { grid-column: 1 / -1; }
