/* =====================================================================
   Do-Do public site - shared design system ("B1", 2026-10-07)
   Used ONLY by the public pages: landing, funkcje, kalkulator-kosztow,
   generator-harmonogramu, regulamin, prywatnosc, privacy, terms,
   datenschutz, nutzungsbedingungen. The app (index.html + styles.css)
   never loads this file.

   Look: Apple-style product page. Big centred titles in Playfair Display,
   text in Inter, white and light-grey full-width bands, pill buttons,
   "›" links, one teal accent.
   Fonts are self-hosted: assets/fonts/site-fonts.css (CSP blocks Google).

   1. Tokens   2. Base   3. Layout   4. Shared components (nav, buttons,
   footer)   5. Landing + funkcje   6. Tools   7. Legal documents
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* colour */
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --soft: #f5f5f7;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --white: #ffffff;
  --teal: #0b7f71;          /* primary: buttons, links */
  --teal-hover: #096b5f;
  --teal-bright: #2fd1b8;   /* on dark backgrounds */
  --teal-tint: #d9f3ee;
  --teal-ink: #075c52;
  --amber: #e5a13c;
  --amber-tint: #fff1d6;
  --amber-ink: #7a4b00;
  --dark: #000000;
  --dark-2: #161617;
  /* type */
  --f-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* shape */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 40px 80px rgba(0, 0, 0, 0.16);
  /* layout */
  --max: 1080px;
  --gutter: 22px;
  --band: 96px;
}
@media (max-width: 760px) { :root { --band: 64px; --gutter: 18px; } }

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }
section[id], [id] { scroll-margin-top: 64px; }

/* title family: every big heading on the site */
.hero-h1, .h2, .testi-big-h, .faq-title-line1, .faq-title-line2, .cta-h,
.page-hero h1, .pln-price, .stat-n,
.t-tool main > h1, .legal-doc h1 {
  font-family: var(--f-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-h1 em, .h2 em, .testi-big-h em, .cta-h em, .page-hero h1 em, .faq-title-line2 {
  font-style: italic;
  color: var(--teal);
}

/* ---------- 3. LAYOUT ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.s { padding: var(--band) 0; background: var(--white); }
.s.soft { background: var(--soft); }
.s-hd { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.lbl {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}
.h2 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.06;
}
.h2 span.g { color: var(--faint); }
.h2 span.c { color: var(--teal); }
.sub {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 620px;
  margin: 16px auto 0;
}

/* ---------- 4. SHARED COMPONENTS ---------- */

/* 4a. Global nav (same markup on every public page) */
.gnav {
  position: sticky; top: 0; z-index: 100;
  height: 52px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.gnav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.logo-sq {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--teal); color: #fff;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: -0.02em;
}
.nav-r { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.nav-r a:not(.btn) { color: var(--ink); opacity: 0.8; transition: opacity .15s; }
.nav-r a:not(.btn):hover, .nav-r a.active { opacity: 1; }
.nav-r a.active { font-weight: 600; }
.nav-lang { display: flex; gap: 10px; font-size: 13px; }
.nav-lang a { opacity: .6; } .nav-lang a.on { opacity: 1; font-weight: 600; }
@media (max-width: 820px) { .nav-r a:not(.btn) { display: none; } .nav-r .nav-lang, .nav-r .nav-lang a { display: flex; } }

/* 4b. Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--f-text);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.btn-primary, .btn-dark { background: var(--teal); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--teal-hover); }
.btn-outline, .btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-outline:hover, .btn-ghost:hover { background: var(--teal-tint); }
.btn-sm { min-height: 30px; padding: 5px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.more { color: var(--teal); font-size: 17px; font-weight: 500; }
.more::after { content: " \203A"; }
.more:hover { text-decoration: underline; }
.actions { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }

/* 4c. Icons - Phosphor (MIT), inlined as SVG in the HTML (CSP-safe, no web font) */
.ico { width: 1em; height: 1em; display: block; }
.sc-ico, .fi-ico, .fc-ico, .fr-ico, .md-ico, .dc-ico, .mod-ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--teal-tint); color: var(--teal);
  font-size: 26px; margin-bottom: 20px;
}
.pl-ico { font-size: 28px; color: var(--teal); display: flex; }
.trust-bar-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--teal-bright); font-size: 26px; flex-shrink: 0; }
.fg-full .sc-ico { margin-bottom: 0; }

/* 4d. Footer (same structure on every page) */
.site-foot { background: var(--soft); color: var(--muted); font-size: 12.5px; padding: 40px 0 34px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot { grid-template-columns: 1fr; } }
.fb { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fb-sq { width: 22px; height: 22px; border-radius: 6px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.fb-t { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.fp { margin-bottom: 4px; }
.fc2 { color: var(--faint); }
.fl h4 { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.fl ul { list-style: none; display: grid; gap: 8px; }
.fl a:hover, .foot-links a:hover, .company-info a:hover { color: var(--ink); text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.company-info { margin: 18px auto 0; text-align: center; line-height: 1.7; color: var(--faint); }
.payment-logos { display: flex; justify-content: center; margin: 14px auto 0; }
.payment-logos img { width: 100%; max-width: 420px; height: auto; border-radius: 8px; }

/* ---------- 5. LANDING + FUNKCJE ---------- */

/* 5a. Hero */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; background: var(--white); }
.hero-tag { font-size: 17px; font-weight: 600; color: var(--teal); margin-bottom: 12px; }
.hero-h1 {
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.02;
  max-width: 900px; margin: 0 auto;
}
.hero-sub {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35; color: var(--muted);
  max-width: 620px; margin: 22px auto 0;
}

/* phone with real Do cards (attributes: when, who does it, child, list, expense) */
.phone { width: 280px; margin: 56px auto 0; background: var(--ink); border-radius: 48px; padding: 11px; box-shadow: var(--shadow-lg); }
.phone-scr { background: var(--soft); border-radius: 38px; min-height: 500px; padding: 48px 12px 16px; position: relative; text-align: left; }
.phone-isl { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 13px; background: var(--ink); }
.phone-day { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 4px 6px 9px; }
.do-card { background: #fff; border-radius: 15px; padding: 12px 13px; margin-bottom: 9px; }
.do-t { font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.do-m { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.do-m span { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #f0f0f2; color: #3a3a3c; }
.do-m span.who { background: var(--teal-tint); color: var(--teal-ink); }
.do-m span.exp { background: var(--amber-tint); color: var(--amber-ink); }
.do-sub { font-size: 11px; color: var(--muted); margin-top: 7px; }

/* 5b. "Rekomendują" strip */
.logos { padding: 30px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--white); }
.logos-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 28px; }
.logos-sep { font-size: 13px; font-weight: 600; color: var(--faint); }
.logo-co { font-size: 15px; font-weight: 600; color: var(--muted); }

/* 5c. Cards (scenes, features, data, mediators) */
.scenes-grid, .feat9, .data3, .med2, .mod-grid, .wide2 { display: grid; gap: 16px; }
.scenes-grid, .med2, .mod-grid, .wide2 { grid-template-columns: 1fr 1fr; }
.feat9, .data3 { grid-template-columns: repeat(3, 1fr); }
.med2 { max-width: 860px; margin: 0 auto; }
@media (max-width: 860px) { .feat9, .data3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .scenes-grid, .feat9, .data3, .med2, .mod-grid, .wide2 { grid-template-columns: 1fr; } }
.fg-wide { grid-column: span 2; }
.fg-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fg-wide, .fg-full { grid-column: auto; } }
.mod.full { grid-column: 1 / -1; }

.sc, .fi, .fc, .md, .dc, .mod {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 30px;
  display: flex; flex-direction: column;
}
.s.soft .sc, .s.soft .md, .s.soft .dc, .s.soft .mod { background: var(--white); }
.s:not(.soft) .sc, .s:not(.soft) .md, .s:not(.soft) .dc, .s:not(.soft) .mod { background: var(--soft); }
.sc h4, .fi h3, .fc h3, .md h3, .dc h3, .mod h3 {
  font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px;
}
.sc p, .fi p, .fc p, .md p, .dc p { font-size: 16px; color: var(--muted); line-height: 1.5; }
.sc-out, .mod-child { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 600; color: var(--teal); }
.mod-list { list-style: none; display: grid; gap: 8px; margin-bottom: 4px; }
.mod-list li { font-size: 15.5px; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.45; }
.mod-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* quotes from partners */
.qb { max-width: 860px; margin: 40px auto 0; text-align: center; }
.qb + .qb { margin-top: 28px; }
.qb blockquote { font-family: var(--f-title); font-style: italic; font-weight: 700; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.35; color: var(--ink); }
.qb cite { display: block; margin-top: 14px; font-style: normal; font-size: 15px; color: var(--muted); }
.qb cite a, .pricing-note a, .s a.inline { color: var(--teal); }

/* conviction block */
.conviction { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--muted); }
.s:not(.soft) .hero-pill { background: var(--soft); }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* testimonials */
.testi-hd-row { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.testi-big-h { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; }
.testi-big-h span.g { color: var(--faint); }
.testi-hd-side p { font-size: 19px; color: var(--muted); margin: 16px auto 22px; max-width: 560px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }
.tc { background: var(--white); border-radius: var(--r-xl); padding: 30px 28px; display: flex; flex-direction: column; }
.s:not(.soft) .tc { background: var(--soft); }
.tc.warm { background: var(--ink); color: #f5f5f7; }
.tc-q-icon { font-family: var(--f-title); font-size: 44px; line-height: .8; color: var(--teal); margin-bottom: 10px; }
.tc.warm .tc-q-icon { color: var(--teal-bright); }
.tc-q { font-size: 16.5px; line-height: 1.5; flex: 1; margin-bottom: 22px; }
.tc-who { display: flex; align-items: center; gap: 11px; }
.tc-av { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.tc.warm .tc-av { background: rgba(255,255,255,.14); color: #fff; }
.tc-nm { font-size: 14.5px; font-weight: 650; }
.tc-ci { font-size: 13px; color: var(--faint); }
.tc.warm .tc-ci { color: #a1a1a6; }

/* how it starts - 3 steps */
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .how3 { grid-template-columns: 1fr; } }
.hw { background: var(--white); border-radius: var(--r-xl); padding: 34px 30px; }
.s:not(.soft) .hw { background: var(--soft); }
.hw-n { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; margin-bottom: 22px; }
.hw h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 10px; }
.hw p { font-size: 16px; color: var(--muted); line-height: 1.5; }

/* platforms */
.plat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .plat2 { grid-template-columns: 1fr; } }
.pl { background: var(--soft); border-radius: var(--r-xl); overflow: hidden; padding-bottom: 28px; }
.s.soft .pl { background: var(--white); }
.pl-hd { display: flex; align-items: center; gap: 12px; padding: 30px 30px 0; }
.pl-hd-t h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.pl-hd-t p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.pl-tag { margin-left: auto; align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); white-space: nowrap; }
.pl-mock { margin: 22px 30px; background: var(--white); border-radius: var(--r); padding: 10px; border: 1px solid var(--line-soft); }
.s.soft .pl-mock { background: var(--soft); }
.pm-bar { height: 10px; background: rgba(0,0,0,.05); border-radius: 3px; display: flex; align-items: center; gap: 3px; padding: 0 5px; margin-bottom: 7px; }
.pm-d { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,.18); }
.pm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pm-col { background: rgba(0,0,0,.04); border-radius: 5px; padding: 5px; display: grid; gap: 4px; }
.pm-bl { background: #fff; border-radius: 3px; height: 15px; }
.pm-bl.t { background: var(--teal-tint); }
.pl-feats { list-style: none; padding: 0 30px; display: grid; gap: 9px; }
.pl-feats li { font-size: 15.5px; color: var(--muted); padding-left: 22px; position: relative; line-height: 1.45; }
.pl-feats li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* mediators CTA */
.md-cta { max-width: 860px; margin: 16px auto 0; background: var(--ink); color: #f5f5f7; border-radius: var(--r-xl); padding: 30px 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.md-cta-t { flex: 1; min-width: 200px; }
.md-cta-t b { display: block; font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.md-cta-t p { font-size: 15px; color: #a1a1a6; }

/* pricing */
.plans2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; align-items: stretch; }
@media (max-width: 640px) { .plans2 { grid-template-columns: 1fr; } }
.pln { background: var(--soft); border-radius: var(--r-xl); padding: 40px 34px 36px; display: flex; flex-direction: column; position: relative; text-align: left; }
.s.soft .pln { background: var(--white); }
.pln.f { box-shadow: inset 0 0 0 2px var(--teal); }
.pln-badge { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); margin-bottom: 14px; }
.pln-nm { font-size: 19px; font-weight: 650; }
.pln-price { font-size: 60px; line-height: 1; margin: 14px 0 6px; }
.pln-price small { font-family: var(--f-text); font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pln-per { font-size: 15px; color: var(--muted); }
.pln-feats { list-style: none; display: grid; gap: 10px; margin: 26px 0 30px; flex: 1; }
.pln-feats li { font-size: 16px; padding-left: 24px; position: relative; line-height: 1.45; }
.pln-feats li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pricing-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* FAQ */
.faq-wrap { padding: var(--band) 0; background: var(--white); }
.faq-wrap.soft { background: var(--soft); }
.faq-title-line1, .faq-title-line2 { text-align: center; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; }
.faq-title-line2 { margin-bottom: 48px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
details summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 24px 0;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details p { font-size: 17px; color: var(--muted); line-height: 1.6; padding: 0 0 24px; max-width: 720px; }

/* final call to action - dark band */
.cta { background: var(--dark); color: #f5f5f7; padding: calc(var(--band) + 16px) 0; text-align: center; }
.cta-in { max-width: 720px; margin: 0 auto; }
.cta-h { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; color: #f5f5f7; }
.cta-h em { color: var(--teal-bright); }
.cta-sub { font-size: clamp(18px, 2.2vw, 21px); color: #a1a1a6; margin: 20px auto 34px; max-width: 560px; line-height: 1.45; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-form input { min-width: 280px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid #424245; background: var(--dark-2); color: #f5f5f7; font: 500 16px var(--f-text); outline: none; }
.cta-form input::placeholder { color: #86868b; }
.cta-form input:focus { border-color: var(--teal-bright); }
.cta-form .btn { min-height: 48px; }
@media (max-width: 520px) { .cta-form { flex-direction: column; align-items: stretch; } .cta-form input { min-width: 0; } }
.cta-note { font-size: 13.5px; color: #86868b; margin-top: 16px; }

/* 5d. Funkcje page */
.page-hero { padding: 72px 0 64px; text-align: center; background: var(--white); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.breadcrumb a { color: var(--teal); }
.page-hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.03; max-width: 860px; margin: 0 auto 30px; }
.trust-bar { max-width: 860px; margin: 16px auto 0; background: var(--ink); color: #f5f5f7; border-radius: var(--r-xl); padding: 30px 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trust-bar-body { flex: 1; min-width: 200px; }
.trust-bar-body h3 { font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.trust-bar-body p { font-size: 15px; color: #a1a1a6; }

/* ---------- 6. TOOLS (kalkulator, generator) ---------- */
.t-tool main { max-width: 860px; margin: 0 auto; padding: 64px var(--gutter) var(--band); }
.t-tool main > h1 { font-size: clamp(36px, 5.6vw, 56px); line-height: 1.06; text-align: center; }
.t-tool .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); text-align: center; max-width: 640px; margin: 16px auto 44px; line-height: 1.45; }
.t-tool label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.t-tool input, .t-tool select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
  font: 400 16px var(--f-text);
}
.t-tool input:focus, .t-tool select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.t-tool button { font-family: var(--f-text); }
.t-tool button.btn-primary, .t-tool button.btn-ghost { min-height: 46px; padding: 12px 24px; border-radius: 999px; border: 0; font-size: 16px; font-weight: 600; cursor: pointer; }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.hint { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* calculator */
.cats { display: grid; gap: 10px; margin-bottom: 24px; }
.cat { display: grid; grid-template-columns: 1fr 150px; gap: 16px; align-items: center; background: var(--soft); border-radius: var(--r); padding: 14px 18px; }
@media (max-width: 520px) { .cat { grid-template-columns: 1fr 120px; } }
.cat .name { font-weight: 600; font-size: 16px; }
.cat .hint { margin-top: 2px; }
.cat .amount { position: relative; }
.cat .amount input { padding-right: 36px; text-align: right; }
.cat .amount::after { content: "z\0142"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); }
.totals { background: var(--ink); color: #f5f5f7; border-radius: var(--r-xl); padding: 30px 30px 26px; }
.totals .big { font-family: var(--f-title); font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.totals .big span { color: var(--teal-bright); }
.totals > .sub { margin: 6px 0 0; text-align: left; font-size: 16px; color: #a1a1a6; max-width: none; }
.split { margin-top: 24px; padding-top: 22px; border-top: 1px solid #424245; }
.split h2 { font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.split .note { font-size: 14px; color: #a1a1a6; margin-bottom: 14px; }
.split .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split input { background: var(--dark-2); color: #f5f5f7; border-color: #424245; text-align: right; }
.split .result { margin-top: 14px; font-size: 16px; }
.split .result b { color: var(--teal-bright); }

/* generator */
.panel { background: var(--soft); border-radius: var(--r-xl); padding: 28px; margin-bottom: 28px; }
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.panel .btnrow { margin: 22px 0 0; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 15px; margin: 8px 0 12px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 7px; vertical-align: -1px; }
.dot.a { background: var(--teal-bright); }
.dot.b { background: var(--amber); }
.stats { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.stats b { color: var(--ink); }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.month { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px; }
.month h3 { font-family: var(--f-title); font-size: 19px; font-weight: 700; text-align: center; margin-bottom: 12px; text-transform: capitalize; }
table.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.cal th { font-size: 11px; color: var(--muted); font-weight: 600; padding: 4px 0; text-transform: uppercase; }
table.cal td { text-align: center; padding: 0; height: 38px; font-size: 13.5px; font-weight: 600; }
table.cal td .d { display: flex; align-items: center; justify-content: center; height: 32px; margin: 2px; border-radius: 9px; }
td.pa .d { background: rgba(47, 209, 184, 0.30); color: var(--teal-ink); }
td.pb .d { background: rgba(229, 161, 60, 0.30); color: var(--amber-ink); }
td.off .d { color: #c7c7cc; }

/* tool info blocks */
.trust { display: flex; gap: 12px; align-items: flex-start; background: var(--teal-tint); color: var(--teal-ink); border-radius: var(--r); padding: 16px 18px; margin: 30px 0; font-size: 15px; line-height: 1.5; }
.trust svg { flex: none; margin-top: 2px; }
.infobox, .seo { margin: 44px 0; font-size: 17px; line-height: 1.6; }
.infobox h2, .seo h2 { font-family: var(--f-title); font-size: clamp(24px, 3.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin: 30px 0 12px; }
.infobox p, .seo p { margin-bottom: 14px; color: #333336; }
.infobox a, .seo a { color: var(--teal); text-decoration: underline; }
.t-tool .cta { border-radius: var(--r-xl); padding: 48px 28px; margin-top: 44px; }
.t-tool .cta h2 { font-family: var(--f-title); font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.t-tool .cta p { color: #a1a1a6; max-width: 540px; margin: 12px auto 24px; }

@media print {
  .gnav, .site-foot, .trust, .infobox, .seo, .cta, .btnrow, .panel { display: none !important; }
  .t-tool main { padding: 0; }
  .t-tool main > h1 { font-size: 22px; text-align: left; }
  .t-tool .lead { font-size: 13px; text-align: left; margin: 4px 0 12px; }
  .totals { background: none; color: var(--ink); padding: 0; }
  .split input { background: none; color: var(--ink); }
  .cat { background: none; padding: 4px 0; }
  .month { break-inside: avoid; border-color: #ccc; }
  body { font-size: 12px; }
}

/* ---------- 7. LEGAL DOCUMENTS (PL / EN / DE) ---------- */
.legal-wrap { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) var(--band); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; } }
.toc { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 13.5px; display: grid; gap: 9px; padding-right: 8px; }
.toc-t { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 4px; }
.toc a { color: var(--muted); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .toc { position: static; max-height: none; display: flex; gap: 8px; overflow-x: auto; padding: 0 0 6px; -webkit-overflow-scrolling: touch; }
  .toc-t { display: none; }
  .toc a { white-space: nowrap; background: var(--soft); padding: 8px 14px; border-radius: 999px; font-size: 13px; }
}
.legal-page { min-width: 0; }
.notice { background: var(--soft); border-radius: var(--r); padding: 16px 20px; font-size: 15px; line-height: 1.55; color: var(--muted); margin-bottom: 36px; }
.notice a { color: var(--teal); text-decoration: underline; }
.legal-doc h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.06; margin-bottom: 36px; }
.legal-doc h2 { font-size: 23px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; margin: 48px 0 14px; scroll-margin-top: 72px; }
.legal-doc h3 { font-size: 18px; font-weight: 650; margin: 28px 0 10px; }
.legal-doc p, .legal-doc li { font-size: 17px; line-height: 1.65; color: #333336; }
.legal-doc p { margin-bottom: 14px; }
.legal-doc ul, .legal-doc ol { padding-left: 24px; margin: 0 0 16px; }
.legal-doc li { margin: 6px 0; }
.legal-doc li p { margin-bottom: 6px; }
.legal-doc b, .legal-doc strong { color: var(--ink); }
.legal-doc a { color: var(--teal); text-decoration: underline; word-break: break-word; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; display: block; overflow-x: auto; }
.legal-doc td, .legal-doc th { border: 1px solid var(--line-soft); padding: 10px 12px; vertical-align: top; text-align: left; }
.legal-doc td p { font-size: 15px; margin: 0; line-height: 1.5; }
.legal-doc tr:first-child td { background: var(--soft); font-weight: 600; }
.legal-doc tr:first-child td p { color: var(--ink); }

/* ---------- 8. Small layout fixes (were inline styles in the HTML) ---------- */
.fg-full { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.fg-full > div { flex: 1; min-width: 200px; }
.fg-full p { margin-bottom: 0; }
.fg-full .sc-out { margin-top: 0; padding-top: 0; white-space: nowrap; flex-shrink: 0; flex: none; min-width: 0; }
.data-more { text-align: center; margin-top: 30px; font-size: 16px; }
.data-more a { color: var(--teal); font-weight: 500; }
.p-funkcje .s-hd { margin-bottom: 32px; }
.p-funkcje .mod-grid { margin-bottom: 80px; }
.p-funkcje .mod-grid:last-of-type { margin-bottom: 16px; }
.p-funkcje .s-hd ~ .s-hd { padding-top: 8px; }
/* long German words in titles must break on phones */
.legal-doc h1, .legal-doc h2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* marketing titles: never split a word with a hyphen */
.h2, .hero-h1, .page-hero h1 { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 640px) {
  .legal-doc h1 { font-size: 32px; }
  .fg-full .sc-out { white-space: normal; flex: 1 1 100%; }
}
.legal-doc p, .legal-doc li { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); } .toc { min-width: 0; } }
@media (max-width: 400px) {
  .gnav .wrap { gap: 10px; }
  .nav-r { gap: 12px; }
  .nav-lang { gap: 8px; }
  .gnav .btn-sm { padding: 5px 11px; font-size: 12.5px; }
}
.page-hero p { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.4; color: var(--muted); max-width: 620px; margin: -12px auto 30px; }

/* ---------- 9. Device mockups with real app screenshots (landing) ----------
   Phone = iPhone-style (titanium edge, side buttons, Dynamic Island, status bar).
   Display = Studio-Display-style (thin black bezel, aluminium stand).
   All phone sizes are in em, so one font-size scales the whole device. */
.mock-phone { position: relative; width: 17.5em; margin: 0 auto; font-size: 16px; }
.mock-phone--sm { font-size: 12px; }
.mock-phone--xs { font-size: 10.5px; }
.mp-body {
  position: relative; padding: 0.42em; border-radius: 3.3em;
  background: linear-gradient(140deg, #5b5b60 0%, #2a2a2d 18%, #1c1c1e 50%, #2c2c2e 78%, #6a6a6f 100%);
  box-shadow: 0 0 0 0.06em #0a0a0a, inset 0 0 0 0.07em rgba(255, 255, 255, 0.22),
              0 2.5em 4.5em -1.2em rgba(0, 0, 0, 0.38), 0 1em 2em -1em rgba(0, 0, 0, 0.30);
}
.mp-screen { position: relative; overflow: hidden; border-radius: 2.9em; background: #171d1c; box-shadow: 0 0 0 0.19em #000; }
.mp-screen img { display: block; width: 100%; height: auto; }
.mp-status {
  position: relative; height: 2.75em; display: flex; align-items: center; justify-content: space-between;
  padding: 0.25em 1.7em 0 2em; background: #171d1c; color: #fff;
  font: 600 0.86em/1 -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif; letter-spacing: -0.01em;
}
.mp-status svg { height: 0.82em; width: auto; display: block; }
.mp-icons { display: flex; gap: 0.32em; align-items: center; }
.mp-island { position: absolute; top: 0.62em; left: 50%; transform: translateX(-50%); width: 5.6em; height: 1.65em; border-radius: 1em; background: #000; }
.mp-btn { position: absolute; width: 0.19em; border-radius: 0.2em; background: linear-gradient(90deg, #2a2a2d, #6a6a6f, #2a2a2d); }
.mp-btn--action { left: -0.15em; top: 6.4em; height: 1.6em; }
.mp-btn--up { left: -0.15em; top: 9.2em; height: 3em; }
.mp-btn--down { left: -0.15em; top: 12.8em; height: 3em; }
.mp-btn--power { right: -0.15em; top: 10.2em; height: 4.6em; }
.hero .mock-phone { margin-top: 56px; }
@media (max-width: 760px) { .hero .mock-phone { font-size: 14px; } }

.mock-display { margin: 0 auto; max-width: 100%; }
.md-screen {
  padding: 1.1%; border-radius: 14px; background: linear-gradient(160deg, #2c2c2e, #0b0b0c 30%);
  box-shadow: 0 0 0 1px #3a3a3c, inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 30px 60px -24px rgba(0, 0, 0, 0.40);
}
.md-screen img { display: block; width: 100%; height: auto; border-radius: 4px; }
.md-neck { width: 18%; margin: 0 auto; aspect-ratio: 4 / 1.6; background: linear-gradient(90deg, #a1a1a6, #e8e8ed 40%, #f5f5f7 50%, #d2d2d7 62%, #9a9aa0); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.md-foot { width: 34%; height: 9px; margin: 0 auto; border-radius: 2px 2px 7px 7px; background: linear-gradient(#f5f5f7, #b8b8bd); box-shadow: 0 14px 22px -8px rgba(0, 0, 0, 0.35); }

/* a phone peeking up from the bottom of a feature card */
.card-peek { margin: 26px -30px -32px; height: 250px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 6px; }
/* "Codziennosc": phone next to the four situations */
.split-phone { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split-phone { grid-template-columns: 1fr; gap: 32px; } .split-phone > .mock-phone { font-size: 12px; } }
/* "Na telefonie i komputerze": real devices instead of the drawn mock */
.pl-shot { margin: 26px 30px 26px; display: flex; justify-content: center; align-items: flex-end; min-height: 280px; }
.pl-shot .mock-phone { margin: 0; }
.pl-shot .mock-display { width: 100%; }

/* ---------- 10. Features "Wszystko, czego potrzebujecie": separate blocks ---------- */
.feat-blocks { display: grid; gap: 20px; }
.feat-block {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: end;
  background: var(--white); border-radius: var(--r-xl); padding: 52px 56px 0; overflow: hidden; min-height: 420px;
}
.s:not(.soft) .feat-block { background: var(--soft); }
.fb-text { align-self: center; padding-bottom: 52px; }
.fb-text h4 { font-family: var(--f-title); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; margin: 6px 0 14px; }
.fb-text p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.fb-text .sc-out { margin-top: 20px; padding-top: 0; font-size: 16px; font-weight: 600; color: var(--teal); }
.fb-text .sc-ico { margin-bottom: 18px; }
.fb-visual { height: 400px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
.fb-visual--display { height: auto; overflow: visible; align-self: center; padding-bottom: 52px; }
.fb-visual--display .mock-display { width: 100%; }
@media (max-width: 860px) {
  .feat-block { grid-template-columns: 1fr; padding: 36px 26px 0; gap: 20px; min-height: 0; }
  .fb-text { padding-bottom: 0; }
  .fb-visual { height: 330px; }
  .fb-visual--display { padding-bottom: 32px; }
}
.feat-list { margin-top: 20px; background: var(--white); border-radius: var(--r-xl); padding: 12px 40px; }
.s:not(.soft) .feat-list { background: var(--soft); }
.fl-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.fl-row:last-child { border-bottom: 0; }
.fl-row .sc-ico { margin: 0; }
.fl-body h4 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 6px; }
.fl-body p { font-size: 16px; color: var(--muted); line-height: 1.55; }
.fl-body > div { display: contents; }
.fl-body .sc-out { margin-top: 10px; padding-top: 0; font-size: 15px; font-weight: 600; color: var(--teal); }
@media (max-width: 640px) { .feat-list { padding: 4px 22px; } .fl-row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- 11. Long-form text block (funkcje: comparison) ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 19px; line-height: 1.65; color: #333336; margin-bottom: 20px; }
.prose .prose-strong { font-family: var(--f-title); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: var(--ink); margin: 32px 0; }
.prose h3 { font-family: var(--f-title); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin: 44px 0 14px; }

/* ---------- 12. Landing "Dlaczego Do-Do": swipeable story cards ---------- */
.story { padding: var(--band) 0; background: var(--white); overflow: hidden; }
.story-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.story-hd .h2 { text-align: left; }
.story-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.story-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.story-btn:hover { background: var(--line-soft); }
.story-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) { .story-arrows { display: none; } }
.story-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.story-track::-webkit-scrollbar { display: none; }
.story-track:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: -3px; }
.story-card {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start; min-height: 580px;
  display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--soft); overflow: hidden;
}
.story-text { padding: 36px 34px 24px; }
.story-kicker { display: block; font-size: 14px; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.story-card h3 { font-family: var(--f-title); font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 14px; }
.story-card p { font-size: 16.5px; line-height: 1.6; color: #3a3a3c; }
.story-card--dark { background: #000; color: #f5f5f7; }
.story-card--dark p { color: #a1a1a6; }
.story-card--dark .story-kicker { color: var(--teal-bright); }
.story-card--dark h3 { color: #f5f5f7; }
.story-visual { margin-top: auto; height: 260px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding: 0 24px; }
.story-visual .mock-phone { font-size: 10.5px; }
.story-visual .mock-display { width: 100%; align-self: center; }
.story-card:last-child .story-visual { height: auto; padding-bottom: 32px; }

/* ---------- 13. Section titles on wider screens: one line, wider lead ----------
   The <br> in titles is only for phones. From 861px up the title runs in one
   line and the lead gets more width, so a section intro takes 2-3 lines, not 5. */
@media (min-width: 861px) {
  .h2 br { display: none; }
  .h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; }
  .s-hd { max-width: 1040px; margin-bottom: 44px; }
  .sub { max-width: 820px; font-size: 19px; }
  .faq-title-line1, .faq-title-line2 { display: inline; font-size: clamp(32px, 3.4vw, 46px); }
  .faq-title-line2 { margin-left: .25em; }
  .faq-wrap .wrap > .faq-title-line1 { display: block; text-align: center; }
  .faq-wrap .wrap > .faq-title-line1 + .faq-title-line2 { display: block; margin: 0 0 40px; }
}
.story-card { flex-basis: min(460px, 86vw); min-height: 0; }
.story-card p { font-size: 15.5px; }
.story-chaos { margin-top: auto; padding: 0 30px 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.story-chaos span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #1c1c1e; color: #a1a1a6; box-shadow: inset 0 0 0 1px #2c2c2e; }
.story-chaos span:nth-child(2n) { transform: rotate(-3deg); }
.story-chaos span:nth-child(3n) { transform: rotate(2.5deg); }
.story-chaos--fix span { text-decoration: line-through; text-decoration-color: #ff6b5f; transform: none !important; }
.story-chaos--fix span.ok { text-decoration: none; background: var(--teal); color: #fff; box-shadow: none; }
@media (min-width: 861px) { .conviction { max-width: 1040px; } .conviction .sub { max-width: 820px; } }

/* ---------- 14. Hero: text and phone side by side on wider screens ---------- */
@media (min-width: 861px) {
  .hero { text-align: left; padding-top: 56px; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
  .hero-copy { padding-bottom: 56px; }
  .hero-h1 { margin: 0; max-width: none; font-size: clamp(48px, 5.6vw, 80px); }
  .hero-sub { margin: 22px 0 0; max-width: 520px; }
  .hero .actions { justify-content: flex-start; }
  .hero { padding-bottom: 72px; }
  .hero-copy { padding-bottom: 0; }
  .hero .mock-phone { margin: 0 auto; font-size: 14px; }
}

/* ---------- 15. Feature blocks: devices break out of the cards ---------- */
.feat-blocks { gap: 150px; padding-top: 110px; }
.feat-block { overflow: visible; align-items: center; padding-bottom: 52px; min-height: 0; }
.fb-text { padding-bottom: 0; }
.fb-visual { height: auto; overflow: visible; position: relative; align-self: start; }
.fb-visual .mock-phone { margin-top: -130px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.18)); }
.fb-visual--display { align-self: center; padding-bottom: 0; }
.fb-visual--display .mock-display { width: calc(100% + 110px); max-width: none; margin: -90px -110px 0 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.16)); }
@media (max-width: 860px) {
  .feat-blocks { gap: 90px; padding-top: 70px; }
  .feat-block { padding-bottom: 36px; }
  .fb-visual .mock-phone { margin-top: 0; }
  .feat-block:has(.fb-visual .mock-phone) { padding-top: 0; }
  .feat-block:has(.fb-visual .mock-phone) .fb-visual { order: -1; margin-top: -70px; }
  .fb-visual--display .mock-display { width: 100%; margin: 0; }
}
/* the monitor only breaks out to the right where the screen has room for it */
@media (min-width: 861px) and (max-width: 1299px) {
  .fb-visual--display .mock-display { width: 100%; margin: -90px 0 0 0; }
}

/* ---------- 16. Bigger devices, breaking out up AND to the side ---------- */
@media (min-width: 861px) {
  .feat-blocks { gap: 200px; padding-top: 160px; }
  .feat-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fb-visual { justify-content: center; }
  .fb-visual .mock-phone { font-size: 16px; margin-top: -170px; }
  .fb-visual--display .mock-display { margin-top: -120px; }
}
@media (min-width: 1300px) {
  .fb-visual { justify-content: flex-end; }
  .fb-visual .mock-phone { margin-right: -130px; }
  .fb-visual--display .mock-display { width: calc(100% + 190px); margin: -120px -190px 0 0; }
}

/* ---------- 17. "Codziennosc": bigger phone, situations as spoken lines (speech bubbles) ---------- */
@media (min-width: 861px) {
  .split-phone { grid-template-columns: auto 1fr; gap: 64px; }
  .split-phone > .mock-phone { font-size: 16px; }
}
.scenes-grid .sc h4 {
  position: relative; align-self: flex-start;
  font-family: var(--f-text); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  padding: 12px 16px; margin: 0 0 16px; border-radius: 20px 20px 20px 6px;
  background: var(--teal-tint); color: var(--teal-ink);
}
.scenes-grid .sc h4::after {
  content: ""; position: absolute; left: -6px; bottom: 0; width: 14px; height: 14px;
  background: var(--teal-tint); clip-path: polygon(100% 0, 100% 100%, 0 100%); border-bottom-right-radius: 4px;
}
/* every other card answers from the other side, like a real chat */
.scenes-grid .sc:nth-child(even) h4 { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--ink); color: #fff; }
.scenes-grid .sc:nth-child(even) h4::after { left: auto; right: -6px; background: var(--ink); clip-path: polygon(0 0, 100% 100%, 0 100%); border-bottom-right-radius: 0; border-bottom-left-radius: 4px; }
.sub, .hero-sub, .h2, .story-card h3, .fb-text h4 { text-wrap: balance; }

/* story arrows: clearly visible */
.story-btn { width: 48px; height: 48px; background: var(--ink); color: #fff; font-size: 30px; padding-bottom: 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); transition: background .15s, transform .15s; }
.story-btn:hover { background: var(--teal); transform: scale(1.05); }
.story-btn:disabled { background: var(--line-soft); color: var(--faint); box-shadow: none; opacity: 1; transform: none; }
.story-btn { display: grid; place-items: center; padding: 0; }

/* ---------- 18. Floating "Zacznij używać" (landing) ---------- */
.float-cta {
  position: fixed; z-index: 90; left: 50%; bottom: 18px;
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--teal); color: #fff; font: 600 16px var(--f-text); letter-spacing: -0.01em;
  box-shadow: 0 12px 30px rgba(11, 127, 113, 0.35), 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s, background .15s;
}
.float-cta.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.float-cta:hover { background: var(--teal-hover); }
.float-cta-sub { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.4); font-weight: 500; font-size: 14px; opacity: .9; }
@media (min-width: 861px) {
  .float-cta { left: auto; right: 28px; bottom: 28px; transform: translateY(140%); }
  .float-cta.is-visible { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .float-cta { transition: opacity .2s; } }

/* "Zaloguj się" for existing users - stays visible on phones too */
/* "Zaloguj się": outlined button next to "Zacznij używać", visible on phones too */
.nav-r a.nav-login { background: transparent; }
@media (min-width: 821px) { .nav-r a.nav-login { margin-right: -16px; } }
@media (max-width: 380px) { .nav-r .btn-sm { padding: 5px 10px; font-size: 12.5px; } .nav-r { gap: 8px; } }
/* story chips on light cards */
.story-chaos span { background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-soft); }
.data3.data4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 640px) { .data3.data4 { grid-template-columns: 1fr; } }

/* story card visuals: two calendars that disagree, two lines of an argument */
.story-cals { margin-top: auto; padding: 0 30px 34px; display: grid; gap: 10px; }
.sc-cal { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
.sc-cal-who { font-size: 13px; font-weight: 600; color: var(--muted); }
.sc-cal-when { font-size: 15px; font-weight: 700; color: var(--ink); }
.sc-cal--old .sc-cal-when { color: #d64545; text-decoration: line-through; }
.story-bubbles { margin-top: auto; padding: 0 30px 34px; display: grid; gap: 10px; }
.sb { max-width: 80%; padding: 12px 16px; font-size: 16px; font-weight: 600; line-height: 1.3; border-radius: 20px; }
.sb--a { justify-self: start; background: var(--white); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.sb--b { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }

/* ---------- 19. "Dlaczego Do-Do": before / after (replaces the story carousel) ---------- */
.ba { padding: var(--band) 0; background: var(--white); }
.ba-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.ba-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--line-soft); color: var(--muted); margin-bottom: 22px; }
.ba-tag--do { background: var(--teal); color: #fff; }
.ba-before { background: var(--soft); border-radius: var(--r-xl); padding: 36px 32px; }
.ba-week { list-style: none; display: grid; gap: 18px; }
.ba-week li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.ba-day { font-size: 14px; font-weight: 700; color: var(--faint); }
.ba-week p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.ba-week b { color: var(--ink); font-weight: 650; }
.ba-week li:last-child b { color: #c0392b; }
.ba-after { background: var(--teal-tint); border-radius: var(--r-xl); padding: 36px 32px; }
.ba-after-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.ba-phone .mock-phone { font-size: 12.5px; margin: 0; }
.ba-copy h3 { font-family: var(--f-title); font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 14px; }
.ba-copy p { font-size: 16.5px; line-height: 1.6; color: #2c3a37; }
.ba-ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 22px 0; }
.ba-ticks li { font-size: 15px; font-weight: 600; padding-left: 26px; position: relative; color: var(--ink); }
.ba-ticks li::before { content: "\2713"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 11px; display: grid; place-items: center; }
.ba-calm { font-size: 17px !important; }
.ba-calm strong { color: var(--teal-ink); }
@media (max-width: 1100px) { .ba-grid { grid-template-columns: 1fr; } .ba-after { order: -1; } }
@media (max-width: 640px) {
  .ba-after-in { grid-template-columns: 1fr; justify-items: center; }
  .ba-copy { text-align: left; }
  .ba-before, .ba-after { padding: 28px 22px; }
  .ba-ticks { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .float-cta { padding: 0 20px; white-space: nowrap; } .float-cta-sub { margin-left: 8px; padding-left: 8px; } }

/* ---------- 20. Funkcje: short week story above the before/after module ---------- */
.ba-story { text-align: left; max-width: 760px; margin: 22px auto 0; font-size: 17px; line-height: 1.65; }
/* feature cards on funkcje: half as strong a grey as elsewhere */
.p-funkcje .s:not(.soft) .mod { background: #fafafb; }

/* ---------- 21. Funkcje: comparison table (today vs Do-Do) ---------- */
.cmp { max-width: 1040px; margin: 0 auto; background: var(--white); border-radius: var(--r-xl); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line-soft); }
.cmp-row > div { padding: 20px 24px; font-size: 16px; line-height: 1.55; }
.cmp-head { border-top: 0; }
.cmp-head > div { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding-top: 22px; padding-bottom: 14px; }
.cmp-k { font-weight: 700; color: var(--ink); }
.cmp-old { color: var(--muted); }
.cmp-new { background: #f1faf8; color: var(--ink); }
.cmp-head .cmp-new { color: var(--teal); }
.cmp-m { display: none; }
.cmp-data { max-width: 720px; margin: 56px auto 0; text-align: center; }
.cmp-data h3 { font-family: var(--f-title); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cmp-data p { font-size: 17px; line-height: 1.65; color: var(--muted); }
@media (max-width: 760px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; border-top: 0; padding: 20px 20px 4px; }
  .cmp-row + .cmp-row { border-top: 1px solid var(--line-soft); }
  .cmp-row > div { padding: 0 0 14px; }
  .cmp-new { background: none; }
  .cmp-m { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
  .cmp-new .cmp-m { color: var(--teal); }
  .cmp-data { text-align: left; }
}
/* very narrow phones: keep the logo square, drop its text so both header buttons fit */
.logo { white-space: nowrap; }
@media (max-width: 360px) { .site-nav .logo, .gnav .logo, header .logo { font-size: 0; gap: 0; } }
