/* Landing Formtracko – statyczny, bez JavaScriptu. Kolory jak w aplikacji. */
:root {
  --page-bg: #1c1410;
  --bg: #1c1410;
  --surface: #2b1f18;
  --surface-2: #35271e;
  --line: #4a3628;
  --text: #f5ebdd;
  --muted: #b8a590;
  --accent: #d4a537;
  --accent-ink: #1c1410;
  --good: #3ecf5a;
  --radius: 20px;
  --max: 1080px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --page-bg: #faf5ec;
    --bg: #faf5ec;
    --surface: #ffffff;
    --surface-2: #f3ebdd;
    --line: #e3d6c3;
    --text: #2b1f18;
    --muted: #6b5a49;
    --accent: #b8860b;
    --accent-ink: #ffffff;
    --good: #0a720a;
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ───── nagłówek ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:not(.btn):hover {
  color: var(--text);
}
@media (max-width: 720px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ───── przyciski ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn.ghost:hover {
  box-shadow: none;
  border-color: var(--accent);
}

/* ───── hero ───── */
.hero,
.hero2 {
  /* hero jest zawsze ciemne (zdjęcie w tle), niezależnie od motywu strony */
  --bg: #1c1410;
  --surface: #2b1f18;
  --line: #4a3628;
  --text: #f5ebdd;
  --muted: #c9b8a3;
  --accent: #d4a537;
  --accent-ink: #1c1410;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 96px;
  color: var(--text);
}
/* zdjęcie odbite w poziomie: postać po prawej, tekst po lewej na spokojnym tle */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/img/hero.webp') center / cover no-repeat;
  transform: scaleX(-1);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent),
    linear-gradient(90deg, rgb(28 20 16 / 0.94) 0%, rgb(28 20 16 / 0.82) 45%, rgb(28 20 16 / 0.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991.98px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero .stage {
    display: none; /* makieta przeniesiona do osobnej sekcji .hero2 */
  }
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  background: var(--surface);
}
h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ───── makieta telefonu ───── */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}
.phone {
  position: relative;
  width: 270px;
  padding: 12px;
  border-radius: 40px;
  background: #0d0907;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgb(0 0 0 / 0.45);
  transform: rotate(3deg);
}
.screen {
  min-height: 480px;
  padding: 18px 14px;
  border-radius: 28px;
  background: #1c1410;
  color: #f5ebdd;
}
.screen .mk-title {
  margin: 0;
  font-size: 1.05rem;
}
.screen .sub {
  margin: 0 0 14px;
  font-size: 0.75rem;
  color: #b8a590;
}
.tile {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #4a3628;
  border-radius: 16px;
  background: #2b1f18;
}
.tile .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.tile .name {
  font-weight: 700;
  font-size: 0.9rem;
}
.tile .gym {
  font-size: 0.7rem;
  color: #b8a590;
}
.tile .up {
  font-size: 0.7rem;
  font-weight: 700;
  color: #3ecf5a;
  white-space: nowrap;
}
.tile .big {
  margin: 8px 0 2px;
  font-size: 1.8rem;
  font-weight: 800;
}
.tile .big small {
  font-size: 0.8rem;
  font-weight: 400;
  color: #b8a590;
}
.tile svg {
  width: 100%;
  height: 54px;
}
.float {
  position: absolute;
  left: -8px;
  bottom: 28px;
  width: 230px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.35);
  transform: rotate(-4deg);
}
.float .mk-title {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--accent);
}
.float .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.float .field {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.95rem;
  font-weight: 700;
}
.float .field span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--muted);
}
.float .save {
  margin-top: 10px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 880px) {
  .stage {
    min-height: 0;
    padding-bottom: 24px;
  }
  .float {
    left: 0;
  }
}

/* ───── sekcje ───── */
section {
  padding: 80px 0;
}
.section-head {
  max-width: 40rem;
  margin: 0 auto 48px;
  text-align: center;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* karty funkcji */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.alt .card {
  background: var(--bg);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
}
.icon svg {
  width: 22px;
  height: 22px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* kroki */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.steps li {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}
.steps h3 {
  margin: 0 0 6px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* offline */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split h2 {
  text-align: left;
}
.split p {
  color: var(--muted);
  font-size: 1.05rem;
}
.checks {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.checks li::before {
  content: '✓';
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}
.status-demo {
  display: grid;
  gap: 12px;
}
.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 600;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.ok {
  background: var(--good);
}
.dot.warn {
  background: var(--accent);
}
.dot.off {
  background: #ec835a;
}

/* instalacja i FAQ */
.install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) {
  .install {
    grid-template-columns: 1fr;
  }
}
.install ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.install li {
  margin-bottom: 6px;
}
.faq {
  max-width: 44rem;
  margin: 0 auto;
}
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

/* pasek ze zdjęciami */
.photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) {
  .photos {
    grid-template-columns: 1fr;
  }
}
.photo {
  position: relative;
  margin: 0; /* <figure> ma domyślnie 40 px marginesu po bokach, przez co karty były węższe niż reszta sekcji */
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1c1410;
  color: #f5ebdd;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo:hover img {
  transform: scale(1.04);
}
.photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(28 20 16 / 0.92) 0%, rgb(28 20 16 / 0.2) 55%, transparent 100%);
}
.photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 22px;
}
.photo h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.photo p {
  margin: 0;
  font-size: 0.95rem;
  color: #d8c8b4;
}
@media (max-width: 880px) {
  .photo {
    min-height: 260px;
  }
}

/* końcowe CTA */
.final {
  padding: 0; /* blok na pełną szerokość strony, bez marginesów */
  text-align: center;
}
.final .wrap {
  width: 100%;
  max-width: none;
}
.final .box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 24px;
  border-block: 1px solid var(--line);
  border-radius: 0;
  color: #f5ebdd;
  background: #1c1410;
}
.final .box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/img/cta.webp') center / cover no-repeat;
}
.final .box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(28 20 16 / 0.9), rgb(28 20 16 / 0.65));
}
.final h2 {
  text-align: center;
}
.final p {
  margin: 0 auto 28px;
  max-width: 32rem;
  color: #d8c8b4;
}
.final .btn {
  background: #d4a537;
  color: #1c1410;
}

/* stopka */
footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}

/* strona tekstowa (polityka prywatności) */
.doc {
  max-width: 44rem;
  padding: 56px 0 80px;
}
.doc h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}
.doc h2 {
  margin-top: 40px;
  font-size: 1.4rem;
  text-align: left;
}
.doc p,
.doc li {
  color: var(--muted);
}
.doc .draft {
  padding: 14px 18px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* ───── animacje (tylko dla osób bez ustawionego „ogranicz ruch”) ───── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes phone-in {
    from {
      opacity: 0;
      transform: translateY(48px) rotate(8deg) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(3deg);
    }
  }
  @keyframes float-in {
    from {
      opacity: 0;
      transform: translateY(40px) rotate(-9deg) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(-4deg);
    }
  }
  @keyframes drift {
    0%,
    100% {
      transform: translateY(0) rotate(3deg);
    }
    50% {
      transform: translateY(-12px) rotate(3deg);
    }
  }
  @keyframes drift-2 {
    0%,
    100% {
      transform: translateY(0) rotate(-4deg);
    }
    50% {
      transform: translateY(10px) rotate(-4deg);
    }
  }
  @keyframes kenburns {
    from {
      transform: scaleX(-1) scale(1);
    }
    to {
      transform: scaleX(-1) scale(1.08);
    }
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
  }
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent);
    }
    70%,
    100% {
      box-shadow: 0 0 0 10px transparent;
    }
  }
  @keyframes slide-section {
    from {
      opacity: 0;
      translate: 0 90px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
  @keyframes reveal {
    from {
      opacity: 0;
      translate: 0 36px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  /* wejście sekcji głównej: elementy po kolei */
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero .cta-row,
  .hero .hero-note {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero h1 {
    animation-delay: 0.1s;
  }
  .hero .lead {
    animation-delay: 0.22s;
  }
  .hero .cta-row {
    animation-delay: 0.34s;
  }
  .hero .hero-note {
    animation-delay: 0.46s;
  }
  .hero::after {
    animation: kenburns 24s ease-in-out infinite alternate;
  }
  .phone {
    animation:
      phone-in 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both,
      drift 7s 1.3s ease-in-out infinite;
  }
  .float {
    animation:
      float-in 1s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both,
      drift-2 8s 1.7s ease-in-out infinite;
  }
  /* wykresy rysują się same */
  .tile polyline {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.8s 0.9s ease-out forwards;
  }
  .tile polygon {
    animation: fade 1s 2s ease-out both;
  }
  .tile:nth-of-type(2) polyline {
    animation-delay: 1.3s;
  }
  .tile:nth-of-type(2) polygon {
    animation-delay: 2.4s;
  }
  /* statusy offline: delikatne pulsowanie */
  .dot.ok {
    color: var(--good);
    animation: pulse 2.4s infinite;
  }
  .dot.warn {
    color: var(--accent);
    animation: pulse 1.6s infinite;
  }
  .dot.off {
    color: #ec835a;
    animation: pulse 3s infinite;
  }
  /* przyciski */
  .nav .btn,
  .hero .btn:not(.ghost) {
    background-image: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 0.35) 50%, transparent 65%);
    background-size: 250% 100%;
    background-position: 150% 0;
    background-repeat: no-repeat;
  }
  .hero .btn:not(.ghost):hover,
  .nav .btn:hover {
    background-position: -50% 0;
    transition: background-position 0.7s ease;
  }

  /* pojawianie się elementów podczas przewijania (CSS, bez JavaScriptu; starsze przeglądarki pokażą je od razu) */
  @supports (animation-timeline: view()) {
    main > section:not(.hero) > .wrap {
      animation: slide-section linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .card,
    .steps li,
    .photo,
    details,
    .pill,
    .split > div {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .grid .card:nth-child(3n + 2),
    .photos .photo:nth-child(2),
    .steps li:nth-child(2) {
      animation-range: entry 6% entry 46%;
    }
    .grid .card:nth-child(3n),
    .photos .photo:nth-child(3),
    .steps li:nth-child(3) {
      animation-range: entry 12% entry 52%;
    }
  }

  /* zapas (reveal.js) dla przeglądarek bez animation-timeline */
  .js-reveal main > section:not(.hero) > .wrap {
    opacity: 0;
    translate: 0 90px;
    transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js-reveal main > section:not(.hero) > .wrap.in {
    opacity: 1;
    translate: 0 0;
  }
}

/* ───── telefon: węższy układ sekcji głównej ───── */
@media (max-width: 560px) {
  .hero {
    padding: 40px 0 56px;
  }
  .hero .wrap {
    gap: 32px;
  }
  .lead {
    font-size: 1.05rem;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  }

/* ───── drugie hero (makieta pod tekstem) – tylko poniżej 992 px ───── */
.hero2 {
  display: none;
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background:
    radial-gradient(70% 60% at 50% 70%, color-mix(in srgb, var(--accent) 20%, transparent), transparent),
    var(--bg);
  color: var(--text);
  text-align: center;
}
@media (max-width: 991.98px) {
  .hero2 {
    display: block;
  }
}
.hero2 h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
}
.hero2 p {
  margin: 0 0 8px;
  color: var(--muted);
}
.hero2 .stage {
  min-height: 0;
  padding: 16px 0 8px;
}

@media (prefers-reduced-motion: no-preference) {
  /* makieta i wykresy w drugim hero nie startują przy ładowaniu strony (są poza ekranem) */
  .hero2 .phone {
    animation: drift 7s ease-in-out infinite;
  }
  .hero2 .float {
    animation: drift-2 8s ease-in-out infinite;
  }
  @supports (animation-timeline: view()) {
    .hero2 .tile polyline {
      animation: draw linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 90%;
    }
    .hero2 .tile polygon {
      animation: fade linear both;
      animation-timeline: view();
      animation-range: entry 50% entry 100%;
    }
  }
}

/* płynne przejście drugiego hero w kolejną sekcję (kolor tła strony, także w jasnym motywie) */
.hero2::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--page-bg));
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .hero2 {
    padding-bottom: 96px;
  }
}

/* ───── tryb osadzenia (dokumenty pokazywane w ramce wewnątrz aplikacji) ───── */
.embed .nav,
.embed footer {
  display: none;
}
.embed .doc {
  padding: 20px 0 48px;
}
.embed .doc h1 {
  display: none; /* tytuł pokazuje nagłówek okna w aplikacji */
}

/* treść opisowa (sekcja o progresji) */
.prose {
  max-width: 46rem;
}
.prose h2 {
  text-align: left;
}
.prose p {
  color: var(--muted);
  font-size: 1.05rem;
}
.prose a {
  color: var(--accent);
}
.screen .mk-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.float .mk-title {
  font-weight: 700;
}
