/* 6 Nov 2026 owner review, Marketing tools (A11, A12, A14b): two clean phone pictures on frosted glass, and the two design cards.
   Replies phone: a customer message, the reply in your voice, a serious one passed to your WhatsApp. One loop, only while on screen (tool-art.js adds .is-live).
   Feed phone: posts slide in at the top of an Instagram-style profile grid (page-marketing-tools-1106.js). Both stand finished with motion off. */

.mk-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; padding: var(--s-32) var(--s-24);
  border-radius: 28px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--grey) 70%, var(--paper));
}
.mk-stage::before, .mk-stage::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(48px); pointer-events: none; }
.mk-stage--rep::before { width: 58%; height: 62%; left: -8%; bottom: -14%; background: rgba(37, 211, 102, .22); }
.mk-stage--rep::after { width: 46%; height: 50%; right: -6%; top: -10%; background: rgba(69, 123, 250, .16); }
.mk-stage--feed::before { width: 54%; height: 60%; left: -6%; top: -10%; background: rgba(225, 48, 108, .15); }
.mk-stage--feed::after { width: 50%; height: 56%; right: -8%; bottom: -12%; background: rgba(245, 165, 40, .2); }
.mk-glass {
  display: grid; place-items: center; width: 100%; padding: var(--s-24);
  border-radius: 24px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 #fff, 0 24px 48px -30px rgba(20, 28, 38, .3);
}
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .mk-glass { -webkit-backdrop-filter: blur(22px) saturate(1.1); backdrop-filter: blur(22px) saturate(1.1); }
}

.mk-phone { position: relative; width: min(100%, 260px); aspect-ratio: 9 / 17; padding: 7px; border-radius: 38px; background: #151518;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .05), 0 22px 44px -18px rgba(16, 24, 40, .35); }
.mk-screen { position: relative; height: 100%; overflow: hidden; border-radius: 31px; background: #fff; display: flex; flex-direction: column; text-align: left; }
.mk-screen::before { content: ""; position: absolute; z-index: 3; top: 7px; left: 50%; width: 62px; height: 17px; margin-left: -31px; border-radius: 99px; background: #151518; }
.mk-bar { display: flex; align-items: center; gap: 9px; padding: 34px 14px 10px; border-bottom: 1px solid rgba(0, 0, 0, .06); background: #fff; position: relative; z-index: 2; }
.mk-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #dfe3ea; display: grid; place-items: center; font: 500 12px/1 var(--font-text); color: #5c6270; }
.mk-name { font: 500 13px/1.15 var(--font-text); color: #1d1d1f; }
.mk-name small { display: block; font: 400 10.5px/1.2 var(--font-text); color: #86868b; margin-top: 1px; }
.mk-sample { margin-left: auto; font: 500 10px/1 var(--mono); color: var(--ink-2); padding: 4px 7px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); background: #fff; }

/* replies */
.mk-chat { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 12px; background: #f4f5f7; }
.mk-msg { max-width: 86%; padding: 8px 11px 6px; border-radius: 16px; font: 400 12.5px/1.35 var(--font-text); color: #1d1d1f; background: #fff; box-shadow: 0 1px 1px rgba(16, 24, 40, .06); }
.mk-msg time { display: block; margin-top: 3px; text-align: right; font: 400 9.5px/1 var(--font-text); color: #8a8f99; }
.mk-in { align-self: flex-start; border-bottom-left-radius: 5px; }
.mk-out { align-self: flex-end; border-bottom-right-radius: 5px; background: #d9fdd3; }
.mk-out time { color: #5f8a63; }
.mk-chip { align-self: center; display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 6px 12px 6px 7px; border-radius: 99px; background: #fff; font: 500 11.5px/1 var(--font-text); color: #1d1d1f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 8px 18px -10px rgba(20, 28, 38, .35); }
.mk-chip img { width: 18px; height: 18px; display: block; }

/* feed */
.mk-bar--ig { padding-bottom: 9px; }
.mk-bar--ig img { width: 20px; height: 20px; display: block; flex: none; }
.mk-prof { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; position: relative; z-index: 2; }
.mk-prof .mk-av { width: 46px; height: 46px; font-size: 17px; background: linear-gradient(135deg, #f5b95a, #e1306c); color: #fff; }
.mk-prof-l { flex: 1; display: grid; gap: 7px; }
.mk-prof-l i { display: block; height: 7px; border-radius: 4px; background: #e6e8ec; }
.mk-prof-l i:first-child { width: 62%; background: #cfd3da; }
.mk-prof-l i:last-child { width: 86%; }
.mk-grid { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; align-content: start; background: #fff; }
.mk-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.mk-tile::before { content: ""; position: absolute; left: 18%; top: 16%; width: 20%; height: 20%; border-radius: 50%; background: rgba(255, 255, 255, .88); }
.mk-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: rgba(255, 255, 255, .82); clip-path: polygon(0 100%, 0 62%, 26% 22%, 48% 58%, 66% 36%, 100% 74%, 100% 100%); }
.mk-t1 { background: linear-gradient(150deg, #9ad27f, #5fa63d); }
.mk-t2 { background: linear-gradient(150deg, #8db0fb, #5a86f0); }
.mk-t3 { background: linear-gradient(150deg, #f8c97a, #ee9a2e); }
.mk-t4 { background: linear-gradient(150deg, #f29cb8, #e1306c); }
.mk-t5 { background: linear-gradient(150deg, #c3a5ef, #8d63d6); }
.mk-t6 { background: linear-gradient(150deg, #8fd6cf, #3fa99f); }
.mk-t2::after, .mk-t5::after { clip-path: polygon(0 100%, 0 70%, 34% 34%, 58% 62%, 100% 28%, 100% 100%); }
.mk-t3::before, .mk-t6::before { left: 58%; top: 20%; }

@media (max-width: 767px) { .mk-stage { padding: var(--s-16); } .mk-glass { padding: var(--s-16); } }

/* replies loop, 10 s, only while on screen. Finished when motion is off. */
@media (prefers-reduced-motion: no-preference) {
  .mk-stage--rep.is-live .mk-m1 { animation: mk-a 10s ease infinite; --s: 0%; }
  .mk-stage--rep.is-live .mk-m3 { animation: mk-b 10s ease infinite; }
  .mk-stage--rep.is-live .mk-m4 { animation: mk-c 10s ease infinite; }
  .mk-stage--rep.is-live .mk-m5 { animation: mk-d 10s ease infinite; }
}
@keyframes mk-a { 0% { opacity: 0; transform: translateY(10px); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mk-b { 0%, 24% { opacity: 0; transform: translateY(10px); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mk-c { 0%, 48% { opacity: 0; transform: translateY(10px); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mk-d { 0%, 64% { opacity: 0; transform: scale(.9); } 70%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* the two design cards: a title only, the whole card is the link */
.mk-design .kinds-link { justify-content: flex-start; gap: var(--s-16); transition: transform .35s cubic-bezier(.22, .9, .24, 1), box-shadow .35s ease; }
.mk-design .kinds-link .h4 { margin: 0; }
.mk-pic { display: grid; place-items: center; align-self: stretch; height: 150px; border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--grey) 80%, var(--paper)); }
.mk-ttl { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); width: 100%; }
.mk-go { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .35s cubic-bezier(.22, .9, .24, 1); }
.mk-go svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-mini-phone { position: relative; width: 74px; height: 132px; margin-top: 30px; border-radius: 16px 16px 0 0; background: #151518; padding: 4px 4px 0; box-shadow: 0 14px 24px -14px rgba(16, 24, 40, .4); }
.mk-mini-phone::before { content: ""; position: absolute; z-index: 1; top: 7px; left: 50%; width: 22px; height: 6px; margin-left: -11px; border-radius: 9px; background: #151518; }
.mk-mini-phone::after { content: ""; position: absolute; inset: 4px 4px 0; border-radius: 12px 12px 0 0; background: #f4f5f7; }
.mk-mini-bubble { position: absolute; z-index: 2; right: 10px; top: 36px; width: 46px; padding: 6px 7px 5px; border-radius: 9px 9px 2px 9px; background: #d9fdd3; box-shadow: 0 1px 1px rgba(16, 24, 40, .08); }
.mk-mini-bubble b { display: block; height: 4px; border-radius: 2px; background: #8cc78f; margin-bottom: 4px; }
.mk-mini-bubble b + b { width: 66%; }
.mk-mini-bubble svg { display: block; margin-left: auto; width: 10px; height: 10px; fill: none; stroke: #4f9d5a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-mini-screen { display: grid; gap: 10px; width: 190px; padding: 0 0 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 14px 24px -14px rgba(16, 24, 40, .35); overflow: hidden; }
.mk-mini-bar { display: flex; gap: 4px; padding: 8px 10px; background: #f4f5f7; }
.mk-mini-bar b { width: 6px; height: 6px; border-radius: 50%; background: #d3d6dc; }
.mk-mini-line { padding: 0 14px; font: 500 13px/1 var(--font-text); color: #1d1d1f; }
.mk-mini-btn { margin: 0 14px; padding: 10px 0; text-align: center; border-radius: 10px; background: var(--blue); color: #fff; font: 500 14px/1 var(--font-text); }
@media (hover: hover) {
  .mk-design .kinds-link:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(20, 28, 38, .35); }
  .mk-design .kinds-link:hover .mk-go { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .mk-design .kinds-link, .mk-go { transition: none; } .mk-design .kinds-link:hover, .mk-design .kinds-link:hover .mk-go { transform: none; } }
