/* Homepage tour: a scroll-driven walk through what we build, before the prompt. */
.tour { display: none; }
.stage.has-tour .tour {
  --nav-h: 72px;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  color: #fff;
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
}
.stage.has-tour .stage__ask { opacity: 0; visibility: hidden; }
.stage.has-tour .stage__scroll { display: none; }
.tour i, .tour em, .tour s, .tour u { font-style: normal; text-decoration: none; }
.tour b { font-weight: 700; }
.tour__scene { position: absolute; inset: 0; pointer-events: none; }

/* ── Captions ─────────────────────────────────────────── */
.tour .tour__cap {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + 30px);
  z-index: 4;
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
}
.tour .tour__line {
  display: block;
  overflow: hidden;
  padding: .06em 0 .12em;
  margin: -.06em 0 -.12em;
}
.tour .tour__line > span {
  display: block;
  opacity: 0;
  transform: translate3d(0, 112%, 0);
  transition: transform .95s cubic-bezier(.16, 1, .3, 1) .12s, opacity .6s ease .12s;
}
.tour .tour__cap.is-on .tour__line > span { opacity: 1; transform: none; }
.tour .tour__cap.is-on .tour__line + .tour__line > span { transition-delay: .2s; }
.tour .tour__cap.is-on .tour__note .tour__line > span { transition-delay: .26s; }
.tour .tour__cap.is-past .tour__line > span {
  opacity: 0;
  transform: translate3d(0, -112%, 0);
  transition: transform .5s cubic-bezier(.55, 0, .75, .2), opacity .4s ease;
}
.tour .tour__word {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 4.4vw, 4.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: #fff;
}
.tour .tour__note {
  margin-top: 14px;
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, .56);
}

.tour .tour__cap--open {
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 24vh;
  padding-bottom: 24dvh;
}
.tour .tour__title {
  margin: 0 !important;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.6vw, 5.4rem) !important;
  font-weight: 600;
  line-height: 1.02 !important;
  letter-spacing: -.05em;
  color: #fff;
  text-align: center;
}
.tour .tour__title .tour__line + .tour__line > span,
.tour .tour__cap--whatever .tour__line + .tour__line > span {
  background: linear-gradient(92deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tour .tour__cap--open .tour__note { margin-top: 18px; }
.tour .tour__cue {
  margin-top: 30px;
  padding: 8px;
  display: flex;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity .4s, visibility .4s;
}
.tour .tour__cue:hover .stage__mouse { border-color: #fff; }
.tour .tour__cap--open:not(.is-on) .tour__cue { opacity: 0; visibility: hidden; }

.tour .tour__cap--whatever {
  top: 50%;
  transform: translateY(-54%);
}
.tour .tour__cap--whatever .tour__word {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.tour .tour__cap--whatever .tour__note { margin-top: 22px; }

/* ── Skip and progress rail ───────────────────────────── */
.tour .tour__skip {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(9, 11, 20, .58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .7);
  font: 600 .6875rem/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  transition: color .2s, border-color .2s, background-color .2s, opacity .4s, visibility .4s;
}
.tour .tour__skip svg { width: 13px; height: 13px; display: block; }
.tour .tour__skip:hover,
.tour .tour__skip:focus-visible { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(22, 26, 42, .72); }
.tour.is-late .tour__skip { opacity: 0; visibility: hidden; }

.tour .tour__rail {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: auto;
}
.tour .tour__step {
  width: 104px;
  padding: 10px 2px 6px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .4);
  font: 600 .65rem/1 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s;
}
.tour .tour__step:hover { color: rgba(255, 255, 255, .78); }
.tour .tour__step.is-on { color: #fff; }
.tour .tour__bar {
  position: relative;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}
.tour .tour__bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ── Devices ──────────────────────────────────────────── */
.tour__phone,
.tour__laptop,
.tour__wall {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
.tour__wall { z-index: 1; }
.tour__laptop { z-index: 2; width: 1000px; height: 586px; opacity: 0; }
.tour__phone { z-index: 3; width: 300px; height: 624px; }

.tp-rise { width: 100%; height: 100%; perspective: 1500px; }
.tp {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(150deg, #545a67 0%, #1d2026 20%, #0d0e12 62%, #2a2d35 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .16),
    inset 0 0 0 6px #07080a,
    0 70px 120px -50px rgba(0, 0, 0, .95),
    0 40px 110px -50px rgba(59, 130, 246, .6);
  transform-origin: 50% 62%;
}
.tp::before,
.tp::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1c1e24, #4a4f5a);
}
.tp::before { left: -2px; top: 132px; height: 64px; box-shadow: 0 78px 0 #2a2d35; }
.tp::after { right: -2px; top: 168px; height: 96px; transform: scaleX(-1); }
.tp-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: #f5f6fa;
  color: #0b1020;
  font-family: var(--f-body);
  font-size: 12px;
  line-height: 1.3;
  isolation: isolate;
}
.tp-status {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 26px 0 36px;
  font: 600 14px/1 var(--f-display);
  color: #0b1020;
  transition: color .4s;
}
.tp-island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 92px;
  height: 27px;
  margin-left: -46px;
  border-radius: 20px;
  background: #000;
}
.tp-sys { display: flex; align-items: center; gap: 5px; }
.tp-sys i { display: block; height: 10px; background: currentColor; }
.tp-sys i:nth-child(1) { width: 16px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.tp-sys i:nth-child(2) { width: 14px; border-radius: 14px 14px 0 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tp-sys i:nth-child(3) {
  width: 24px;
  height: 11px;
  border-radius: 3.5px;
  background: linear-gradient(90deg, currentColor 72%, transparent 72%) content-box;
  padding: 1.5px;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: .9;
}
.tp-home {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 8px;
  width: 112px;
  height: 5px;
  margin-left: -56px;
  border-radius: 3px;
  background: rgba(11, 16, 32, .88);
  transition: background-color .4s;
}
.tp-screen.is-dark .tp-status { color: #fff; }
.tp-screen.is-dark .tp-home { background: rgba(255, 255, 255, .85); }

/* iOS-style push: the new screen slides in opaque over the old one, which drifts left and fades once covered. */
.ps {
  position: absolute;
  inset: 0;
  padding: 56px 18px 24px;
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform .7s cubic-bezier(.32, .72, 0, 1), opacity 0s linear .7s;
}
.ps.is-cur {
  z-index: 2;
  opacity: 1;
  transform: none;
  box-shadow: -18px 0 36px -18px rgba(15, 23, 42, .28);
  transition: transform .7s cubic-bezier(.32, .72, 0, 1), opacity 0s;
}
.ps.is-prev {
  z-index: 1;
  opacity: 0;
  transform: translate3d(-30%, 0, 0);
  transition: transform .7s cubic-bezier(.32, .72, 0, 1), opacity .25s linear .45s;
}

/* Booking app */
.ps--book { background: #f5f6fa; }
.bk-top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #6b7280; }
.bk-top i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  color: #fff;
  font: 700 12px/1 var(--f-display);
}
.bk-h { margin-top: 8px; font: 700 27px/1.1 var(--f-display); letter-spacing: -.035em; }
.bk-clinic {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, .35);
}
.bk-clinic i {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
}
.bk-clinic i::before,
.bk-clinic i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 4px;
  margin: -2px 0 0 -7px;
  border-radius: 2px;
  background: #fff;
}
.bk-clinic i::after { transform: rotate(90deg); }
.bk-clinic b, .bk-doc b, .tk-driver b, .al-n b, .tp-toast b { display: block; font: 700 13px/1.25 var(--f-display); letter-spacing: -.01em; }
.bk-clinic small, .bk-doc small, .tk-driver small, .tp-toast small { display: block; margin-top: 2px; font-size: 11px; color: #6b7280; }
.bk-days { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bk-days span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 0 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e6e8ee;
  font: 700 16px/1 var(--f-display);
}
.bk-days small { font: 500 10.5px/1 var(--f-body); color: #6b7280; }
.bk-days .on { background: #0b1020; color: #fff; box-shadow: none; }
.bk-days .on small { color: rgba(255, 255, 255, .6); }
.bk-sub { margin-top: 18px; font: 600 12px/1 var(--f-display); color: #6b7280; }
.bk-slots { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bk-slots span {
  padding: 11px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e6e8ee;
  text-align: center;
  font: 600 13px/1 var(--f-display);
}
.bk-slots .on { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .9); }
.bk-slots .off { color: #c4c8d0; text-decoration: line-through; }
.bk-doc { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.bk-doc i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #fbcfe8, #c4b5fd); }
.bk-doc em { margin-left: auto; font: 700 13px/1 var(--f-display); }
.bk-cta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 30px;
  height: 52px;
  border-radius: 17px;
  overflow: hidden;
  background: #0b1020;
  color: #fff;
  font: 700 14.5px/52px var(--f-display);
  text-align: center;
}
.bk-cta span { position: absolute; inset: 0; }
.bk-cta .b { background: #16a34a; transform: translateY(100%); }
.bk-cta .b::before { content: '✓  '; }

/* Shop app */
.ps--shop { background: #faf8f5; }
.sh-top { display: flex; align-items: center; justify-content: space-between; }
.sh-top b, .lb-nav b, .ms-nav b { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; font-weight: 700; letter-spacing: -.01em; }
.sh-top b { font-size: 23px; line-height: 1; }
.sh-bag {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e7e3dc;
}
.sh-bag::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  width: 12px;
  height: 11px;
  border: 1.8px solid #1c1917;
  border-radius: 2px 2px 4px 4px;
}
.sh-bag i {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  background: #ef4444;
  color: #fff;
  font: 700 10px/17px var(--f-display);
  text-align: center;
}
.sh-search {
  position: relative;
  margin-top: 14px;
  height: 38px;
  padding-left: 36px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ebe7e0;
  font-size: 12.5px;
  line-height: 38px;
  color: #a8a29e;
}
.sh-search::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 12px;
  width: 10px;
  height: 10px;
  border: 1.8px solid #a8a29e;
  border-radius: 50%;
}
.sh-chips { margin-top: 12px; display: flex; gap: 6px; }
.sh-chips span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ebe7e0;
  font: 600 11.5px/1 var(--f-display);
  color: #44403c;
}
.sh-chips .on { background: #1c1917; color: #fff; box-shadow: none; }
.sh-banner {
  position: relative;
  margin-top: 12px;
  height: 76px;
  padding: 15px 16px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(120deg, #1e3a8a, #6d28d9);
  color: #fff;
}
.sh-banner::after {
  content: '';
  position: absolute;
  right: -24px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent);
}
.sh-banner small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.sh-banner b { display: block; margin-top: 7px; font: 700 19px/1.1 var(--f-display); letter-spacing: -.02em; }
.sh-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-item {
  padding: 7px 7px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #efebe5;
}
.sh-item .pi { height: 86px; border-radius: 11px; }
.sh-item b, .lb-card b { display: block; margin-top: 8px; font: 700 12px/1.2 var(--f-display); }
.sh-item span, .lb-card span { display: block; margin-top: 3px; font-size: 11px; color: #78716c; }
.sh-add {
  position: absolute;
  left: 50%;
  bottom: 34px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  background: #1c1917;
  color: #fff;
  font: 600 12.5px/1 var(--f-display);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 24px);
}
.sh-add::before { content: '✓'; margin-right: 8px; color: #4ade80; }

/* Delivery tracking */
.ps--track { padding: 0; background: #e6ecf4; }
.tk-map { position: absolute; inset: 0; overflow: hidden; background: #e3e9f2; }
.tk-map svg { position: absolute; left: 0; top: 0; max-width: none; }
.tk-roads { fill: none; stroke: #fff; stroke-width: 14; }
.tk-park { fill: #cfe7d6; }
.tk-water { fill: #c9dcf2; }
.tk-route { fill: none; stroke: #2563eb; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.tk-home { fill: #0b1020; stroke: #fff; stroke-width: 3; }
.tk-van {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 6px rgba(37, 99, 235, .22), 0 6px 14px rgba(37, 99, 235, .5);
  offset-path: path('M52 318V278H138V200H214V120');
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;
  offset-distance: 38%;
}
.tk-card {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  padding: 18px 16px 14px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 -12px 30px -20px rgba(15, 23, 42, .4);
}
.tk-card > small { font-size: 11.5px; color: #6b7280; }
.tk-card > b { display: block; margin-top: 4px; font: 700 28px/1 var(--f-display); letter-spacing: -.03em; }
.tk-steps { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.tk-steps i { height: 5px; border-radius: 3px; background: #e5e7eb; }
.tk-steps .done { background: #2563eb; }
.tk-steps .now { background: linear-gradient(90deg, #2563eb 50%, #dbe3ee 50%) 0 0 / 200% 100%; }
.tk-labels { margin-top: 7px; display: grid; grid-template-columns: repeat(3, 1fr); font-size: 10px; color: #6b7280; }
.tk-labels span:nth-child(2) { color: #2563eb; font-weight: 600; }
.tk-driver { margin-top: 14px; padding-top: 12px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #f0f1f5; }
.tk-driver i {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font: 700 11.5px/1 var(--f-display);
}
.tk-driver em {
  position: relative;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #16a34a;
}
.tk-driver em::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 11px;
  width: 12px;
  height: 12px;
  border-radius: 3px 3px 3px 9px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-right-color: transparent;
}

/* Mobile website */
.ps--site { padding: 50px 0 0; background: #faf7f2; color: #1c1917; }
.ms-url {
  margin: 0 14px;
  height: 30px;
  border-radius: 10px;
  background: rgba(28, 25, 23, .06);
  font: 600 11.5px/30px var(--f-body);
  text-align: center;
  color: #44403c;
}
.ms-view { position: absolute; left: 0; right: 0; top: 88px; bottom: 0; overflow: hidden; }
.ms-page { padding: 0 16px 24px; }
.ms-nav { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.ms-nav b { font-size: 20px; }
.ms-nav i { width: 20px; height: 12px; border-top: 2px solid #1c1917; border-bottom: 2px solid #1c1917; }
.ms-photo {
  position: relative;
  height: 206px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(90% 80% at 70% 30%, #f3e3cf, #e3c7a6 70%, #d6b38c);
}
.ms-copy { margin-top: 16px; }
.ms-copy small, .lb-copy small { display: block; font: 600 10px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: #a16207; }
.ms-copy b, .lb-copy b { display: block; margin-top: 8px; font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; font-weight: 600; letter-spacing: -.03em; }
.ms-copy b { font-size: 31px; line-height: 1; }
.ms-copy span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: #57534e; }
.ms-copy i {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1c1917;
  color: #fff;
  font: 600 12px/1 var(--f-display);
}
.ms-row { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ms-row .lb-card .pi { height: 92px; }

/* Lock screen alerts */
.ps--alerts {
  padding: 66px 12px 24px;
  background:
    radial-gradient(120% 70% at 15% 0%, rgba(79, 70, 229, .95), transparent 62%),
    radial-gradient(100% 70% at 100% 100%, rgba(124, 58, 237, .9), transparent 58%),
    #0b1020;
  color: #fff;
}
.al-date { text-align: center; font: 600 15px/1 var(--f-display); color: rgba(255, 255, 255, .78); }
.al-time { margin-top: 6px; text-align: center; font: 600 76px/1 var(--f-display); letter-spacing: -.04em; }
.al-list { margin-top: 34px; display: flex; flex-direction: column; gap: 8px; }
.al-n {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.al-n small { display: block; margin-top: 2px; font-size: 11px; color: rgba(255, 255, 255, .72); }
.al-n em { margin-left: auto; align-self: flex-start; font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.al-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; }
.al-ic--order { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.al-ic--stock { background: linear-gradient(135deg, #fbbf24, #f97316); }
.al-ic--paid { background: linear-gradient(135deg, #4ade80, #16a34a); }

/* Notification over every app */
.tp-toast {
  position: absolute;
  z-index: 6;
  left: 9px;
  right: 9px;
  top: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: #18181e;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .45);
  color: #fff;
  opacity: 0;
  transform: translate3d(0, -130%, 0);
}
.tp-toast i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.tp-toast small { color: rgba(255, 255, 255, .7); }

/* Product shots, drawn */
.pi { position: relative; display: block; overflow: hidden; }
.pi::before, .pi::after { content: ''; position: absolute; }
.pi--a { background: radial-gradient(120% 90% at 30% 15%, #f8ebde, #e8cdb2); }
.pi--a::before { left: 30%; right: 30%; top: 20%; height: 44%; border-radius: 40% 40% 14% 14% / 34% 34% 10% 10%; background: linear-gradient(165deg, #d9531e, #9a3412); }
.pi--a::after { left: 22%; right: 22%; top: 54%; height: 20%; border-radius: 10px; background: linear-gradient(#ea6a2c, #b8410f); box-shadow: 0 8px 0 -5px #57381f; }
.pi--b { background: radial-gradient(120% 90% at 30% 15%, #e3ebe0, #c4d3bf); }
.pi--b::before { left: 24%; right: 24%; top: 34%; height: 13%; border-radius: 50%; background: linear-gradient(#a3693d, #7a4a26); }
.pi--b::after { left: 47%; width: 6%; top: 42%; height: 38%; background: #6b4423; box-shadow: 0 0 0 0 transparent; border-radius: 0 0 3px 3px; }
.pi--c { background: radial-gradient(120% 90% at 30% 15%, #f4efe4, #e2d8c3); }
.pi--c::before { left: 34%; right: 34%; top: 14%; height: 26%; background: #fffaf0; clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); box-shadow: inset 0 -6px 10px rgba(161, 98, 7, .18); }
.pi--c::after { left: 49%; width: 2.5%; top: 40%; height: 46%; background: #3f3f46; }
.pi--d { background: radial-gradient(120% 90% at 30% 15%, #eceae6, #d3cfc8); }
.pi--d::before { left: 30%; right: 30%; top: 30%; height: 14%; border-radius: 50%; background: linear-gradient(#c58b52, #9c6332); }
.pi--d::after { left: 34%; right: 34%; top: 40%; height: 40%; background: linear-gradient(90deg, #8a5a2e 0 10%, transparent 10% 90%, #8a5a2e 90%); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }

/* ── Laptop ───────────────────────────────────────────── */
.tour__laptop::before {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  top: 4%;
  bottom: 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .32), rgba(124, 58, 237, .12) 60%, transparent);
}
.tour__laptop::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  top: 572px;
  height: 46px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent);
}
.tl-hinge {
  position: absolute;
  left: 50px;
  top: 0;
  width: 900px;
  height: 562px;
  perspective: 2200px;
  perspective-origin: 50% 40%;
}
.tl-lid {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transform: rotateX(-90deg);
}
.tl-face,
.tl-back {
  position: absolute;
  inset: 0;
  border-radius: 24px 24px 6px 6px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.tl-face {
  background: #0a0b0f;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 7px #050608;
}
.tl-cam {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #1f2633;
}
.tl-screen {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  bottom: 22px;
  overflow: hidden;
  border-radius: 6px;
  background: #faf7f2;
  font-family: var(--f-body);
  font-size: 12px;
  line-height: 1.3;
  isolation: isolate;
}
.tl-back {
  transform: rotateY(180deg);
  background: linear-gradient(165deg, #3d424d, #1d2027 55%, #131519);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1);
}
.tl-back i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 70%);
}
.tl-base {
  position: absolute;
  left: 0;
  top: 562px;
  width: 1000px;
  height: 24px;
  border-radius: 2px 2px 22px 22px / 2px 2px 16px 16px;
  background: linear-gradient(180deg, #6a707c 0%, #2e323a 28%, #17191e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.tl-base i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 150px;
  height: 9px;
  margin-left: -75px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#15171b, #2c3038);
}
.tl-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 38%);
}
.tl-wipe {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  margin-left: -1.5px;
  background: linear-gradient(#93c5fd, #c4b5fd);
  box-shadow: 0 0 30px 8px rgba(96, 165, 250, .55);
  opacity: 0;
}
.ls { position: absolute; inset: 0; }

/* Storefront */
.ls--site { background: #faf7f2; color: #1c1917; }
.lb-chrome {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #edebe7;
  border-bottom: 1px solid #dfdcd6;
}
.lb-chrome > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lb-chrome > i:nth-child(2) { background: #febc2e; }
.lb-chrome > i:nth-child(3) { background: #28c840; }
.lb-url {
  width: 300px;
  height: 22px;
  margin: 0 auto;
  transform: translateX(-30px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 7px;
  background: #fff;
  font: 500 11.5px/1 var(--f-body);
  color: #44403c;
}
.lb-url svg { width: 11px; height: 11px; color: #78716c; }
.lb-view { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; overflow: hidden; }
.lb-page { padding: 0 34px 30px; }
.lb-nav { height: 58px; display: flex; align-items: center; gap: 26px; font: 500 13px/1 var(--f-body); color: #57534e; }
.lb-nav b { margin-right: auto; font-size: 23px; line-height: 1; color: #1c1917; }
.lb-nav em { padding: 9px 14px; border-radius: 999px; background: #1c1917; color: #fff; font: 600 12px/1 var(--f-display); }
.lb-hero { height: 300px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; }
.lb-copy b { margin-top: 12px; font-size: 58px; line-height: .96; }
.lb-copy span { display: block; max-width: 300px; margin-top: 16px; font-size: 14px; line-height: 1.5; color: #57534e; }
.lb-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 20px;
  border-radius: 999px;
  background: #1c1917;
  color: #fff;
  font: 600 13px/1 var(--f-display);
}
.lb-photo {
  position: relative;
  height: 286px;
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(90% 80% at 70% 30%, #f3e3cf, #e3c7a6 70%, #d6b38c);
}
.lb-photo::after,
.ms-photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(rgba(120, 72, 30, 0), rgba(120, 72, 30, .2));
}
.lb-lamp { position: absolute; left: 17%; bottom: 13%; width: 1.4%; height: 62%; background: #3f3f46; }
.lb-lamp::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -6%;
  width: 1100%;
  height: 22%;
  transform: translateX(-50%);
  background: #fffaf0;
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -8px 12px rgba(161, 98, 7, .2);
}
.lb-lamp::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 900%;
  height: 4%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #3f3f46;
}
.lb-chair { position: absolute; left: 33%; right: 14%; bottom: 13%; height: 52%; }
.lb-chair::before,
.lb-chair::after { content: ''; position: absolute; }
.lb-chair::before {
  left: 12%;
  right: 22%;
  top: 0;
  height: 74%;
  border-radius: 46% 46% 16% 16% / 36% 36% 12% 12%;
  background: linear-gradient(165deg, #d9531e, #9a3412);
  transform: rotate(-7deg);
}
.lb-chair::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 30%;
  border-radius: 18px;
  background: linear-gradient(#ea6a2c, #b8410f);
  box-shadow: 14px 22px 0 -10px #57381f, -14px 22px 0 -10px #57381f;
}
.lb-plant { position: absolute; right: 6%; bottom: 13%; width: 13%; height: 16%; background: #e7e0d6; clip-path: polygon(8% 0, 92% 0, 80% 100%, 20% 100%); }
.lb-plant::before {
  content: '';
  position: absolute;
  left: -40%;
  right: -40%;
  bottom: 96%;
  height: 160%;
  background:
    radial-gradient(45% 50% at 30% 60%, #3f7d4e 98%, transparent),
    radial-gradient(40% 55% at 70% 45%, #2f6b40 98%, transparent),
    radial-gradient(35% 45% at 50% 25%, #4a8c5b 98%, transparent);
}
.lb-strip {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f1ece4;
  font: 500 12px/1 var(--f-body);
  color: #57534e;
}
.lb-row { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lb-card { padding: 8px 8px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #eee9e1; }
.lb-card .pi { height: 120px; border-radius: 11px; }
.lb-card b { font-size: 13px; }
.lb-card span { font-size: 12px; }
.lb-cursor {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 18px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 24'%3E%3Cpath d='M1.5 1.5v18l4.6-4.4 3 6.9 3.3-1.4-3-6.8h6.3z' fill='%23111' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  transform: translate3d(640px, 420px, 0);
  opacity: 0;
}

/* Dashboard */
.ls--dash { display: flex; background: #f5f6fa; color: #0b1020; clip-path: inset(0 100% 0 0); }
.ld-side {
  flex: none;
  width: 168px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #0b1020;
  color: rgba(255, 255, 255, .6);
  font: 500 12.5px/1 var(--f-body);
}
.ld-brand { display: flex; align-items: center; gap: 9px; margin: 2px 8px 18px; color: #fff; font: 700 16px/1 var(--f-display); }
.ld-brand i { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #60a5fa, #a78bfa); }
.ld-side span { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 9px; }
.ld-side span i { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .7; }
.ld-side .on { background: rgba(255, 255, 255, .09); color: #fff; }
.ld-main { flex: 1; min-width: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.ld-top { display: flex; align-items: center; gap: 12px; }
.ld-top b { margin-right: auto; font: 700 19px/1 var(--f-display); letter-spacing: -.02em; }
.ld-range { padding: 7px 12px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e5e7eb; font-size: 11.5px; color: #374151; }
.ld-me {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4338ca;
  font: 700 10.5px/1 var(--f-display);
}
.ld-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ld-kpi, .ld-card { border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #eceef3; }
.ld-kpi { padding: 12px 14px; }
.ld-kpi span { display: block; font-size: 11px; color: #6b7280; }
.ld-kpi b { display: block; margin-top: 8px; font: 700 19px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ld-kpi em, .ld-tr em {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: #dcfce7;
  color: #15803d;
  font: 600 10px/1 var(--f-display);
}
.ld-kpi em { margin-top: 8px; }
.ld-kpi em.warn { background: #fef3c7; color: #b45309; }
.ld-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.ld-card { padding: 12px 14px; }
.ld-ct { display: block; font: 600 11.5px/1 var(--f-display); color: #374151; }
.ld-chart svg { display: block; width: 100%; height: 128px; margin-top: 8px; max-width: none; }
.ld-grid { fill: none; stroke: #eef0f4; stroke-width: 1; }
.ld-line { fill: none; stroke: #3b82f6; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ld-bar { margin-top: 13px; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; font-size: 11px; color: #6b7280; }
.ld-bar i { position: relative; height: 8px; border-radius: 4px; background: #eef0f4; overflow: hidden; }
.ld-bar i::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #8b5cf6);
  transform-origin: 0 50%;
  transform: scaleX(var(--w));
}
.ld-table { flex: 1; min-height: 0; padding: 4px 14px; overflow: hidden; }
.ld-tr {
  display: grid;
  grid-template-columns: 68px 1fr 92px 64px;
  align-items: center;
  height: 31px;
  font-size: 11.5px;
  color: #374151;
  border-bottom: 1px solid #f1f2f6;
}
.ld-tr:last-child { border-bottom: 0; }
.ld-tr span:first-child { font-weight: 600; color: #0b1020; font-variant-numeric: tabular-nums; }
.ld-tr em { justify-self: start; }
.ld-tr em.ship { background: #e0e7ff; color: #4338ca; }

/* ── The wall ─────────────────────────────────────────── */
.tour__wall {
  display: grid;
  grid-template-columns: 230px 250px 250px 180px 230px;
  grid-template-rows: repeat(3, 150px);
  grid-template-areas:
    "net lap lap ph cctv"
    "cloud lap lap ph ai"
    "pay flow flow sec help";
  gap: 14px;
}
.tw--net { grid-area: net; }
.tw--laptop { grid-area: lap; }
.tw--phone { grid-area: ph; }
.tw--cctv { grid-area: cctv; }
.tw--cloud { grid-area: cloud; }
.tw--ai { grid-area: ai; }
.tw--pay { grid-area: pay; }
.tw--flow { grid-area: flow; }
.tw--sec { grid-area: sec; }
.tw--help { grid-area: help; }
.tw {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 15px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)), rgba(10, 13, 26, .86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -32px rgba(0, 0, 0, .9);
  opacity: 0;
}
.tw--cell { background: radial-gradient(70% 70% at 50% 42%, rgba(59, 130, 246, .2), transparent 72%), rgba(10, 13, 26, .86); }
.tw-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 10.5px/1.2 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.tw-value {
  margin-top: auto;
  font: 600 24px/1.05 var(--f-display);
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.tw-sub { margin-top: 6px; font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .55); }

.tw-wifi { position: absolute; top: 14px; right: 14px; width: 38px; height: 30px; color: #60a5fa; }
.tw-wifi path { opacity: .28; }
.tw-rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(239, 68, 68, .16);
  color: #fca5a5;
  font-size: 9px;
  letter-spacing: .1em;
}
.tw-rec::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; }
.tw-clock {
  margin-left: auto;
  font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255, 255, 255, .5);
  font-variant-numeric: tabular-nums;
}
.tw-feeds {
  flex: 1;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
}
.tw-feeds i {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(180deg, #1f2735 0 56%, #2a3343 56% 100%);
}
.tw-feeds i::before { content: ''; position: absolute; }
.tw-feeds .f1::before { left: 38%; width: 24%; top: 14%; bottom: 44%; background: #3a465b; box-shadow: inset 0 0 0 2px #2b3546; }
.tw-feeds .f2::before { left: 14%; right: 14%; top: 50%; height: 12%; background: #3a4558; box-shadow: 12px -12px 0 -3px #46536a; }
.tw-feeds .f3 { background: repeating-linear-gradient(180deg, #1f2735 0 9px, #313b4d 9px 11px); }
.tw-feeds .f3::before { left: 10%; top: 30%; width: 8%; height: 46%; border-radius: 4px 4px 1px 1px; background: #5b6880; }
.tw-feeds .f4 { background: linear-gradient(90deg, #2c3546 0 49.4%, #12161f 49.4% 50.6%, #2c3546 50.6%); }
.tw-feeds s {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(rgba(148, 163, 184, 0), rgba(148, 163, 184, .1), rgba(148, 163, 184, 0));
  transform: translate3d(0, -100%, 0);
}
.tw-feeds u {
  position: absolute;
  left: 6px;
  bottom: 4px;
  font: 600 8.5px/1 var(--f-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.tw-rack { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 4px; }
.tw-rack i {
  position: relative;
  width: 46px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.tw-rack i::before {
  content: '';
  position: absolute;
  right: 5px;
  top: 3.5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: -6px 0 0 #4ade80, -12px 0 0 rgba(74, 222, 128, .35);
}

.tw-agent { display: flex; align-items: center; gap: 10px; }
.tw-agent img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, .55);
}
.tw-agent b { display: block; font: 600 15px/1.1 var(--f-display); letter-spacing: -.01em; }
.tw-agent small { display: block; margin-top: 3px; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.tw-live {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 600 11.5px/1 var(--f-display);
  color: #86efac;
}
.tw-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.tw-wave { position: absolute; right: 16px; bottom: 15px; height: 24px; display: flex; align-items: center; gap: 3px; }
.tw-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(#93c5fd, #a78bfa);
  transform: scaleY(.25);
}
.tw-wave i:nth-child(3n + 1) { transform: scaleY(.45); }
.tw-wave i:nth-child(4n + 2) { transform: scaleY(.7); }

.tw-paid {
  align-self: flex-start;
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .14);
  color: #86efac;
  font: 600 11.5px/1 var(--f-display);
}
.tw-paid svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #22c55e; color: #052e16; }
.tw-card {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, .5);
}
.tw-card i { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(135deg, #f59e0b, #ef4444); }

.tw-steps { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.tw-steps span {
  padding: 10px 16px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font: 600 13px/1 var(--f-display);
  color: rgba(255, 255, 255, .78);
}
.tw-steps i { position: relative; flex: 1; height: 2px; overflow: hidden; border-radius: 1px; background: rgba(255, 255, 255, .12); }
.tw-steps i::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  transform: translate3d(-100%, 0, 0);
}
.tw--flow .tw-sub { margin-top: 12px; }

.tw-shield { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; color: #a78bfa; }
.tw-tick {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, .16);
  color: #4ade80;
}
.tw-tick svg { width: 14px; height: 14px; }

/* ── Loops, only while their beat is on screen ────────── */
/* Each phone screen is up for 2.6s (tour.js carousel); its story plays inside that window. */
.tour[data-beat="apps"] .ps--book.is-cur .bk-cta .a { animation: bkOut 2.6s cubic-bezier(.65, 0, .35, 1) both; }
.tour[data-beat="apps"] .ps--book.is-cur .bk-cta .b { animation: bkIn 2.6s cubic-bezier(.65, 0, .35, 1) both; }
.tour[data-beat="apps"] .ps--book.is-cur .bk-slots .on { animation: bkPick 2.6s ease both; }
.tour[data-beat="apps"] .ps--book.is-cur ~ .tp-toast { animation: tpToast 2.6s cubic-bezier(.16, 1, .3, 1) both; }
.tour[data-beat="apps"] .ps--shop.is-cur .sh-add { animation: shAdd 2.4s cubic-bezier(.16, 1, .3, 1) .5s both; }
.tour[data-beat="apps"] .ps--shop.is-cur .sh-bag i { animation: shBump 2.4s ease .5s both; }
.tour[data-beat="apps"] .ps--track.is-cur .tk-van { animation: tkDrive 2.4s linear both; }
.tour[data-beat="apps"] .ps--track.is-cur .tk-steps .now { animation: tkNow 2.4s linear both; }
.tour[data-beat="apps"] .ps--book.is-prev .bk-cta .a { transform: translateY(-100%); }
.tour[data-beat="apps"] .ps--book.is-prev .bk-cta .b { transform: none; }
.tour[data-beat="apps"] .ps--track.is-prev .tk-van { offset-distance: 52%; }
.tour[data-beat="apps"] .ps--track.is-prev .tk-steps .now { background-position: 0 0; }
.tour[data-beat="web"] .lb-page { animation: lbScroll 9s cubic-bezier(.65, 0, .35, 1) .6s infinite; }
.tour[data-beat="web"] .lb-cursor { animation: lbCursor 9s cubic-bezier(.65, 0, .35, 1) .6s infinite; }
.tour[data-beat="web"] .ms-page { animation: msScroll 9s cubic-bezier(.65, 0, .35, 1) .6s infinite; }
.tour[data-beat="soft"] .ld-line { animation: ldDraw 1.8s cubic-bezier(.65, 0, .35, 1) .2s backwards; }
.tour[data-beat="soft"] .ld-area { animation: ldFade 1.2s ease .9s backwards; }
.tour[data-beat="soft"] .ld-bar i::before { animation: ldGrow 1.3s cubic-bezier(.16, 1, .3, 1) .4s backwards; }
.tour[data-beat="soft"] .ld-tr--new { animation: ldRow .8s cubic-bezier(.16, 1, .3, 1) 1.5s backwards; }
.tour[data-beat="soft"] .al-n { animation: alIn .8s cubic-bezier(.16, 1, .3, 1) backwards; }
.tour[data-beat="soft"] .al-n:nth-child(1) { animation-delay: 1.5s; }
.tour[data-beat="soft"] .al-n:nth-child(2) { animation-delay: .5s; }
.tour[data-beat="soft"] .al-n:nth-child(3) { animation-delay: 0s; }
.tour[data-beat="all"] .tw-wifi path { animation: twWifi 2.4s ease infinite; }
.tour[data-beat="all"] .tw-wifi .w2 { animation-delay: .25s; }
.tour[data-beat="all"] .tw-wifi .w3 { animation-delay: .5s; }
.tour[data-beat="all"] .tw-rec::before { animation: twBlink 1.2s steps(1) infinite; }
.tour[data-beat="all"] .tw-feeds s { animation: twScan 3.2s linear infinite; }
.tour[data-beat="all"] .tw-feeds .f2 s { animation-delay: -.8s; }
.tour[data-beat="all"] .tw-feeds .f3 s { animation-delay: -1.6s; }
.tour[data-beat="all"] .tw-feeds .f4 s { animation-delay: -2.4s; }
.tour[data-beat="all"] .tw-feeds .f3::before { animation: twWalk 6s ease-in-out infinite; }
.tour[data-beat="all"] .tw-rack i::before { animation: twLed 1.4s steps(2) infinite; }
.tour[data-beat="all"] .tw-rack i:nth-child(2)::before { animation-delay: -.5s; }
.tour[data-beat="all"] .tw-rack i:nth-child(3)::before { animation-delay: -.9s; }
.tour[data-beat="all"] .tw-wave i { animation: twWave 1.1s ease-in-out infinite; }
.tour[data-beat="all"] .tw-wave i:nth-child(2n) { animation-duration: .9s; }
.tour[data-beat="all"] .tw-wave i:nth-child(3n) { animation-duration: 1.3s; }
.tour[data-beat="all"] .tw-wave i:nth-child(1) { animation-delay: -.1s; }
.tour[data-beat="all"] .tw-wave i:nth-child(2) { animation-delay: -.5s; }
.tour[data-beat="all"] .tw-wave i:nth-child(3) { animation-delay: -.3s; }
.tour[data-beat="all"] .tw-wave i:nth-child(4) { animation-delay: -.8s; }
.tour[data-beat="all"] .tw-wave i:nth-child(5) { animation-delay: -.2s; }
.tour[data-beat="all"] .tw-wave i:nth-child(6) { animation-delay: -.6s; }
.tour[data-beat="all"] .tw-wave i:nth-child(7) { animation-delay: -.4s; }
.tour[data-beat="all"] .tw-wave i:nth-child(8) { animation-delay: -.9s; }
.tour[data-beat="all"] .tw-wave i:nth-child(9) { animation-delay: -.15s; }
.tour[data-beat="all"] .tw-wave i:nth-child(10) { animation-delay: -.7s; }
.tour[data-beat="all"] .tw-wave i:nth-child(11) { animation-delay: -.35s; }
.tour[data-beat="all"] .tw-wave i:nth-child(12) { animation-delay: -.55s; }
.tour[data-beat="all"] .tw-wave i:nth-child(13) { animation-delay: -.25s; }
.tour[data-beat="all"] .tw-wave i:nth-child(14) { animation-delay: -.65s; }
.tour[data-beat="all"] .tw-paid svg { animation: twPop 3.6s cubic-bezier(.16, 1, .3, 1) .6s infinite; }
.tour[data-beat="all"] .tw-steps span { animation: twStep 2.7s ease infinite; }
.tour[data-beat="all"] .tw-steps .s2 { animation-delay: .9s; }
.tour[data-beat="all"] .tw-steps .s3 { animation-delay: 1.8s; }
.tour[data-beat="all"] .tw-steps i::before { animation: twFlow 2.7s linear infinite; }
.tour[data-beat="all"] .tw-steps i + span + i::before { animation-delay: .9s; }
.tour[data-beat="all"] .tw-tick { animation: twPop 3.6s cubic-bezier(.16, 1, .3, 1) 1.4s infinite; }

@keyframes bkOut { 0%, 36% { transform: none; } 46%, 100% { transform: translateY(-100%); } }
@keyframes bkIn { 0%, 36% { transform: translateY(100%); } 46%, 100% { transform: none; } }
@keyframes bkPick { 0%, 18% { transform: none; } 23% { transform: scale(.94); } 29%, 100% { transform: none; } }
@keyframes shAdd { 0% { opacity: 0; transform: translate(-50%, 24px); } 20%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes shBump { 0%, 18% { transform: none; } 26% { transform: scale(1.35); } 36%, 100% { transform: none; } }
@keyframes tkDrive { from { offset-distance: 30%; } to { offset-distance: 52%; } }
@keyframes tkNow { from { background-position: 30% 0; } to { background-position: 0 0; } }
@keyframes tpToast {
  0%, 50% { opacity: 1; transform: translate3d(0, -190%, 0); }
  58%, 90% { opacity: 1; transform: none; }
  100% { opacity: 1; transform: translate3d(0, -190%, 0); }
}
@keyframes lbScroll { 0%, 22% { transform: none; } 52%, 78% { transform: translate3d(0, -196px, 0); } 100% { transform: none; } }
@keyframes msScroll { 0%, 22% { transform: none; } 52%, 78% { transform: translate3d(0, -232px, 0); } 100% { transform: none; } }
@keyframes lbCursor {
  0% { opacity: 0; transform: translate3d(640px, 430px, 0); }
  6% { opacity: 1; transform: translate3d(620px, 420px, 0); }
  16% { opacity: 1; transform: translate3d(118px, 328px, 0); }
  18% { transform: translate3d(118px, 328px, 0) scale(.82); }
  20% { transform: translate3d(118px, 328px, 0); }
  48% { opacity: 1; transform: translate3d(440px, 400px, 0); }
  80% { opacity: 1; transform: translate3d(470px, 300px, 0); }
  92%, 100% { opacity: 0; transform: translate3d(480px, 300px, 0); }
}
@keyframes ldDraw { from { stroke-dashoffset: 1; } }
@keyframes ldFade { from { opacity: 0; } }
@keyframes ldGrow { from { transform: scaleX(0); } }
@keyframes ldRow { from { height: 0; opacity: 0; } }
@keyframes alIn { from { opacity: 0; transform: translate3d(0, -26px, 0) scale(.96); } }
@keyframes twWifi { 0%, 100% { opacity: .28; } 30%, 60% { opacity: 1; } }
@keyframes twBlink { 50% { opacity: 0; } }
@keyframes twScan { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 340%, 0); } }
@keyframes twWalk { 0%, 100% { transform: none; } 50% { transform: translateX(560%); } }
@keyframes twLed { 50% { opacity: .25; } }
@keyframes twWave { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }
@keyframes twPop { 0%, 100% { transform: none; } 8% { transform: scale(1.22); } 16% { transform: none; } }
@keyframes twStep {
  0%, 36%, 100% { background-color: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
  8%, 28% { background-color: rgba(59, 130, 246, .28); color: #fff; box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .55); }
}
@keyframes twFlow { 0% { transform: translate3d(-100%, 0, 0); } 33%, 100% { transform: translate3d(100%, 0, 0); } }

/* ── Entrance, after the brand intro starts to dissolve ── */
.stage.has-tour .tour__cap--open .tour__line > span { animation: tourIn 1.25s cubic-bezier(.16, 1, .3, 1) backwards; }
.stage.has-tour .tour__cap--open .tour__line + .tour__line > span { animation-delay: .08s; }
.stage.has-tour .tour__cap--open .tour__note .tour__line > span { animation-delay: .22s; }
.stage.has-tour .tour__cue { animation: stageFade 1s ease .7s backwards; }
.stage.has-tour .tp-rise { animation: tourPhone 1.7s cubic-bezier(.16, 1, .3, 1) .3s backwards; }
html.git-ent .stage.has-tour .tour__cap--open .tour__line > span,
html.git-ent .stage.has-tour .tour__cue,
html.git-ent .stage.has-tour .tp-rise { animation-play-state: paused; }
html.git-ent:has(> #gitEntrance.git-ent--out) .stage.has-tour .tour__cap--open .tour__line > span,
html.git-ent:has(> #gitEntrance.git-ent--out) .stage.has-tour .tour__cue,
html.git-ent:has(> #gitEntrance.git-ent--out) .stage.has-tour .tp-rise { animation-play-state: running; }
@keyframes tourIn { from { opacity: 0; transform: translate3d(0, 112%, 0); } }
@keyframes tourPhone { from { opacity: 0; transform: translate3d(0, 140px, 0); } }

/* ── Narrow screens: stacked wall, smaller type ───────── */
.tour.is-narrow .tour__wall {
  grid-template-columns: 174px 174px;
  grid-template-rows: 200px 96px 96px 96px 96px;
  grid-template-areas:
    "lap lap"
    "ph net"
    "ph ai"
    "cloud cctv"
    "pay sec";
  gap: 10px;
}
.tour.is-narrow .tw--flow,
.tour.is-narrow .tw--help,
.tour.is-narrow .tw-card,
.tour.is-narrow .tw-rack,
.tour.is-narrow .tw-clock,
.tour.is-narrow .tw-feeds u { display: none; }
.tour.is-narrow .tw { padding: 11px 12px; border-radius: 15px; }
.tour.is-narrow .tw-label { font-size: 8.5px; letter-spacing: .12em; gap: 6px; }
.tour.is-narrow .tw-value { font-size: 17px; }
.tour.is-narrow .tw-sub { margin-top: 3px; font-size: 10px; }
.tour.is-narrow .tw-wifi { top: 10px; right: 10px; width: 26px; height: 21px; }
.tour.is-narrow .tw-shield { top: 9px; right: 9px; width: 19px; height: 19px; }
.tour.is-narrow .tw-rec { padding: 2px 5px; font-size: 7.5px; }
.tour.is-narrow .tw-feeds { margin-top: 7px; gap: 3px; }
.tour.is-narrow .tw-feeds i { border-radius: 4px; }
.tour.is-narrow .tw-agent { gap: 8px; }
.tour.is-narrow .tw-agent img { width: 28px; height: 28px; }
.tour.is-narrow .tw-agent b { font-size: 12.5px; }
.tour.is-narrow .tw-agent small { font-size: 9.5px; }
.tour.is-narrow .tw-live { font-size: 9.5px; gap: 5px; }
.tour.is-narrow .tw-live::before { width: 5px; height: 5px; }
.tour.is-narrow .tw-wave { right: 11px; bottom: 11px; height: 16px; gap: 2px; }
.tour.is-narrow .tw-wave i { width: 2px; }
.tour.is-narrow .tw-wave i:nth-child(n + 10) { display: none; }
.tour.is-narrow .tw-paid { margin-top: 5px; padding: 3px 8px 3px 3px; font-size: 9.5px; }
.tour.is-narrow .tw-paid svg { width: 13px; height: 13px; padding: 2.5px; }

@media (max-width: 768px) {
  .tour .tour__cap { padding: 0 20px; }
  .tour .tour__cap:not(.tour__cap--open):not(.tour__cap--whatever) { top: calc(var(--nav-h) + 20px); }
  .tour .tour__word { font-size: clamp(2rem, 8.6vw, 2.75rem); }
  .tour .tour__title { font-size: clamp(2rem, 9.2vw, 3rem) !important; }
  .tour .tour__cap--open { padding-bottom: 30vh; padding-bottom: 30dvh; }
  .tour .tour__cap--open .tour__note { margin-top: 14px; font-size: .9375rem; }
  .tour .tour__cue { margin-top: 22px; }
  .tour .tour__cap--whatever .tour__word { font-size: clamp(3rem, 14.5vw, 4.5rem); }
  .tour .tour__skip { left: 16px; bottom: 18px; padding: 8px 12px; font-size: .625rem; }
  .tour .tour__rail { bottom: 24px; gap: 5px; }
  .tour .tour__step { width: 22px; padding: 8px 0; gap: 0; }
  .tour .tour__bar { height: 3px; }
  .tour .tour__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 600px) {
  .tour .tour__cap:not(.tour__cap--open):not(.tour__cap--whatever) .tour__note { display: none; }
}
/* Short landscape screens: compact captions and controls so the scene keeps its room. */
@media (max-height: 560px) and (min-width: 600px) {
  .tour .tour__cap:not(.tour__cap--open):not(.tour__cap--whatever) { top: calc(var(--nav-h) + 10px); }
  .tour .tour__cap:not(.tour__cap--open):not(.tour__cap--whatever) .tour__note { display: none; }
  .tour .tour__word { font-size: clamp(1.5rem, 7.5vh, 2.25rem); }
  .tour .tour__cap--open { padding-top: var(--nav-h); padding-bottom: 32vh; padding-bottom: 32dvh; }
  .tour .tour__title { font-size: clamp(1.75rem, 10vh, 3rem) !important; }
  .tour .tour__cap--open .tour__note { margin-top: 10px; font-size: .875rem; }
  .tour .tour__cue { display: none; }
  .tour .tour__cap--whatever .tour__word { font-size: clamp(2.25rem, 14vh, 4.5rem); }
  .tour .tour__cap--whatever .tour__note { margin-top: 12px; }
  .tour .tour__skip { bottom: 12px; padding: 7px 11px; font-size: .625rem; }
  .tour .tour__rail { bottom: 12px; gap: 5px; }
  .tour .tour__step { width: 22px; padding: 8px 0; gap: 0; }
  .tour .tour__bar { height: 3px; }
  .tour .tour__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ── Reduced motion: crossfades only, loops stay still ── */
@media (prefers-reduced-motion: reduce) {
  .tour *,
  .tour *::before,
  .tour *::after { animation: none !important; }
  .tour .tour__line > span,
  .tour .tour__cap.is-past .tour__line > span,
  .ps,
  .ps.is-cur,
  .ps.is-prev { transform: none !important; transition: opacity .35s ease !important; }
}
