/* =========================================================================
   SMS conversation bubble — the pure-CSS phone mockup.

   Shared by the home hero AND the content pages (How it works), enqueued by
   both (see inc/setup.php) so there is ONE source for these rules and the two
   placements can never drift. Decorative: .phone carries aria-hidden in the
   markup. All colors come from the :root tokens; the phone is self-contained
   dark, so it reads the same on a light or a dark section.
   ========================================================================= */

.phone {
	width: 100%; max-width: 320px;
	background: var(--navy); border: 1px solid var(--border);
	border-radius: 34px; padding: 13px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.phone-screen { background: var(--surface); border-radius: 24px; padding: 16px 14px 20px; }
.phone-head { display: flex; align-items: center; gap: 9px; padding: 4px 4px 13px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.phone-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); flex: none; }
.phone-name { font-size: 14px; font-weight: 600; color: var(--text); }
.phone-chat { display: flex; flex-direction: column; gap: 10px; }
.pmsg { max-width: 84%; margin: 0; font-size: 13.5px; line-height: 1.45; padding: 10px 13px; border-radius: 16px; }
.pmsg.out { align-self: flex-end; background: var(--accent); color: var(--navy); border-bottom-right-radius: 5px; }
.pmsg.in { align-self: flex-start; background: var(--border); color: var(--text); border-bottom-left-radius: 5px; }

/* Bubbles fade/slide in once on load (no loops). */
@keyframes ignytert-pmsg-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.pmsg { opacity: 0; animation: ignytert-pmsg-in .5s ease forwards; }
.pmsg:nth-child(1) { animation-delay: .2s; }
.pmsg:nth-child(2) { animation-delay: .6s; }
.pmsg:nth-child(3) { animation-delay: 1s; }
.pmsg:nth-child(4) { animation-delay: 1.4s; }
@media (prefers-reduced-motion: reduce) { .pmsg { opacity: 1; animation: none; } }
