/* Motion Keyboard: strona klawiatury na zielinski.consulting, układ jak /maily/. Reszta wyglądu z /assets/css/site.css. */
.mk {
  --mk-blue: #007aff; --mk-blue-deep: #0a5fd6; --mk-blue-soft: rgba(0, 122, 255, 0.08);
  --mk-ink: #1d1d1f; --mk-card: #f5f5f7; --mk-radius: 22px;
}
.mk h1, .mk h2, .mk h3 { font-family: Satoshi, sans-serif; color: var(--mk-ink); letter-spacing: -0.01em; }
.mk p { color: var(--muted); }
.mk section { padding: 56px 0 0; }
.mk .mk-title { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; text-align: center; }
.mk .mk-lead { max-width: 620px; margin: 0 auto 32px; text-align: center; font-size: 17px; line-height: 1.55; }

/* podmenu */
.mk-subnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
  padding: 22px 0 0; font-size: 14px;
}
.mk-subnav a { color: var(--muted); text-decoration: none; }
.mk-subnav a:hover { color: var(--mk-blue); }
.mk-subnav a[aria-current="page"] { color: var(--mk-blue); font-weight: 600; }

/* hero */
.mk-hero { text-align: center; padding: 48px 0 8px; }
.mk-icon {
  display: block; width: 112px; height: 112px; margin: 0 auto; border-radius: 25px;
  box-shadow: 0 14px 36px rgba(10, 95, 214, 0.26), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.mk-hero h1 { margin: 24px 0 12px; font-size: clamp(40px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
.mk-tagline { max-width: 640px; margin: 0 auto 28px; font-size: clamp(18px, 2.3vw, 21px); line-height: 1.5; color: var(--mk-ink); }
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--pill); border: 0;
  background: var(--mk-blue); color: #fff !important; text-decoration: none;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.mk-btn svg { width: 17px; height: 17px; margin-top: -2px; flex: none; }
.mk-btn:hover { background: var(--mk-blue-deep); }
.mk-btn:active { transform: translateY(1px); }
.mk-btn-outline { background: #fff; color: var(--mk-blue) !important; box-shadow: inset 0 0 0 1.5px var(--mk-blue); }
.mk-btn-outline:hover { background: var(--mk-blue-soft); }
.mk-note { margin: 14px 0 0; font-size: 14px; }

/* trzy cechy */
.mk-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mk-card { padding: 28px 26px; border-radius: var(--mk-radius); background: var(--mk-card); }
.mk-card svg { width: 36px; height: 36px; color: var(--mk-blue); margin-bottom: 14px; }
.mk-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.mk-card p { margin: 0; font-size: 15px; line-height: 1.6; }

/* dodatkowe cechy */
.mk-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; }
.mk-extras li {
  list-style: none; padding: 10px 16px; border-radius: var(--pill);
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  font-size: 14px; font-weight: 500; color: var(--mk-ink);
}

/* zrzuty */
.mk-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.mk-shots figure { margin: 0; }
.mk-shots img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); }
.mk-shots figcaption { margin: 14px 4px 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* gesty */
.mk-gestures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.mk-gesture {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 22px 20px; border-radius: var(--mk-radius);
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.mk-pad {
  --dx: 0px; --dy: 0px;
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--mk-blue-soft); color: var(--mk-blue);
}
.mk-pad svg { width: 28px; height: 28px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.mk-gesture:hover .mk-pad svg { transform: translate(var(--dx), var(--dy)); }
.mk-pad-right { --dx: 5px; }
.mk-pad-left { --dx: -5px; }
.mk-pad-down { --dy: 5px; }
.mk-pad-up { --dy: -5px; }
.mk-gesture h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 700; }
.mk-gesture p { margin: 0; font-size: 15px; line-height: 1.55; }
.mk-more { margin: 22px 0 0; text-align: center; font-size: 15px; }
.mk-more a { color: var(--mk-blue); font-weight: 600; text-decoration: none; }
.mk-more a:hover { text-decoration: underline; }

/* jak zacząć */
.mk-start { text-align: center; }
.mk-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0 0 28px; padding: 0; list-style: none; counter-reset: mk-step; text-align: left;
}
.mk-steps li { counter-increment: mk-step; padding: 26px 26px 24px; border-radius: var(--mk-radius); background: var(--mk-card); }
.mk-steps li::before {
  content: counter(mk-step); display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%;
  background: var(--mk-blue); color: #fff; font-size: 15px; font-weight: 700;
}
.mk-steps h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.mk-steps p { margin: 0; font-size: 15px; line-height: 1.6; }

/* faq */
.mk-faq { max-width: 760px; margin: 0 auto; }
.mk-faq details { padding: 4px 0; border-bottom: 1px solid var(--line); }
.mk-faq summary {
  padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--mk-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; color: var(--mk-blue); transition: transform .2s; }
.mk-faq details[open] summary::after { transform: rotate(45deg); }
.mk-faq details p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.mk-faq a { color: var(--mk-blue); }

/* stopka sekcji */
.mk-foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  margin: 56px 0 72px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px;
}
.mk-foot a { color: var(--muted); text-decoration: none; }
.mk-foot a:hover { color: var(--mk-blue); }
.mk-foot span { color: var(--muted); }

@media (max-width: 860px) {
  .mk-features, .mk-steps { grid-template-columns: 1fr; }
  .mk-gestures { grid-template-columns: 1fr 1fr; }
  .mk-shots { gap: 10px; }
  .mk-shots figcaption { font-size: 13px; }
}
@media (max-width: 600px) {
  .mk section { padding-top: 44px; }
  .mk-gestures { grid-template-columns: 1fr; }
  /* zrzuty: karuzela przewijana w bok */
  .mk-shots {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none;
  }
  .mk-shots::-webkit-scrollbar { display: none; }
  .mk-shots figure { flex: 0 0 76%; scroll-snap-align: center; }
  .mk-start .mk-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-pad svg, .mk-btn, .mk-faq summary::after { transition: none; }
  .mk-gesture:hover .mk-pad svg { transform: none; }
}
