@font-face { font-family: 'Timeless Sans'; src: url('fonts/TimelessSansVF.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }

/* Strona główna czujni.app – te same kolory i font co aplikacja. */
:root {
  --bg: #F3F4F1; --surface: #FFFFFF; --surface-2: #ECEEEA; --ink: #14181C; --ink-2: #59616A; --ink-3: #8B9299; --line: #E0E3DE;
  --signal: #E2362A; --signal-soft: #FCE7E4; --official: #1F55C9; --official-soft: #E6EDFB; --ok: #1E8657; --ok-soft: #E2F3EA;
  --warn: #9A6500; --warn-soft: #FFF2D6; --warm: #B45F0E; --warm-soft: #FFF1DC;
  --glass: rgba(255, 255, 255, .62); --glass-edge: rgba(255, 255, 255, .75); --glass-hi: rgba(255, 255, 255, .8);
  --shadow: 0 1px 2px rgba(20, 24, 28, .06), 0 10px 30px rgba(20, 24, 28, .12);
  --shadow-lg: 0 2px 4px rgba(20, 24, 28, .06), 0 30px 60px -12px rgba(20, 24, 28, .28);
  --m-land: #EEF0EA; --m-park: #D6EBD2; --m-water: #BFDDF2; --m-block: #E2E4DE; --m-road: #FFFFFF; --m-edge: #D9DCD5;
  --frame: #14181C;
  --font: 'Timeless Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111417; --surface: #191D21; --surface-2: #22272C; --ink: #EDF0F2; --ink-2: #A2A9B0; --ink-3: #737B83; --line: #2A3036;
    --signal: #F04A3D; --signal-soft: #3A1E1B; --official: #7AA2FF; --official-soft: #1B2640; --ok: #4CC08A; --ok-soft: #15291F;
    --warn: #E8B042; --warn-soft: #2E2410; --warm: #F5B266; --warm-soft: #2B2214;
    --glass: rgba(25, 29, 33, .62); --glass-edge: rgba(255, 255, 255, .1); --glass-hi: rgba(255, 255, 255, .08);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45); --shadow-lg: 0 30px 60px -12px rgba(0, 0, 0, .7);
    --m-land: #1B2024; --m-park: #1E2C23; --m-water: #1A2C3B; --m-block: #23292E; --m-road: #2E353B; --m-edge: #14181B;
    --frame: #050607;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111417; --surface: #191D21; --surface-2: #22272C; --ink: #EDF0F2; --ink-2: #A2A9B0; --ink-3: #737B83; --line: #2A3036;
  --signal: #F04A3D; --signal-soft: #3A1E1B; --official: #7AA2FF; --official-soft: #1B2640; --ok: #4CC08A; --ok-soft: #15291F;
  --warn: #E8B042; --warn-soft: #2E2410; --warm: #F5B266; --warm-soft: #2B2214;
  --glass: rgba(25, 29, 33, .62); --glass-edge: rgba(255, 255, 255, .1); --glass-hi: rgba(255, 255, 255, .08);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45); --shadow-lg: 0 30px 60px -12px rgba(0, 0, 0, .7);
  --m-land: #1B2024; --m-park: #1E2C23; --m-water: #1A2C3B; --m-block: #23292E; --m-road: #2E353B; --m-edge: #14181B;
  --frame: #050607;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font);
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--official); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 25px;
  background: var(--signal); color: #fff; font-weight: 650; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--signal) 32%, transparent); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px color-mix(in srgb, var(--signal) 40%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; border-radius: 20px; box-shadow: none; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 18px; border-radius: 29px; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: var(--shadow); }

/* Nagłówek */
.top {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo-mark { width: 28px; height: 28px; color: var(--signal); flex: none; }
.tld { color: var(--ink-3); font-weight: 600; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav { display: none; } .top-in .btn { margin-left: auto; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font-weight: 650; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: beat 1.6s infinite; }
.lead { color: var(--ink-2); font-size: 19px; line-height: 1.55; }

/* Hero */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 750; margin: 16px 0 20px; }
.hero .lead { max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%231E8657' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-art { margin: 0; display: grid; place-items: center; position: relative; }
.hero-art::before {
  content: ""; position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 16%, transparent), transparent 70%);
}
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
}

/* Telefon: ekran rysowany w prawdziwych wymiarach appki (390 × 802) i pomniejszany */
.phone {
  --k: .6; position: relative; flex: none; padding: 9px; border-radius: calc(46px * var(--k) + 9px); background: var(--frame);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone::before { content: ""; position: absolute; z-index: 20; top: calc(9px + 11px * var(--k)); left: 50%; width: calc(120px * var(--k)); height: calc(34px * var(--k)); border-radius: 99px; background: #000; transform: translateX(-50%); }
.vp { position: relative; width: calc(390px * var(--k)); height: calc(802px * var(--k)); border-radius: calc(46px * var(--k)); overflow: hidden; isolation: isolate; }
.scr {
  --tb: 80px; position: absolute; top: 0; left: 0; width: 390px; height: 802px; transform: scale(var(--k)); transform-origin: 0 0;
  background: var(--m-land); color: var(--ink); font-size: 15px; line-height: 1.35; text-align: left; overflow: hidden;
}
.scr::after { content: ""; position: absolute; z-index: 30; left: 50%; bottom: 8px; width: 134px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .85; transform: translateX(-50%); }
.scr svg { flex: none; }
.mapbg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-land { fill: var(--m-land); }
.m-park { fill: var(--m-park); }
.m-water { fill: none; stroke: var(--m-water); stroke-width: 14; stroke-linecap: round; }
.m-block { fill: var(--m-block); }
.m-road { fill: none; stroke: var(--m-road); stroke-width: 9; stroke-linecap: round; }
.m-road-sm { stroke-width: 5; }
.glass, .a-brand, .a-toggle {
  background: var(--glass); border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 14px rgba(20, 24, 28, .12);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
}

/* Szkielet dla mniej ważnych treści */
.sk {
  display: block; height: 10px; border-radius: 6px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 8%, transparent) 30%, color-mix(in srgb, var(--ink) 3%, transparent) 50%, color-mix(in srgb, var(--ink) 8%, transparent) 70%);
  background-size: 300% 100%; animation: shimmer 2s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Górny pasek i komunikaty */
.a-top { position: absolute; z-index: 5; top: 58px; left: 12px; right: 12px; display: grid; gap: 10px; justify-items: start; }
.a-brand { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 20px; }
.a-mark { width: 22px; height: 22px; color: var(--signal); }
.a-brand b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.a-brand i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.a-alert {
  width: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); box-shadow: var(--shadow-sm); font-size: 13px; line-height: 1.35;
}
.a-alert > svg { width: 18px; height: 18px; color: var(--warn); margin-top: 1px; }
.a-alert b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--warn); margin-bottom: 1px; }
.a-alert.danger { background: var(--signal-soft); border-color: color-mix(in srgb, var(--signal) 30%, transparent); }
.a-alert.danger > svg, .a-alert.danger b { color: var(--signal); }
.a-x { margin-left: auto; color: var(--ink-3); }
.a-x svg { width: 18px; height: 18px; display: block; }

/* Znaczniki */
.a-pin {
  position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--c); border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3); display: grid; place-items: center;
}
.a-pin i { font: normal 16px/1 var(--emoji); }
.a-pin::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--c); animation: ring 1.8s ease-out infinite; }
.a-pin.sel { animation: pinSel 12s infinite; }
.a-pin.s2 { animation-delay: -8s; } .a-pin.s3 { animation-delay: -4s; }
@keyframes pinSel {
  0%, 28%, 100% { transform: scale(1.45); border-width: 3px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent), 0 6px 16px rgba(0, 0, 0, .35); z-index: 3; }
  33%, 95% { transform: none; border-width: 2px; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
}
.a-me { position: absolute; z-index: 2; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--official); border: 3px solid #fff; box-shadow: 0 0 0 9px color-mix(in srgb, var(--official) 22%, transparent), 0 2px 6px rgba(0, 0, 0, .3); }

/* Przyciski na mapie */
.a-toggle { position: absolute; z-index: 5; left: 12px; bottom: calc(var(--tb) + 158px); height: 44px; padding: 0 18px 0 14px; border-radius: 22px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.a-toggle svg { width: 18px; height: 18px; }
.a-toggle.dark { bottom: calc(var(--tb) + 16px); background: var(--ink); color: var(--bg); border-color: transparent; }
.a-mapbtn { position: absolute; z-index: 5; right: 12px; bottom: calc(var(--tb) + 158px); width: 44px; height: 44px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.a-mapbtn svg { width: 20px; height: 20px; }
.a-mapbtn.r { bottom: 12px; }

/* Karty zdarzeń przewijane w bok */
.a-cards { position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(var(--tb) + 6px); padding: 6px 0 12px; }
.a-track { display: flex; gap: 10px; transform: translateX(24px); animation: track 12s infinite cubic-bezier(.65, 0, .35, 1); }
.a-track.still { animation: none; }
@keyframes track { 0%, 28%, 100% { transform: translateX(24px); } 33%, 61% { transform: translateX(-328px); } 66%, 94% { transform: translateX(-680px); } }
.a-card {
  flex: 0 0 342px; height: 128px; display: flex; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
  border: 2px solid var(--glass-edge); transform: scale(.94); opacity: .8; animation: cardOn 12s infinite cubic-bezier(.65, 0, .35, 1);
}
.a-card.c2 { animation-delay: -8s; } .a-card.c3 { animation-delay: -4s; }
.a-card.skc { animation: none; transform: none; opacity: 1; }
@keyframes cardOn {
  0%, 28%, 100% { transform: none; opacity: 1; border-color: var(--c); box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 30%, transparent), var(--shadow); }
  33%, 95% { transform: scale(.94); opacity: .8; border-color: var(--glass-edge); box-shadow: var(--shadow); }
}
.a-ph { flex: none; width: 112px; position: relative; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, var(--surface-2)); }
.a-ph.sk { border-radius: 0; height: auto; }
.a-photo { position: absolute; inset: 0; background: linear-gradient(180deg, #A9C7E4 0%, #D3DCE2 44%, #8A949C 45%, #5B646C 100%); }
.a-photo::after { content: ""; position: absolute; left: 0; right: 0; top: 63%; height: 4%; background: repeating-linear-gradient(90deg, #E8E2C4 0 14px, transparent 14px 26px); opacity: .8; }
.a-emo { position: relative; font: 38px/1 var(--emoji); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.a-dist { position: absolute; left: 0; bottom: 10px; padding: 4px 10px 4px 8px; border-radius: 0 12px 12px 0; background: var(--warm-soft); color: var(--warm); font: 700 12.5px/1.3 var(--font); font-style: normal; }
.a-cb { flex: 1; min-width: 0; padding: 11px 14px; display: flex; flex-direction: column; gap: 2px; }
.a-cb .sk { margin: 5px 0 3px; }
.a-kick { font-size: 12.5px; font-weight: 600; color: var(--c); white-space: nowrap; }
.a-cb b { font-size: 16px; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.a-tags { margin-top: auto; display: flex; gap: 6px; }
.a-badge { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.a-badge.ok { background: var(--ok-soft); color: var(--ok); }
.a-badge.wait { background: var(--warn-soft); color: var(--warn); }
.a-badge.live { background: var(--signal-soft); color: var(--signal); }
.a-badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }

/* Dolny pasek */
.a-tabbar {
  position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; height: var(--tb); padding: 0 8px 18px; background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center;
}
.a-tab { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.a-tab svg { width: 22px; height: 22px; }
.a-tab.on { color: var(--ink); }
.a-tab-report { display: grid; place-items: center; }
.a-tab-report span { width: 60px; height: 60px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px color-mix(in srgb, var(--signal) 45%, transparent); transform: translateY(-10px); }
.a-tab-report svg { width: 26px; height: 26px; }

/* 01 Lista: nowe zdarzenie wskakuje na górę */
.a-sheet { position: absolute; z-index: 3; top: 54px; left: 0; right: 0; bottom: var(--tb); background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: 0 -6px 24px rgba(20, 24, 28, .12); display: flex; flex-direction: column; overflow: hidden; }
.a-handle { width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 9px auto 10px; flex: none; }
.a-shead { padding: 0 16px 12px; display: grid; gap: 4px; }
.a-shead b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.a-shead small { font-size: 13px; color: var(--ink-2); }
.a-chips { display: flex; gap: 8px; padding: 0 16px 12px; overflow: hidden; flex: none; }
.a-chip { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.a-chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.a-rows { flex: 1; animation: rows 7s infinite cubic-bezier(.3, .8, .3, 1); }
@keyframes rows { 0%, 12% { transform: translateY(-74px); } 20%, 100% { transform: none; } }
.a-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; height: 74px; padding: 12px 16px; border-top: 1px solid var(--line); overflow: hidden; }
.a-item > div { display: grid; gap: 5px; align-content: start; min-width: 0; }
.a-item b { font-size: 15px; font-weight: 600; }
.a-item small { font-size: 12.5px; color: var(--ink-2); }
.a-item .sk { height: 8px; }
.a-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); font: 20px/1 var(--emoji); }
.a-ic.sk { height: 40px; border-radius: 12px; }
.a-item.new { animation: newRow 7s infinite; }
@keyframes newRow { 0%, 12% { opacity: 0; } 20% { opacity: 1; background: color-mix(in srgb, var(--c) 12%, transparent); } 60%, 100% { opacity: 1; background: transparent; } }

/* Nakładki: zgłoszenie i szczegóły */
.a-panel { flex: none; width: 390px; height: 802px; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.a-panel.solo { position: absolute; inset: 0; }
.a-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 54px 8px 8px; background: var(--surface); border-bottom: 1px solid var(--line); }
.a-head b { flex: 1; font-size: 16px; font-weight: 600; }
.a-ib { width: 40px; height: 40px; display: grid; place-items: center; }
.a-ib svg { width: 22px; height: 22px; }
.a-btn { height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface-2); white-space: nowrap; }
.a-btn svg { width: 18px; height: 18px; }
.a-btn.dark { background: var(--ink); color: var(--bg); }
.a-btn.red { background: var(--signal); color: #fff; }
.a-btn.ghost { background: transparent; border: 1px solid var(--line); }
.a-btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.a-foot { flex: none; display: flex; padding: 10px 16px 30px; background: var(--surface); border-top: 1px solid var(--line); }
.a-foot .a-btn { flex: 1; }

/* 02 Zgłoszenie: krok 1 (miejsce) i krok 2 (co się dzieje) */
.a-steps { position: absolute; inset: 0; display: flex; width: 780px; animation: steps 12s infinite cubic-bezier(.65, 0, .35, 1); }
@keyframes steps { 0%, 20%, 97%, 100% { transform: none; } 24%, 92% { transform: translateX(-390px); } }
.a-rmap { flex: 1; position: relative; overflow: hidden; }
.a-pan { position: absolute; inset: -60px; animation: pan 12s infinite cubic-bezier(.3, .8, .3, 1); }
@keyframes pan { 0% { transform: translate(40px, 30px); } 9%, 100% { transform: none; } }
.a-hint { position: absolute; z-index: 2; top: 12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); font-size: 13px; padding: 7px 12px; border-radius: 10px; white-space: nowrap; }
.a-rpin { position: absolute; z-index: 3; left: 50%; top: 50%; color: var(--signal); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); transform: translate(-50%, -100%); animation: lift 12s infinite; }
.a-rpin svg { width: 40px; height: 48px; display: block; }
@keyframes lift { 0%, 8% { transform: translate(-50%, calc(-100% - 10px)); } 11%, 100% { transform: translate(-50%, -100%); } }
.a-rshadow { position: absolute; z-index: 2; left: 50%; top: 50%; width: 12px; height: 5px; border-radius: 50%; background: rgba(0, 0, 0, .3); transform: translate(-50%, -50%); }
.a-raddr { flex: none; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); font-size: 14px; }
.a-raddr svg, .a-where svg { width: 20px; height: 20px; color: var(--signal); }
.press1 { animation: press 12s infinite; }
@keyframes press { 0%, 16%, 20%, 100% { transform: none; } 18% { transform: scale(.95); filter: brightness(.85); } }
.a-form { flex: 1; padding: 16px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.a-where { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.a-where em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--official); }
.a-lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.a-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.a-cat { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 500; }
.a-cic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); font: 18px/1 var(--emoji); }
.a-cat.pick { animation: pick 12s infinite; }
.a-cat.pick .a-cic { animation: pickIc 12s infinite; }
@keyframes pick { 0%, 30% { border-color: var(--line); box-shadow: none; } 32%, 100% { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); } }
@keyframes pickIc { 0%, 30% { background: color-mix(in srgb, var(--c) 14%, transparent); } 32%, 100% { background: var(--c); } }
.a-titles { display: flex; flex-wrap: wrap; gap: 6px; animation: appear 12s infinite; }
.a-titles .a-chip { height: 32px; font-size: 13px; padding: 0 12px; }
@keyframes appear { 0%, 33% { opacity: 0; transform: translateY(6px); } 37%, 100% { opacity: 1; transform: none; } }
.t-pick { animation: tpick 12s infinite; }
@keyframes tpick { 0%, 43% { background: var(--surface); color: var(--ink); border-color: var(--line); } 45%, 100% { background: var(--ink); color: var(--bg); border-color: var(--ink); } }
.a-text { height: 64px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 9px; align-content: start; }
.a-photo-drop { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; color: var(--ink-2); }
.a-photo-drop > svg { width: 20px; height: 20px; }
.a-thumb { position: relative; flex: none; width: 0; height: 56px; margin-right: -12px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; animation: thumb 12s infinite; }
.a-thumb .a-emo { font-size: 24px; }
@keyframes thumb { 0%, 50% { width: 0; margin-right: -12px; } 54%, 100% { width: 56px; margin-right: 0; } }
.press2 { animation: press2 12s infinite; }
@keyframes press2 { 0%, 62%, 66%, 100% { transform: none; } 64% { transform: scale(.95); filter: brightness(.85); } }
.a-toast { position: absolute; z-index: 9; left: 50%; bottom: 110px; padding: 11px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 10px); animation: toast 12s infinite; }
@keyframes toast { 0%, 67% { opacity: 0; transform: translate(-50%, 10px); } 70%, 88% { opacity: 1; transform: translate(-50%, 0); } 92%, 100% { opacity: 0; transform: translate(-50%, 0); } }

/* 03 Szczegóły: akceptacja i głos sąsiada */
.a-dmap { flex: none; height: 180px; position: relative; overflow: hidden; }
.a-dmain { padding: 18px 16px; display: grid; gap: 14px; align-content: start; }
.a-kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--c); }
.a-kic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); font: 14px/1 var(--emoji); }
.a-vb { display: grid; }
.a-vb .a-badge { grid-area: 1 / 1; justify-self: start; }
.a-vb .wait { animation: fadeOut 8s infinite; }
.a-vb .ok { animation: fadeIn 8s infinite; }
@keyframes fadeOut { 0%, 36% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fadeIn { 0%, 36% { opacity: 0; transform: translateY(6px) scale(.9); } 40%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.a-dtitle { font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.a-dwhere { display: grid; gap: 3px; font-size: 14px; }
.a-dwhere span { display: flex; align-items: center; gap: 6px; }
.a-dwhere svg { width: 16px; height: 16px; color: var(--ink-2); }
.a-dwhere small { font-size: 13px; color: var(--ink-2); }
.a-dphoto { position: relative; height: 150px; border-radius: 14px; overflow: hidden; }
.a-vote { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-vote .yes { animation: yes 8s infinite; }
@keyframes yes { 0%, 70% { background: transparent; color: var(--ink); border-color: var(--line); transform: none; } 72% { transform: scale(.95); } 74%, 100% { background: var(--ok-soft); color: var(--ok); border-color: transparent; transform: none; } }
.a-navb { justify-self: start; }
.a-cursor { position: absolute; z-index: 9; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 22%, transparent); border: 2.5px solid var(--ink); opacity: 0; animation: cursor 8s infinite; }
@keyframes cursor {
  0%, 44% { left: 300px; top: 760px; opacity: 0; }
  50% { opacity: 1; }
  68% { left: 104px; top: 628px; transform: none; }
  72% { transform: scale(.7); } 75% { transform: none; }
  90% { left: 104px; top: 628px; opacity: 1; } 96%, 100% { opacity: 0; left: 104px; top: 628px; }
}

/* 04 Konto: zasięg */
.a-page { position: absolute; inset: 0 0 var(--tb) 0; padding: 66px 16px 20px; background: var(--bg); display: grid; gap: 12px; align-content: start; }
.a-h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.a-cardbox { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.a-prof { display: flex; align-items: center; gap: 12px; }
.a-prof > div { display: grid; gap: 1px; }
.a-prof b { font-size: 16px; }
.a-prof small { font-size: 13px; color: var(--ink-2); }
.a-av { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 600; }
.a-prof .a-btn { margin-left: auto; }
.a-row { display: flex; align-items: center; justify-content: space-between; }
.a-row > div { display: grid; gap: 8px; }
.a-row b { font-size: 15.5px; font-weight: 600; }
.a-row svg { width: 20px; height: 20px; color: var(--ink-3); }
.a-sect { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); margin: 6px 0 -2px; }
.a-range { display: grid; gap: 4px; }
.a-range > b { font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: .28em; line-height: 22px; }
.a-range > small { font-size: 12.5px; color: var(--ink-2); }
.a-km { display: inline-block; height: 22px; overflow: hidden; text-align: center; }
.a-km span { display: block; animation: tick 8s infinite steps(4, end); }
@keyframes tick { 0%, 15% { transform: translateY(0); } 45%, 70% { transform: translateY(-88px); } 95%, 100% { transform: translateY(0); } }
.a-slider { position: relative; height: 28px; margin-top: 4px; }
.a-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 3px; background: var(--surface-2); }
.a-slider i { position: absolute; left: 0; top: 11px; height: 6px; border-radius: 3px; background: var(--signal); width: 11%; animation: fill 8s infinite cubic-bezier(.65, 0, .35, 1); }
.a-slider b { position: absolute; top: 3px; left: 11%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--signal); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); animation: thumbPos 8s infinite cubic-bezier(.65, 0, .35, 1); }
@keyframes fill { 0%, 15% { width: 11%; } 45%, 70% { width: 100%; } 95%, 100% { width: 11%; } }
@keyframes thumbPos { 0%, 15% { left: 11%; } 45%, 70% { left: calc(100% - 11px); } 95%, 100% { left: 11%; } }
.a-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.a-nums { padding: 0 16px; }
.a-nums > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.a-nums > div:first-child { border-top: 0; }
.a-nums span:not(.sk) { display: grid; gap: 1px; }
.a-nums b { font-size: 15.5px; }
.a-nums small { font-size: 12.5px; color: var(--ink-2); }
.a-nums em { font-style: normal; font-size: 20px; font-weight: 600; color: var(--signal); }

/* 06 Komunikaty */
.a-alert.drop { opacity: 0; animation: alertIn 8s infinite cubic-bezier(.3, .8, .3, 1); }
.a-alert.a2 { animation-delay: 1.2s; }
@keyframes alertIn { 0% { opacity: 0; transform: translateY(-24px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-10px); } }

.a-shead, .a-chips, .a-handle { position: relative; z-index: 1; background: var(--surface); }
.a-handle { background: var(--line); }

/* Kategorie */
.cats { padding: 20px 0 8px; }
.cat-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cat-row li {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 8px; border-radius: 21px;
  background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 550;
}
.cat-row li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, var(--surface-2)); font: 15px/1 var(--emoji); }

/* Sekcje */
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 720; }
.features { padding: 104px 0 40px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 36px 0; }
.feat.rev .feat-copy { order: 2; }
.feat-copy { display: grid; gap: 14px; max-width: 460px; }
.feat.rev .feat-copy { justify-self: end; }
.feat-copy h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.feat-copy p { color: var(--ink-2); font-size: 18px; }
.num { font-weight: 700; font-size: 14px; color: var(--signal); letter-spacing: .06em; }
.feat-art {
  position: relative; min-height: 580px; border-radius: 28px; display: grid; place-items: center; overflow: hidden; padding: 28px;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--signal) 9%, var(--surface)), var(--surface-2));
  border: 1px solid var(--line);
}
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feat.rev .feat-copy { order: 0; justify-self: start; }
  .feat-art { min-height: 540px; padding: 20px; }
}
/* Animacje stoją, dopóki ilustracja nie jest widoczna */
.feat-art:not(.in) *, .feat-art:not(.in) *::before, .feat-art:not(.in) *::after { animation-play-state: paused !important; }

/* 05 Powiadomienia na ekranie blokady */
.a-lock { background: linear-gradient(165deg, #23324D 0%, #5B3F63 48%, #C8483E 100%); color: #fff; }
.a-lock::after { background: #fff; }
.a-clock { position: absolute; top: 92px; left: 0; right: 0; text-align: center; display: grid; gap: 2px; }
.a-clock small { font-size: 18px; font-weight: 600; opacity: .9; }
.a-clock b { font-size: 92px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.a-notifs { position: absolute; top: 300px; left: 12px; right: 12px; height: 300px; }
.a-notif {
  position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start;
  padding: 13px 14px; border-radius: 22px; color: var(--ink); font-size: 14px; line-height: 1.3;
  background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0;
}
.a-nicon { width: 38px; height: 38px; color: var(--signal); }
.a-notif div { display: grid; gap: 1px; min-width: 0; }
.a-notif b { font-weight: 650; }
.a-notif span { color: var(--ink-2); }
.a-notif small { font-size: 12.5px; color: var(--ink-3); }
.a-notif.n1 { animation: notif1 10s infinite; }
.a-notif.n2 { animation: notif2 10s infinite; }
.a-notif.n3 { animation: notif3 10s infinite; }
@keyframes notif1 { 0%, 6% { opacity: 0; transform: translateY(-30px) scale(.96); } 10%, 28% { opacity: 1; transform: none; } 32%, 50% { opacity: 1; transform: translateY(88px) scale(.98); } 54%, 90% { opacity: 1; transform: translateY(176px) scale(.96); } 96%, 100% { opacity: 0; transform: translateY(176px) scale(.96); } }
@keyframes notif2 { 0%, 28% { opacity: 0; transform: translateY(-30px) scale(.96); } 32%, 50% { opacity: 1; transform: none; } 54%, 90% { opacity: 1; transform: translateY(88px) scale(.98); } 96%, 100% { opacity: 0; transform: translateY(88px) scale(.98); } }
@keyframes notif3 { 0%, 50% { opacity: 0; transform: translateY(-30px) scale(.96); } 54%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.a-lockbtn { position: absolute; bottom: 56px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.a-lockbtn.l { left: 46px; } .a-lockbtn.r { right: 46px; }

/* Jak to działa */
.how { padding: 96px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps h3 { font-size: 22px; font-weight: 680; }
.steps p { color: var(--ink-2); }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); font-weight: 750; font-size: 18px; margin-bottom: 6px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Pytania */
.faq { padding: 40px 0 96px; }
.qa { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.qa details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 620; font-size: 18px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 18px; font-weight: 400; transition: transform .2s; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa details p { padding: 0 22px 20px; color: var(--ink-2); }

/* Zachęta i stopka */
.final { padding: 0 0 96px; }
.final-in {
  text-align: center; display: grid; justify-items: center; gap: 16px; padding: 64px 24px; border-radius: 32px;
  background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--signal) 14%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
}
.final h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 720; }
.final .btn { margin-top: 12px; }
.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--ink-2); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.logo-sm { font-size: 17px; color: var(--ink); }
.logo-sm .logo-mark { width: 22px; height: 22px; }
.sos { margin-left: auto; }
.sos a { color: var(--signal); font-weight: 700; text-decoration: none; }

@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .a-alert.drop, .a-thumb, .a-badge.ok, .a-notif { opacity: 1 !important; transform: none !important; }
  .a-notif.n2 { transform: translateY(88px) !important; } .a-notif.n1 { transform: translateY(176px) !important; }
  .a-vb .wait, .a-toast, .a-cursor { opacity: 0 !important; }
}
