/* ═══════════════════════════════════════════════════════════════
   e‑Osiedle — styles.css
   Kierunek: „osiedle o zmierzchu” — ciepły papier i światło w oknach,
   w letnim, arbuzowym przestrojeniu: zieleń skórki (--pine), róż
   miąższu (--brick) zamiast cegły. Typografia: Fraunces / Schibsted
   Grotesk / Spline Sans Mono (adnotacje) / Caveat (karteczki).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #F6F1E6;
  --paper-2: #EFE8D8;
  --card: #FFFDF6;
  --ink: #1C2721;
  --ink-2: #26332C;
  --pine: #1C7350;              /* skórka arbuza */
  --pine-deep: #125239;
  --pine-ghost: rgba(28, 115, 80, .09);
  --brick: #C63A52;             /* miąższ arbuza */
  --brick-deep: #A02B41;
  --brick-ghost: rgba(198, 58, 82, .10);
  --melon-soft: #F0788C;        /* róż miąższu na ciemnym tle */
  --sun: #F2B23E;
  --sun-soft: #F8D488;
  --muted: #6B675A;
  --line: #E2D9C4;
  --line-strong: #CFC3A6;
  --on-dark: #F3EEE1;
  --on-dark-muted: rgba(243, 238, 225, .68);
  --line-dark: rgba(243, 238, 225, .16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;
  --font-note: "Caveat", cursive;

  --r-card: 20px;
  --r-btn: 14px;
  --container: 1180px;
}

/* ── reset-lite ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--brick); color: var(--card); }
:focus-visible { outline: 2.5px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
.hidden { display: none !important; }

/* ziarno — delikatna tekstura papieru na całości */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ── typografia ── */
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  line-height: 1.01;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; line-height: 1.3; }
.accent-i { font-style: italic; color: var(--brick); }
.on-dark .accent-i { color: var(--sun); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); line-height: 1.65; }
.on-dark .lead { color: var(--on-dark-muted); }

/* kicker — mono adnotacja z indeksem jak na planie osiedla */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-weight: 600; font-size: 12px;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--brick);
}
.kicker .idx {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 24px; padding-inline: 5px;
  border: 1.5px solid currentColor; border-radius: 7px;
  letter-spacing: .06em;
}
.on-dark .kicker { color: var(--sun); }

.sec-head { max-width: 720px; }
.sec-head .h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 16px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }

section { padding-block: clamp(72px, 9vw, 122px); }

/* ── przyciski — „stempel drukarski” z twardym cieniem ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 0 26px; height: 54px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--pine); color: var(--paper);
  border-color: var(--pine-deep);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); background: var(--pine-deep); }
.btn-primary:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 var(--ink); }
.on-dark .btn-primary { box-shadow: 4px 4px 0 0 rgba(0, 0, 0, .55); border-color: var(--pine-deep); }
.on-dark .btn-primary:hover { box-shadow: 6px 6px 0 0 rgba(0, 0, 0, .55); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(28, 39, 33, .3);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-paper {
  background: var(--paper); color: var(--ink);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, .5);
}
.btn-paper:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 rgba(0, 0, 0, .5); background: #fff; }
.btn-paper:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 rgba(0, 0, 0, .5); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost-dark:hover { border-color: var(--on-dark); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1.5px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
#nav.nav-scrolled {
  background: rgba(246, 241, 230, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 10px; }
.nav-login:hover { color: var(--pine); }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line-strong); border-radius: 10px; overflow: hidden;
}
.lang-switch button {
  height: 34px; padding-inline: 11px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .04em;
  background: transparent; border: 0; color: var(--muted);
  transition: background .15s, color .15s;
}
.lang-switch button + button { border-left: 1.5px solid var(--line-strong); }
.lang-switch button.lang-on { background: var(--ink); color: var(--paper); }
/* wariant linkowy (podstrony z osobnymi URL-ami wersji językowych) */
.lang-switch a, .lang-switch .lang-static {
  display: inline-flex; align-items: center;
  height: 34px; padding-inline: 11px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
  transition: background .15s, color .15s;
}
.lang-switch a + a, .lang-switch .lang-static + a, .lang-switch a + .lang-static { border-left: 1.5px solid var(--line-strong); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch .lang-static.lang-on, .lang-switch a.lang-on { background: var(--ink); color: var(--paper); }

#burger {
  display: none;
  width: 46px; height: 46px; margin-right: -8px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--ink);
}
#mobile-menu {
  background: var(--paper); border-top: 1.5px solid var(--line);
  padding: 18px 24px 26px;
}
#mobile-menu .mobile-links { display: flex; flex-direction: column; }
#mobile-menu .mobile-links a {
  padding: 12px 2px; font-size: 17px; font-weight: 500; text-decoration: none;
  border-bottom: 1px dashed var(--line);
}
#mobile-menu .mobile-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
#mobile-menu .btn { flex: 1; }

/* ── HERO ── */
.hero { position: relative; padding-top: clamp(140px, 16vw, 190px); padding-bottom: clamp(64px, 7vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .h1 { margin-top: 22px; max-width: 12em; }
.hero-copy .lead { margin-top: 24px; max-width: 33em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding: 0; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .05em; color: var(--pine);
}
.hero-trust .ic { color: var(--pine); }

/* scena z telefonem: słońce + orbita + odznaki */
.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-sun {
  position: absolute; z-index: 0;
  width: min(480px, 42vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--sun-soft) 0%, var(--sun) 50%, rgba(240, 120, 140, .42) 66%, rgba(240, 120, 140, 0) 78%);
  opacity: .9;
  top: 4%; left: 50%; transform: translateX(-50%);
}
.hero-orbit {
  position: absolute; z-index: 0;
  width: min(560px, 48vw); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(198, 58, 82, .34);
  top: -2%; left: 50%; transform: translateX(-50%);
  animation: spin 80s linear infinite;
}
/* pestka krążąca po orbicie */
.hero-orbit::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--brick);
  box-shadow: 0 0 0 4px var(--brick-ghost);
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }

.badge-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 12px 18px 12px 13px;
  box-shadow: 5px 6px 0 rgba(28, 39, 33, .12);
  animation: floaty 7s ease-in-out infinite;
}
.badge-card .ic-tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.badge-num { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.1; }
.badge-sub { font-size: 12px; color: var(--muted); line-height: 1.35; }
.badge-1 { right: -3%; top: 15%; }
.badge-2 { right: -5%; bottom: 8%; animation-delay: 1.6s; }
.hero-stage .device { margin-right: 48px; }

.tint-pine { background: var(--pine-ghost); color: var(--pine); }
.tint-brick { background: var(--brick-ghost); color: var(--brick); }
.tint-sun { background: rgba(242, 178, 62, .16); color: #A8731B; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 6.5s ease-in-out infinite; }

/* ── telefon / makieta appki ── */
.device {
  position: relative; z-index: 2;
  width: min(330px, 84vw);
  border-radius: 44px;
  background: var(--ink);
  padding: 11px;
  border: 1.5px solid rgba(0, 0, 0, .5);
  box-shadow: 14px 18px 0 rgba(28, 39, 33, .14), 0 30px 70px -30px rgba(28, 39, 33, .55);
}
.device-screen { border-radius: 34px; overflow: hidden; background: var(--paper); position: relative; }
.notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 21px; background: var(--ink);
  border-radius: 0 0 13px 13px; z-index: 5;
}

.mock-head { padding: 38px 16px 12px; }
.mock-head-row { display: flex; align-items: center; justify-content: space-between; }
.mock-org { display: flex; align-items: center; gap: 9px; }
.mock-logo { width: 32px; height: 32px; border-radius: 10px; background: var(--pine); color: var(--paper); display: grid; place-items: center; }
.mock-org small { display: block; font-size: 9px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.mock-org strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.1; }
.mock-bell { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.mock-bell i { position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--brick); border: 2px solid var(--card); }
.mock-greet { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin-top: 14px; line-height: 1.15; }
.mock-addr { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); margin-top: 3px; }

.mock-body { padding: 4px 14px 18px; display: grid; gap: 10px; }
.mock-alert { background: var(--brick); color: #FFF6ED; border-radius: 16px; padding: 12px 14px; }
.mock-alert small { display: block; font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.mock-alert strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; margin-top: 3px; }

.mock-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-action {
  border-radius: 15px; padding: 10px 6px 9px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--card); border: 1.5px solid var(--line);
  font-size: 9.5px; font-weight: 700; text-align: center; line-height: 1.2;
}
.mock-action .ic-tile { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.mock-action--main { background: var(--pine); border-color: var(--pine-deep); color: var(--paper); }
.mock-action--main .ic-tile { background: rgba(246, 241, 230, .18); color: var(--paper); }

.mock-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 11px 12px; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-row .ic-tile { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.mock-id { font-family: var(--font-mono); font-size: 9px; color: var(--muted); }
.mock-chip {
  font-size: 8.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px;
  background: rgba(242, 178, 62, .2); color: #96650F;
}
.mock-title { font-size: 12.5px; font-weight: 700; line-height: 1.2; margin-top: 2px; }
.mock-steps { display: flex; align-items: center; gap: 4px; margin-top: 10px; padding-left: 2px; }
.mock-steps .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pine); }
.mock-steps .dot--now { width: 12px; height: 12px; box-shadow: 0 0 0 4px var(--pine-ghost); }
.mock-steps .dot--todo { background: var(--line-strong); }
.mock-steps .bar { flex: 1; height: 2px; background: var(--pine); }
.mock-steps .bar--todo { background: var(--line); }

.mock-post-head { display: flex; align-items: center; gap: 8px; }
.mock-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--pine); color: var(--paper);
  font-size: 9.5px; font-weight: 700;
}
.mock-post-head strong { display: block; font-size: 11px; line-height: 1.15; }
.mock-post-head small { display: block; font-size: 9px; color: var(--muted); }
.mock-post-chip { margin-left: auto; font-size: 8.5px; font-weight: 700; padding: 2.5px 8px; border-radius: 99px; background: var(--pine-ghost); color: var(--pine); }
.mock-post-text { font-size: 11.5px; line-height: 1.45; margin-top: 8px; color: var(--ink-2); }
.mock-post-foot { display: flex; align-items: center; gap: 14px; margin-top: 9px; color: var(--muted); }
.mock-post-foot span { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; }
.mock-post-foot .liked { color: var(--pine); }

/* ── marquee typów wpisów ── */
.marquee-band { border-block: 1.5px solid var(--line); background: var(--paper-2); padding: 0; overflow: hidden; }
.marquee { display: flex; gap: 0; width: max-content; animation: marquee 36s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 14px; padding: 15px 7px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding-inline: 16px; border-radius: 12px;
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
  border: 1.5px solid;
}
.chip-q { color: #2B5BA8; border-color: rgba(43, 91, 168, .35); background: rgba(43, 91, 168, .07); }
.chip-rec { color: var(--pine); border-color: rgba(32, 97, 74, .35); background: var(--pine-ghost); }
.chip-ev { color: #6D4FA1; border-color: rgba(109, 79, 161, .35); background: rgba(109, 79, 161, .08); }
.chip-mkt { color: #A8731B; border-color: rgba(168, 115, 27, .4); background: rgba(242, 178, 62, .12); }
.chip-lost { color: var(--brick); border-color: rgba(196, 83, 47, .35); background: var(--brick-ghost); }
.chip-help { color: #B03A4E; border-color: rgba(176, 58, 78, .35); background: rgba(176, 58, 78, .08); }
.marquee-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; padding-inline: 10px;
}

/* ── PROBLEM: tablica na klatce vs appka ── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }

.board {
  position: relative;
  background: var(--paper-2);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-card);
  padding: 30px 26px 34px;
  overflow: hidden;
}
/* znaczniki narożne jak na planie */
.corner-marks::before, .corner-marks::after {
  content: "+"; position: absolute;
  font-family: var(--font-mono); font-size: 15px; color: var(--line-strong);
  line-height: 1;
}
.corner-marks::before { top: 9px; left: 12px; }
.corner-marks::after { bottom: 9px; right: 12px; }

.board-tag, .app-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.board-tag { color: var(--muted); }
.app-tag { color: var(--pine); }

.notes { position: relative; margin-top: 22px; min-height: 470px; }
.note {
  position: absolute;
  width: min(240px, 58%);
  background: #FFFEF8;
  border: 1px solid #E9E0C8;
  box-shadow: 3px 5px 14px rgba(28, 39, 33, .13);
  padding: 26px 16px 16px;
  font-family: var(--font-note);
  font-size: 21px; font-weight: 600; line-height: 1.2;
  color: #3B372B;
}
.note::before {
  /* taśma klejąca */
  content: ""; position: absolute; top: -9px; left: 50%;
  width: 74px; height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(242, 178, 62, .4);
  border-left: 1px dashed rgba(140, 100, 20, .25);
  border-right: 1px dashed rgba(140, 100, 20, .25);
}
.note--urgent { color: var(--brick-deep); }
.note-1 { top: 0; left: 2%; transform: rotate(-3.4deg); }
.note-2 { top: 8%; right: 0; transform: rotate(2.6deg); }
.note-3 { top: 37%; left: 6%; transform: rotate(1.8deg); z-index: 2; }
.note-4 { top: 49%; right: 0; transform: rotate(-2.2deg); }
.note-5 { bottom: 0; left: 22%; transform: rotate(-1.4deg); }
.note small { display: block; font-family: var(--font-note); font-size: 15px; font-weight: 500; opacity: .65; margin-top: 6px; }

.appfeed {
  background: var(--card);
  border: 1.5px solid var(--pine);
  border-radius: var(--r-card);
  padding: 30px 26px;
  box-shadow: 8px 10px 0 rgba(32, 97, 74, .12);
  display: flex; flex-direction: column;
}
.appfeed-list { margin-top: 22px; display: grid; gap: 10px; }
.approw {
  display: flex; align-items: center; gap: 13px;
  border: 1.5px solid var(--line); border-radius: 15px;
  padding: 12px 14px;
  background: #FFFEFA;
}
.approw .ic-tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.approw-main { flex: 1; min-width: 0; }
.approw-main strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.approw-main small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.approw .st {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 8px;
}
.st-pine { background: var(--pine-ghost); color: var(--pine); }
.st-sun { background: rgba(242, 178, 62, .18); color: #96650F; }
.st-brick { background: var(--brick-ghost); color: var(--brick); }
.st-plum { background: rgba(109, 79, 161, .1); color: #6D4FA1; }
.st-blue { background: rgba(43, 91, 168, .09); color: #2B5BA8; }
.appfeed-foot {
  margin-top: auto; padding-top: 20px;
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--pine); font-weight: 600;
}

/* ── LICZBY — ciemna elewacja z oknami ── */
.facade {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.facade::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='76'%3E%3Crect x='14' y='18' width='26' height='38' rx='4' fill='rgba(243,238,225,0.052)'/%3E%3C/svg%3E");
}
.fz { position: relative; z-index: 1; }
.lit {
  position: absolute; z-index: 0; width: 26px; height: 38px; border-radius: 4px;
  background: var(--sun);
  box-shadow: 0 0 22px 4px rgba(242, 178, 62, .35);
  opacity: .85;
  animation: twinkle 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes twinkle { 0%, 100% { opacity: .85; } 50% { opacity: .3; } }
.lit--melon { background: var(--melon-soft); box-shadow: 0 0 22px 4px rgba(240, 120, 140, .3); }

.numbers { padding-block: clamp(60px, 7vw, 96px); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; position: relative; }
.numbers-grid > div { position: relative; padding-left: 20px; border-left: 1.5px solid var(--line-dark); }
.num-val {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 4.4vw, 3.6rem); line-height: 1;
  color: var(--sun);
}
.numbers-grid > div:nth-child(even) .num-val { color: var(--melon-soft); }
.num-sub { margin-top: 12px; font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.5; max-width: 24ch; }

/* ── FUNKCJE ── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 60px); }
.fcard {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 28px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fcard:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 7px 9px 0 rgba(28, 39, 33, .1); }
.fcard:hover .fnum { color: var(--brick); }
.fcard .fnum {
  position: absolute; top: 26px; right: 26px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--line-strong); letter-spacing: .1em;
}
/* kafelek-okno z łukiem */
.wtile {
  width: 62px; height: 74px;
  border-radius: 999px 999px 15px 15px;
  display: grid; place-items: center;
  border: 1.5px solid;
}
.wtile-pine { background: var(--pine-ghost); color: var(--pine); border-color: rgba(32, 97, 74, .25); }
.wtile-brick { background: var(--brick-ghost); color: var(--brick); border-color: rgba(196, 83, 47, .25); }
.wtile-sun { background: rgba(242, 178, 62, .14); color: #A8731B; border-color: rgba(168, 115, 27, .3); }
.wtile-plum { background: rgba(109, 79, 161, .09); color: #6D4FA1; border-color: rgba(109, 79, 161, .25); }
.wtile-blue { background: rgba(43, 91, 168, .08); color: #2B5BA8; border-color: rgba(43, 91, 168, .25); }
.wtile-rose { background: rgba(176, 58, 78, .08); color: #B03A4E; border-color: rgba(176, 58, 78, .25); }
.fcard .h3 { margin-top: 22px; }
.fcard p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 9px; }

/* ── ROLE ── */
.roles { background: var(--paper-2); border-block: 1.5px solid var(--line); }
.rcard {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-card); padding: 32px 30px;
  display: flex; flex-direction: column;
}
.rcard .h3 { font-family: var(--font-display); font-weight: 600; font-size: 25px; margin-top: 20px; }
.rcard > p { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.rcard ul { margin-top: 22px; display: grid; gap: 12px; }
.rcard li { display: flex; gap: 11px; font-size: 15px; line-height: 1.45; }
.rcard li .ic { color: var(--pine); flex-shrink: 0; margin-top: 2px; }
.rcard--dark { background: var(--ink-2); border-color: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.rcard--dark > p { color: var(--on-dark-muted); }
.rcard--dark li .ic { color: var(--sun); }
.rcard--dark .rtag { background: rgba(242, 178, 62, .15); color: var(--sun); border-color: rgba(242, 178, 62, .3); }
.rcard--dark .wtile { background: rgba(242, 178, 62, .14); color: var(--sun); border-color: rgba(242, 178, 62, .35); }
.rtag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1.5px solid var(--line-strong); border-radius: 8px;
  padding: 5px 10px; color: var(--muted);
}

/* ── JAK DZIAŁA ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; margin-top: clamp(44px, 5vw, 64px); counter-reset: step; }
.step { position: relative; }
.step-top { display: flex; align-items: center; gap: 14px; }
.step-num {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  color: var(--brick);
  border: 1.5px solid currentColor; border-radius: 9px;
  padding: 5px 9px;
}
.step-line { flex: 1; border-top: 1.5px dashed var(--line-strong); }
.step:last-child .step-line { border-top-style: solid; border-color: transparent; }
.step .wtile { width: 54px; height: 64px; margin-top: 20px; }
.step h3 { font-size: 18px; font-weight: 700; margin-top: 16px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-top: 7px; }

/* ── BEZPIECZEŃSTWO ── */
.security { background: var(--paper-2); border-block: 1.5px solid var(--line); }
.security-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.security-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scard { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 24px 22px; }
.scard .ic-tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.scard h3 { font-size: 16.5px; font-weight: 700; margin-top: 16px; }
.scard p { font-size: 14px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.security-copy .btn { margin-top: 30px; }

/* ── CENNIK ── */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 30px; padding: 5px;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 14px;
}
.billing-toggle button {
  height: 40px; padding-inline: 18px; border: 0; border-radius: 10px;
  background: transparent; font-weight: 700; font-size: 14.5px; color: var(--muted);
  transition: background .15s, color .15s;
}
.billing-toggle button .disc { color: var(--brick); font-family: var(--font-mono); font-size: 12.5px; margin-left: 4px; }
.billing-toggle button.billing-on { background: var(--ink); color: var(--paper); }
.billing-toggle button.billing-on .disc { color: var(--sun); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(42px, 5vw, 58px); align-items: stretch; }
.pcard {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-card); padding: 34px 30px;
  display: flex; flex-direction: column;
}
.pcard-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.pcard-desc { font-size: 14px; color: var(--muted); margin-top: 5px; }
.pcard-price { display: flex; align-items: flex-end; gap: 7px; margin-top: 26px; }
.pcard-price .val { font-family: var(--font-display); font-weight: 600; font-size: 46px; line-height: .95; }
.pcard-price .per { font-size: 13.5px; color: var(--muted); padding-bottom: 4px; }
.pcard-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
.pcard .btn { margin-top: 24px; }
.pcard ul { margin-top: 26px; display: grid; gap: 12px; }
.pcard li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.45; }
.pcard li .ic { color: var(--pine); flex-shrink: 0; margin-top: 2px; }

.pcard--hero {
  background: var(--ink); border-color: var(--ink); color: var(--on-dark);
  position: relative; overflow: hidden;
  box-shadow: 10px 12px 0 rgba(28, 39, 33, .16);
}
.pcard--hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='76'%3E%3Crect x='14' y='18' width='26' height='38' rx='4' fill='rgba(243,238,225,0.05)'/%3E%3C/svg%3E");
}
.pcard--hero > * { position: relative; }
.pcard--hero .pcard-desc, .pcard--hero .pcard-price .per, .pcard--hero .pcard-note { color: var(--on-dark-muted); }
.pcard--hero .pcard-price .val { color: var(--sun); }
.pcard--hero li .ic { color: var(--sun); }
.pcard-flag {
  position: absolute; top: 24px; right: -1px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--melon-soft); color: var(--ink);
  padding: 6px 12px 6px 14px; border-radius: 9px 0 0 9px;
}
.pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ── KALKULATOR ── */
.calc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; margin-top: clamp(42px, 5vw, 58px); align-items: stretch; }
.calc-panel {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-card); padding: 36px 34px;
  display: flex; flex-direction: column; gap: 34px;
}
.calc-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.calc-units-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.calc-units-val { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; }
.calc-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; margin-top: 20px;
  background: linear-gradient(to right, var(--pine) 0%, var(--pine) var(--fill, 19%), var(--line) var(--fill, 19%), var(--line) 100%);
  border-radius: 99px; cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--pine);
  box-shadow: 2.5px 2.5px 0 rgba(28, 39, 33, .3);
  cursor: grab;
}
.calc-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--pine);
  box-shadow: 2.5px 2.5px 0 rgba(28, 39, 33, .3);
  cursor: grab;
}
.calc-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.seg button {
  height: 50px; border-radius: 13px;
  border: 1.5px solid var(--line-strong); background: transparent;
  font-weight: 700; font-size: 15px; color: var(--ink);
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.seg button.on { background: var(--pine); border-color: var(--pine-deep); color: var(--paper); box-shadow: 3px 3px 0 rgba(28, 39, 33, .35); }

.calc-result { padding: 36px 34px; border-radius: var(--r-card); display: flex; flex-direction: column; border: 1.5px solid var(--ink); }
.calc-result .calc-label { color: var(--on-dark-muted); }
.calc-total { display: flex; align-items: flex-end; gap: 9px; margin-top: 16px; }
.calc-total .val { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 4.5vw, 4rem); line-height: .95; color: var(--sun); }
.calc-total .per { color: var(--on-dark-muted); font-size: 15px; padding-bottom: 6px; }
.calc-per-unit { margin-top: 10px; font-size: 14.5px; color: var(--on-dark-muted); }
.calc-rows { margin-top: 28px; padding-top: 22px; border-top: 1.5px solid var(--line-dark); display: grid; gap: 12px; }
.calc-rows > div { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.calc-rows .k { color: var(--on-dark-muted); }
.calc-rows .v { font-weight: 700; }
.calc-rows .v-sun { color: var(--sun); }
.calc-cta-wrap { margin-top: auto; padding-top: 30px; }
.calc-disclaimer { font-size: 12.5px; color: var(--on-dark-muted); text-align: center; margin-top: 14px; }

/* ── FAQ ── */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-list { margin-top: clamp(36px, 4vw, 52px); border-top: 1.5px solid var(--line-strong); }
.faq-item { border-bottom: 1.5px solid var(--line-strong); }
.faq-item button {
  width: 100%; display: flex; align-items: baseline; gap: 18px;
  padding: 24px 4px; text-align: left;
  background: transparent; border: 0;
}
.faq-idx { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--brick); flex-shrink: 0; }
.faq-q { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.3; }
.faq-chevron { color: var(--muted); flex-shrink: 0; transition: transform .3s; align-self: center; }
.faq-open .faq-chevron { transform: rotate(180deg); }
[data-faq] [data-faq-body] { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a { font-size: 16px; color: var(--muted); line-height: 1.65; padding: 0 44px 26px 42px; max-width: 62ch; }

/* ── DEMO ── */
.demo { background: var(--paper-2); border-block: 1.5px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.demo-points { margin-top: 30px; display: grid; gap: 16px; }
.demo-points li { display: flex; gap: 13px; font-size: 15.5px; line-height: 1.5; }
.demo-points .ic-tile { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--pine-ghost); color: var(--pine); }
.demo-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.demo-note .ic { color: var(--pine); }

.demo-card {
  position: relative;
  background: var(--card); border: 1.5px solid var(--ink);
  border-radius: var(--r-card); padding: 34px 32px;
  box-shadow: 10px 12px 0 rgba(28, 39, 33, .14);
}
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.demo-form .full { grid-column: 1 / -1; }
.demo-form label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.demo-form label .opt { color: var(--muted); text-transform: none; letter-spacing: .02em; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; height: 50px; padding-inline: 15px;
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 12px;
  font-size: 15.5px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.demo-form textarea { height: auto; padding-block: 12px; resize: vertical; min-height: 92px; line-height: 1.5; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: none; border-color: var(--pine); background: var(--card);
  box-shadow: 3px 3px 0 var(--pine-ghost);
}
.demo-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236B675A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.demo-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.demo-consent { font-size: 12.5px; color: var(--muted); line-height: 1.45; flex: 1; min-width: 220px; }
.demo-consent a { text-underline-offset: 2px; }
.demo-consent a:hover { color: var(--ink); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* podziękowanie po wysłaniu */
.thanks { text-align: center; padding: 40px 10px; }
.thanks .ic-tile { width: 68px; height: 68px; border-radius: 999px 999px 18px 18px; display: grid; place-items: center; margin-inline: auto; background: var(--pine-ghost); color: var(--pine); border: 1.5px solid rgba(32, 97, 74, .3); }
.thanks h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin-top: 22px; }
.thanks p { font-size: 15.5px; color: var(--muted); margin: 12px auto 0; max-width: 40ch; line-height: 1.6; }

/* ── CTA KOŃCOWE ── */
.finalcta { padding-block: 0; padding-inline: 24px; margin-block: clamp(40px, 6vw, 90px); }
.finalcta-inner {
  max-width: var(--container); margin-inline: auto;
  border-radius: 28px; padding: clamp(52px, 7vw, 96px) clamp(28px, 6vw, 88px);
  position: relative;
}
.finalcta-inner .h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 15em; }
.finalcta-inner .lead { margin-top: 20px; max-width: 36em; }
.finalcta-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ── STOPKA ── */
footer { border-top: 1.5px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 60px 44px; }
.footer-tagline { font-size: 14.5px; color: var(--muted); margin-top: 18px; max-width: 30ch; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); color: var(--muted);
  display: grid; place-items: center;
  transition: all .15s;
}
.footer-social a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.footer-address { margin-top: 24px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.footer-address strong { color: var(--ink); font-weight: 600; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1.5px solid var(--line);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.footer-bottom .gdpr { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .gdpr .ic { color: var(--pine); }

/* ── ikonki inline ── */
.ic { display: inline-block; flex-shrink: 0; }
.ic svg { display: block; }
.ic-tile { flex-shrink: 0; }

/* ── reveal ── */
[data-reveal] { transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1); }
html.reveal-ready [data-reveal]:not(.revealed) { opacity: 0; transform: translateY(24px); }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }

/* ── responsywność ── */
@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14.5px; }
}
@media (max-width: 1060px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badge-2 { right: 0; }
  .badge-1 { left: 0; }
}
@media (max-width: 920px) {
  .nav-links, .nav-actions { display: none; }
  #burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .h1 { max-width: none; }
  .hero-stage { margin-top: 26px; }
  .hero-stage .device { margin-right: 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .notes { min-height: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .security-cards { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; }
  .demo-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas .btn { width: 100%; }
  .note { width: 74%; font-size: 19px; }
  .notes { min-height: 540px; }
  .note-1 { top: 0; left: 0; }
  .note-2 { top: 17%; right: 0; }
  .note-3 { top: 37%; left: 2%; }
  .note-4 { top: 55%; right: 2%; }
  .note-5 { bottom: 0; left: 12%; }
  .faq-a { padding-left: 30px; padding-right: 10px; }
  .badge-1 { top: 10%; }
  .badge-2 { bottom: 3%; }
  .lit { display: none; }
  .finalcta { padding-inline: 16px; }
  .container { padding-inline: 18px; }
}

/* ── ruch ograniczony ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .floaty, .badge-card, .hero-orbit, .lit { animation: none; }
  html.reveal-ready [data-reveal]:not(.revealed) { opacity: 1; transform: none; }
  [data-reveal] { transition: none; }
}

/* ── MODUŁ FINANSE ── */
.new-chip {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--sun); color: var(--ink);
  padding: 4px 9px; border-radius: 7px;
}
.finance { border-block: 1.5px solid rgba(0, 0, 0, .35); }
.finance .sec-head .lead { color: var(--on-dark-muted); }

.dash {
  position: relative;
  background: var(--card); color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  padding: 26px 28px 28px;
  margin-top: clamp(36px, 4vw, 52px);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, .35);
}
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.dash-title {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.dash-title .ic { color: var(--pine); }
.dash-period {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 5px 10px;
}
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.kpi {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 15px; padding: 14px 16px;
}
.kpi small { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.1; margin-top: 6px; }
.delta { display: inline-block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 7px; }
.delta-up { background: var(--pine-ghost); color: var(--pine); }
.delta-down { background: var(--brick-ghost); color: var(--brick); }

.dash-main { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 18px; }
.dash-chart, .dash-ops {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 15px; padding: 16px 18px;
}
.dash-sub {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.legend { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: .02em; font-size: 11px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend .dot-pine, .dot-pine { background: var(--pine); }
.legend .dot-brick, .dot-brick { background: var(--brick); }
.dash-chart svg { width: 100%; height: auto; }
.dash-ops { display: flex; flex-direction: column; gap: 9px; }
.oprow {
  display: flex; align-items: center; gap: 11px;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 13px; padding: 9px 12px;
}
.oprow .ic-tile { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.oprow-main { flex: 1; min-width: 0; }
.oprow-main strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.oprow-main small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.oprow .st { font-size: 9px; padding: 3px 7px; }
.dash-pipe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.dash-sub-inline { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.pipe-chip {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  border: 1.5px solid var(--line-strong); border-radius: 8px;
  padding: 4px 9px; color: var(--ink-2); background: var(--card);
}

.fin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.fin-card {
  background: rgba(243, 238, 225, .05);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-card);
  padding: 26px 24px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.fin-card:hover { background: rgba(243, 238, 225, .08); border-color: rgba(243, 238, 225, .3); transform: translateY(-4px); }
.fin-card .wtile { width: 54px; height: 64px; background: rgba(242, 178, 62, .13); color: var(--sun); border-color: rgba(242, 178, 62, .35); }
.fin-card .h3 { margin-top: 18px; font-size: 18px; }
.fin-card p { font-size: 14px; color: var(--on-dark-muted); line-height: 1.6; margin-top: 8px; }

.fin-foot { margin-top: 38px; text-align: center; }
.fin-proof {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--on-dark);
  border: 1.5px dashed rgba(242, 178, 62, .45); border-radius: 12px;
  padding: 10px 18px;
}
.fin-proof .ic { color: var(--sun); }
.fin-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.fin-trust {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--on-dark-muted);
}
.fin-trust .ic { color: var(--sun); }

/* dodatek w cenniku */
.addon { border-radius: var(--r-card); margin-top: 18px; box-shadow: 10px 12px 0 rgba(28, 39, 33, .16); }
.addon-inner { display: flex; align-items: center; gap: 26px; padding: 30px 34px; }
.addon .wtile { width: 58px; height: 68px; background: rgba(242, 178, 62, .13); color: var(--sun); border-color: rgba(242, 178, 62, .35); flex-shrink: 0; }
.addon-copy { flex: 1; min-width: 0; }
.addon-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.addon-copy h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin-top: 7px; }
.addon-copy > p { font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.55; margin-top: 7px; max-width: 56ch; }
.addon-btn { flex-shrink: 0; }

@media (max-width: 1060px) {
  .fin-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .dash-main { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .addon-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .fin-cards { grid-template-columns: 1fr; }
  .dash { padding: 18px 16px 20px; }
  .dash-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi strong { font-size: 21px; }
  .fin-proof { font-size: 13.5px; text-align: left; }
  .fin-ctas .btn { width: 100%; }
}

/* ══════════ PODSTRONY ══════════ */

/* hero podstrony */
.page-hero { padding-top: clamp(128px, 14vw, 168px); padding-bottom: clamp(36px, 5vw, 64px); }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line-strong); }
.page-hero .h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 17em; }
.page-hero .lead { margin-top: 20px; max-width: 42em; }
.page-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em;
}
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta .ic { color: var(--pine); }

/* artykuł — treść + spis treści */
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: clamp(32px, 5vw, 72px); justify-content: start; padding-bottom: clamp(64px, 8vw, 110px); }
.toc { position: sticky; top: 96px; align-self: start; }
.toc-title { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1.5px solid var(--line-strong); display: grid; gap: 2px; }
.toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1.5px;
  border-left: 1.5px solid transparent;
  font-size: 13.5px; color: var(--muted); text-decoration: none; line-height: 1.4;
  transition: color .15s, border-color .15s;
}
.toc a:hover { color: var(--ink); border-left-color: var(--brick); }

/* typografia treści */
.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 2em; scroll-margin-top: 96px;
  display: flex; align-items: baseline; gap: 14px;
}
.prose h2 .hnum { font-family: var(--font-mono); font-weight: 600; font-size: .55em; color: var(--brick); flex-shrink: 0; letter-spacing: .06em; }
.prose h3 { font-weight: 700; font-size: 19px; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 96px; }
.prose a { color: var(--brick-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--brick); }
.prose a.btn, .prose a.article-next { text-decoration: none; }
.prose a.btn { color: var(--ink); }
.prose a.btn:hover { color: var(--ink); }
.prose a.article-next { color: inherit; }
.prose a.article-next:hover { color: inherit; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 10px; }
.prose ul li { list-style: none; padding-left: 30px; position: relative; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 12px; height: 2.5px; background: var(--pine); border-radius: 2px;
}
.prose ol { counter-reset: li; }
.prose ol li { list-style: none; padding-left: 40px; position: relative; counter-increment: li; }
.prose ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute; left: 0; top: .18em;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--brick);
  border: 1.5px solid currentColor; border-radius: 7px; padding: 2px 5px;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th {
  text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 10px 14px; border-bottom: 1.5px solid var(--line-strong);
}
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose .table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); }

/* ramki: wskazówka / uwaga / produkt */
.callout {
  display: flex; gap: 15px;
  background: var(--card); border: 1.5px solid var(--line-strong);
  border-left: 4px solid var(--pine);
  border-radius: 14px; padding: 18px 20px;
  font-size: 15px; line-height: 1.65;
}
.callout .ic { color: var(--pine); flex-shrink: 0; margin-top: 3px; }
.callout--warn { border-left-color: var(--brick); }
.callout--warn .ic { color: var(--brick); }
.callout p + p { margin-top: .6em; }

/* wstawka produktowa „jak to robi e-Osiedle” */
.product-box {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  border-radius: 18px; padding: 26px 28px;
}
.product-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='76'%3E%3Crect x='14' y='18' width='26' height='38' rx='4' fill='rgba(243,238,225,0.05)'/%3E%3C/svg%3E");
}
.product-box > * { position: relative; }
.product-box .pb-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.product-box h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 8px 0 0; color: var(--on-dark); }
.product-box p { font-size: 14.5px; color: var(--on-dark-muted); margin-top: 8px; line-height: 1.6; }
.product-box .btn { margin-top: 18px; }

/* oś czasu (windykacja / procesy) */
.timeline { display: grid; gap: 0; }
.tl-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; position: relative; padding-bottom: 30px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0;
  border-left: 1.5px dashed var(--line-strong);
}
.tl-step:last-child::before { display: none; }
.tl-dot {
  width: 44px; height: 44px; border-radius: 999px 999px 12px 12px;
  display: grid; place-items: center;
  background: var(--pine-ghost); color: var(--pine);
  border: 1.5px solid rgba(32, 97, 74, .3);
  position: relative; z-index: 1;
}
.tl-step--warn .tl-dot { background: var(--brick-ghost); color: var(--brick); border-color: rgba(196, 83, 47, .3); }
.tl-step--sun .tl-dot { background: rgba(242, 178, 62, .15); color: #A8731B; border-color: rgba(168, 115, 27, .35); }
.tl-body h3 { margin: 8px 0 0 !important; font-size: 17.5px !important; }
.tl-body .tl-when { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brick); }
.tl-body p { font-size: 15px; color: var(--muted); margin-top: 6px !important; line-height: 1.6; }

/* hero /finanse — karta salda + odznaki */
.fin-hero .hero-grid { align-items: center; }
.fin-stage { position: relative; display: flex; justify-content: center; padding-block: 12px; }
.fin-stage .hero-sun { width: min(380px, 36vw); top: 6%; }
.fin-stage .hero-orbit { width: min(460px, 42vw); top: 0; }
.saldo-card {
  position: relative; z-index: 2;
  width: min(360px, 88vw);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  padding: 22px 24px;
  box-shadow: 10px 12px 0 rgba(28, 39, 33, .14);
}
.saldo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.saldo-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.saldo-total { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; margin-top: 14px; }
.saldo-rows { margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--line-strong); display: grid; gap: 9px; }
.saldo-rows > div { display: flex; justify-content: space-between; font-size: 13.5px; }
.saldo-rows .k { color: var(--muted); }
.saldo-rows .v { font-weight: 700; font-variant-numeric: tabular-nums; }
.saldo-note { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.saldo-note .ic { color: var(--pine); }
.saldo-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; height: 44px;
  background: var(--pine); color: var(--paper);
  border: 1.5px solid var(--pine-deep); border-radius: 12px;
  font-weight: 700; font-size: 14px;
  box-shadow: 3px 3px 0 rgba(28, 39, 33, .8);
}
.fb-1 { right: -5%; top: -7%; }
.fb-2 { left: -8%; bottom: -6%; animation-delay: 1.4s; }
.fin-stage { padding-top: 40px; padding-bottom: 44px; }
@media (max-width: 920px) {
  .fin-stage { margin-top: 30px; }
  .fb-1 { right: 0; }
  .fb-2 { left: 0; }
}

/* boczna szyna bez linków (fakty, nie nawigacja) */
.toc-static li {
  padding: 7px 0 7px 16px;
  border-left: 1.5px solid var(--line-strong);
  font-size: 13.5px; color: var(--muted); line-height: 1.45;
  list-style: none;
}
.toc-static li::marker { content: ""; }
.toc-static { border-left: 0 !important; }
.toc-static li strong { color: var(--ink-2); font-weight: 700; }

/* karty artykułów (indeks poradnika) */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(64px, 8vw, 110px); }
.gcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-card); padding: 28px 26px;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gcard:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 7px 9px 0 rgba(28, 39, 33, .1); }
.gcard-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.gcard h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 14px 0 0; }
.gcard p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
.gcard-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.gcard-foot .time { display: inline-flex; align-items: center; gap: 6px; }
.gcard-foot .more { display: inline-flex; align-items: center; gap: 6px; color: var(--pine); font-weight: 600; }
.gcard .wtile { width: 52px; height: 62px; margin-bottom: 18px; }

/* wyróżniony artykuł */
.gcard--featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: clamp(24px, 4vw, 56px); padding: 0; overflow: hidden; }
.gcard--featured .gcard-body { flex: 1.15; display: flex; flex-direction: column; padding: 34px 0 34px 34px; }
.gcard--featured h2 { font-size: clamp(24px, 2.6vw, 31px); max-width: 18em; }
.gcard--featured p { font-size: 15.5px; max-width: 56ch; }
.gcard--featured .gcard-visual {
  flex: .85; position: relative;
  background: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='76'%3E%3Crect x='14' y='18' width='26' height='38' rx='4' fill='rgba(243,238,225,0.06)'/%3E%3C/svg%3E");
  display: grid; place-items: center;
  min-height: 220px;
}
.gcard--featured .gcard-visual .wtile { width: 92px; height: 112px; margin: 0; background: rgba(242, 178, 62, .14); color: var(--sun); border-color: rgba(242, 178, 62, .4); }
.gcard--featured .gcard-visual .lit { display: block; width: 20px; height: 28px; }
@media (max-width: 920px) {
  .gcard--featured { flex-direction: column-reverse; }
  .gcard--featured .gcard-body { padding: 26px; }
  .gcard--featured .gcard-visual { min-height: 150px; width: 100%; }
}

/* nawigacja: następny artykuł */
.article-next {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1.5px solid var(--line-strong); border-radius: 16px;
  padding: 18px 22px; margin-top: 44px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.article-next:hover { border-color: var(--ink); box-shadow: 5px 6px 0 rgba(28, 39, 33, .1); }
.article-next small { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.article-next strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 4px; }
.article-next .ic { color: var(--pine); flex-shrink: 0; }

@media (max-width: 1060px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .article-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .guide-grid { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
  .tl-step { grid-template-columns: 38px 1fr; gap: 13px; }
  .tl-dot { width: 38px; height: 38px; }
  .tl-step::before { left: 18px; }
}

/* ── druk ── */
@media print {
  @page { margin: 12mm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body::after { display: none !important; }
  html, body { background: #fff !important; }
  #nav { position: static !important; background: #fff !important; border-color: var(--line) !important; }
  #burger, #mobile-menu, .marquee-band { display: none !important; }
  .floaty, .badge-card, .hero-orbit { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-faq] [data-faq-body] { max-height: none !important; }
  .faq-chevron { display: none !important; }
  section { break-inside: avoid-page; }
  .fcard, .pcard, .rcard, .scard, .demo-card, [data-faq], .device { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  .facade::before, .pcard--hero::before, .lit { display: none !important; }
}
