/* =====================================================================================
   Zolantra product tour: a scroll-driven walk through the software, module by module.
   Desktop (>=1024px, motion allowed): the stage pins, each module's screen comes forward
   in 3D, its panels are picked out one by one beside the matching description, then it
   separates into layers and recedes while the next screen takes its place.
   Tablet / phone / reduced motion: the same scenes as a plain vertical story, no pinning.
   Everything is namespaced .zt-* and lives outside the site's <section>s, so the site's
   own motion engine leaves it alone.
   ===================================================================================== */
.zt { --zt-bg: #070b1e; --zt-panel: #0b1126; --zt-card: #0f1632; --zt-line: rgb(255 255 255 / .08); --zt-ink: #eef1ff; --zt-mut: #94a3c8; --zt-dim: #64719a;
  --zt-cyan: #22d3ee; --zt-vio: #7c5cff; --zt-grn: #34d399; --zt-amb: #fbbf24; --zt-red: #f87171; --zt-pink: #e879f9;
  --zt-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  position: relative; background: var(--zt-bg); color: var(--zt-ink); border-top: 1px solid rgb(255 255 255 / .05); }
.zt *, .zt *::before, .zt *::after { box-sizing: border-box; }
.zt-head { max-width: 48rem; margin: 0 auto; padding: 6rem 1.5rem 2.5rem; text-align: center; }
.zt-head p { margin-top: 1rem; color: #cbd5e1; font-size: 1rem; }
.zt-skip { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-size: .8rem; font-weight: 600; color: var(--zt-cyan); text-decoration: none; }
.zt-skip:hover { text-decoration: underline; }

/* ---------- the device: a browser window showing the app ---------- */
.zt-win { width: 100%; border-radius: 16px; background: linear-gradient(180deg, #141a3d, #0b1027); padding: 10px; border: 1px solid rgb(255 255 255 / .1);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .4), 0 50px 100px -40px rgb(0 0 0 / .9), 0 0 120px -40px rgb(92 92 255 / .35); container-type: inline-size; container-name: ztwin; }
.zt-win__in { border-radius: 10px; overflow: hidden; background: var(--zt-panel); border: 1px solid var(--zt-line); }
.zt-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--zt-line); background: #0a0f24; font: 500 10.5px/1 var(--zt-mono); color: var(--zt-dim); }
.zt-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; flex: none; }
.zt-bar i:nth-child(2) { background: #f59e0b; } .zt-bar i:nth-child(3) { background: #22c55e; }
.zt-bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-bar b { margin-left: auto; font-weight: 600; color: var(--zt-grn); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.zt-bar b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.zt-app { display: grid; grid-template-columns: 148px minmax(0, 1fr); height: 520px; }
.zt-side { padding: 12px 8px; border-right: 1px solid var(--zt-line); background: #090e22; display: grid; align-content: start; gap: 2px; font: 500 11.5px/1 Inter, sans-serif; color: var(--zt-dim); }
.zt-side .zt-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 12px; color: #fff; font: 800 12px/1 Manrope, sans-serif; letter-spacing: .04em; }
.zt-side .zt-brand i { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #22d3ee, #7c5cff); display: grid; place-items: center; font: 800 11px/1 Manrope, sans-serif; font-style: normal; color: #fff; }
.zt-side span { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; white-space: nowrap; }
.zt-side span::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: currentColor; opacity: .6; }
.zt-side span.on { background: linear-gradient(90deg, rgb(124 92 255 / .28), rgb(34 211 238 / .08)); color: #fff; box-shadow: inset 2px 0 0 var(--zt-cyan); }
.zt-side span.on::before { background: var(--zt-cyan); opacity: 1; }
.zt-main { padding: 16px; display: grid; align-content: start; gap: 12px; overflow: hidden; min-width: 0; transform-style: preserve-3d; }

/* ---------- pieces of the app UI ---------- */
.zt-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zt-h .zt-ic { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #22d3ee, #7c5cff); font: 800 11px/1 Manrope, sans-serif; color: #fff; }
.zt-h > div:nth-child(2) { min-width: 0; flex: 1; }
.zt-h h4 { margin: 0; font: 800 14px/1.2 Manrope, sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-h small { display: block; margin-top: 3px; font: 400 10.5px/1.2 Inter, sans-serif; color: var(--zt-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-h .zt-acts .zt-btn:nth-child(n+3) { display: none; }
.zt-h .zt-acts { margin-left: auto; display: flex; gap: 6px; flex: none; }
.zt-btn { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: rgb(255 255 255 / .06); border: 1px solid var(--zt-line); font: 600 10.5px/1 Inter, sans-serif; color: #dbe2ff; white-space: nowrap; }
.zt-btn--p { background: linear-gradient(90deg, #6d5cf6, #22b8ee); border-color: transparent; color: #fff; }
.zt-btn--g { background: linear-gradient(90deg, #10b981, #22d3ee); border-color: transparent; color: #04122b; }
.zt-g { display: grid; gap: 10px; min-width: 0; }
.zt-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .zt-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .zt-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zt-g21 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } .zt-g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.zt-card { position: relative; padding: 11px 12px; border-radius: 10px; background: var(--zt-card); border: 1px solid var(--zt-line); min-width: 0;
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.zt-card--c { border-color: rgb(34 211 238 / .3); background: linear-gradient(180deg, rgb(34 211 238 / .07), var(--zt-card)); }
.zt-card--v { border-color: rgb(124 92 255 / .4); background: linear-gradient(180deg, rgb(124 92 255 / .14), var(--zt-card)); }
.zt-card--g { border-color: rgb(52 211 153 / .3); background: linear-gradient(180deg, rgb(52 211 153 / .07), var(--zt-card)); }
.zt-card--a { border-color: rgb(251 191 36 / .35); background: linear-gradient(180deg, rgb(251 191 36 / .08), var(--zt-card)); }
.zt-k { font: 700 9px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--zt-mut); display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; overflow: hidden; }
.zt-k em { font-style: normal; font-family: var(--zt-mono); letter-spacing: 0; text-transform: none; }
.zt-v { margin-top: 7px; font: 800 19px/1 Manrope, sans-serif; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zt-v small { font: 600 10.5px/1 Inter, sans-serif; color: var(--zt-mut); margin-left: 4px; }
.zt-s { margin-top: 6px; font: 400 10px/1.3 Inter, sans-serif; color: var(--zt-dim); display: flex; justify-content: space-between; gap: 6px; }
.zt-card > .zt-s > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.zt-meter { margin-top: 8px; height: 3px; border-radius: 9px; background: rgb(255 255 255 / .08); overflow: hidden; }
.zt-meter i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: var(--c, var(--zt-cyan)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1) .2s; }
.is-live .zt-meter i { transform: none; }
.c-c { color: var(--zt-cyan); } .c-v { color: #a78bfa; } .c-g { color: var(--zt-grn); } .c-a { color: var(--zt-amb); } .c-r { color: var(--zt-red); } .c-w { color: #fff; } .c-m { color: var(--zt-mut); }
.zt-chip { display: inline-flex; align-items: center; gap: 5px; height: 18px; padding: 0 7px; border-radius: 5px; font: 700 9px/1 Inter, sans-serif; letter-spacing: .04em; white-space: nowrap; background: rgb(255 255 255 / .07); color: #cbd5e1; }
.zt-chip.g { background: rgb(52 211 153 / .14); color: #6ee7b7; } .zt-chip.c { background: rgb(34 211 238 / .14); color: #67e8f9; } .zt-chip.v { background: rgb(124 92 255 / .22); color: #c4b5fd; }
.zt-chip.a { background: rgb(251 191 36 / .15); color: #fcd34d; } .zt-chip.r { background: rgb(248 113 113 / .15); color: #fca5a5; }
.zt-t { font: 700 10px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #e2e8f0; display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.zt-t::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--d, var(--zt-cyan)); }
.zt-t em { margin-left: auto; font: 400 9.5px/1 var(--zt-mono); letter-spacing: 0; text-transform: none; color: var(--zt-dim); font-style: normal; }
/* rows: a table without a table */
.zt-rows { display: grid; gap: 6px; }
.zt-row { display: grid; grid-template-columns: var(--cols, 1fr auto); align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgb(255 255 255 / .03); border: 1px solid rgb(255 255 255 / .05); font: 400 11px/1.3 Inter, sans-serif; color: var(--zt-mut); min-width: 0;
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1), background .45s ease; }
.zt-row b { color: #fff; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-row > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-row .num { font-family: var(--zt-mono); font-size: 10.5px; color: #cbd5e1; text-align: right; }
.zt-row--head { background: none; border-color: transparent; padding-block: 2px; font: 700 8.5px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--zt-dim); }
.zt-av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 10px/1 Inter, sans-serif; color: #fff; background: var(--c, #4f46e5); flex: none; }
.zt-who { display: flex; align-items: center; gap: 9px; min-width: 0; font: 400 10.5px/1.3 Inter, sans-serif; color: var(--zt-mut); } .zt-who > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-who b { display: block; color: #fff; font-weight: 600; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-tabs { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; }
.zt-tabs span { height: 24px; padding: 0 9px; border-radius: 6px; display: inline-flex; align-items: center; font: 600 10.5px/1 Inter, sans-serif; color: var(--zt-dim); white-space: nowrap; }
.zt-tabs span.on { background: rgb(124 92 255 / .25); color: #fff; }
.zt-in { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; background: #080d20; border: 1px solid var(--zt-line); font: 400 11px/1 Inter, sans-serif; color: #dbe2ff; }
.zt-in::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--zt-dim); border-radius: 50%; flex: none; }
.zt-caret::after { content: ""; display: inline-block; width: 1px; height: 12px; margin-left: 2px; background: var(--zt-cyan); vertical-align: -2px; animation: ztBlink 1s steps(1) infinite; }
@keyframes ztBlink { 50% { opacity: 0; } }
.zt-note { font: 400 10px/1.4 Inter, sans-serif; color: var(--zt-dim); display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px dashed rgb(255 255 255 / .1); }
.zt-note b { font: 500 9.5px/1.4 var(--zt-mono); color: var(--zt-cyan); white-space: nowrap; }
/* charts */
.zt-chart { display: block; width: 100%; height: auto; overflow: visible; }
.zt-chart .ln { fill: none; stroke: url(#ztLine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.16, 1, .3, 1) .15s; }
.zt-chart .ar { fill: url(#ztArea); opacity: 0; transition: opacity 1s ease .8s; }
.is-live .zt-chart .ln { stroke-dashoffset: 0; } .is-live .zt-chart .ar { opacity: 1; }
.zt-chart .gr { stroke: rgb(255 255 255 / .06); stroke-width: 1; }
.zt-bars { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); align-items: end; gap: 8px; height: 92px; padding-top: 6px; }
.zt-bars i { display: block; border-radius: 5px 5px 2px 2px; height: var(--h, 50%); background: linear-gradient(180deg, var(--c, #22d3ee), rgb(124 92 255 / .55)); transform-origin: bottom; transform: scaleY(0); transition: transform 1s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 70ms + .15s); position: relative; }
.is-live .zt-bars i { transform: none; }
.zt-bars + .zt-xl { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 8px; margin-top: 6px; font: 500 9px/1 var(--zt-mono); color: var(--zt-dim); text-align: center; }
.zt-donut { width: 74px; height: 74px; flex: none; }
.zt-donut circle { fill: none; stroke-width: 9; }
.zt-donut .bg { stroke: rgb(255 255 255 / .08); }
.zt-donut .fg { stroke: url(#ztLine); stroke-linecap: round; stroke-dasharray: var(--p, 25) 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: center; transition: stroke-dasharray 1.4s cubic-bezier(.16, 1, .3, 1) .2s; }
.zt-scene:not(.is-live) .zt-donut .fg { stroke-dasharray: 0 100; }
/* calendar */
.zt-cal { display: grid; grid-template-columns: 54px repeat(var(--n, 4), minmax(0, 1fr)); gap: 5px; font: 400 10px/1.25 Inter, sans-serif; }
.zt-cal .hd { padding: 6px 8px; border-radius: 7px; background: rgb(255 255 255 / .04); color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-cal .hd small { display: block; font-weight: 400; color: var(--zt-dim); font-size: 9px; margin-top: 2px; }
.zt-cal .tm { font: 500 9px/1 var(--zt-mono); color: var(--zt-dim); padding-top: 8px; white-space: nowrap; }
.zt-cal .sl { min-height: 46px; border-radius: 7px; border: 1px dashed rgb(255 255 255 / .08); color: var(--zt-dim); padding: 6px 8px; font-size: 9.5px; min-width: 0; overflow: hidden;
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.zt-cal .sl b { display: block; color: #fff; font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-cal .sl.c { border: 1px solid rgb(34 211 238 / .45); background: rgb(34 211 238 / .1); color: #a5f3fc; }
.zt-cal .sl.v { border: 1px solid rgb(124 92 255 / .5); background: rgb(124 92 255 / .16); color: #ddd6fe; }
.zt-cal .sl.g { border: 1px solid rgb(52 211 153 / .45); background: rgb(52 211 153 / .1); color: #a7f3d0; }
.zt-cal .sl.a { border: 1px solid rgb(251 191 36 / .45); background: rgb(251 191 36 / .1); color: #fde68a; }
.zt-now { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font: 600 8.5px/1 var(--zt-mono); color: var(--zt-red); }
.zt-now::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--zt-red), transparent); }
/* beds, roster, kanban, chat */
.zt-bed { padding: 10px 11px; border-radius: 10px; border: 1px solid var(--zt-line); background: var(--zt-card); font: 400 10px/1.35 Inter, sans-serif; color: var(--zt-dim); min-width: 0;
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.zt-bed .zt-k { margin-bottom: 6px; }
.zt-bed b { display: block; color: #fff; font-weight: 600; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-bed.g { border-color: rgb(52 211 153 / .35); background: linear-gradient(180deg, rgb(52 211 153 / .08), var(--zt-card)); }
.zt-bed.v { border-color: rgb(124 92 255 / .5); background: linear-gradient(180deg, rgb(124 92 255 / .2), var(--zt-card)); }
.zt-bed.a { border-color: rgb(251 191 36 / .4); background: linear-gradient(180deg, rgb(251 191 36 / .09), var(--zt-card)); }
.zt-ros { display: grid; grid-template-columns: 92px repeat(7, minmax(0, 1fr)); gap: 4px; font: 600 9.5px/1 Inter, sans-serif; }
.zt-ros span { height: 24px; display: grid; place-items: center; border-radius: 6px; background: rgb(255 255 255 / .04); color: var(--zt-dim); white-space: nowrap; overflow: hidden; }
.zt-ros .n { justify-content: start; padding-left: 8px; color: #fff; place-items: center start; }
.zt-ros .hd { background: none; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; }
.zt-ros .m { background: rgb(34 211 238 / .16); color: #67e8f9; } .zt-ros .e { background: rgb(124 92 255 / .24); color: #c4b5fd; } .zt-ros .nt { background: rgb(232 121 249 / .16); color: #f0abfc; } .zt-ros .l { background: rgb(251 191 36 / .16); color: #fcd34d; }
.zt-kan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.zt-kan > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.zt-kan h5 { margin: 0 0 2px; font: 700 9px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--zt-dim); display: flex; justify-content: space-between; }
.zt-lead { padding: 9px 10px; border-radius: 9px; background: var(--zt-card); border: 1px solid var(--zt-line); font: 400 10px/1.35 Inter, sans-serif; color: var(--zt-mut); min-width: 0;
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.zt-lead b { display: block; color: #fff; font-weight: 600; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-lead .zt-chip { margin-top: 6px; }

/* ---------- the phone ---------- */
.zt-phone { width: 286px; margin-inline: auto; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #1c2452, #0b1027); border: 1px solid rgb(255 255 255 / .14);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .5), 0 50px 100px -40px rgb(0 0 0 / .9), 0 0 110px -40px rgb(34 211 238 / .4); }
.zt-phone__in { position: relative; height: 560px; border-radius: 33px; overflow: hidden; background: #070b1e; border: 1px solid var(--zt-line); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.zt-phone__in::before { content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 74px; height: 18px; border-radius: 12px; background: #000; z-index: 3; }
.zt-ph-top { padding: 38px 16px 12px; background: linear-gradient(135deg, #1d2a6b, #0e7490); }
.zt-ph-top small { display: block; font: 500 9.5px/1.2 Inter, sans-serif; color: rgb(255 255 255 / .75); }
.zt-ph-top b { display: block; margin-top: 3px; font: 800 16px/1.15 Manrope, sans-serif; color: #fff; }
.zt-ph-top.wa { background: #075e54; display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.zt-ph-top.wa b { font: 700 13px/1.2 Inter, sans-serif; margin: 0; } .zt-ph-top.wa .zt-av { border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #7c5cff); }
.zt-ph-body { padding: 12px; display: grid; align-content: start; gap: 9px; overflow: hidden; }
.zt-ph-body.wa { background: #0b141a; }
.zt-ph-card { padding: 11px 12px; border-radius: 14px; background: #0f1632; border: 1px solid var(--zt-line); font: 400 10.5px/1.4 Inter, sans-serif; color: var(--zt-mut);
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.zt-ph-card b { display: block; color: #fff; font: 700 12px/1.3 Inter, sans-serif; }
.zt-ph-card .zt-k { margin-bottom: 5px; }
.zt-ph-acts { display: flex; gap: 6px; margin-top: 9px; }
.zt-ph-acts span { flex: 1; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgb(34 211 238 / .12); color: #67e8f9; font: 700 10.5px/1 Inter, sans-serif; }
.zt-ph-acts span.p { background: linear-gradient(90deg, #6d5cf6, #22b8ee); color: #fff; }
.zt-otp { display: flex; gap: 7px; margin-top: 9px; }
.zt-otp i { width: 34px; height: 38px; border-radius: 9px; background: #080d20; border: 1px solid rgb(34 211 238 / .4); display: grid; place-items: center; font: 700 15px/1 var(--zt-mono); font-style: normal; color: #fff; }
.zt-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.zt-slots i { height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgb(255 255 255 / .05); font: 600 10px/1 var(--zt-mono); font-style: normal; color: #cbd5e1; }
.zt-slots i.on { background: linear-gradient(90deg, #6d5cf6, #22b8ee); color: #fff; }
.zt-msg { max-width: 84%; padding: 8px 10px; border-radius: 12px; font: 400 11px/1.4 Inter, sans-serif;
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.zt-msg.me { justify-self: end; background: #005c4b; color: #e9fff8; border-bottom-right-radius: 3px; }
.zt-msg.z { background: #1f2c34; color: #e5edf2; border-bottom-left-radius: 3px; }
.zt-msg .zt-ph-acts span { background: rgb(255 255 255 / .08); color: #7dd3fc; }
.zt-msg small { display: block; margin-top: 3px; font-size: 8.5px; color: rgb(255 255 255 / .5); text-align: right; }
.zt-ph-tab { display: flex; justify-content: space-around; padding: 9px 6px 14px; border-top: 1px solid var(--zt-line); background: #0a0f24; font: 600 9.5px/1 Inter, sans-serif; color: var(--zt-dim); }
.zt-ph-tab span.on { color: var(--zt-cyan); }

/* ---------- the words beside the screen ---------- */
.zt-copy { min-width: 0; }
.zt-num { display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--zt-mono); letter-spacing: .14em; color: var(--zt-cyan); text-transform: uppercase; }
.zt-num b { font-weight: 600; color: var(--zt-dim); }
.zt-num::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: linear-gradient(90deg, var(--zt-cyan), transparent); }
.zt-copy h3 { margin: 16px 0 0; font: 800 clamp(26px, 2.6vw, 40px)/1.08 Manrope, sans-serif; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.zt-copy h3 em { font: italic 400 1.08em/1 "Instrument Serif", Georgia, serif; letter-spacing: 0; background: linear-gradient(90deg, #22d3ee, #d8b4fe); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.zt-copy > p { margin: 14px 0 0; font: 400 15px/1.6 Inter, sans-serif; color: #cbd5e1; max-width: 46ch; }
.zt-feats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.zt-feats li { position: relative; padding: 12px 14px 12px 44px; border-radius: 12px; border: 1px solid transparent; font: 400 13px/1.5 Inter, sans-serif; color: var(--zt-mut);
  transition: background .5s ease, border-color .5s ease, color .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1), opacity .5s ease; }
.zt-feats li b { display: block; font: 700 14px/1.3 Inter, sans-serif; color: #e2e8f0; }
.zt-feats li::before { content: attr(data-n); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 600 10px/1 var(--zt-mono); color: var(--zt-dim); background: rgb(255 255 255 / .05); transition: background .5s ease, color .5s ease; }

/* =========================== plain vertical story (default) =========================== */
.zt-scenes { display: grid; gap: 4.5rem; max-width: 46rem; margin: 0 auto; padding: 1rem 1rem 5rem; }
.zt-scene { display: grid; gap: 1.5rem; scroll-margin-top: 5rem; }
.zt-scene .zt-copy { order: -1; }
.zt-feats li { background: rgb(255 255 255 / .03); border-color: var(--zt-line); }
.zt-hud, .zt-ghost { display: none; }
.zt-app { height: auto; grid-template-columns: minmax(0, 1fr); } .zt-side { display: none; }
.zt-main { padding: 12px; }
/* narrow windows: fewer columns, secondary panels drop out */
@container ztwin (max-width: 640px) {
  .zt-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zt-g21, .zt-g12, .zt-g3 { grid-template-columns: minmax(0, 1fr); }
  .zt-xs { display: none !important; }
  .zt-row { grid-template-columns: var(--cols-xs, var(--cols, 1fr auto)); }
  .zt-kan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zt-cal { --n: 2 !important; }
  .zt-ros { grid-template-columns: 70px repeat(7, minmax(0, 1fr)); font-size: 8px; }
  .zt-h .zt-acts .zt-btn:not(.zt-btn--p):not(.zt-btn--g) { display: none; }
}
.zt-js .zt-scene [data-rv] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.zt-js .zt-scene.is-live [data-rv] { opacity: 1; transform: none; }

/* =========================== pinned 3D tour (desktop) =========================== */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .zt-on .zt-track { position: relative; height: calc(var(--zt-n, 15) * 92vh + 100vh); }
  .zt-on .zt-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 1900px; perspective-origin: 50% 46%;
    background: radial-gradient(70% 60% at var(--zt-lx, 34%) 46%, rgb(44 60 170 / .32), transparent 70%), radial-gradient(50% 50% at 85% 90%, rgb(124 92 255 / .12), transparent 70%); }
  .zt-on .zt-scenes { display: block; position: absolute; inset: 68px 0 0; max-width: none; margin: 0; padding: 0; transform-style: preserve-3d; }
  .zt-on .zt-scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: center; column-gap: clamp(28px, 3.4vw, 60px);
    max-width: 1480px; margin-inline: auto; padding: 0 clamp(20px, 2.4vw, 40px) 56px; visibility: hidden; transform-style: preserve-3d; pointer-events: none; }
  .zt-on .zt-scene.is-near { visibility: visible; }
  .zt-on .zt-scene.is-live { pointer-events: auto; }
  .zt-on .zt-scene.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); }
  .zt-on .zt-scene.is-flip .zt-dev { order: 2; }
  .zt-on .zt-scene.is-phone { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zt-on .zt-dev { transform-style: preserve-3d; will-change: transform, opacity; transform-origin: 50% 50%; }
  .zt-on .zt-scene .zt-copy { will-change: transform, opacity; order: 0; }
  .zt-on .zt-app { height: min(540px, calc(100vh - 220px)); grid-template-columns: 136px minmax(0, 1fr); }
  .zt-on .zt-side { display: grid; }
  .zt-on .zt-main { padding: 16px; }
  .zt-on .zt-phone__in { height: min(560px, calc(100vh - 210px)); }
  .zt-on .zt-feats li { background: none; border-color: transparent; opacity: .55; }
  .zt-on .zt-feats li.on { background: linear-gradient(90deg, rgb(124 92 255 / .16), rgb(34 211 238 / .05)); border-color: rgb(125 211 252 / .28); color: #dbe7ff; opacity: 1; transform: translateX(6px); }
  .zt-on .zt-feats li.on b { color: #fff; }
  .zt-on .zt-feats li.on::before { background: linear-gradient(135deg, #22d3ee, #7c5cff); color: #fff; }
  .zt-on .zt-scene [data-rv] { opacity: 1; transform: none; transition: none; }
  /* a step is in focus: its panel lifts and lights, the rest stand back */
  .zt-on .zt-scene.has-focus [data-f] { opacity: .62; }
  .zt-on .zt-scene.has-focus [data-f].on { opacity: 1; border-color: rgb(125 211 252 / .75); box-shadow: 0 0 0 1px rgb(125 211 252 / .35), 0 18px 40px -18px rgb(34 211 238 / .55); transform: translateY(-3px) scale(1.014); z-index: 2; }
  .zt-on .zt-main > *, .zt-on .zt-ph-body > * { transition-property: opacity, border-color, box-shadow, background; }
  .zt-on .zt-msg[data-f] { box-shadow: none !important; }
  /* the carrier: the piece of one screen that becomes the start of the next */
  .zt-on .zt-ghost { display: flex; position: absolute; left: 0; top: 0; z-index: 30; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, rgb(124 92 255 / .35), rgb(34 211 238 / .22)); border: 1px solid rgb(165 243 252 / .8); box-shadow: 0 0 40px -6px rgb(34 211 238 / .7), inset 0 1px 0 rgb(255 255 255 / .25);
    font: 700 11px/1 Inter, sans-serif; color: #fff; white-space: nowrap; min-width: max-content; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); will-change: transform, opacity; transform-origin: 0 0; }
  /* heads-up display: where you are in the tour */
  .zt-on .zt-hud { display: flex; position: absolute; left: 0; right: 0; bottom: 18px; z-index: 40; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; }
  .zt-dots { display: flex; gap: 6px; }
  .zt-dots a { position: relative; width: 18px; height: 16px; display: grid; place-items: center; }
  .zt-dots a::before { content: ""; width: 100%; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .16); transition: background .3s ease, height .3s ease; }
  .zt-dots a.on::before { background: linear-gradient(90deg, #22d3ee, #7c5cff); height: 4px; }
  .zt-dots a:hover::before { background: #fff; }
  .zt-dots a span { position: absolute; bottom: 20px; left: 50%; translate: -50% 4px; padding: 5px 8px; border-radius: 6px; background: #141a3d; border: 1px solid var(--zt-line); font: 600 10px/1 Inter, sans-serif; color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, translate .2s ease; }
  .zt-dots a:hover span, .zt-dots a:focus-visible span { opacity: 1; translate: -50% 0; }
  .zt-hud__n { font: 600 10.5px/1 var(--zt-mono); letter-spacing: .14em; color: var(--zt-dim); min-width: 56px; }
  .zt-hud__n b { color: #fff; font-weight: 600; }
  .zt-hud .zt-skip { margin: 0; font-size: 11px; min-width: 56px; justify-content: flex-end; }
}
@media (min-width: 1024px) and (max-height: 720px) { .zt-on .zt-feats li { padding-block: 8px; } .zt-on .zt-copy > p { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .zt-js .zt-scene [data-rv] { opacity: 1; transform: none; transition: none; }
  .zt-meter i, .zt-bars i { transform: none; transition: none; } .zt-chart .ln { stroke-dashoffset: 0; transition: none; } .zt-chart .ar { opacity: 1; }
  .zt-caret::after { animation: none; }
}
