/* Nestor Family: prototyp strony głównej.
   Kolory pochodzą z aplikacji opiekuna (zieleń) i ekranów seniora (krem).
   Zasady: jedna myśl na sekcję, jeden styl kart, ciemna zieleń tylko w hero i w zapisie. */

:root {
  --green-900: #112d1f;
  --green-800: #143c2b;
  --green-700: #175a41;
  --mint-300: #9fdcbd;
  --mint-200: #cfe7db;
  --mint-100: #e7f0eb;
  --tint: #eef3ef;
  --cream: #f7f5f0;
  --paper: #ffffff;
  --ink: #1c2a24;
  --muted: #55635c;
  --line: #dedbd1;
  --amber: #f4b942;
  --help: #9a1b14; /* wyłącznie dla „Pomoc” */

  --f-display: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --band: linear-gradient(165deg, #236349 0%, var(--green-700) 36%, var(--green-900) 100%);
}

/* ---------- Podstawa ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.1875rem;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  text-wrap: balance;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Przyciski i linki ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-main {
  background: var(--green-700);
  color: #fff;
}

.btn-main:hover {
  background: var(--green-800);
}

.btn-ghost {
  border-color: rgba(23, 90, 65, 0.35);
  background: transparent;
  color: var(--green-700);
}

.btn-ghost:hover {
  border-color: var(--green-700);
}

.btn-light {
  background: #fff;
  color: var(--green-900);
}

.btn-light:hover {
  background: var(--mint-100);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
}

.btn-sm {
  min-height: 48px;
  padding: 10px 22px;
  font-size: 0.98rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--green-700);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Nagłówek (wersja robocza) ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.11em;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}

.logo b {
  font-weight: 400;
  color: var(--green-700);
}

.logo-wm {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.logo small {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  padding: 10px 8px;
  border-radius: 10px;
  font-family: var(--f-display);
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  background: var(--mint-100);
}

.menu-btn {
  display: none;
  align-items: center;
  min-height: 48px;
  margin-left: auto;
  padding: 0 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--f-display);
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- 1. Hero z misją ---------- */

.hero-band {
  position: relative;
  overflow: hidden;
  padding-block: 60px 112px;
  color: #fff;
  background:
    radial-gradient(820px 520px at 88% -8%, rgba(159, 220, 189, 0.2), transparent 62%),
    var(--band);
}

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.03em;
  color: var(--mint-300);
}

.eyebrow::after {
  content: "";
  width: 56px;
  height: 2px;
  background: currentColor;
  opacity: 0.75;
}

/* Pionowa kreska przy tytule: nawiązanie do slajdu z pitch decku */
.hero-statement {
  padding-left: 32px;
  border-left: 3px solid rgba(159, 220, 189, 0.6);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--mint-300);
}

.hero-lead {
  max-width: 35ch;
  margin-top: 22px;
  font-size: clamp(1.2rem, 1.65vw, 1.4rem);
  line-height: 1.5;
  color: #dcebe3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .btn {
  padding-inline: 22px;
}

.hero-foto {
  position: relative;
  padding: 0 0 32px 32px;
}

/* Blok i przerywany okrąg za zdjęciem: również ze slajdu */
.hero-foto::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 44%;
  height: 56%;
  border-radius: 26px;
  background: rgba(159, 220, 189, 0.26);
}

.hero-foto::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -84px;
  top: -72px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px dashed rgba(159, 220, 189, 0.45);
}

.hero-foto > img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 28px;
  background: var(--mint-200);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.65);
}

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 11px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.55);
}

.chip b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
}

.chip span {
  color: var(--muted);
}

.chip-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--mint-100);
  color: var(--green-700);
}

.chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #35a56f;
  box-shadow: 0 0 0 5px rgba(53, 165, 111, 0.2);
}

.chip-live {
  top: 30px;
  right: -20px;
}

.chip-ok {
  left: 0;
  bottom: 6px;
}

/* ---------- 2. Pasek zaufania: nachodzi na dół zielonego pasma ---------- */

.trust {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
  margin: -44px 0 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
}

.trust-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint-100);
  color: var(--green-700);
}

/* ---------- Szablon sekcji ---------- */

.sec {
  padding-block: 96px;
}

.sec.tint {
  background: var(--tint);
}

.sec-head {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 40px;
}

.sec h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.eyebrow-dark {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--green-700);
}

.sec-lead {
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Jeden styl kart dla całej strony */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mint-100);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--green-700);
}

/* ---------- 3. Znasz te sytuacje? ---------- */

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px 28px 22px;
}

.case .tag {
  justify-self: start;
}

.case blockquote {
  position: relative;
  padding-left: 28px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  text-wrap: balance;
}

.case blockquote::before {
  content: "„";
  position: absolute;
  left: 0;
  top: -0.35em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--mint-300);
}

.case p {
  font-size: 1.02rem;
  color: var(--muted);
}

/* ---------- 4. Produkty i ceny ---------- */

.prods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.prod {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.prod-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 240px;
  padding: 26px 18px 0;
  overflow: hidden;
  background: var(--mint-100);
}

.prod-visual.is-tab,
.prod-visual.is-box {
  align-items: center;
  padding: 18px;
}

.prod-visual .dev-phone {
  width: 156px;
}

.prod-visual .dev-tab {
  max-width: 300px;
}

.prod-visual.is-box img {
  width: 100%;
  max-width: 330px;
}

.prod-visual.is-photo {
  padding: 0;
}

.prod-visual.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-items: start;
  gap: 12px;
  padding: 24px 24px 26px;
}

.prod-kind {
  font-family: var(--f-display);
  font-size: 0.92rem;
  color: var(--muted);
}

.prod-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -4px;
}

.prod-mark {
  flex: none;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.prod-mark svg {
  display: block;
}

.prod h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

.prod-body > p:not(.prod-kind):not(.prod-price) {
  font-size: 1.02rem;
}

.prod-price {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1rem;
}

.prod-price b {
  font-size: 1.3rem;
  font-weight: 600;
}

.prod-price span {
  display: block;
  margin-top: 2px;
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--muted);
}

.prod .btn {
  justify-self: start;
  margin-top: 4px;
}

/* Ramki urządzeń */
.dev-phone {
  width: 140px;
  overflow: hidden;
  border: 6px solid var(--green-900);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: var(--green-900);
}

.dev-tab {
  width: 100%;
  max-width: 262px;
  overflow: hidden;
  border: 7px solid var(--green-900);
  border-radius: 14px;
  background: var(--green-900);
}

/* ---------- 5. Jak to działa razem ---------- */

.how {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.how-txt {
  display: grid;
  gap: 12px;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: krok;
}

.steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 58px;
  counter-increment: krok;
}

.steps li::before {
  content: counter(krok);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.steps b {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
}

.steps span {
  font-size: 1rem;
  color: var(--muted);
}

.hero-figure figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}

/* Kompozycja „U mamy / U Ciebie” */
.scene {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 572;
}

.scene-link {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 3%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scene-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}

.scene-chip.is-home {
  background: var(--green-700);
  color: #fff;
}

.scene-chip.is-you {
  background: var(--mint-300);
  color: var(--green-900);
}

.scene-dist {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--muted);
}

.scene-dist::before,
.scene-dist::after {
  content: "";
  flex: 1;
  border-top: 2px dashed rgba(23, 90, 65, 0.4);
}

/* Po lewej dom seniora (miętowa plansza) z telefonem Nestor, po prawej dwa ekrany Nestor Opiekun */
.scene-home {
  position: absolute;
  left: 0;
  top: 9%;
  width: 52%;
  height: 86%;
  border-radius: 32px;
  background: linear-gradient(160deg, #e9f2ed 0%, #d3e7dc 100%);
}

.frame {
  overflow: hidden;
  border: solid var(--green-900);
  background: var(--green-900);
  box-shadow: 0 30px 44px -26px rgba(17, 45, 31, 0.6);
}

.frame img {
  width: 100%;
}

.frame-tab {
  border-width: 10px;
  border-radius: 20px;
}

.frame-phone {
  border-width: 7px;
  border-radius: 24px;
}

.scene-senior {
  position: absolute;
  z-index: 2;
  left: 10%;
  top: 15%;
  width: 32%;
}

.scene-you2 {
  position: absolute;
  z-index: 1;
  right: 22%;
  top: 11%;
  width: 26%;
}

.scene-you {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 22%;
  width: 30%;
}

/* ---------- 6. Quiz ---------- */

.quiz {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.quiz-side {
  display: grid;
  gap: 12px;
}

.checks {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.qbox {
  padding: 30px;
}

.qprog {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.qprog i {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--mint-200);
}

.qprog i.on {
  background: var(--green-700);
}

.qstep {
  font-family: var(--f-display);
  font-size: 0.9rem;
  color: var(--muted);
}

.qq {
  margin: 8px 0 18px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  text-wrap: balance;
}

.qopts {
  display: grid;
  gap: 10px;
}

.qopt {
  min-height: 58px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.qopt:hover {
  border-color: var(--green-700);
  background: var(--mint-100);
}

.qopt b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
}

.qopt span {
  font-size: 0.92rem;
  color: var(--muted);
}

.qhint {
  margin: -10px 0 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.qopt.qcheck {
  position: relative;
  padding-left: 52px;
}

.qopt.qcheck::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 7px;
  background: #fff;
  transform: translateY(-50%);
}

.qopt.is-on {
  border-color: var(--green-700);
  background: var(--mint-100);
}

.qopt.qcheck.is-on::before {
  border-color: var(--green-700);
  background: var(--green-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.qnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.qnav .qback {
  margin-top: 0;
}

.qnext {
  min-height: 50px;
}

.qres-items {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.qitem {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.qitem.is-opt {
  border-style: dashed;
  background: transparent;
}

.qitem-kind {
  font-family: var(--f-display);
  font-size: 0.85rem;
  color: var(--muted);
}

.qitem h4 {
  margin-top: -4px;
  font-size: 1.3rem;
  font-weight: 600;
}

.qitem p {
  font-size: 0.98rem;
}

.qitem-note {
  color: var(--muted);
  font-size: 0.92rem !important;
}

.qitem-price {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--green-700);
}

.qitem .qcta {
  margin-top: 6px;
}

.qitem .link-arrow {
  min-height: 0;
}

.qwhy {
  display: grid;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.qwhy li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
}

.qwhy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.qtotal {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--mint-100);
  font-size: 1rem;
}

.qcta-end {
  margin-top: 14px;
}

.qback {
  margin-top: 16px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.qres h3 {
  margin: 6px 0 10px;
  font-size: 1.6rem;
  font-weight: 600;
}

.qres .why {
  margin-bottom: 14px;
  color: var(--muted);
}

.qres .extra {
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--mint-100);
  font-size: 1rem;
}

.qcta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- 7. Bez obaw ---------- */

.bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bar {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
}

.bar .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--mint-100);
  color: var(--green-700);
}

.bar h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.bar p {
  font-size: 0.98rem;
  color: var(--muted);
}

/* ---------- 8. Kto za tym stoi ---------- */

.who {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  padding: 40px;
}

.who-txt {
  display: grid;
  gap: 14px;
  align-content: start;
}

.who-txt > p:not(.eyebrow-dark) {
  color: var(--muted);
}

.who-partner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--muted);
}

.partner-logo {
  width: auto;
  height: 76px;
}

.who-testers {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border-radius: 20px;
  background: var(--mint-100);
}

.who-testers h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.who-testers p {
  font-size: 1rem;
}

.who-testers .btn {
  justify-self: start;
  margin-top: 4px;
}

/* ---------- 9. FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  padding: 4px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-weight: 600;
  color: var(--green-700);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding-bottom: 18px;
  color: var(--muted);
}

/* ---------- 10. Zapis ---------- */

#zapis,
#newsletter {
  padding-top: 0;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  color: #fff;
  background: var(--band);
}

.signup .eyebrow {
  margin-bottom: 16px;
}

.signup h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}

.signup-lead {
  margin-top: 14px;
  color: #dcebe3;
}

.signup form {
  display: grid;
  gap: 10px;
}

.signup label {
  font-family: var(--f-display);
  font-size: 0.95rem;
}

.signup input,
.signup select {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.signup button {
  margin-top: 8px;
}

.signup-note {
  font-size: 0.88rem;
  color: #cfe7db;
}

.signup-note a {
  color: #fff;
}

.signup-done {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

/* Zaślepki podstron */
.stub-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

/* ---------- Stopka ---------- */

.site-footer {
  padding-block: 48px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.foot {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 28px;
}

.foot-brand p {
  margin-top: 16px;
  line-height: 1.6;
}

.foot-brand p a {
  color: var(--green-700);
  text-decoration: none;
}

.todo {
  color: #8a7a4a;
}

.foot h4 {
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: var(--ink);
}

.foot a:not(.logo) {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
}

.foot a:not(.logo):hover {
  color: var(--green-700);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

/* ---------- Mniejsze ekrany ---------- */

@media (max-width: 1040px) {
  .hero-in {
    gap: 44px;
  }

  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases,
  .prods {
    grid-template-columns: minmax(0, 1fr);
  }

  .prod {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .prod-visual {
    height: auto;
    min-height: 260px;
  }

  .bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1000px) {
  .header-in {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding-bottom: 14px;
  }

  .nav.is-open {
    display: flex;
  }
}

@media (max-width: 860px) {
  .sec {
    padding-block: 64px;
  }

  .how,
  .quiz,
  .signup,
  .who {
    grid-template-columns: minmax(0, 1fr);
  }

  .how {
    gap: 40px;
  }

  .hero-figure {
    max-width: 600px;
  }

  .who {
    padding: 28px;
  }

  .signup {
    padding: 32px 28px;
  }
}

@media (max-width: 720px) {
  .hero-band {
    padding-block: 72px 150px;
  }

  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .hero-foto {
    max-width: 540px;
  }

  .hero-foto::after {
    right: -60px;
    top: -34px;
    width: 190px;
    height: 190px;
  }

  .chip-live {
    right: -8px;
  }

  .prod {
    grid-template-columns: minmax(0, 1fr);
  }

  .prod-visual {
    min-height: 0;
    height: 230px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1.125rem;
  }

  .wrap {
    padding-inline: 20px;
  }

  .site-header .btn-sm {
    display: none;
  }

  .hero-band {
    padding-block: 56px 140px;
  }

  .hero-statement {
    padding-left: 20px;
  }

  /* Na telefonie etykieta łamie się na dwie linie, więc kreska za nią znika */
  .eyebrow::after {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-foto {
    padding: 0 0 22px 18px;
  }

  .chip {
    padding: 9px 14px 9px 9px;
    font-size: 0.88rem;
  }

  .chip b {
    font-size: 0.94rem;
  }

  .chip-ico {
    width: 36px;
    height: 36px;
  }

  .chip-live {
    top: 16px;
    right: -6px;
  }

  .trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 18px;
  }

  .sec {
    padding-block: 56px;
  }

  .case {
    padding: 22px 20px 18px;
  }

  .bars {
    grid-template-columns: minmax(0, 1fr);
  }

  .qbox {
    padding: 22px 18px;
  }

  .qcta .btn,
  .prod .btn,
  .who-testers .btn {
    width: 100%;
  }

  .scene-chip {
    padding: 7px 12px 7px 9px;
    font-size: 0.85rem;
  }

  .scene-home {
    border-radius: 22px;
  }

  .frame-tab {
    border-width: 6px;
    border-radius: 13px;
  }

  .frame-phone {
    border-width: 4px;
    border-radius: 14px;
  }

  .who {
    padding: 22px 20px;
  }

  .signup {
    padding: 28px 20px;
  }

  .foot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}


/* ================= Podstrona produktu: Nestor ================= */

.hero-product .hero-in {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
}

.hero-product .eyebrow img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.hero-product .eyebrow::after {
  display: none;
}

.hero-product .hero-lead {
  max-width: 40ch;
}

/* Trzy telefony: ten sam ekran w trzech dopasowaniach */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.trio figure {
  display: grid;
  gap: 10px;
}

.trio figure:nth-child(2) {
  padding-bottom: 28px;
}

.trio .frame-phone {
  width: 100%;
  border-width: 6px;
  border-radius: 22px;
}

.trio figcaption {
  font-size: 0.86rem;
  line-height: 1.35;
  color: #dcebe3;
}

.trio figcaption b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  color: #fff;
}

.hero-product .hero-band {
  padding-bottom: 112px;
}

/* Jak działa dopasowanie */
.how-fit {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.probe-shot {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.probe-shot .frame-phone {
  width: min(100%, 300px);
}

.probe-shot figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.probes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.probe {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
}

.probe b {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--green-700);
}

.probe span {
  font-size: 0.98rem;
  color: var(--muted);
}

.after-list {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.after-list li {
  position: relative;
  padding-left: 22px;
}

.after-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-700);
}

/* Funkcje dla seniora i aplikacja rodziny */
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feats.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feat {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.feat-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 220px;
  padding-top: 22px;
  overflow: hidden;
  background: var(--mint-100);
}

.feat-visual .dev-phone {
  width: 150px;
}

.feats.is-four .feat-visual .dev-phone {
  width: 136px;
}

.feat-body {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 22px 22px;
}

.feat h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.feat p {
  font-size: 0.98rem;
  color: var(--muted);
}

/* Czym się różnimy */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cmp {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
}

.cmp h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.cmp dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.cmp dt {
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cmp dd {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.cmp dd.is-nestor {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--mint-100);
  color: var(--ink);
}

/* Zaufanie */
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.02rem;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.mandatory {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--green-700);
  border-radius: 12px;
  background: var(--mint-100);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.02rem;
}

/* Cena i zgłoszenie do testów */
.price-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.price-box b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
}

.price-box span {
  color: #dcebe3;
  font-size: 0.98rem;
}

.signup select,
.signup input {
  font-size: 1.02rem;
}

@media (max-width: 1040px) {
  .feats,
  .feats.is-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-product .hero-in,
  .how-fit {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-product .hero-figure,
  .trio {
    max-width: 560px;
  }

  .compare,
  .trust-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .probes {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .feats,
  .feats.is-four {
    grid-template-columns: minmax(0, 1fr);
  }

  .trio {
    gap: 8px;
  }

  .trio .frame-phone {
    border-width: 4px;
    border-radius: 14px;
  }

  .trio figcaption {
    font-size: 0.78rem;
  }

  .probe {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}


/* Hero Nestora: jeden telefon z objaśnieniami, co jest dopasowane */
.annot {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  aspect-ratio: 600 / 640;
}

.annot-phone {
  position: absolute;
  left: 50%;
  top: 0;
  width: 232px;
  transform: translateX(-50%);
}

.annot-chips {
  margin: 0;
  padding: 0;
  list-style: none;
}

.annot .chip {
  max-width: 196px;
  padding: 9px 12px 9px 9px;
  gap: 9px;
}

.annot .chip b {
  font-size: 0.9rem;
}

.annot .chip span {
  font-size: 0.8rem;
}

.annot .chip-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.annot .a1 { left: 0; top: 15%; }
.annot .a3 { left: 0; top: 43%; }
.annot .a5 { left: 0; top: 74%; }
.annot .a6 { right: 0; top: 4%; }
.annot .a2 { right: 0; top: 30%; }
.annot .a4 { right: 0; top: 59%; }

/* Ten sam przycisk w trzech dopasowaniach */
.cmp-title {
  margin: 40px 0 16px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.tiles figure {
  display: grid;
  gap: 8px;
}

.tiles img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.tiles figcaption {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
}

.tiles figcaption b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 860px) {
  .annot {
    max-width: 560px;
    aspect-ratio: auto;
  }

  .annot-phone {
    position: static;
    width: 220px;
    margin-inline: auto;
    transform: none;
  }

  .annot-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .annot .chip {
    position: static;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .annot-chips {
    grid-template-columns: minmax(0, 1fr);
  }

  .tiles {
    gap: 8px;
  }

  .tiles figcaption {
    font-size: 0.78rem;
  }
}


/* ================= Podstrona produktu: Nestor Tab ================= */

.hero-product .hero-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #cfe7db;
}

/* Zdjęcie tabletu w hero z telefonem opiekuna w rogu */
.hero-photo {
  position: relative;
  padding-bottom: 36px;
}

.hero-photo-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.65);
}

.hero-photo-phone {
  position: absolute;
  right: -12px;
  bottom: 56px;
  width: 24%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45));
}

.hero-photo figcaption {
  margin-top: 14px;
  color: #cfe7db;
}

/* Karty funkcji z ekranem tabletu */
.feat-visual.is-tab {
  align-items: center;
  height: auto;
  padding: 18px;
}

.feat-visual.is-tab .dev-tab {
  max-width: 100%;
}

.closing {
  margin-top: 28px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

/* Jak to działa: kreator na tablecie */
.how-shot {
  display: grid;
  gap: 12px;
}

.how-shot .dev-tab {
  max-width: 100%;
  box-shadow: 0 30px 44px -26px rgba(17, 45, 31, 0.6);
}

.how-shot figcaption {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Co dostajesz i cennik */
.box-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.box-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
}

.box-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.box-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.box-list li {
  position: relative;
  padding-left: 28px;
}

.box-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.box-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.price-big {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.15;
}

.price-big small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--muted);
}

.price-rows {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.price-rows div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.price-rows dt {
  font-family: var(--f-display);
  font-weight: 600;
}

.price-rows dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .box-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .price-rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .hero-photo-img {
    border-radius: 18px;
  }

  .hero-photo-phone {
    right: -4px;
    width: 27%;
  }
}


/* ================= Podstrona produktu: TabBox ================= */

.feat-visual.is-photo {
  height: 200px;
  padding: 0;
}

.feat-visual.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-shot img.photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 44px -26px rgba(17, 45, 31, 0.6);
}

.hero-photo.no-phone {
  padding-bottom: 0;
}

.order-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #cfe7db;
}


/* ================= Podstrony z menu ================= */

.page-head {
  padding: 64px 0 8px;
}

.page-head h1 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-head .eyebrow-dark {
  margin-bottom: 12px;
}

.page-head .sec-lead {
  margin-top: 16px;
  font-size: 1.15rem;
}

.page-head + .sec {
  padding-top: 48px;
}

/* Cennik */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
}

.plan h2 {
  font-size: 1.6rem;
}

.plan .prod-kind {
  margin-top: -6px;
}

.plan .price-big {
  font-size: 1.6rem;
}

.plan .btn {
  justify-self: start;
  margin-top: 6px;
}

.plan .link-arrow {
  min-height: 0;
}

.rules {
  max-width: 860px;
}

/* Poradniki */
.cat-h {
  margin: 36px 0 16px;
  font-size: 1.35rem !important;
}

.cat-h:first-child {
  margin-top: 0;
}

.guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
}

.guide .tag {
  justify-self: start;
}

.guide h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.guide p {
  font-size: 0.98rem;
  color: var(--muted);
}

.guide .soon {
  justify-self: start;
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Dla instytucji i pomoc */
.bars.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.helps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.help {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 26px;
}

.help h3 {
  font-size: 1.4rem;
}

.help .steps {
  margin-top: 4px;
  gap: 14px;
}

.help .steps li {
  padding-left: 48px;
}

.help .steps li::before {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

.help .steps b {
  font-size: 1.02rem;
}

.help .steps span {
  font-size: 0.94rem;
}

.help .link-arrow {
  min-height: 0;
}

.bar p a {
  color: var(--green-700);
  font-weight: 700;
}

.signup textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  resize: vertical;
}

@media (max-width: 1040px) {
  .plans,
  .helps,
  .bars.is-three,
  .steps-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .guides {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ================= Okno „Zainstaluj u seniora” ================= */

.install-cta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.install-cta .signup-note {
  margin: 0;
}

.modal {
  width: min(92vw, 520px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(17, 45, 31, 0.6);
}

.modal::backdrop {
  background: rgba(17, 45, 31, 0.55);
}

.modal-box {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 32px;
}

.modal-box h2 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.modal-box > p {
  color: var(--muted);
}

.modal-box label {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 0.95rem;
}

.modal-box input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.modal-box input:focus {
  border-color: var(--green-700);
  outline: none;
}

.modal-box .btn {
  margin-top: 6px;
}

.modal-note {
  font-size: 0.88rem;
  color: var(--muted) !important;
}

.modal-note a {
  color: var(--green-700);
}

.modal-done {
  background: var(--mint-100) !important;
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--mint-100);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 560px) {
  .modal-box {
    padding: 26px 20px;
  }
}


/* ================= Formularze: pole-pułapka i strony dokumentów ================= */

.hp {
  display: none;
}

.legal {
  max-width: 760px;
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
  font-weight: 600;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  margin: 0 0 12px;
  line-height: 1.65;
}

.legal ul {
  padding-left: 22px;
}

.legal a {
  color: var(--green-700);
}


/* ================= Baner zgody na cookie ================= */

.foot button.foot-link {
  display: block;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.foot button.foot-link:hover {
  color: var(--green-700);
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  margin: 0 auto;
  max-width: 920px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--green-900);
  color: #fff;
  box-shadow: 0 24px 60px -20px rgba(17, 45, 31, 0.7);
}

.cookie-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mint-200);
}

.cookie-bar .cookie-h {
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-weight: 600;
  color: #fff;
}

.cookie-bar a {
  color: #fff;
}

.cookie-btns {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.btn-ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .cookie-in {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btns {
    flex-wrap: wrap;
  }

  .cookie-btns .btn {
    flex: 1 1 140px;
  }
}


/* ================= Zgoda na informację handlową (newsletter, zapis na Nestor Tab) ================= */

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 4px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--mint-200);
  cursor: pointer;
}

.consent input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--mint-300);
}


/* Liczby (ceny, daty) w Lexend: Atkinson Hyperlegible ma przekreślone zero, które w cenach wygląda technicznie. */
.prod-price,
.price-big,
.price-rows,
.price-box b,
.qitem-price,
.qtotal,
.order-note,
.foot-bottom {
  font-family: var(--f-display);
}


/* Opublikowany poradnik na liście */
.guide-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.guide-link:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
}

.guide-img {
  width: 100%;
  height: auto;
  margin: -4px 0 6px;
  border-radius: 14px;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.guide-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.guide-meta b {
  color: var(--green-700);
}

/* Większe logo: czytelniejsze „Wspieramy w opiece”, więcej światła między nazwą a hasłem (uwaga marketingu 8.10) */
.logo {
  gap: 13px;
  font-size: 1.2rem;
}

.logo svg {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.logo-wm {
  gap: 5px;
}

.logo small {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.08rem;
  }

  .logo svg {
    width: 42px;
    height: 42px;
  }

  .logo small {
    font-size: 0.66rem;
  }
}

/* Większy odstęp między nagłówkiem strony a pierwszą sekcją (O nas, uwaga marketingu 8.10) */
.page-head + .sec.sec-gap {
  padding-top: 96px;
}

@media (max-width: 760px) {
  .page-head + .sec.sec-gap {
    padding-top: 56px;
  }
}

/* Kontakt w stopce: e-mail, telefon i godziny w osobnych liniach, bez podwójnych odstępów (uwaga marketingu 9.10) */
.foot-brand p a:not(.logo) {
  display: inline;
  padding: 0;
}


/* ================= Nestor Tab: klikalny tablet ================= */

.try {
  margin-top: 72px;
}

.try .sec-head h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.try-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
}

.try-chip {
  padding: 10px 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}

.try-chip:hover {
  border-color: var(--green-700);
}

.try-chip.is-on {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fff;
}

.try-tablet {
  max-width: 920px;
  margin: 0 auto;
  min-height: 200px;
}

.try-note {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.try-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  margin-top: 26px;
}

@media (max-width: 760px) {
  .try {
    margin-top: 48px;
  }

  .try-chips {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
  }

  .try-chip {
    flex-shrink: 0;
  }
}

/* ===================== Strona główna v2 (specyfikacja 16.10): nowe komponenty ===================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nagłówek */
.hero-cta { display: grid; gap: 6px; justify-items: start; }
.hero-sub { font-size: 0.85rem; color: var(--mint-200); }
.hero-minor { margin: 14px 0 0; font-size: 0.95rem; color: var(--mint-200); }
.hero-minor a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-statement h1 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.2; }

/* Sytuacje: cztery karty w dwóch rzędach, każda z małym kadrem ekranu */
.cases.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cases.is-four .case { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 18px; align-items: start; }
.case-txt { display: grid; gap: 12px; align-content: start; }
.case-kadr { width: 118px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--cream); align-self: start; }
.case-kadr img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.case-kadr.is-tile { aspect-ratio: auto; height: auto; padding: 10px; background: var(--mint-100); border-color: var(--mint-200); display: flex; align-items: center; }
.case-kadr.is-tile img { height: auto; object-fit: contain; border-radius: 10px; }
.symptoms { margin: 28px 0 0; text-align: center; font-size: 0.98rem; color: var(--muted); }
.closing.is-left { text-align: left; max-width: none; }

/* Jak to działa: cztery kroki w rzędzie */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps4 li { position: relative; display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.steps4 .step4-shot .dev-phone { width: 128px; margin: 0 auto 6px; }
.steps4 .step4-n { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--f-display); font-weight: 600; }
.steps4 h3 { margin: 0; font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.steps4 p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.sec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 30px; }
.sec-cta-sub { font-size: 0.92rem; color: var(--muted); }

/* Dopasowanie: cztery fakty */
.facts4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts4 li { position: relative; padding-left: 28px; line-height: 1.5; }
.facts4 li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-200); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 11px; background-position: center; background-repeat: no-repeat; }

/* Ekrany: dwie kolumny po cztery pozycje */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pair-col { padding: 26px 26px 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.pair-h { margin: 0 0 18px; font-size: 1.15rem; font-weight: 600; color: var(--green-700); }
.pair-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.pair-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.pair-shot { width: 64px; aspect-ratio: 9 / 18; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--cream); }
.pair-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pair-list h4 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 600; }
.pair-list p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

/* Porównanie: trzy karty */
.compare.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Cennik na stronie głównej */
.pcards { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; align-items: start; }
.pcard { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px; }
.pcard-badge { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--amber, #c77901); color: #fff; font-family: var(--f-display); font-size: 0.78rem; font-weight: 600; }
.pcard-kind { margin: 0; font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700); }
.pcard-price { margin: 0; font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); }
.pcard-price b { display: block; font-size: 2.3rem; font-weight: 600; line-height: 1.1; }
.pcard-sub { margin: 0; color: var(--muted); line-height: 1.5; }
.pcard-lh { margin: 10px 0 0; font-family: var(--f-display); font-size: 0.88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.pcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.pcard li { position: relative; padding-left: 24px; font-size: 0.95rem; line-height: 1.45; }
.pcard li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 700; }
.pcard-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pcard-aside { padding: 26px; background: var(--mint-100); border-color: var(--mint-200); }
.pcard-aside h3 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 600; }
.pcard-aside p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
.status-line { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: 0.95rem; color: var(--muted); }

/* Telefon czy tablet: tabela na komputerze */
.vs { border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; padding: 16px 26px; border-bottom: 1px solid var(--line); }
.vs-head { background: var(--mint-100); }
.vs-head h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.vs-k { font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.vs-row p { margin: 0; font-size: 0.97rem; line-height: 1.5; }
.vs-row a { color: var(--green-700); font-weight: 600; }
.vs-shots { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; padding: 22px 26px 26px; align-items: center; }
.vs-shot { grid-column: 2; display: flex; justify-content: center; }
.vs-shot .dev-phone { width: 150px; }
.vs-shot.is-tab { grid-column: 3; }
.vs-shot.is-tab img { width: 100%; max-width: 360px; height: auto; border-radius: 16px; }

/* Kto za tym stoi */
.founder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 32px; }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--mint-100); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo.is-placeholder { display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--green-700); border: 2px dashed var(--mint-200); }
.founder-photo.is-placeholder span { font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; }
.founder-photo.is-placeholder small { font-size: 0.85rem; color: var(--muted); }
.founder-txt { display: grid; gap: 12px; align-content: start; }
.founder-txt h2 { margin: 0; }
.founder-txt p { margin: 0; line-height: 1.6; }
.founder-sign { color: var(--muted); }
.founder-sign a { color: var(--green-700); }
.facts-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts-bar li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-family: var(--f-display); font-size: 0.95rem; font-weight: 500; text-align: center; }

/* Instalacja */
.install { align-items: start; }
.install-steps { margin: 18px 0 0; padding-left: 22px; color: #fff; line-height: 1.55; }
.install-steps li { margin-bottom: 6px; }
.install-side { display: grid; gap: 14px; justify-items: stretch; }
.qr-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); }
.qr-ph { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--green-700); font-family: var(--f-display); font-weight: 600; }
.qr-box p { margin: 0; font-size: 0.92rem; color: var(--mint-200); line-height: 1.4; }

/* Newsletter w stopce */
.foot-nl { padding-block: 28px 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.foot-nl form { display: grid; gap: 10px; max-width: 720px; }
.foot-nl-lead { margin: 0; font-family: var(--f-display); font-weight: 500; }
.foot-nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-nl-row input { flex: 1 1 260px; min-height: 50px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 14px; font: inherit; }
.foot-nl-row input:focus { outline: none; border-color: var(--green-700); }
.consent-dark { color: var(--muted); }
.consent-dark a { color: var(--green-700); }
.foot-nl .signup-done { margin-top: 6px; }

@media (max-width: 1000px) {
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards { grid-template-columns: 1fr 1fr; }
  .pcard-aside { grid-column: 1 / -1; }
  .compare.is-three { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .cases.is-four { grid-template-columns: 1fr; }
  .cases.is-four .case { grid-template-columns: 1fr; }
  .case-kadr { display: none; } /* na telefonie kadr zabierał pół szerokości cytatu */
  .steps4 { grid-template-columns: 1fr; }
  .facts4 { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .pcards { grid-template-columns: 1fr; }
  .vs-head { display: none; }
  .vs-row, .vs-shots { grid-template-columns: 1fr; gap: 8px; }
  .vs-row p::before { content: attr(data-col); display: block; font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; color: var(--green-700); }
  .vs-shot, .vs-shot.is-tab { grid-column: 1; }
  .founder { grid-template-columns: 1fr; padding: 22px; }
  .founder-photo { max-width: 260px; }
  .facts-bar { grid-template-columns: 1fr; }
  .hero-statement h1 { font-size: 1.55rem; }
}

/* /cennik v2: dwie karty */
.plans.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
.plan.pcard { gap: 12px; }
.plan.pcard .prod-title { margin-bottom: 2px; }
.pcard-foot { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) { .plans.is-two { grid-template-columns: 1fr; } }

.page-head .h1-sub { display: block; margin-top: 10px; font-size: 0.62em; font-weight: 500; color: var(--muted); }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; gap: 14px; } .tiles figure { max-width: 300px; } }

/* Skróty ze zmian 18.10: porównanie w trzech wierszach, cennik połączony z wyborem telefon/tablet, ekrany w jednej linii */
.anchor-alias { display: block; height: 0; }
.cmp-rows { border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 24px; padding: 16px 24px; border-bottom: 1px solid var(--line); align-items: start; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-head { background: var(--mint-100); font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700); }
.cmp-row [role="rowheader"] { font-family: var(--f-display); font-weight: 600; }
.cmp-row p { margin: 0; line-height: 1.5; }
.pcards.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard .prod-title { margin-bottom: 0; }
.pcard .prod-title h3 { margin: 0; font-size: 1.25rem; }
.pcard-when { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.status-line a { color: var(--green-700); font-weight: 600; }
.pair-list.is-lines { gap: 14px; }
.pair-list.is-lines li { align-items: center; }
.pair-list.is-lines .pair-shot { width: 48px; aspect-ratio: 9 / 15; }
.pair-list.is-lines li { grid-template-columns: 48px minmax(0, 1fr); }
.pair-list.is-lines p { margin: 0; font-size: 0.97rem; line-height: 1.45; color: var(--ink); }
.pair-list.is-lines p b { font-weight: 600; }
.facts4 + .sec-head, #dopasowanie .facts4 { margin-top: 0; }
@media (max-width: 760px) {
  .cmp-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .cmp-head { display: none; }
  .pcards.is-two { grid-template-columns: 1fr; }
  /* „Jak to działa” na telefonie: ekran obok tekstu, żeby cztery kroki mieściły się w ok. 2,5 ekranu */
  .steps4 li { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 6px; padding: 16px; }
  .steps4 .step4-shot { grid-row: 1 / 4; }
  .steps4 .step4-shot .dev-phone { width: 96px; margin: 0; }
  .steps4 .step4-n { width: 28px; height: 28px; font-size: 0.9rem; }
  .steps4 h3 { font-size: 1rem; }
  .steps4 p { font-size: 0.9rem; }
}

/* ===== Strona główna po audycie 18.10: 8 sekcji ===== */
/* Nagłówek: krótszy, na telefonie przycisk główny bez przewijania */
.hero-v3 .hero-band { padding-block: 48px 104px; }
.hero-v3 .hero-lead { max-width: 40ch; margin-top: 16px; }
.hero-v3 .hero-actions { margin-top: 26px; }
.hero-v3 .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Znasz to?: trzy karty, cytat kursywą */
.cases.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cases.is-three .case { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: start; padding: 22px 22px 20px; }
.cases.is-three .case-kadr { width: 96px; }
.cases.is-three blockquote { font-style: italic; font-weight: 500; font-size: 1.12rem; }
.cases.is-three .case p { font-size: 0.97rem; }

/* Jak to działa: miniatury po lewej, cztery kroki w dwóch kolumnach na komputerze */
.steps-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.steps-mini li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.mini-shot { width: 88px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); }
.mini-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.steps-mini .step4-n { width: 28px; height: 28px; font-size: 0.9rem; margin-bottom: 6px; }
.steps-mini h3 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.steps-mini p { margin: 0; font-size: 0.93rem; line-height: 1.45; color: var(--muted); }

/* Dopasowanie: jedna linia kursywą pod kaflami */
.tiles-note { margin: 22px 0 0; font-style: italic; color: var(--muted); }

/* Cennik: zdjęcie tabletu w karcie */
.pcard.has-photo { grid-template-rows: auto; }
.pcard-photo { width: 100%; height: auto; margin-top: 6px; border-radius: 14px; display: block; }

/* Kto za tym stoi bez zdjęcia (do dostarczenia) */
.founder.no-photo { grid-template-columns: 1fr; max-width: 820px; }

/* FAQ: trzy pierwsze rozwinięte */
.faq details[open] { background: #fff; }

/* Baner cookie: krótki, dwa równorzędne przyciski */
.cookie-bar { padding: 14px 18px; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns .btn { white-space: nowrap; }

@media (max-width: 1000px) { .cases.is-three { grid-template-columns: 1fr; } .cases.is-three .case { grid-template-columns: minmax(0, 1fr) 96px; } }
@media (max-width: 760px) {
  .hero-v3 .hero-band { padding-block: 28px 120px; }
  .hero-v3 .eyebrow { margin-bottom: 14px; font-size: 0.95rem; }
  .hero-v3 .hero-statement h1 { font-size: 1.75rem; line-height: 1.15; }
  .hero-v3 .hero-lead { margin-top: 12px; font-size: 1.05rem; }
  .hero-v3 .hero-actions { margin-top: 18px; gap: 10px; }
  .hero-v3 .hero-in { gap: 34px; }
  .hero-v3 .trust { grid-template-columns: 1fr; }
  .cases.is-three .case { grid-template-columns: minmax(0, 1fr) 72px; }
  .cases.is-three .case-kadr { display: block; width: 72px; }
  .steps-mini { grid-template-columns: 1fr; gap: 10px; }
  .steps-mini li { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px 14px 10px 10px; }
  .mini-shot { width: 72px; aspect-ratio: 3 / 4; }
  .steps-mini h3 { font-size: 0.98rem; }
  .steps-mini p { font-size: 0.9rem; }
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
  .cookie-in { flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-bar p { font-size: 0.88rem; line-height: 1.4; }
  .cookie-btns { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Pomoc: trzy fakty o dopasowaniu pod krokami Nestora */
.help-sub { margin: 18px 0 8px; font-family: var(--f-display); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.help-facts { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.help-facts li { position: relative; padding-left: 22px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.help-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 700; }

/* Telefon 375 px: „Jak to działa” ma zaczynać się do 2,5 ekranu od góry i mieścić się w jednym ekranie */
.pcard-photo { max-height: 210px; object-fit: cover; object-position: center 40%; }
@media (max-width: 760px) {
  .hero-v3 .hero-band { padding-block: 24px 96px; }
  .hero-v3 .hero-in { gap: 24px; }
  .hero-v3 .hero-foto { max-width: 300px; margin-inline: auto; }
  .hero-v3 .trust { padding: 10px 14px; gap: 6px; }
  .hero-v3 .trust li { font-size: 0.92rem; padding-block: 4px; }
  #sytuacje.sec { padding-block: 48px 40px; }
  #sytuacje .sec-head { margin-bottom: 18px; }
  #sytuacje .sec-head h2 { font-size: 1.55rem; }
  .cases.is-three { gap: 12px; }
  .cases.is-three .case { padding: 16px 16px 14px; gap: 12px; }
  .cases.is-three .case-txt { gap: 8px; }
  .cases.is-three blockquote { font-size: 1.02rem; line-height: 1.3; }
  .cases.is-three .case p { font-size: 0.92rem; }
  #jak-to-dziala.sec { padding-block: 36px 36px; }
  #jak-to-dziala .sec-head { margin-bottom: 14px; }
  #jak-to-dziala .sec-head h2 { font-size: 1.45rem; }
  #jak-to-dziala .eyebrow-dark { margin-bottom: 6px; }
  .steps-mini { gap: 8px; }
  .steps-mini li { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; }
  .mini-shot { width: 64px; aspect-ratio: 4 / 5; border-radius: 10px; }
  .steps-mini .step4-n { width: 22px; height: 22px; font-size: 0.78rem; margin-bottom: 3px; }
  .steps-mini h3 { font-size: 0.93rem; margin-bottom: 2px; }
  .steps-mini p { font-size: 0.86rem; line-height: 1.35; }
  #jak-to-dziala .sec-cta { margin-top: 16px; gap: 8px; }
  #jak-to-dziala .sec-cta-sub { font-size: 0.82rem; text-align: center; }
}
@media (max-width: 760px) {
  #jak-to-dziala.sec { padding-block: 28px 30px; }
  .steps-mini li { padding: 7px 10px 7px 7px; }
  .mini-shot { width: 60px; }
  .steps-mini li { grid-template-columns: 60px minmax(0, 1fr); }
}
.signup-lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Pokaz „Jak to działa” wbudowany w stronę (pokaz.js): cztery kroki w oknie ===== */
.tour { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: var(--band, #175a41); color: #fff; overflow: hidden; }
.tour::backdrop { background: rgba(17, 45, 31, 0.72); backdrop-filter: blur(3px); }
.tour-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; min-height: 520px; padding: 28px 32px 24px; background: radial-gradient(760px 480px at 90% -10%, rgba(159, 220, 189, 0.22), transparent 60%); }
.tour-stage { display: contents; }
.tour-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tour-prog { display: flex; gap: 6px; }
.tour-prog i { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); }
.tour-prog i.on { background: var(--mint-300, #9fdcbd); }
.tour-prog i.done { background: rgba(159, 220, 189, 0.6); }
.tour-skip { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 0.9rem; cursor: pointer; }
.tour-skip:hover { background: rgba(255, 255, 255, 0.12); }
.tour-txt { display: grid; align-content: center; gap: 14px; }
.tour-k { margin: 0; font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint-300, #9fdcbd); }
.tour-h { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
.tour-p { margin: 0; max-width: 42ch; font-size: 1.05rem; line-height: 1.55; color: #dcebe3; }
.tour-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tour-nav .btn-ghost-light[disabled] { opacity: 0.4; cursor: default; }
.tour-vis { display: grid; justify-items: center; align-content: center; gap: 14px; }
.tour-phone { position: relative; width: min(240px, 100%); aspect-ratio: 9 / 19; border-radius: 30px; border: 6px solid #0d2419; background: #0d2419; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6); }
.tour-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.45s; }
.tour-phone img.off { opacity: 0; }
.tour-badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink, #112d1f); font-family: var(--f-display); font-size: 0.9rem; font-weight: 500; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); }
.tour-badge .ok { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint-100, #e4f3ea); color: var(--green-700, #175a41); flex: none; }
.tour-final { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 14px; align-content: center; }
.tour-final img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.85); }
.tour-final .tour-p { max-width: 52ch; }
.tour-final .tour-nav { justify-content: center; }
@media (max-width: 760px) {
  .tour { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
  .tour-in { grid-template-columns: 1fr; gap: 18px; min-height: 100dvh; padding: 16px 18px 20px; align-content: start; overflow: auto; }
  .tour-vis { order: 2; }
  .tour-txt { order: 3; }
  .tour-phone { width: min(164px, 50vw); }
  .tour-in { gap: 12px; }
  .tour-txt { gap: 8px; }
  .tour-vis { gap: 10px; }
  .tour-h { font-size: 1.35rem; }
  .tour-p { font-size: 0.98rem; }
  .tour-nav .btn { flex: 1 1 auto; }
}

/* Sekcja Nestor Tab na stronie głównej: tekst + zdjęcie z kuchni, zwięźle (pół ekranu telefonu) */
.tabsec { padding-block: 72px; }
.tabsec-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tabsec-txt { display: grid; gap: 12px; }
.tabsec-txt h2 { margin: 0; }
.tabsec-txt .sec-lead { margin: 0; }
.tabsec-status { margin: 0; font-family: var(--f-display); font-size: 0.95rem; font-weight: 500; color: var(--amber, #c77901); }
.tabsec-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tabsec-foto { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(17, 45, 31, 0.45); }
.tabsec-foto img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .tabsec { padding-block: 36px; }
  .tabsec-in { grid-template-columns: 1fr; gap: 16px; }
  .tabsec-foto { order: -1; }
  .tabsec-foto img { aspect-ratio: 16 / 8; }
  .tabsec-txt h2 { font-size: 1.45rem; }
  .tabsec-txt .sec-lead { font-size: 0.98rem; }
  .tabsec-btns .btn { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .tabsec { padding-block: 28px; }
  .tabsec-in { gap: 12px; }
  .tabsec-txt { gap: 8px; }
  .tabsec-foto img { aspect-ratio: 16 / 7; }
  .tabsec-txt .sec-lead { font-size: 0.95rem; line-height: 1.45; }
  .tabsec-btns { gap: 8px; }
}

/* ===== Szlif UI (19.10): równe przyciski, wyrównane pary, spójne karty ===== */
.btn { min-height: 56px; padding: 12px 24px; line-height: 1.2; text-align: center; }
.btn-sm { min-height: 46px; padding: 10px 20px; }
.btn-ghost, .btn-ghost-light { border-width: 2px; }
.btn:focus-visible { outline: 3px solid var(--mint-300, #9fdcbd); outline-offset: 3px; }

/* Nagłówek: dwa przyciski tej samej szerokości i wysokości, podpis wyśrodkowany pod pierwszym */
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; align-items: start; max-width: 540px; }
.hero-actions .btn { width: 100%; padding-inline: 18px; }
.hero-cta { justify-items: center; }
.hero-sub { text-align: center; }

/* Znasz to?: link na dole każdej karty, w jednej linii w całym rzędzie */
.cases.is-three .case { align-items: stretch; }
.cases.is-three .case-txt { height: 100%; grid-template-rows: auto auto 1fr auto; }
.cases.is-three .case-txt .link-arrow { align-self: end; }

/* Jak to działa: numer i tytuł w jednej linii */
.steps-mini li > div:last-child { display: grid; gap: 4px; }
.steps-mini .step4-n { margin-bottom: 2px; }

/* Nestor Tab: dwa przyciski równej szerokości */
.tabsec-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 540px; }
.tabsec-btns .btn { width: 100%; padding-inline: 16px; }
.tabsec-status { color: #8a5400; }

/* Cennik: obie karty o tej samej budowie, przyciski przy dolnej krawędzi, jeden pod drugim */
.pcards.is-two { align-items: stretch; }
.pcard { display: flex; flex-direction: column; gap: 10px; }
.pcard ul { margin-bottom: 4px; }
.pcard-btns { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: auto; padding-top: 8px; }
.pcard-btns .btn { width: 100%; }
.pcard-badge { align-self: flex-start; }
.pcard-badge.is-ok { background: var(--green-700); }
.pcard .prod-title { margin-top: 2px; }

/* Instalacja: kolumna przycisków równej szerokości, kod QR między nimi */
.install-side .btn { width: 100%; }

/* Stopka: pole e‑mail tej samej wysokości i kształtu co przycisk */
.foot-nl-row input { min-height: 56px; border-radius: 999px; padding-inline: 20px; }
.foot-nl-row .btn { min-width: 160px; }

/* Okno pokazu: para przycisków równej szerokości */
.tour-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 360px; }
.tour-nav .btn { width: 100%; }
.tour-final .tour-nav { grid-template-columns: repeat(3, auto); max-width: none; }
.tour-final .tour-nav .btn { width: auto; }

/* Baner cookie: oba przyciski tej samej szerokości */
.cookie-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 300px; }
.cookie-btns .btn { width: 100%; padding-inline: 14px; }

/* Linki z strzałką: ten sam odstęp i ruch strzałki przy najechaniu */
.link-arrow svg { transition: transform 0.15s; }
.link-arrow:hover svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .hero-actions { grid-template-columns: 1fr; max-width: none; }
  .tabsec-btns { grid-template-columns: 1fr; max-width: none; }
  .tour-nav { max-width: none; }
  .tour-final .tour-nav { grid-template-columns: 1fr; }
  .tour-final .tour-nav .btn { width: 100%; }
  .cookie-btns { min-width: 0; }
  .cases.is-three .case-txt { grid-template-rows: auto auto auto auto; height: auto; }
}
/* Szlif, dogrywka: numer kroku w zielonym kółku także w układzie z miniaturami; para przycisków Nestor Tab bez łamania etykiet */
.steps-mini .step4-n { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; }
.tabsec-btns { max-width: 640px; }
.tabsec-btns .btn { font-size: 1rem; }
/* Nestor Tab: etykiety są różnej długości, więc przyciski jeden pod drugim, tej samej szerokości, bez łamania */
.tabsec-btns { grid-template-columns: 1fr; max-width: 360px; }
.tabsec-btns .btn { font-size: 1.0625rem; }

/* Nagłówek na średnich szerokościach (560–1000 px): przycisk w jednym rzędzie z logo i Menu, nie pod logo */
@media (max-width: 1000px) {
  .header-in { flex-wrap: wrap; row-gap: 8px; }
  .site-header .btn-sm { order: 1; margin-left: auto; }
  .menu-btn { order: 2; margin-left: 0; }
  .nav { order: 3; }
}
@media (max-width: 680px) {
  .site-header .btn-sm { display: none; }
  .menu-btn { margin-left: auto; }
}
/* Nagłówek na szerokościach 720–1100 px: kolumna tekstu jest wąska, więc para przycisków jeden pod drugim, bez łamania etykiet */
@media (max-width: 1100px) {
  .hero-actions { grid-template-columns: 1fr; max-width: 360px; }
}

/* ===================== Architektura 19.10: wizytówka marki, landing /nestor, /opiekun ===================== */
/* Nagłówek z numerem telefonu */
.head-tel { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--f-display); font-weight: 600; color: var(--green-700); text-decoration: none; white-space: nowrap; }
.head-tel:hover span { text-decoration: underline; text-underline-offset: 3px; }
.header-in .nav { margin-left: auto; }
.header-in .head-tel { margin-left: 0; }
.header-in .head-tel + .menu-btn { margin-left: 0; }
@media (max-width: 1000px) {
  .head-tel { order: 0; width: 44px; height: 44px; justify-content: center; margin-left: 2px; border: 1px solid var(--line); border-radius: 50%; }
  .head-tel span { display: none; }
}

/* Strona główna: dwoje drzwi */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.door { display: grid; grid-template-rows: 260px auto; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.door:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px rgba(17, 45, 31, 0.5); }
.door-img { position: relative; background: var(--mint-100); overflow: hidden; }
.door-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.door-img.is-phone { display: grid; place-items: end center; background: linear-gradient(180deg, var(--mint-100), #d7ecdf); }
.door-img.is-phone .dev-phone { width: 150px; margin-bottom: -70px; }
.door-txt { display: grid; gap: 10px; padding: 24px 26px 26px; }
.door-k { margin: 0; font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700); }
.door-txt h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.door-txt p { margin: 0; color: var(--muted); line-height: 1.55; }
.door-txt .btn { justify-self: start; margin-top: 6px; }
.doors-band { margin: 22px auto 0; max-width: 760px; text-align: center; font-family: var(--f-display); font-weight: 500; }
.doors-band a { color: var(--green-700); }

/* Strona główna: cały system w jednym obrazie */
.system { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 0.8fr); gap: 28px; align-items: center; padding: 28px 32px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.system-label { margin: 0 0 12px; font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.system-devices { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.system-tab { width: min(300px, 100%); border-radius: 14px; overflow: hidden; border: 6px solid #0d2419; background: #0d2419; }
.system-tab img { width: 100%; height: auto; display: block; }
.system-phone { width: 96px; margin-left: -34px; margin-bottom: -12px; position: relative; z-index: 1; }
.system-phone.is-big { width: 150px; margin: 0 auto; }
.system-flows { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.system-flows li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--mint-100); color: var(--green-900); font-family: var(--f-display); font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.flow-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--green-700); flex: none; }
.flow-arrow { color: var(--green-700); flex: none; }

/* Strona główna: poradniki w trzech kaflach */
.guides.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guides.is-three .guide h3 { font-size: 1.05rem; }
.hero-home .hero-actions { max-width: 620px; }

/* /nestor: trzy drogi */
.paths { border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.paths-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 0 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); align-items: center; }
.paths-row:last-child { border-bottom: 0; }
.paths-head { background: var(--mint-100); font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700); }
.paths-k { font-family: var(--f-display); font-weight: 600; }
.paths-row .yes, .paths-row .no { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 500; }
.paths-row .yes::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; flex: none; }
.paths-row .no { color: var(--muted); }
.paths-row .no::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #f1efe9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f8b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat; flex: none; }
.paths-row .is-nestor { color: var(--green-700); font-weight: 600; }
.paths-row span[data-col]::after { content: ""; }

/* /nestor: pokaz w ramce telefonu */
.demo-wrap { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: center; }
.demo-phone { position: relative; width: 360px; aspect-ratio: 9 / 18.5; border-radius: 40px; border: 8px solid #0d2419; background: #0d2419; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(17, 45, 31, 0.6); }
.demo-phone iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.demo-start { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; cursor: pointer; }
.demo-start img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; opacity: 0.55; }
.demo-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--green-700); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.demo-start:hover .demo-play { background: var(--green-800, #124a35); }
.demo-side { display: grid; gap: 16px; justify-items: start; }
.demo-tips { margin: 0; padding-left: 22px; display: grid; gap: 8px; line-height: 1.5; }
.demo-full { color: var(--green-700); font-weight: 600; }

/* /nestor: kroki w jednej linii */
.steps-line { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 820px; }
.steps-line li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.steps-line .step4-n { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--f-display); font-weight: 600; }
.steps-line b { font-weight: 600; }

/* /nestor: jedna karta ceny */
.price-one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; align-items: center; padding: 28px 30px; }
.price-one-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.price-one-list li { position: relative; padding-left: 26px; line-height: 1.45; }
.price-one-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 700; }
.price-one-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 6px; border-top: 1px solid var(--line); }

/* /nestor: formularz przypomnienia w bloku końcowym */
.remind { display: grid; gap: 8px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.remind h3 { margin: 0; font-size: 1.15rem; }
.remind-lead { margin: 0 0 6px; font-size: 0.92rem; color: var(--mint-200); }
.remind label { font-family: var(--f-display); font-size: 0.9rem; font-weight: 500; }
.remind label small { font-weight: 400; color: var(--mint-200); }
.remind input[type="text"], .remind input[type="date"] { min-height: 50px; padding: 10px 16px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); }
.remind .consent { color: var(--mint-200); font-size: 0.88rem; }
.remind .consent a { color: #fff; }
.remind .btn { justify-self: start; }

/* /nestor: przyklejony pasek na telefonie */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; justify-content: center; }
.sticky-cta .btn { width: 100%; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.5); }
.sticky-cta[hidden] { display: none; }

/* /opiekun */
.hero-opiekun .hero-in { align-items: start; }
.hero-foto.is-phone { display: grid; justify-items: center; }
.hero-foto.is-phone::before, .hero-foto.is-phone::after { display: none; }
.hero-foto.is-phone .dev-phone { width: 280px; }
.get { display: grid; gap: 18px; margin-top: 26px; }
.get-way { display: grid; gap: 10px; justify-items: start; }
.get-way[hidden] { display: none; }
.get-note { margin: 0; font-size: 0.95rem; color: var(--mint-200); }
.get-note b { color: #fff; }
.ios-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ios-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; color: #dcebe3; }
.ios-pic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--green-700); }
.get-qr { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: center; }
.get-qr img { width: 160px; height: 160px; border-radius: 14px; background: #fff; padding: 6px; }
.sendlink { display: grid; gap: 8px; margin-top: 10px; }
.sendlink-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sendlink-row input { flex: 1 1 200px; min-height: 46px; padding: 8px 16px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 999px; font: inherit; }
.get-other { justify-self: start; padding: 0; border: 0; background: transparent; color: var(--mint-200); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-opiekun .hero-sub { margin-top: 18px; text-align: left; font-size: 0.92rem; }
.hero-opiekun .hero-sub a { color: #fff; }
.progress { margin: 0 0 24px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.progress li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.progress li.is-now { border-color: var(--green-700); box-shadow: inset 0 0 0 1px var(--green-700); }
.progress-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint-100); color: var(--green-700); font-family: var(--f-display); font-weight: 600; }
.progress li.is-done .progress-n, .progress li.is-now .progress-n { background: var(--green-700); color: #fff; }
.progress li div { display: grid; gap: 4px; }
.progress li span:not(.progress-n) { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 28px; }
.share h3 { margin: 0 0 6px; font-size: 1.15rem; }
.share p { margin: 0; color: var(--muted); }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btns .btn { min-height: 48px; padding: 10px 18px; }

@media (max-width: 1000px) {
  .system { grid-template-columns: 1fr; gap: 18px; }
  .system-flows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .system-flows li { white-space: normal; justify-content: center; text-align: center; }
  .flow-arrow { transform: rotate(90deg); }
  .demo-wrap { grid-template-columns: 1fr; justify-items: center; }
  .demo-side { justify-items: center; text-align: left; }
  .guides.is-three { grid-template-columns: 1fr; }
  .progress { grid-template-columns: 1fr; }
  .share { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
  .door { grid-template-rows: 200px auto; }
  .door-img.is-phone .dev-phone { width: 120px; margin-bottom: -50px; }
  .door-txt { padding: 20px; }
  .door-txt .btn { justify-self: stretch; }
  .system { padding: 18px; }
  .system-flows { grid-template-columns: 1fr; gap: 8px; }
  .system-flows li { justify-content: flex-start; text-align: left; }
  .paths-head { display: none; }
  .paths-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .paths-row span[data-col]::before { content: attr(data-col) ": "; font-weight: 500; color: var(--muted); width: auto; height: auto; border-radius: 0; background: none; }
  .paths-row .yes, .paths-row .no { gap: 6px; }
  .demo-phone { width: min(300px, 100%); }
  .price-one { grid-template-columns: 1fr; }
  .hero-opiekun .hero-foto { display: none; }
  .get-qr { grid-template-columns: 1fr; }
}

/* /cennik: jedna tabela obu produktów */
.ptable { border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
.ptable-row { display: grid; grid-template-columns: 200px repeat(2, minmax(0, 1fr)); gap: 0 24px; padding: 16px 26px; border-bottom: 1px solid var(--line); align-items: start; }
.ptable-row:last-child { border-bottom: 0; }
.ptable-head { background: var(--mint-100); align-items: center; }
.ptable-prod { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.ptable-prod .prod-mark { grid-row: 1 / 3; }
.ptable-prod b { font-family: var(--f-display); font-size: 1.15rem; }
.ptable-prod small { font-size: 0.85rem; color: var(--muted); }
.ptable-k { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.ptable-row p { margin: 0; line-height: 1.5; }
.ptable-cta > div { display: grid; gap: 8px; }
@media (max-width: 760px) {
  .ptable-head { grid-template-columns: 1fr; gap: 12px; }
  .ptable-head .ptable-k { display: none; }
  .ptable-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; }
  .ptable-row p::before { content: attr(data-col); display: block; font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; color: var(--green-700); }
  .ptable-cta .ptable-k { display: none; }
}

/* Dogrywka 20.10: nagłówek mieści telefon + 6 pozycji + przycisk; przyciski o naturalnej szerokości bez łamania etykiet */
.site-header .btn-sm { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 1001px) { .nav a { padding-inline: 6px; font-size: 0.9rem; } .head-tel { font-size: 0.95rem; gap: 6px; } .site-header .btn-sm { padding-inline: 16px; } }
.hero-home .hero-actions { grid-template-columns: repeat(2, max-content); max-width: none; }
.hero-product .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; max-width: none; }
.hero-home .hero-actions .btn, .hero-product .hero-actions .btn, .hero-actions.is-single .btn { white-space: nowrap; }
.hero-actions.is-single { grid-template-columns: max-content; max-width: none; }
.doors-band a { white-space: nowrap; }
.closing a { color: var(--green-700); font-weight: 600; }
@media (max-width: 1100px) { .hero-home .hero-actions, .hero-actions.is-single { grid-template-columns: 1fr; max-width: 420px; } .hero-home .hero-actions .btn, .hero-actions.is-single .btn { white-space: normal; width: 100%; } }
@media (max-width: 760px) { .hero-home .hero-actions, .hero-actions.is-single { max-width: none; } .hero-product .hero-actions .btn { white-space: normal; width: 100%; } }
/* Telefon: logo, ikona telefonu i Menu w jednym rzędzie; placeholder zdjęcia założyciela mniejszy */
@media (max-width: 600px) {
  .header-in { gap: 8px; }
  .logo-wm small { display: none; }
  .logo-name { font-size: 1.05rem; }
  .menu-btn { padding-inline: 14px; }
  .founder-photo.is-placeholder { max-width: 180px; aspect-ratio: 1; }
}
@media (max-width: 600px) {
  .logo { gap: 8px; }
  .logo svg { width: 34px; height: 34px; }
  .logo-name { font-size: 0.95rem; letter-spacing: 0.04em; }
  .head-tel { width: 40px; height: 40px; }
  .menu-btn { padding-inline: 12px; min-height: 40px; }
  .wrap.header-in { padding-inline: 16px; }
}

/* Nagłówek strony głównej: zdjęcie z kuchni (pani ze smartfonem, tablet na blacie); nakładki tak, żeby nie zasłaniały twarzy ani ekranu tabletu */
.hero-home .hero-foto > img { object-position: 50% 40%; }
/* Oba statusy w lewej kolumnie zdjęcia (szafka, ręcznik, lodówka ze zdjęciami): twarz po prawej i tablet na dole zostają odsłonięte */
.hero-home .chip-live { top: 24px; right: auto; left: 0; }
.hero-home .chip-ok { left: 0; right: auto; bottom: auto; top: 37%; }
@media (max-width: 1000px) {
  .hero-home .chip { padding: 8px 12px 8px 8px; font-size: 0.85rem; }
  .hero-home .chip-ico { width: 30px; height: 30px; }
}
@media (max-width: 760px) {
  /* Na telefonie zdjęcie jest wąskie: statusy stoją pod zdjęciem, nie na nim */
  .hero-home .hero-foto { display: grid; gap: 10px; justify-items: start; max-width: 360px; }
  .hero-home .chip, .hero-home .chip-live, .hero-home .chip-ok { position: static; top: auto; left: auto; right: auto; bottom: auto; padding: 9px 14px 9px 9px; font-size: 0.88rem; }
  .hero-home .chip-ico { width: 34px; height: 34px; }
}

/* Strona główna: „Nasza misja” (trzy filary + cytat) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { display: grid; gap: 10px; align-content: start; padding: 24px 24px 22px; }
.pillar-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-100); color: var(--green-700); }
.pillar h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.55; }
.quote { margin: 20px 0 0; padding: 28px 32px; display: grid; gap: 10px; background: var(--mint-100); border-color: var(--mint-200); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; line-height: 1.4; color: var(--green-900); text-wrap: balance; max-width: 60ch; }
.quote figcaption { color: var(--muted); }
.quote figcaption b { color: var(--ink); }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .quote { padding: 20px; } .quote blockquote { font-size: 1.12rem; } }

/* „Nasza misja” wg makiety: po lewej zdjęcie + cytat, po prawej dwa kafle (logo Zaczyn, liczba rodzin) */
.misja { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.misja-cytat { margin: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: center; padding: 28px; background: var(--mint-100); border-color: var(--mint-200); }
.misja-foto { width: 200px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #fff; }
.misja-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.misja-foto.is-placeholder { display: grid; place-content: center; justify-items: center; gap: 8px; border: 2px dashed var(--mint-200); color: var(--green-700); text-align: center; }
.misja-foto.is-placeholder span { font-family: var(--f-display); font-size: 2rem; font-weight: 600; }
.misja-foto.is-placeholder small { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.misja-cytat-txt { display: grid; gap: 14px; }
.misja-cytat blockquote { margin: 0; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; line-height: 1.4; color: var(--green-900); text-wrap: balance; }
.misja-cytat figcaption { display: grid; gap: 2px; color: var(--muted); }
.misja-cytat figcaption b { color: var(--ink); font-family: var(--f-display); }
.misja-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.misja-kafel { display: grid; gap: 8px; align-content: start; padding: 24px; }
.misja-kafel h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.misja-kafel p { margin: 0; color: var(--muted); line-height: 1.5; }
.misja-logo { width: auto; height: 44px; object-fit: contain; object-position: left; margin-bottom: 6px; }
.misja-stat { margin: 0 0 6px; font-family: var(--f-display); font-size: 1.05rem; font-weight: 500; color: var(--green-700); }
.misja-stat b { font-size: 2.2rem; font-weight: 600; line-height: 1; margin-right: 6px; color: var(--green-700); }
@media (max-width: 1000px) {
  .misja { grid-template-columns: 1fr; }
  .misja-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .misja-cytat { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .misja-foto { width: 150px; }
  .misja-cytat blockquote { font-size: 1.12rem; }
  .misja-side { grid-template-columns: 1fr; }
}

/* ===== /nestor wg zmian z 20.10 ===== */
/* Hero: telefon z podpisami; na telefonie cztery podpisy; pasek zaufania 4 pozycje, na komórce 2×2 */
.hero-nestor .hero-figure { margin: 0; }
.trust.trust-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .hero-nestor .annot .a4, .hero-nestor .annot .a6 { display: none; } }
@media (max-width: 760px) { .trust.trust-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust.trust-four li { font-size: 0.92rem; } }

/* Co widzi mama: cztery kafle; na telefonie pasek przewijany w bok z widoczną krawędzią kolejnego kafla */
.mama-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.mama-tile { display: grid; gap: 8px; align-content: start; justify-items: center; padding: 20px 18px 20px; text-align: center; }
.mama-tile .dev-phone { width: 128px; margin-bottom: 6px; }
.mama-tile h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.mama-tile p { margin: 0; font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) {
  .mama-tiles { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 12px; margin-inline: -24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mama-tiles::-webkit-scrollbar { display: none; }
  .mama-tile { flex: 0 0 68%; max-width: 280px; scroll-snap-align: start; }
}
@media (max-width: 560px) { .mama-tiles { padding-inline: 20px; margin-inline: -20px; } .mama-tile { flex-basis: 72%; } }

/* Widzisz / nie widzisz pod pokazem */
.see { margin-top: 40px; }
.see h3 { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.3; max-width: 36ch; }
.see-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.see-col { padding: 22px 24px; }
.see-k { margin: 0 0 10px; font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.see-yes .see-k { color: var(--green-700); }
.see-no .see-k { color: var(--muted); }
.see-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.see-col li { position: relative; padding-left: 28px; line-height: 1.45; }
.see-col li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; }
.see-yes li::before { background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175a41' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.see-no li { color: var(--muted); }
.see-no li::before { background: #f1efe9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f8b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.see-note { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 760px) { .see-cols { grid-template-columns: 1fr; } }

/* Z kim tworzymy: układ redakcyjny, cytat na ciemnej zieleni + dwa wiersze bez ramek */
.misja2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.misja2-quote { position: relative; margin: 0; padding: 82px 40px 34px 40px; border-radius: 28px; background: #175a41; color: #fff; overflow: hidden; }
.misja2-mark { position: absolute; left: 36px; top: -20px; height: 88px; font-family: var(--f-display); font-size: 5.5rem; line-height: 1; color: #4B9C7B; pointer-events: none; }
.misja2-quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2.1vw, 1.85rem); font-weight: 500; line-height: 1.35; text-wrap: balance; }
.misja2-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: #cfe3d8; font-size: 0.95rem; line-height: 1.35; }
.misja2-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255, 255, 255, 0.5); }
.misja2-quote figcaption b { display: block; color: #fff; font-family: var(--f-display); font-size: 1.02rem; }
.misja2-rows { display: grid; }
.misja2-row { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.misja2-row:first-child { border-top: 0; padding-top: 0; }
.misja2-row:last-child { padding-bottom: 0; }
.misja2-logo { width: auto; height: 40px; object-fit: contain; object-position: left; margin-bottom: 4px; }
.misja2-row h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.misja2-row p { margin: 0; color: var(--muted); line-height: 1.55; }
.misja2-n { margin: 0 0 4px; font-family: var(--f-display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--green-700); }
@media (max-width: 1000px) { .misja2 { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 760px) { .misja2-quote { padding: 68px 24px 26px 24px; } .misja2-mark { left: 22px; top: -16px; height: 72px; font-size: 4.5rem; } }

/* Zacznij od siebie: nagłówek, cztery kroki w rzędzie, przycisk + linia końcowa obok formularza */
.signup.start-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; row-gap: 26px; }
.start-head { grid-column: 1 / -1; }
.start-head h2 { margin: 0; }
.start-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.start-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.95rem; line-height: 1.45; }
.start-steps .step4-n { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--green-700); font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; }
.start-steps b { font-weight: 600; }
.start-cta { display: grid; gap: 14px; align-content: start; }
.start-cta .signup-note { margin: 0; }
@media (max-width: 1000px) { .start-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .signup.start-card { grid-template-columns: 1fr; } .start-steps { grid-template-columns: 1fr; gap: 8px; } }
/* /nestor, pasek zaufania na telefonie: 2×2, mniejsza czcionka i ikona, żeby pozycje nie łamały się na trzy linie */
@media (max-width: 760px) {
  .trust.trust-four { gap: 6px 10px; padding: 12px 14px; }
  .trust.trust-four li { font-size: 0.86rem; line-height: 1.3; align-items: center; }
  .trust.trust-four .trust-ico { width: 30px; height: 30px; flex: none; }
}

/* ===== Czym się kierujemy: serce z czterech części (strona główna) ===== */
.heart-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px) minmax(0, 1fr); gap: 28px; align-items: center; }
.heart-col { display: grid; gap: 14px; min-width: 0; }
.heart-value { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid transparent; border-radius: 20px; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.2s; }
.heart-value:hover, .heart-value:focus-visible, .heart-value.is-on { background: #fff; border-color: var(--line); }
.heart-value:focus-visible { outline: 3px solid var(--mint-300); outline-offset: 2px; }
.heart-stage.has-pick .heart-value:not(.is-on) { opacity: 0.55; }
.heart-col.is-left .heart-value { text-align: right; }
.heart-who { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.heart-col.is-left .heart-who { justify-content: flex-end; flex-direction: row-reverse; }
.heart-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--mint-200); transition: background 0.2s; }
.heart-value.is-on .heart-dot { background: var(--green-700); }
.heart-h { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.heart-p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.heart-box { display: grid; gap: 12px; justify-items: center; }
.heart { width: 100%; max-width: 380px; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(17, 45, 31, 0.18)); }
.heart-q { fill: var(--green-700); cursor: pointer; transition: fill 0.25s; }
.heart-stage.has-pick .heart-q:not(.is-on) { fill: var(--mint-200); }
.heart-seam { stroke: var(--tint); stroke-width: 6; }
.heart-outline { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; pointer-events: none; }
.heart-label { font-family: var(--f-display); font-weight: 600; font-size: 17px; fill: #fff; pointer-events: none; transition: fill 0.25s; }
.heart-stage.has-pick .heart-label:not(.is-on) { fill: var(--green-700); }
.heart-cap { margin: 0; display: grid; gap: 2px; justify-items: center; text-align: center; font-size: 0.95rem; color: var(--muted); }
.heart-cap b { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
@media (max-width: 1000px) {
  /* Telefon i tablet: serce u góry, pod nim karty w kolejności części serca (Samodzielność, Niezależność, Godność, Spokój) */
  .heart-stage { grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  .heart-col { display: contents; }
  .heart-box { grid-column: 1 / -1; order: -1; margin-bottom: 10px; }
  .heart { max-width: 300px; }
  #v-sam { order: 1; } #v-nie { order: 2; } #v-god { order: 3; } #v-spo { order: 4; }
  .heart-col.is-left .heart-value { text-align: left; }
  .heart-col.is-left .heart-who { justify-content: flex-start; flex-direction: row; }
  .heart-value { background: #fff; border-color: var(--line); padding: 16px; }
}
@media (max-width: 560px) { .heart-stage { grid-template-columns: 1fr; } .heart { max-width: 260px; } .heart-h { font-size: 1.12rem; } }
@media (prefers-reduced-motion: reduce) { .heart-value, .heart-q, .heart-label, .heart-dot { transition: none; } }

/* Pokaz aplikacji na telefonie: na całym ekranie, nie w wąskiej ramce */
.demo-overlay { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #0d2419; }
.demo-overlay-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); color: #fff; font-family: var(--f-display); font-size: 0.95rem; font-weight: 500; }
.demo-overlay-bar .btn { min-height: 40px; padding: 8px 16px; }
.demo-overlay iframe { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: #fff; }
body.has-demo-overlay { overflow: hidden; }
body.has-demo-overlay .sticky-cta { display: none; }
@media (max-width: 760px) { .demo-phone { width: min(260px, 100%); } }

/* /nestor-tab: zdjęcie nagłówka „rozmowa wideo przy stole” (pani po lewej, tablet po prawej na dole): kadr wyższy niż 16:9, telefon opiekuna w prawym górnym rogu, żeby nie zasłaniał tabletu */
.hero-photo.is-rozmowa .hero-photo-img { aspect-ratio: 5 / 4; object-position: 50% 28%; }
@media (max-width: 760px) { .hero-photo.is-rozmowa .hero-photo-img { aspect-ratio: 4 / 3; } }

/* ===== /nestor-tab wg zmian z 21.10 ===== */
/* Hero: karta z Opiekuna w rogu zdjęcia */
.hero-photo .chip-call { left: 18px; bottom: 56px; right: auto; top: auto; }
.hero-photo.no-phone .chip-call { bottom: 18px; }
@media (max-width: 760px) { .hero-photo .chip-call { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; font-size: 0.85rem; } .hero-photo .chip-call .chip-ico { width: 30px; height: 30px; } }

/* Rozmowa wideo: trzy kadry w rzędzie */
.frames3 { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.15fr) minmax(0, 1.15fr); gap: 22px; margin: 0; padding: 0; list-style: none; align-items: end; }
.frames3 li { display: grid; gap: 12px; justify-items: center; }
.frame3-shot { width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.frame3-shot.is-phone .dev-phone { width: min(150px, 60%); }
.frame3-shot .dev-tab { width: 100%; }
.frames3 p { margin: 0; display: flex; gap: 10px; align-items: flex-start; max-width: 32ch; text-align: left; line-height: 1.45; }
.frames3 p b { flex: none; display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; }
@media (max-width: 900px) { .frames3 { grid-template-columns: 1fr; gap: 26px; } .frame3-shot.is-phone .dev-phone { width: 150px; } .frame3-shot .dev-tab { max-width: 440px; } }

/* Codzienne wyzwanie */
.wyz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.wyz-txt { display: grid; gap: 14px; }
.wyz-txt h2, .wyz-txt .sec-lead { margin: 0; }
.wyz-feats { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wyz-feats li { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 500; }
.wyz-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--green-700); border: 1px solid var(--line); flex: none; }
.wyz-foto { margin: 0; }
.wyz-foto .dev-tab { width: 100%; }
.wyz-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 18px; align-items: start; margin-top: 36px; }
.wyz-shots figure { margin: 0; display: grid; gap: 8px; }
.wyz-shots figcaption { font-family: var(--f-display); font-weight: 600; text-align: center; }
.op-card { display: grid; gap: 10px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(17, 45, 31, 0.4); }
.op-card-in { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--mint-100); }
.op-card-in b { display: block; font-family: var(--f-display); font-size: 0.98rem; font-weight: 600; line-height: 1.25; }
.op-card-in span { font-size: 0.85rem; color: var(--muted); }
.op-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-700); color: #fff; flex: none; }
.op-card p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) { .wyz { grid-template-columns: 1fr; gap: 22px; } .wyz-shots { grid-template-columns: 1fr 1fr; } .op-card { grid-column: 1 / -1; } }
@media (max-width: 560px) { .wyz-shots { grid-template-columns: 1fr; } }

/* Co masz Ty: trzy karty; Jak to działa: zdanie o czterech przyciskach */
.feats.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-note { margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); line-height: 1.5; }
@media (max-width: 1000px) { .feats.is-three { grid-template-columns: 1fr; } }

@media (max-width: 560px) { .trust.trust-four.is-long { grid-template-columns: 1fr; } .trust.trust-four.is-long li { font-size: 0.95rem; } }
@media (max-width: 1000px) { .wyz-foto { max-width: 520px; margin-inline: auto; } }

/* Cytat Magdaleny (26.10): dłuższy tekst, mniejszy krój; bio pod podpisem */
.misja-cytat blockquote { font-size: 1.12rem; line-height: 1.45; }
.misja-bio { margin: 0; padding-top: 12px; border-top: 1px solid var(--mint-200); font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.misja2-quote blockquote { font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.42; }
@media (max-width: 760px) { .misja-cytat blockquote { font-size: 1.02rem; } .misja2-quote blockquote { font-size: 1.08rem; } }

/* Misja: kafel „Robimy to razem z nimi” (zamiast „[N] rodzin”) */
.misja-k { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700); }
.misja-k-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--mint-100); color: var(--green-700); flex: none; }

/* Logo Fundacji Zaczyn jako odnośnik do zaczyn.org (27.10.2026): blok szerokości logo, żeby klikalny był tylko znak */
.misja-logo-link, .misja2-logo-link { display: inline-block; width: max-content; max-width: 100%; justify-self: start; border-radius: 6px; transition: opacity .15s; }
.misja-logo-link img, .misja2-logo-link img { display: block; }
.misja-logo-link:hover, .misja2-logo-link:hover { opacity: .8; }
.misja-logo-link:focus-visible, .misja2-logo-link:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
