/* ==========================================================================
   Dr. Rozaline — the follow-up system on the site:
   scenario timeline + live WhatsApp phone, sample report/program, phone check-in story.
   Static without JavaScript; assets/js/rz-system.js adds .is-live and plays the scenes.
   ========================================================================== */

/* ---------- phone frame ---------- */
.rz-phone { position: relative; width: 290px; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #2b2147, #120c22); box-shadow: 0 50px 90px -35px rgba(23, 10, 50, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 0 2px #3a2d5c inset; }
.rz-phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 94px; height: 26px; border-radius: 20px; background: #0d0818; z-index: 6; }
.rz-phone::after { content: ""; position: absolute; inset: 11px; border-radius: 38px; pointer-events: none; z-index: 7; background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%); }
.rz-phone > img, .rz-phone .rz-scr { display: block; width: 100%; height: auto; border-radius: 37px; }

/* ---------- scenario ---------- */
.rz-flow { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.rz-flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: flow; }
.rz-flow-step { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--rz-line); border-radius: 22px; padding: 18px; box-shadow: 0 12px 34px -26px rgba(42, 20, 80, .4); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s, background .45s; counter-increment: flow; cursor: pointer; outline: none; }
.rz-flow-step:hover, .rz-flow-step:focus-visible { transform: translateY(-4px); box-shadow: var(--rz-shadow); }
.rz-flow-step::after { content: counter(flow); position: absolute; top: 12px; left: 16px; font-size: 32px; font-weight: 900; color: rgba(96, 48, 146, .08); line-height: 1; transition: color .45s; }
.rz-flow-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 19px; background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); box-shadow: 0 10px 20px -10px rgba(96, 48, 146, .8); transition: transform .45s; }
.rz-flow-step:nth-child(3n+2) .rz-flow-ic { background: linear-gradient(135deg, #a6c25e, var(--rz-leaf)); }
.rz-flow-step small { display: inline-block; font-size: 12px; font-weight: 800; color: #5b7a22; background: var(--rz-leaf-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.rz-flow-step h3 { font-size: 17.5px; font-weight: 900; color: var(--rz-ink); margin: 0 0 4px; }
.rz-flow-step p { font-size: 14px; line-height: 1.8; color: var(--rz-muted); margin: 0; }
.rz-flow-bar { position: absolute; bottom: 0; right: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rz-leaf), var(--rz-v500)); border-radius: 3px; }
/* the step whose message is arriving now */
.rz-flow-step.is-active { border-color: rgba(96, 48, 146, .45); background: linear-gradient(135deg, #fff, var(--rz-v50)); box-shadow: 0 22px 50px -26px rgba(96, 48, 146, .55); transform: translateY(-4px); }
.rz-flow-step.is-active .rz-flow-ic { transform: scale(1.08) rotate(-6deg); }
.rz-flow-step.is-active::after { color: rgba(96, 48, 146, .18); }
.rz-flow-step.is-active .rz-flow-bar { animation: rzBar var(--rz-step, 4.2s) linear forwards; }
.rz-flow-step.is-done .rz-flow-ic::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; background: var(--rz-leaf); color: #fff; box-shadow: 0 0 0 2px #fff; }
@keyframes rzBar { from { width: 0; } to { width: 100%; } }

.rz-chat-wrap { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; }
.rz-chat-glow { position: absolute; top: 8%; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 77, 168, .35), transparent 65%); filter: blur(30px); animation: rzGlow 6s ease-in-out infinite; pointer-events: none; }
@keyframes rzGlow { 50% { transform: scale(1.12); opacity: .75; } }
.rz-chat { width: 330px; }
.rz-chat-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; border-radius: 37px 37px 0 0; background: linear-gradient(135deg, var(--rz-v800), var(--rz-v600)); color: #fff; }
.rz-ava { position: relative; flex: none; }
.rz-ava img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; display: block; }
.rz-ava i { position: absolute; bottom: 1px; left: 1px; width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 2px var(--rz-v700); }
.rz-chat-head b { display: block; font-size: 14.5px; line-height: 1.3; }
.rz-chat-head small { font-size: 11.5px; opacity: .85; transition: opacity .3s; }
.rz-chat-head > i { margin-inline-start: auto; font-size: 20px; opacity: .9; }
.rz-chat-body { position: relative; height: 455px; overflow: hidden; padding: 14px 12px 12px; background: #efe9f6 radial-gradient(rgba(96, 48, 146, .07) 1px, transparent 1px) 0 0 / 14px 14px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.rz-chat-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px 18px; border-radius: 0 0 37px 37px; background: #f6f2fa; color: #a49cb6; font-size: 12.5px; }
.rz-chat-input span { flex: 1; background: #fff; border-radius: 999px; padding: 8px 14px; }
.rz-chat-input i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--rz-v600); color: #fff; font-size: 13px; }
.rz-bub { position: relative; align-self: flex-start; max-width: 86%; background: #fff; border-radius: 4px 16px 16px 16px; padding: 8px 12px 6px; box-shadow: 0 2px 6px rgba(30, 10, 60, .08); transform-origin: top right; }
.rz-bub.rz-out { align-self: flex-end; background: linear-gradient(135deg, #e3d4f3, #d9c6ef); border-radius: 16px 4px 16px 16px; transform-origin: top left; }
.rz-bub p { margin: 0; font-size: 13px; line-height: 1.65; color: #2b2340; }
.rz-bub time { display: flex; align-items: center; justify-content: flex-start; gap: 4px; font-size: 10px; color: #8f87a3; margin-top: 2px; direction: ltr; }
.rz-ticks { font-size: 10px; color: #9b93ad; transition: color .4s; }
.rz-ticks.is-read { color: #34b7f1; }
.rz-bub.is-new { animation: rzPop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes rzPop { from { opacity: 0; transform: translateY(14px) scale(.85); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.rz-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 14px; background: #fff; border-radius: 4px 16px 16px 16px; box-shadow: 0 2px 6px rgba(30, 10, 60, .08); animation: rzPop .35s both; }
.rz-typing.rz-out { align-self: flex-end; background: #e3d4f3; border-radius: 16px 4px 16px 16px; }
.rz-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9b8fb3; animation: rzDot 1.1s infinite; }
.rz-typing i:nth-child(2) { animation-delay: .15s; }
.rz-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes rzDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.rz-day { align-self: center; font-size: 10.5px; font-weight: 700; color: #6d6584; background: rgba(255, 255, 255, .85); padding: 3px 10px; border-radius: 8px; animation: rzPop .4s both; }

/* notification that drops in at the top of the phone */
.rz-notif { position: absolute; z-index: 8; top: 52px; left: 50%; width: 88%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(20, 8, 40, .55); transform: translate(-50%, -140%); opacity: 0; transition: transform .6s cubic-bezier(.2, 1.2, .3, 1), opacity .4s; pointer-events: none; }
.rz-notif img { width: 34px; height: 34px; border-radius: 10px; background: #fff; object-fit: contain; flex: none; }
.rz-notif b { display: block; font-size: 12.5px; color: var(--rz-ink); }
.rz-notif p { margin: 0; font-size: 11.5px; line-height: 1.45; color: #4b4560; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rz-notif small { align-self: flex-start; font-size: 10px; color: #8f87a3; white-space: nowrap; }
.rz-notif.is-in { transform: translate(-50%, 0); opacity: 1; }
.rz-note-sm { margin: 14px 0 0; font-size: 12.5px; color: var(--rz-muted); text-align: center; }
@media (max-width: 1199px) { .rz-flow { grid-template-columns: 1fr; } .rz-chat-wrap { position: static; order: -1; } }
@media (max-width: 767px) { .rz-flow-list { grid-template-columns: 1fr; } .rz-chat { width: 300px; } .rz-chat-body { height: 400px; } }

/* ---------- samples (report + program) ---------- */
.rz-samples { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rz-sample { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rz-line); border-radius: 30px; overflow: hidden; box-shadow: 0 18px 50px -34px rgba(42, 20, 80, .45); }
.rz-doc-stage { position: relative; height: 360px; perspective: 1200px; background: radial-gradient(420px 220px at 80% 0%, rgba(143, 174, 74, .18), transparent 60%), linear-gradient(160deg, var(--rz-v100), var(--rz-v50)); overflow: hidden; }
.rz-doc { position: absolute; inset: 30px 48px 0; display: block; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.rz-doc::before { content: ""; position: absolute; left: 6%; right: 6%; top: 14px; bottom: -10px; border-radius: 14px; background: #fff; transform: rotate(-3.5deg) translateZ(-30px); box-shadow: 0 10px 30px -18px rgba(42, 20, 80, .45); opacity: .75; }
.rz-doc-paper { position: absolute; inset: 0; overflow: hidden; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 24px 50px -24px rgba(42, 20, 80, .6); }
.rz-doc-paper img { display: block; width: 100%; height: auto; transform: translateY(0); will-change: transform; }
.is-live .rz-doc-paper img { animation: rzRead var(--rz-read, 16s) ease-in-out infinite; }
.rz-doc:hover .rz-doc-paper img { animation-play-state: paused; }
@keyframes rzRead { 0%, 10% { transform: translateY(0); } 50%, 60% { transform: translateY(var(--rz-scroll, -55%)); } 100% { transform: translateY(0); } }
.rz-doc-shine { position: absolute; inset: 0; border-radius: 14px 14px 0 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 250% 100%; background-position: 130% 0; pointer-events: none; }
.rz-doc:hover .rz-doc-shine { animation: rzShine 1.1s ease; }
@keyframes rzShine { to { background-position: -130% 0; } }
.rz-doc-badge { position: absolute; bottom: 18px; left: 50%; transform: translate(-50%, 10px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(28, 13, 51, .85); color: #fff; font-size: 13.5px; font-weight: 800; backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s, transform .3s; white-space: nowrap; }
.rz-doc:hover .rz-doc-badge, .rz-doc:focus-visible .rz-doc-badge { opacity: 1; transform: translate(-50%, 0); }
.rz-doc-chips { position: absolute; inset: 0; pointer-events: none; }
.rz-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 16px 34px -14px rgba(42, 20, 80, .5); font-size: 12px; color: var(--rz-muted); white-space: nowrap; }
.rz-chip i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); font-size: 13px; }
.rz-chip b { font-size: 15px; color: var(--rz-ink); }
.rz-chip small { font-size: 11px; }
.rz-chip-0 { top: 64px; right: 14px; }
.rz-chip-1 { top: 160px; left: 14px; }
.rz-chip-1 i { background: linear-gradient(135deg, #a6c25e, var(--rz-leaf)); }
.rz-chip-2 { bottom: 34px; right: 22px; }
.is-live .rz-chip { opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .6s, transform .6s cubic-bezier(.2, 1.3, .4, 1); }
.is-live.is-seen .rz-chip { opacity: 1; transform: none; animation: rzFloat 5s ease-in-out infinite; }
.is-live.is-seen .rz-chip-1 { transition-delay: .25s; animation-delay: -1.6s; }
.is-live.is-seen .rz-chip-2 { transition-delay: .5s; animation-delay: -3.2s; }
@keyframes rzFloat { 50% { transform: translateY(-7px); } }
.rz-sample-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.rz-sample-body h3 { font-size: 24px; font-weight: 900; color: var(--rz-ink); margin: 10px 0 8px; }
.rz-sample-body > p { font-size: 15.5px; line-height: 1.9; color: var(--rz-muted); margin: 0 0 16px; }
.rz-sample-body .rz-checks { grid-template-columns: 1fr; gap: 9px; margin-bottom: 22px; }
.rz-sample-body .rz-actions { margin-top: auto; }
.rz-sample-body .rz-pill { align-self: flex-start; }
@media (max-width: 991px) { .rz-samples { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
  .rz-doc-stage { height: 290px; }
  .rz-doc { inset: 24px 26px 0; }
  .rz-chip { padding: 6px 9px; gap: 6px; }
  .rz-chip i { width: 26px; height: 26px; }
  .rz-chip b { font-size: 13px; }
  .rz-chip-0 { top: 40px; right: 6px; } .rz-chip-1 { top: 128px; left: 6px; } .rz-chip-2 { bottom: 20px; right: 10px; }
  .rz-sample-body { padding: 22px 20px 24px; }
  .rz-sample-body .rz-btn { flex: 1; padding-inline: 16px; }
}

/* ---------- phone check-in story ---------- */
.rz-mobile { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.rz-mobile-text .rz-lead { margin-bottom: 26px; }
.rz-feats { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.rz-feats li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 18px; border: 1px solid transparent; transition: background .45s, border-color .45s, box-shadow .45s, transform .45s; }
.rz-feats span { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff; border: 1px solid var(--rz-line); color: var(--rz-v600); font-size: 17px; box-shadow: 0 8px 18px -12px rgba(42, 20, 80, .5); transition: background .45s, color .45s; }
.rz-feats b { display: block; font-size: 16px; color: var(--rz-ink); margin-bottom: 2px; }
.rz-feats p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--rz-muted); }
.rz-feats li.is-on { background: #fff; border-color: rgba(96, 48, 146, .2); box-shadow: 0 16px 36px -24px rgba(96, 48, 146, .55); transform: translateX(-4px); }
.rz-feats li.is-on span { background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); color: #fff; }

.rz-phones { position: relative; height: 650px; perspective: 1400px; }
.rz-phones > .rz-phone { position: absolute; top: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.rz-phone-front { right: 4%; z-index: 2; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotate(3deg); }
.rz-phone-back { left: 2%; top: 70px !important; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotate(-6deg) scale(.88); }
.rz-mini-chat { width: 270px; }
.rz-mini-chat .rz-chat-head { padding-top: 42px; }
.rz-mini-chat .rz-chat-body { height: 430px; border-radius: 0 0 37px 37px; }
.rz-mini-chat .rz-bub p { font-size: 12.5px; }

.rz-screens { position: relative; overflow: hidden; border-radius: 37px; aspect-ratio: 390 / 844; background: #1b1030; }
.rz-screens > * { position: absolute; inset: 0; transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1), filter .6s; }
.rz-screens .rz-scr { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
/* scenes: 0 lock screen + notification · 1 check-in · 2 measurements · 3 sent */
.rz-lock { display: flex; flex-direction: column; align-items: center; padding-top: 70px; color: #fff; background: radial-gradient(300px 260px at 70% 10%, rgba(143, 174, 74, .45), transparent 60%), radial-gradient(320px 320px at 10% 90%, rgba(124, 77, 168, .9), transparent 65%), linear-gradient(160deg, #2a1450, #120a24); }
.rz-lock-time { font-size: 58px; font-weight: 300; letter-spacing: 1px; line-height: 1; direction: ltr; }
.rz-lock-date { font-size: 13px; opacity: .85; margin-top: 6px; }
.rz-lock-notif { position: relative; inset: auto; margin-top: 40px; width: 88%; display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 18px; background: rgba(255, 255, 255, .9); color: var(--rz-ink); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); transform: translateY(-30px) scale(.94); opacity: 0; transition: transform .7s cubic-bezier(.2, 1.3, .3, 1), opacity .5s; }
.rz-lock-notif img { width: 32px; height: 32px; border-radius: 9px; background: #fff; object-fit: contain; flex: none; }
.rz-lock-notif b { display: block; font-size: 12px; }
.rz-lock-notif p { margin: 0; font-size: 11px; line-height: 1.45; color: #4b4560; }
.rz-lock-notif small { align-self: flex-start; font-size: 9.5px; color: #8f87a3; }
.rz-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: rgba(28, 13, 51, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.rz-done span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: linear-gradient(135deg, #a6c25e, var(--rz-leaf)); box-shadow: 0 0 0 10px rgba(143, 174, 74, .25); transform: scale(.4); transition: transform .6s cubic-bezier(.2, 1.6, .4, 1); }
.rz-done b { font-size: 18px; }
.rz-done small { font-size: 12px; opacity: .85; }
.rz-tap { inset: auto !important; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); opacity: 0; transform: scale(.4); pointer-events: none; z-index: 9; }
.rz-tap.is-tap { animation: rzTap .7s ease-out; }
@keyframes rzTap { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.6); } }

.rz-screens .rz-lock, .rz-screens .rz-scr-2, .rz-screens .rz-done { opacity: 0; }
.rz-screens[data-scene="0"] .rz-lock { opacity: 1; }
.rz-screens[data-scene="0"] .rz-lock .rz-lock-notif { opacity: 1; transform: none; }
.rz-screens[data-scene="0"] .rz-scr-1 { opacity: 0; transform: scale(1.06); filter: blur(6px); }
.rz-screens[data-scene="2"] .rz-scr-1 { transform: translateX(30%); opacity: 0; }
.rz-screens[data-scene="2"] .rz-scr-2 { opacity: 1; transform: none; }
.rz-screens .rz-scr-2 { transform: translateX(-30%); }
.rz-screens[data-scene="3"] .rz-scr-1 { opacity: 0; }
.rz-screens[data-scene="3"] .rz-scr-2 { opacity: 1; transform: none; filter: blur(2px); }
.rz-screens[data-scene="3"] .rz-done { opacity: 1; }
.rz-screens[data-scene="3"] .rz-done span { transform: scale(1); }

.rz-phone-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: #fff; font-size: 13.5px; font-weight: 800; color: var(--rz-ink); box-shadow: var(--rz-shadow); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.rz-phone-tag i { color: var(--rz-leaf); font-size: 16px; }
.rz-tag-a { top: 130px; left: -10px; }
.rz-tag-b { bottom: 70px; right: -6px; }
.rz-tag-b i { color: #25d366; }
.is-live .rz-phone-tag { opacity: 0; transform: translateY(12px) scale(.9); }
.is-live .rz-phone-tag.is-in { opacity: 1; transform: none; }
@media (max-width: 1199px) { .rz-mobile { grid-template-columns: 1fr; } .rz-phones { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 575px) {
  .rz-feats { grid-template-columns: 1fr; }
  .rz-phones { height: 540px; }
  .rz-phones > .rz-phone { width: 236px; border-radius: 40px; padding: 9px; }
  .rz-phones .rz-screens { border-radius: 31px; }
  .rz-mini-chat .rz-chat-body { height: 330px; }
  .rz-phone-front { right: 14px; }
  .rz-phone-back { left: 0; top: 56px !important; }
  .rz-lock-time { font-size: 46px; }
  .rz-tag-a { left: 0; top: 96px; }
  .rz-tag-b { right: 0; bottom: 40px; }
}

/* ---------- images inside articles ---------- */
.rz-figure { margin: 26px 0 18px; }
.rz-figure img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--rz-line); box-shadow: 0 18px 40px -26px rgba(42, 20, 80, .5); }
.rz-figure figcaption { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--rz-muted); }
.rz-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 620px; margin: 26px auto 10px; }
.rz-figs .rz-figure { margin: 0; }
.rz-figs .rz-figure img { border-radius: 26px; border: 8px solid #17112a; }
@media (max-width: 575px) { .rz-figs { gap: 10px; } .rz-figs .rz-figure img { border-width: 5px; border-radius: 18px; } }

/* people who asked for less motion get the still version */
@media (prefers-reduced-motion: reduce) {
  .rz-chat-glow, .is-live .rz-doc-paper img, .is-live.is-seen .rz-chip { animation: none !important; }
  .rz-phones > .rz-phone, .rz-doc { transform: none !important; }
}

/* ==========================================================================
   Motion on every page (assets/js/rz-motion.js adds .rz-motion to <html>)
   ========================================================================== */
/* our own reveal replaces the theme's fade inside the sections it handles */
.rz-motion .rz-rv.wow { visibility: visible !important; animation-name: none !important; }
.rz-motion .rz-rv { opacity: 0; transform: translateY(34px) scale(.98); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), filter .8s; transition-delay: calc(var(--i, 0) * 90ms); }
.rz-motion .rz-in .rz-rv { opacity: 1; transform: none; filter: none; }
/* cards keep their own hover lift after they arrive */
.rz-motion .rz-in .rz-rv.rz-step:hover, .rz-motion .rz-in .rz-rv.rz-pillar:hover { transition-delay: 0s; }

/* outline drawings */
.rz-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.rz-sec > .container, section > .container { position: relative; z-index: 1; }
.rz-deco-i { position: absolute; color: rgba(96, 48, 146, .22); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }
.rz-deco-i.is-leaf { color: rgba(122, 156, 58, .3); }
.rz-dark .rz-deco-i, main.page-content > div[style*="images/banner/"] .rz-deco-i { color: rgba(255, 255, 255, .22); }
.rz-deco-i svg { display: block; overflow: visible; }
.rz-deco-i svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rz-in .rz-deco-i svg * { animation: rzDraw 2.4s cubic-bezier(.6, .1, .3, 1) var(--d, 0s) forwards; }
.rz-in .rz-deco-i { animation: rzDrift var(--f, 7s) ease-in-out calc(var(--d, 0s) + 2.4s) infinite alternate; }
@keyframes rzDraw { to { stroke-dashoffset: 0; } }
@keyframes rzDrift { from { transform: translate(-50%, -50%) rotate(var(--r, 0deg)); } to { transform: translate(-50%, calc(-50% - 14px)) rotate(calc(var(--r, 0deg) * -1)); } }
@media (max-width: 767px) { .rz-deco-i { opacity: .7; } }

/* the five stages: the dashed line draws itself and the dots pop in order */
.rz-motion .rz-steps::before { transform: scaleX(0); transform-origin: right; transition: transform 1.6s cubic-bezier(.6, .1, .3, 1) .3s; }
.rz-motion .rz-in .rz-steps::before { transform: none; }
.rz-motion .rz-step .rz-step-dot { transform: scale(.6); transition: transform .7s cubic-bezier(.2, 1.5, .4, 1); transition-delay: calc(var(--i, 0) * 140ms + .25s); }
.rz-motion .rz-in .rz-step .rz-step-dot { transform: none; }
.rz-motion .rz-in .rz-step:hover .rz-step-dot { transform: translateY(-4px); transition-delay: 0s; }
.rz-step-num { animation: none; }
.rz-motion .rz-in .rz-step-num { animation: rzPing 2.8s ease-out calc(var(--i, 0) * .4s + 1.5s) infinite; }
@keyframes rzPing { 0% { box-shadow: 0 0 0 0 rgba(143, 174, 74, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(143, 174, 74, 0); } }
@media (max-width: 1199px) { .rz-motion .rz-steps::before { transform: scaleY(0); transform-origin: top; } .rz-motion .rz-in .rz-steps::before { transform: none; } }

/* icons breathe a little when their card arrives */
.rz-motion .rz-in .rz-pillar-ic, .rz-motion .rz-in .rz-service-ic { animation: rzBreath 4s ease-in-out calc(var(--i, 0) * .3s + 1s) infinite; }
@keyframes rzBreath { 50% { transform: translateY(-4px) rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) { .rz-deco { display: none; } }

/* ==========================================================================
   Home hero (assets/js/rz-hero.js)
   ========================================================================== */
[data-rz-hero] { visibility: hidden; }
[data-rz-hero].rz-hero-static, .rz-hero-noscript [data-rz-hero] { visibility: visible; }
@media (prefers-reduced-motion: reduce) { [data-rz-hero] { visibility: visible; } }
[data-rz-hero] .wow { visibility: visible !important; animation-name: none !important; }
.rz-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em 0 .14em; margin: -.08em 0 -.14em; }
.rz-wi, .rz-li { display: inline-block; will-change: transform; }
.rz-grad { background: linear-gradient(100deg, var(--rz-v700) 0%, var(--rz-v500) 40%, #8fae4a 55%, var(--rz-v600) 70%, var(--rz-v800) 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.rz-hero-done .rz-grad { animation: rzGradShine 6s ease-in-out 0.4s infinite; }
@keyframes rzGradShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.rz-hero-photo { position: relative; clip-path: inset(0 0 0 0); }
.rz-hero-photo > img { display: block; transform-origin: 50% 80%; }
.rz-hero-btns .btn-gradient { position: relative; overflow: hidden; }
.rz-hero-btns .btn-gradient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 250% 100%; background-position: 140% 0; }
.rz-hero-done .rz-hero-btns .btn-gradient::after { animation: rzBtnShine 3.6s ease-in-out 1s infinite; }
@keyframes rzBtnShine { 0% { background-position: 140% 0; } 45%, 100% { background-position: -140% 0; } }

/* floating cards taken from the system */
.rz-float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 13px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 22px 46px -20px rgba(42, 20, 80, .45), inset 0 0 0 1px rgba(255, 255, 255, .7); font-size: 12.5px; color: var(--rz-muted); white-space: nowrap; }
.rz-float-card b { display: block; font-size: 17px; font-weight: 900; color: var(--rz-ink); line-height: 1.2; }
.rz-float-card .rz-fc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 15px; background: linear-gradient(135deg, #a6c25e, var(--rz-leaf)); }
.rz-float-card .rz-fc-ic.is-v { background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); }
.rz-fc-ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.rz-fc-ring circle { fill: none; stroke-width: 3.6; }
.rz-fc-ring .rz-ring-bg { stroke: var(--rz-v100); }
.rz-fc-ring .rz-ring-fg { stroke: var(--rz-v600); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 63; }
.rz-fc-a { top: 30%; right: -2%; }
.rz-fc-b { bottom: 20%; left: 2%; }
.rz-fc-c { bottom: 6%; right: 8%; }
@media (max-width: 1199px) { .rz-fc-a { right: 0; } }
@media (max-width: 767px) {
  .rz-float-card { padding: 8px 11px; gap: 8px; font-size: 11px; border-radius: 14px; }
  .rz-float-card b { font-size: 14px; }
  .rz-float-card .rz-fc-ic { width: 30px; height: 30px; font-size: 12px; }
  .rz-fc-ring { width: 34px; height: 34px; }
  .rz-fc-a { top: 18%; right: 2%; } .rz-fc-b { bottom: 24%; left: 2%; } .rz-fc-c { display: none; }
}
.rz-hero-shape { position: absolute; z-index: -1; bottom: 0; left: 12.5%; width: 75%; height: 75%; background: linear-gradient(var(--primary-1-gradient)); border-start-start-radius: 260px; box-shadow: 0 40px 80px -30px rgba(96, 48, 146, .55); }
.rz-hb { display: inline-flex; }
